Henrik Rydgard
1e8a1b801f
Rename viewportX1/X2 etc to scale + center, which is what they actually are.
2015-08-26 15:24:35 +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
d7c76cb1da
Refactor: More work towards getting rid of gstate accesses from the framebuffer manager
2015-08-05 11:51:24 +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
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
aae254254b
Fix bad cleanup change, thanks to tapcio for pointing it out in 07b17560f
2015-07-28 01:09:48 +02:00
Henrik Rydgard
0b2a1dfe53
Profile a few more scopes
2015-05-26 00:39:27 +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
Henrik Rydgard
3f7830743a
Implement basic screen rotation as requested in #297 . Does not work correctly in non-buffered rendering yet.
2015-05-12 21:01:15 +02:00
Unknown W. Brackets
be7d1d1169
Add a bit of a hack for smaller framebuf memcpys.
...
Hopefully this doesn't false-positive in any other games. Helps Valkyrie
Profile's battle entry effect.
2015-04-12 11:05:28 -07:00
Unknown W. Brackets
10626e356d
Avoid a potential divide by zero.
2015-04-08 11:57:59 -07:00
Unknown W. Brackets
7e0489c83e
Keep better track of framebuf usage flags.
2015-03-14 15:21:58 -07:00
Unknown W. Brackets
b25c2de369
Allow block transfers from 0 that are too tall.
...
Hopefully this is safe.
2015-02-28 01:28:53 -08:00
Henrik Rydgard
f55e0abc93
Experiment, trying to fix #7336 : Make sure that a clear is the very first thing to happen in a frame.
...
Also a minor warning fix.
2015-01-26 00:25:48 +01:00
Luna
9c544de689
Oops, that's what I get for copy&paste:P
2015-01-23 12:39:19 +01:00
Luna
ff9d33d2a7
Move the hack to FramebufferCommon.cpp and rename.
2015-01-23 10:40:49 +01:00
Unknown W. Brackets
05feac3eb0
Fix a potential divide by zero.
2015-01-19 08:43:43 -08:00
Unknown W. Brackets
06e9d7680a
Handle a case of 480x360 framebuffers.
...
Region and scissor are 480x360, but viewport is just default (also,
throughmode is on.) We could add more checks, but just the height being a
bit higher is already unusual, so should be relatively safe.
Fixes #7277 .
2015-01-06 00:02:05 -08:00
Unknown W. Brackets
9bcffc5b4d
Fix divide by zero in memcpy checks.
...
Happened in Resistance demo.
2014-09-21 21:36:26 -07:00
Unknown W. Brackets
b9d7ffe484
d3d: Support the Danganronpa hack.
2014-09-13 16:47:23 -07:00
Unknown W. Brackets
2463074530
d3d: Converge block transfer logic.
2014-09-13 15:40:55 -07:00
Unknown W. Brackets
3dfdddfc5f
d3d: Move UpdateFromMemory() to common.
2014-09-13 14:44:18 -07:00
Unknown W. Brackets
f7b669a740
Fix infinite recursion in framebuf create upload.
...
Needs to be done *after* currentRenderVfb_ is set.
Fixes #6872 .
2014-09-10 23:59:12 -07:00
chinhodado
31fc179bc2
Fix a wrong condition
2014-09-10 19:50:31 -04:00
Unknown W. Brackets
e9b87104ef
Move FBO_OLD_AGE to the common header.
...
Guess it's fine here.
2014-09-09 23:11:25 -07:00
Unknown W. Brackets
e2a4a50511
d3d: Centralize framebuf creation/switch logic.
2014-09-09 22:58:43 -07:00
Unknown W. Brackets
ae2e8c5c7c
d3d: Migrate a few more things into common code.
2014-09-09 22:58:11 -07:00
Unknown W. Brackets
8c229e00b4
d3d: Begin centralizing framebuffer management.
2014-09-09 08:12:42 -07:00