Commit Graph
4206 Commits
Author SHA1 Message Date
Henrik Rydgard 06addecb3d Unify cardboard settings calculation 2017-02-07 00:19:31 +01:00
Henrik Rydgard 5b181e8244 Further work on DrawActiveTexture 2017-02-07 00:13:54 +01:00
Henrik Rydgard 275f9248a1 Preparing to unify the DrawActiveTexture API 2017-02-07 00:08:45 +01:00
Henrik Rydgard 89763efe57 Unify SetNumExtraFBOs 2017-02-07 00:08:45 +01:00
Henrik Rydgard 9e644aa815 Unify NotifyRenderFramebufferUpdated 2017-02-07 00:08:45 +01:00
Henrik Rydgard 85ec96ecf1 Unify NotifyRenderFramebufferCreated 2017-02-07 00:08:45 +01:00
Henrik Rydgard a0992cce75 Unify DestroyFramebuf() 2017-02-07 00:08:45 +01:00
Henrik Rydgard 55aa879216 A lot of buildfixes 2017-02-06 16:16:43 +01:00
Henrik Rydgard be557fc323 Remove fbo_preferred_z_bitdepth 2017-02-06 11:40:16 +01:00
Henrik Rydgard e42f5e6f46 Rename the fbo_ functions to match the rest of DrawContext. 2017-02-06 11:40:16 +01:00
Henrik Rydgard ad29974a56 Change when drawcontexts are allocated. Hook up backbuffer events to fix d3d9 resizing. 2017-02-06 11:40:16 +01:00
Henrik Rydgard f1c96c056d Move all the GL/D3D9 FBO code into thin3d. 2017-02-06 11:40:16 +01:00
Henrik Rydgard abf7a7abe0 Windows buildfix 2017-02-06 10:28:58 +01:00
Henrik Rydgard 41f770d815 Move dx_state into gfx/d3d9_state 2017-02-05 20:54:24 +01:00
Henrik Rydgard ba52ba8714 Move global.cpp to native/gfx/d3d9_shader.cpp 2017-02-05 20:50:17 +01:00
Henrik Rydgard 9c275730c5 Move pD3DDevice into dx_state.h. 2017-02-05 20:46:26 +01:00
Henrik Rydgard f00f7d2fb8 Remove some dependencies on the pD3DDevice globals 2017-02-05 20:36:00 +01:00
Henrik Rydgard 4dd96d6993 Remove dx_fbo dependency on global.h 2017-02-05 20:19:43 +01:00
Henrik Rydgard 5b49c2f840 DX9 cleanup: Remove more stuff from global.cpp 2017-02-05 20:13:48 +01:00
Henrik Rydgard a8f69e7d64 More DX cleanup 2017-02-05 20:06:56 +01:00
Henrik Rydgard d05ef4a859 Pass through the DrawContext to texturecaches and fb managers.
This is preparation for sharing more framebuffer code between the
backends.
2017-02-05 19:51:50 +01:00
Henrik Rydgard 1c5ad71f60 Further minor DX9 code cleanups 2017-02-05 19:42:54 +01:00
Henrik Rydgard 0b3ebbddf4 Minor DX9 code cleanup 2017-02-05 19:38:52 +01:00
Henrik Rydgard 1a149ba02d Final tweak to the cleaned up FBO api before moving it to thin3d. Buildfixes. 2017-02-04 22:25:34 +01:00
Henrik Rydgard bec2921aca Add escape route for some more esoteric FBO functionality 2017-02-04 22:25:34 +01:00
Henrik Rydgard f4c3f884e9 DX: Remove further fbo functions to get the interfaces closer 2017-02-04 22:25:34 +01:00
Henrik Rydgard 0b7f3720ae More FBO api cleanup 2017-02-04 22:25:34 +01:00
Henrik Rydgard daee5c24e5 Work towards unifying the GL and DX FBO APIs 2017-02-04 22:25:34 +01:00
Henrik Rydgard 089fa4f5a7 Delete more unused fbo functions 2017-02-04 22:25:34 +01:00
Henrik Rydgard 16dda97dfa Get rid of fbo_unbind_read 2017-02-04 22:25:34 +01:00
Henrik Rydgard 8f00dd3f30 Hide glBlitFramebuffer behind fbo_blit 2017-02-04 22:25:34 +01:00
Henrik Rydgard d14a388441 Hide glCopyImageSubData behind the FBO interface 2017-02-04 22:25:34 +01:00
Henrik Rydgard 3ceb0a8540 Some simple renaming 2017-02-04 11:47:19 +01:00
Henrik Rydgard c3c6a6a2f3 Apply the Split/Second fix to DX9 as well. 2017-02-04 11:37:24 +01:00
Henrik Rydgard 389650e2a7 Need to include getUVGenMode in vertex cache hash. Fixes #9263 2017-02-04 11:15:47 +01:00
xebra 82bb6cbaad Fix #9275 2017-02-03 16:37:10 +09:00
xebra 1c1139870c Modify gpu features flags checker to allow multi flags. 2017-02-01 22:36:27 +09:00
xebra 37a0907598 Fix supporting gl_InstanceID. 2017-02-01 21:21:57 +09:00
xebra 918bee8801 Add support OES_texture_half_float. 2017-02-01 14:37:03 +09:00
xebra 4fbc92d3f0 Revert gpu features flags to 32-bit. 2017-02-01 00:14:38 +09:00
xebra 6adddbbd38 [spline/bezier]Turn off Hardware Tessellation if device is unsupported. 2017-01-31 23:37:07 +09:00
xebra 159aa1415d [spline/bezier]Add some gpu features flags for Instanced Tessellation. 2017-01-31 23:37:06 +09:00
xebra ce27f7b0b5 Expand gpu features flags to 64-bit. 2017-01-31 23:37:06 +09:00
Henrik Rydgard 0d1d6f98e4 Pass in the DrawContext to all backends 2017-01-30 20:26:47 +01:00
Henrik Rydgard 2a231b397b Unbreak environment mapping 2017-01-30 16:13:47 +01:00
Henrik Rydgard 0e4fb11a2d If we can predict that the texcoord.z will always be 1.0 after the matrix, skip texture projection. Should help #9189 2017-01-30 16:03:57 +01:00
Henrik Rydgard 24cc3dbc70 Always pass vec3 texcoord between vertex and fragment shader, to allow for some simplification. 2017-01-30 16:03:57 +01:00
Henrik Rydgard 20d9e60a67 Just some renaming. Start moving away from the "thin3d" name 2017-01-30 14:38:31 +01:00
Henrik Rydgård a61cb44b1c Oops, changed the wrong function. 2017-01-29 15:07:25 +01:00
Henrik Rydgard 59f5c53040 Fix recent texture scaling bug. Should help #9250
Not all cases tested yet.
2017-01-29 14:42:59 +01:00