beaumanvienna
d54daa2ea5
amendement for sdl version after Qt changes
2014-09-25 21:59:45 +02:00
beaumanvienna
48856951a7
amendments for: global variable 'fullscreenCLI'/move on top timer/Qt fullscreen code
2014-09-24 23:23:25 +02:00
beaumanvienna
e11f403a8e
dual head support for Qt reworked / --fullscreen for Qt / fullscreen top most
2014-09-23 22:30:50 +02:00
beaumanvienna
3a918141ef
dual head support for Qt reworked / --fullscreen for Qt / fullscreen top most
2014-09-23 22:29:02 +02:00
beaumanvienna
66c585e931
dual head support (SDL_VIDEO_FULLSCREEN_HEAD) for Qt and SDL2
2014-09-22 20:08:02 +02:00
Henrik Rydgard
6ee862b564
Increase some buffer sizes
2014-09-14 00:13:24 +02:00
Henrik Rydgard
33d496d76f
Add support for D3D9Ex
2014-09-09 22:27:18 +02:00
Sacha
3c0d666e90
Qt audio sounds a lot better with a larger mixlen.
...
I suppose real buffers would be a proper solution although I can't seem to get it working.
2014-09-10 05:12:35 +10:00
Unknown W. Brackets
c606067044
Bring back glBindFramebufferEXT() in OpenGL.
...
Did not intentionally remove this. Broke Intel and AMD cards which
did not yet support the ARB_framebuffer_object extension.
2014-09-08 14:20:30 -07:00
Unknown W. Brackets
d5711f360d
thin3d: Fix some leaks in d3d9 code.
2014-09-07 13:46:09 -07:00
Henrik Rydgard
588930dd66
Thin3d: Minor API change in prep for DX11
2014-09-07 10:47:21 +02:00
Unknown W. Brackets
69bad8ba74
Linux buildfix.
2014-09-06 08:13:02 -07:00
Henrik Rydgard
e96761e400
Hook up Thin3D to GLLost interface. Textures now remember their filename, shaders their source, so they can recreate themselves.
2014-09-06 13:49:01 +02:00
Henrik Rydgard
ef3912f63f
Proper msvc implementation of snprintf - _snprintf is different (does not add a null terminator)
2014-09-06 10:29:09 +02:00
Henrik Rydgård
d1c47523d0
Merge pull request #235 from unknownbrackets/glsl-int
...
Check for the EXT_gpu_shader4 extension
2014-09-04 10:34:38 +02:00
Unknown W. Brackets
8e38e177b4
Check for the EXT_gpu_shader4 extension.
2014-09-04 00:38:13 -07:00
Unknown W. Brackets
58f8b7aa21
thin3d: Avoid dynamic texturing locking.
...
Seems like it requires checking caps, and these textures are probably
not dynamic anyway.
2014-09-01 08:41:36 -07:00
Unknown W. Brackets
2d8f6f8287
thin3d: Simplify d3d9 debug dll loading.
2014-09-01 08:09:20 -07:00
Unknown W. Brackets
3ab1f8baa9
thin3d: Use dynamic index/vertex buffers.
2014-09-01 08:08:51 -07:00
Henrik Rydgard
9a72d5323b
Change thin3d to compile model 2_0 shaders by default. We can add a way to choose 3_0 later.
2014-08-31 09:10:41 +02:00
Unknown W. Brackets
ca16eb2857
Fix some type conversion warnings.
2014-08-30 02:05:21 -07:00
Henrik Rydgård
2d4e491d56
Merge pull request #234 from unknownbrackets/fbo-cache
...
Cache bound fbos, allow unbinding only read
2014-08-28 10:28:14 +02:00
Unknown W. Brackets
f1ec201dbc
Cache bound fbos, allow unbinding only read.
...
This maintains the currently bound fbos, similar to glstate.
So long as these funcs are used, it can prevent duplicate binds.
Binding the same buffer twice comes with a performance penalty.
2014-08-27 23:01:43 -07:00
Henrik Rydgård
196facb355
Merge pull request #233 from unknownbrackets/thin3d
...
d3d: fix scissoring by using top=actual top
2014-08-25 12:40:44 +02:00
Unknown W. Brackets
6f9a83819f
d3d: fix bad texture on first text draw.
...
OpenGL autobinds on create, D3D does not.
2014-08-25 01:54:06 -07:00
Unknown W. Brackets
731ab24e21
d3d: fix scissoring by using top=actual top.
2014-08-24 19:50:36 -07:00
Unknown W. Brackets
c141c368fc
Skip some conversion warnings.
2014-08-24 01:25:59 -07:00
Unknown W. Brackets
e141280f8d
Only create 1 miplevel in TextDrawer.
...
Fixes missing text in D3D.
2014-08-24 01:22:25 -07:00
Unknown W. Brackets
6b223e2cc6
d3d: Fix a crash on a shader compile error.
2014-08-23 21:53:00 -07:00
Henrik Rydgård
6af33015d0
Merge pull request #232 from unknownbrackets/glsl-fix
...
Add the prelude to fragment shaders
2014-08-24 02:05:23 +02:00
Unknown W. Brackets
d726e7f389
Try not to crash on shader compile errors.
2014-08-23 10:40:12 -07:00
Unknown W. Brackets
1ea54accef
Add the prelude to fragment shaders.
2014-08-23 09:27:35 -07:00
Unknown W. Brackets
6b5e9f6b7c
Linux buildfix.
2014-08-23 02:12:13 -07:00
Henrik Rydgård
467599cf56
Merge pull request #230 from hrydgard/thin3d
...
Thin3d - the thinnest wrapper around D3D9 and GL around
2014-08-23 10:51:22 +02:00
Henrik Rydgard
49602416cf
More thin3d minor fixes
2014-08-23 10:31:23 +02:00
Henrik Rydgard
6f96004381
Thin3d D3D: More system information, other minor fixes
2014-08-23 10:20:27 +02:00
Henrik Rydgard
75b7ccd739
Clean up D3DX loader a little
2014-08-23 10:01:03 +02:00
Henrik Rydgard
7708558c2f
Remove a comment, add some checks.
2014-08-23 09:47:30 +02:00
Henrik Rydgård
1179d29323
Merge pull request #231 from unknownbrackets/thin3d
...
Fix Android/Linux compilation
2014-08-23 09:38:16 +02:00
Unknown W. Brackets
8c35e4b5fc
Fix some type conversion warnings.
2014-08-23 00:35:14 -07:00
Unknown W. Brackets
110f640ca8
Fix Linux/Android compilation.
2014-08-23 00:35:13 -07:00
Henrik Rydgard
1401de50dc
Thin3d: Minor shader cleanup
2014-08-22 21:26:46 +02:00
Henrik Rydgard
ff5df25135
Add Thin3d support to draw_text (Qt not touched)
2014-08-22 20:54:28 +02:00
Henrik Rydgard
a1ff7a4488
Thin3D: Add APIName query. Swizzle texture colors in D3D.
...
(not sure whether it's best done in the shader or in the texture data...)
2014-08-22 20:54:27 +02:00
Henrik Rydgard
ecb33f005e
Thin3D now actually draws some stuff
2014-08-22 20:54:27 +02:00
Henrik Rydgard
8774fcad94
Some more thin3d
2014-08-22 20:54:26 +02:00
Henrik Rydgard
54b298a63e
More Thin3D work (textures etc)
2014-08-22 20:54:26 +02:00
Henrik Rydgard
29a60b5952
Thin3d: Add cull mode, other fixes
2014-08-22 20:54:25 +02:00
Henrik Rydgard
bf41d05dfc
Switch to Thin3DTexture. GL still works, d3d still broken.
2014-08-22 20:54:25 +02:00
Henrik Rydgard
1251b6df79
Thin3d: Add some untested texturing stuff
2014-08-22 20:54:25 +02:00