Unknown W. Brackets
|
0846673dc3
|
Track temporary-use FBOs all in FramebufferManager.
This way it's easier to manage their lifecycle.
|
2014-06-01 01:03:43 -07:00 |
|
Unknown W. Brackets
|
4195eac04f
|
Get rid of depalFBOs when overwriting textures.
Just in case they are not always used as framebuffers. We set to 0 later
anyway.
|
2014-06-01 01:03:04 -07:00 |
|
Unknown W. Brackets
|
4461c7e3c4
|
Oops, remove an old wrong comment.
|
2014-05-31 22:07:43 -07:00 |
|
Unknown W. Brackets
|
097ab53952
|
Enable the glClear() optimization.
It seems to help and so far have not noticed any problems.
|
2014-05-31 22:07:42 -07:00 |
|
Unknown W. Brackets
|
580143e5e2
|
Disable vertex arrays before depal as well.
|
2014-05-31 22:07:42 -07:00 |
|
Unknown W. Brackets
|
e109a547ae
|
Disable vertex arrays not in use.
|
2014-05-31 22:07:41 -07:00 |
|
Unknown W. Brackets
|
bd67cdab3f
|
Add basic decimation to the depal clut cache.
|
2014-05-31 22:07:41 -07:00 |
|
Unknown W. Brackets
|
b308aaad03
|
Update disabled IsReallyAClear() code.
Not sure if there's still something wrong about depth.
|
2014-05-31 22:07:40 -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 |
|
Unknown W. Brackets
|
e477a765e1
|
Scale bits better in MakePixelTexture().
|
2014-05-31 21:48:08 -07:00 |
|
Unknown W. Brackets
|
c142207a93
|
Fix a few warnings, mostly type comparisons.
|
2014-05-31 21:42:57 -07:00 |
|
Henrik Rydgård
|
fd19b8d271
|
Merge pull request #6197 from unknownbrackets/replace-funcs
Function replacement hooks and some GLES compat replacements
|
2014-05-31 20:30:30 +02:00 |
|
Unknown W. Brackets
|
1433b98c46
|
Clean up the framebuffer force downloads.
|
2014-05-31 10:03:03 -07:00 |
|
Sacha
|
85c42e6932
|
Switch to libpng17 to resolve NEON issue on iOS + other bug fixes.
|
2014-05-31 04:36:35 +10:00 |
|
Unknown W. Brackets
|
192945fc71
|
Allow a memcpy upload in non-buffered rendering.
|
2014-05-30 09:44:14 -07:00 |
|
Unknown W. Brackets
|
da25de6970
|
Support block transfer uploads in non-buffered.
|
2014-05-30 09:25:36 -07:00 |
|
Unknown W. Brackets
|
766968e942
|
Don't use shader blending without buffers.
Ugh, making ComputeFragmentShaderID() slower again...
|
2014-05-30 09:01:22 -07:00 |
|
Unknown W. Brackets
|
aecd5bf250
|
Support render-to-self on GLES2.
|
2014-05-30 08:53:22 -07:00 |
|
Henrik Rydgard
|
d4c7922c25
|
framebuffer-clut: Fixes to ES 2.0 path, slight simplification to ES 3.0 path
|
2014-05-29 12:30:07 +02:00 |
|
Unknown W. Brackets
|
bf5946203d
|
Fix a couple typos, oops.
Framebuffer one probably broke Grand Knights History some, depal one
probably broke some clut stuff.
|
2014-05-28 00:19:51 -07:00 |
|
Henrik Rydgard
|
06fda72701
|
framebuffer-clut fixes for ES2
|
2014-05-28 08:47:54 +02:00 |
|
Henrik Rydgard
|
44d9af9222
|
Hopefully fix the Manhunt red/green swap
|
2014-05-27 22:22:56 +02:00 |
|
 Unknown W. BracketsandHenrik Rydgard
|
29a9ff369e
|
Make a note when we need to reset the shader.
Hmm, not sure this is the cleanest way.
|
2014-05-27 22:12:25 +02:00 |
|
 Unknown W. BracketsandHenrik Rydgard
|
14c081904c
|
5650 is also simple alpha.
|
2014-05-27 22:12:24 +02:00 |
|
 Unknown W. BracketsandHenrik Rydgard
