Commit Graph

53 Commits

Author SHA1 Message Date
Unknown W. Brackets
3fbb545451 Allow MakePixelTexture to use a subrange.
For example, if it has a larger texture it wants to reuse, it can control
this via texcoords.  Let's keep it at top left, though.
2017-03-22 20:56:26 -07:00
Henrik Rydgård
eb73a28140 Add new log category FRAMEBUF 2017-03-13 13:55:29 +01:00
Henrik Rydgard
9bb81a24c0 Fix bug where we'd reload the post shader information every frame. Fixes #9410 2017-03-11 12:25:43 +01:00
Henrik Rydgård
1496e2caa2 Fix possible crash when task switching on Android 2017-03-06 17:04:55 +01:00
Henrik Rydgard
5d4700ae7e Sprinkle calls to CHECK_GL_ERROR_IF_DEBUG all over the place, disabled by default. 2017-03-03 14:18:40 +01:00
Henrik Rydgard
fa80cfa4aa Additional UWP preparations 2017-02-25 09:57:14 +01:00
Henrik Rydgård
c355947bca Merge pull request #9350 from hrydgard/d3d11-postproc
D3D11 postprocessing shaders
2017-02-23 20:39:28 +01:00
Henrik Rydgard
79bd01efb8 D3D11: Add support for viewing the depth and stencil buffers in the GE debugger 2017-02-23 16:27:26 +01:00
Henrik Rydgard
731026c199 D3D11: Can now switch post shader at runtime, and won't crash if they fail to translate correctly. 2017-02-23 12:42:28 +01:00
Henrik Rydgard
e16e1b6d7e GL: If possible, use glCopyImageSubData instead of glBlitFramebuffer to copy depth buffers 2017-02-21 11:10:44 +01:00
Henrik Rydgard
e83dd2b524 Minor cleanup, elimintate some bind ordering hazards that D3D11 warns about 2017-02-17 14:31:02 +01:00
Henrik Rydgard
9359922201 GL: Fix inconsistency with BindFramebufferColor 2017-02-17 12:13:53 +01:00
Henrik Rydgard
a847de9522 Fix some minor gl bugs 2017-02-15 23:56:38 +01:00
Henrik Rydgard
68c5a6c517 Unify CopyDisplayToOutput 2017-02-15 23:24:25 +01:00
Henrik Rydgard
23762ef89f Unify DrawFramebufferToOutput 2017-02-15 23:11:46 +01:00
Henrik Rydgard
26f208a212 Unify "DrawPixels" 2017-02-15 23:06:22 +01:00
Henrik Rydgard
84e6054b23 More work towards unifying CopyDisplayToOutput 2017-02-15 22:48:23 +01:00
Henrik Rydgard
cba37e54d0 Preparations for unifying CopyDisplayToOutput 2017-02-15 22:47:50 +01:00
Henrik Rydgard
0fb1e95bac Remove GLSL program argument to DrawActiveTexture - bind before instead. 2017-02-15 22:47:44 +01:00
Henrik Rydgard
d084da9e04 DrawActiveTexture: Don't allow passing in nullptr as a GLES program 2017-02-15 21:51:40 +01:00
Henrik Rydgard
3ac0fc2466 Move compiledraw2dprogram out of DrawActiveTexture 2017-02-15 21:51:39 +01:00
Henrik Rydgard
f95ab4a0fa One more step 2017-02-15 21:51:39 +01:00
Henrik Rydgard
8f48816baa Move CalcShaderUniforms to FramebufferCommon 2017-02-15 21:51:38 +01:00
Henrik Rydgård
abbd6cb1d1 Fix DrawActiveTexture, now Buffered Rendering is starting to work 2017-02-12 11:20:55 +01:00
Henrik Rydgard
391f7be8f9 Unify DecimateFBOs 2017-02-07 00:46:14 +01:00