Commit Graph
21 Commits
Author SHA1 Message Date
Henrik Rydgard d17aa4738a Some more GetPointer cleanup 2014-10-19 23:19:51 +02:00
Unknown W. Brackets 71e310aff8 d3d: Initial attempt to upload stencil. 2014-09-14 02:21:41 -07:00
Unknown W. Brackets fc5d62804e Avoid unbinding the draw fbo where possible.
If we're just going to bind another one, no need to trade around.
2014-08-27 23:08:17 -07:00
Unknown W. Brackets 0279aa154c Use glStencilMask() to partially simulate amask.
Alpha won't be correct, though.
2014-08-03 21:48:18 -07:00
Unknown W. Brackets 9844c6e8cc Create the stencil texture after the temp fbo.
Otherwise, we'll bind the temp fbo as a texture while creating it.
Somehow my NVIDIA driver was making this work anyway?

Fixes #6611.
2014-07-22 22:36:38 -07:00
Unknown W. Brackets e57ed7d2f4 Small optimizations to stencil scanning. 2014-06-28 02:00:14 -07:00
Unknown W. Brackets a33589b3e9 Optimize away bits in the stencil upload.
Should be faster than sending to the GPU this way, if we can help it.
Should improve delays on FBO creation at high render resolutions.
2014-06-28 01:39:18 -07:00
Unknown W. Brackets 464b453748 Use a temp FBO at 1x to upload stencil.
This improves performance at > 1x resolutions.
2014-06-28 01:19:07 -07:00
Unknown W. Brackets 8a7b440933 Don't need this flag, it read from memory. 2014-06-23 08:21:20 -07:00
Unknown W. Brackets 5f4a0d8174 Fix a few minor warnings. 2014-06-19 00:47:58 -07:00
Unknown W. Brackets a9da3618ba Upload the color/stencil buffers on FBO creation.
Fixes pausing or loading a savestate in Star Ocean (previously your
character became invisible until the screen panned.)
2014-06-17 23:55:09 -07:00
Unknown W. Brackets 9b12a4893d Track framebuffer memory dirty more carefully.
Fixes #6296, Grand Knights History slowdown during battle transition.  May
also more correctly identify block transfer downloads.
2014-06-11 22:21:08 -07:00
Henrik Rydgard 339c4d7dc3 Fix a bunch of typos breaking various utility shaders on GLES
Fixes white shadows in FF-Type 0 on Tegra, as mentioned in #6268
2014-06-09 19:15:45 +02:00
Unknown W. Brackets 2a2935003d Oops, fix stencil upload at non-1x resolutions. 2014-06-07 00:18:49 -07:00
Unknown W. Brackets 3021640897 Correct widths in stencil upload too. 2014-06-01 21:24:33 -07:00
Unknown W. Brackets 111b624000 Oops, this will give the right alpha of course.
Although it may not be exactly the same for 4444/5551.
2014-06-01 10:26:41 -07:00
Unknown W. Brackets c79d0a2e3c Correct alpha in stencil upload, avoid blending.
Docs say blending is slower than masking, makes sense.
2014-06-01 08:47:53 -07:00
Unknown W. Brackets 66fff0601d Upload stencil by bit rather than by value.
Still not the most optimal way, probably, but this was an easy change.
2014-05-31 21:48:12 -07:00
Unknown W. Brackets 7c87138915 Disable the last shader properly. 2014-05-31 21:48:12 -07:00
Unknown W. Brackets 21c1c635d8 Add support for 4444/5551/8888 stencil upload. 2014-05-31 21:48:11 -07:00
Unknown W. Brackets 089ee41d9c Implement a very basic stencil upload.
This is not fast or efficient, but works.
2014-05-31 21:48:09 -07:00