|
5f99f663ef
|
Avoid duplicating an FBO when depaletizing it.
|
2014-05-27 22:12:23 +02:00 |
|
 Unknown W. BracketsandHenrik Rydgard
|
126ed25a48
|
Correct clut depal indexing.
|
2014-05-27 22:11:20 +02:00 |
|
 Unknown W. BracketsandHenrik Rydgard
|
5ac6fae8bb
|
Validate framebuffer clut shaders on use.
When their parameters are actually the ones we are going to use.
|
2014-05-27 22:11:20 +02:00 |
|
 Unknown W. BracketsandHenrik Rydgard
|
7ee6546609
|
Cache clut textures based on clut format.
Since we would end up with a different palette (size, interpretation of
bits, etc.)
|
2014-05-27 22:11:19 +02:00 |
|
 Unknown W. BracketsandHenrik Rydgard
|
aa32bd6aa4
|
Also disable the logic op when rendering FB w/clut.
|
2014-05-27 22:11:18 +02:00 |
|
 raven02andHenrik Rydgard
|
608d43898d
|
Remove AlphaMaskHack
|
2014-05-27 22:11:18 +02:00 |
|
Henrik Rydgard
|
d90da45a76
|
On PC, OpenGL 3.3 is enough for the new path, don't need ES 3 full compat.
|
2014-05-27 22:10:37 +02:00 |
|
 raven02andHenrik Rydgard
|
e2a4e13e38
|
Small one , not a big deal
|
2014-05-27 22:10:37 +02:00 |
|
Henrik Rydgard
|
7062da0483
|
Fix some more issues. The snow scene in FF Type 0 now looks B/W instead of broken.
|
2014-05-27 22:10:36 +02:00 |
|
Henrik Rydgard
|
3f16765f1c
|
Allow 512 entries in 16-bit CLUTs. Also, forgot offset.
|
2014-05-27 22:09:29 +02:00 |
|
Henrik Rydgard
|
c3524246de
|
Add GLES3 path to depalettization. Doesn't seem to help much though, must be missing something.
|
2014-05-27 22:09:28 +02:00 |
|
Henrik Rydgard
|
b82de69a2d
|
depal: slightly better error reporting.
|
2014-05-27 22:09:28 +02:00 |
|
Henrik Rydgard
|
8b3f317bbf
|
Typo fixes, thanks raven02. Fix deinitialization crashes.
|
2014-05-27 22:09:27 +02:00 |
|
Henrik Rydgard
|
634add3a46
|
Depalettize works at other resolutions than 1x. For some strange reason though if you change resolution in game it breaks.
|
2014-05-27 22:09:26 +02:00 |
|
Henrik Rydgard
|
d414327da7
|
Use a small offset to turn NEAREST into floor() when sampling the clut.
Minor fixes and cleanups.
|
2014-05-27 22:09:25 +02:00 |
|
Henrik Rydgard
|
00c24ad3fc
|
Support aligned 4-bit accesses to 32-bit framebuffers
|
2014-05-27 22:09:24 +02:00 |
|
Henrik Rydgard
|
ee150fadbb
|
Update CMake and Android build
|
2014-05-27 22:09:23 +02:00 |
|
Henrik Rydgard
|
f517fa4ac8
|
Fix typo-bug when setting sampler uniforms, tweak fudge factors.
|
2014-05-27 22:09:23 +02:00 |
|
Henrik Rydgard
|
d0e65054a4
|
A bit closer to working. Shadow visible
|
2014-05-27 22:09:22 +02:00 |
|
Henrik Rydgard
|
8fba7fa98e
|
Initial work on depalettization.
|
2014-05-27 22:07:24 +02:00 |
|
Henrik Rydgård
|
8d84c912eb
|
Merge pull request #6070 from unknownbrackets/gpu-blend
Apply unsupported blending modes in the shader
|
2014-05-27 17:45:33 +02:00 |
|
Unknown W. Brackets
|
8dcc09c9e1
|
Use a separate func for gpu memset().
|
2014-05-27 07:50:01 -07:00 |
|
Unknown W. Brackets
|
ba2cf4f1d9
|
Make sure to rebind a texture after changing it.
|
2014-05-27 02:04:02 -07:00 |
|