Unknown W. Brackets
a821cd3f12
Disable UV range opt. for shader blending FBO.
...
Obviously this is unsafe, not sure what I was thinking...
2015-11-09 23:31:34 -08:00
Unknown W. Brackets
95a5bd62d5
Switch a few other things to use force().
2015-11-03 23:02:02 -08:00
Unknown W. Brackets
5ff3e6a5e7
Avoid polluting glstate in GetTempFBO().
...
Since we do this "late", we might overwrite important settings, such as
stencil, color masks, etc.
This affects both depal and fbo shader blending.
Didn't do it for all ClearBuffer()s, since I'm worried some might be
intentionally resetting state.
2015-11-03 22:37:19 -08:00
Unknown W. Brackets
869260087c
Fix screenshots to be right side up, not crash.
2015-11-02 19:43:36 -08:00
LunaMoo
71a0928d6b
Flip display layout editor coordinates to match #8130:)
2015-11-03 00:28:47 +01:00
Henrik Rydgard
b411fc0455
Postproc: Scale pixel deltas and round off screen position. Fixes #8016
2015-11-02 22:22:48 +01:00
Henrik Rydgard
95240d46e8
Set the flipped flag to false on debug buffers
2015-11-02 20:11:36 +01:00
Henrik Rydgard
14652f0650
Make some optional arguments non-optional.
2015-11-02 20:10:29 +01:00
Henrik Rydgard
bd64d5ba61
Fix a Y flip typo
2015-11-02 20:10:19 +01:00
Henrik Rydgard
6b2862284b
Minor cleanups
2015-11-02 20:09:59 +01:00
Henrik Rydgard
0266211b88
Two wrongs can appently make a right. Remove an inadvertent flip, add flips where we actually need them.
2015-11-02 20:09:24 +01:00
Henrik Rydgard
86bfce4006
Remove more obsolete v-flip support
2015-11-02 20:09:12 +01:00
Henrik Rydgard
069a7b0d2f
Move the viewport to the right place.
2015-11-02 20:08:00 +01:00
Henrik Rydgard
94b77135a2
Fix a few more flips
2015-11-02 20:07:38 +01:00
Henrik Rydgard
f4248cb550
Remove a whole lot of flipping special cases
2015-11-02 20:07:30 +01:00
LunaMoo
ae1cf1d85d
Add Display layout editor to use for example on tablets, but also includes automatic screen cropping for 16:9 cases(default).
...
//Rebased & removed atlas stuff which was added with #8096
//squashed with some improvements
2015-10-31 20:50:02 +01:00
Henrik Rydgard
8b2da19a55
Fix display of God Eater video in non-buffered mode. See #8082
2015-10-31 20:08:03 +01:00
Henrik Rydgard
27d4be9509
Fix texel addressing in post processing shaders when buffer size isn't 480x272. Fixes #8016 .
2015-10-31 16:15:38 +01:00
LunaMoo
b054117aad
Technically we do change resolution, so this seems best solution
2015-10-14 20:07:06 +02:00
LunaMoo
612f569c82
Extra check for filtering in case of game change with same resolution.
2015-10-14 19:16:48 +02:00
LunaMoo
9543250863
Add new postshader setting "upscaling"
2015-10-14 18:32:13 +02:00
Henrik Rydgard
c2f4fad56a
Fix another framebuffer race condition affecting #8002 (with postprocessing)
...
We can only wipe framebuffers at end of frame time when we react to the resolution change.
If we wipe at any other time, they can get recreated early and thus at the previous size.
2015-09-29 22:10:01 +02:00
Henrik Rydgard
d3b265a3e4
Fix render resolution race condition. Should help #8002
2015-09-27 20:00:47 +02:00
Henrik Rydgard
70cb4372c1
Assorted fixes to auto resolution. Fixes too low resolution and also #8002 , plus notification spam
2015-09-25 19:10:09 +02:00
Henrik Rydgard
ec63663ad5
More consistent handling of resolution changes. Should help #7995
2015-09-23 12:25:38 +02:00
Henrik Rydgard
669508ed80
Restore some code that should not have been deleted (dupe on windows but not on other platforms)
2015-09-19 23:42:22 +02:00
Henrik Rydgard
4d18d478a0
Sample renderWidth/pixelWidth/height once per frame for the framebuffer manager.
2015-09-19 16:19:03 +02:00
Unknown W. Brackets
dff4aeb30f
Correct uv bound pointers in arm vertexjit.
2015-09-13 14:55:10 -07:00
Unknown W. Brackets
93e9d6cd56
Respect framebuffer offset in fb copies.
...
We need to offset the copy coordinates also, or we'll copy the wrong
thing.
2015-09-13 11:35:15 -07:00
Unknown W. Brackets
62de281e35
Use texture UV range to optimize framebuf copies.
2015-09-13 11:34:52 -07:00
Unknown W. Brackets
e1df8fc45f
Centralize sampling params and test optimizations.
2015-09-13 06:38:07 -07:00
Henrik Rydgard
ab3468ea02
Move native/gfx_es2/gl_state.cpp/h into GPU/GLES/GLStateCache.cpp/h
2015-09-06 13:45:17 +02:00
Henrik Rydgard
d822cbf60b
Move fbo.cpp/h from native into PPSSPP
2015-09-06 13:13:37 +02:00
Unknown W. Brackets
fb7c71e41d
Simplify NV blit logic.
2015-09-05 16:28:59 -07:00
Unknown W. Brackets
2d0635c3e6
Cut out a bit more USING_GLES2.
2015-09-05 16:28:46 -07:00
Henrik Rydgard
1c0158bfe6
Further reduce the use of ifdef USING_GLES2 and friends.
2015-09-05 23:39:10 +02:00
Henrik Rydgard
186d624ef3
Cleanup of FBO+blit flags. Requires the change in native to stop lying.
2015-09-05 22:40:45 +02:00
Henrik Rydgard
5b2ffd1434
Fix some naming, remove NV_draw_texture, move decisions out
2015-09-05 22:11:28 +02:00
Henrik Rydgard
f524049277
Move more GPU feature checks upfront. Re-check when exiting settings menu.
2015-09-05 21:23:58 +02:00
Henrik Rydgard
a71be3f75f
Start moving GPU feature compatibility decisions to startup
...
(and a single, cache-friendly flag field)
2015-09-05 19:58:47 +02:00
Unknown W. Brackets
95d4f88e01
Read depth values as floats on OpenGL.
...
This preserves the full precision better than a 16-bit value does.
2015-08-23 17:52:15 -07:00
Henrik Rydgård
22e5431b1b
operator precedence fix
2015-08-05 13:39:05 +02:00
Henrik Rydgard
d7f4c47c22
Refactor: Even more getting rid of gstate access in the framebuffer manager.
2015-08-05 12:13:14 +02:00
Henrik Rydgard
454a363876
Reorganize all the gstate fetching in FramebufferCommon to one place
2015-08-05 11:36:02 +02:00
Henrik Rydgard
d26b74d4d6
GPU refactor: Move accesses to gstate out of leaf functions
2015-08-05 01:03:49 +02:00
Henrik Rydgard
c8fe0b2690
Minor simplification, buildfixes
2015-07-29 12:38:31 +02:00
Henrik Rydgard
2430c283a5
More GPU cleaning, removing uses of GPUState.h where not needed.
...
Want to get rid of direct accesses to GPUState in modules that may be reused in
my future next-gen backends, that will reformat display lists into command lists that will
then be optimized and executed, out of sync with the real GPUState.
Candidate modules that may be reused in full are Framebuffer and Depal, possibly TextureCache to some degree.
2015-07-29 12:37:49 +02:00
Henrik Rydgard
73e9c3b3a2
profiler: Track framebuffer reads in its own category
2015-07-12 00:44:11 +02:00
Henrik Rydgard
159c8baeef
Do framebuffer download color conversion using the CPU on old nVidias.
...
May fix issue 228 in the native project.
2015-06-13 11:27:06 +02:00
Henrik Rydgard
95b6b50fd5
Disable screen rotation in non-buffered rendering (as it won't worK)
2015-05-12 22:44:18 +02:00