Unknown W. Brackets
|
8228bee6bf
|
Download only the necessary subareas.
Performance improvement in Tactics Ogre.
|
2014-05-25 19:50:40 -07:00 |
|
Unknown W. Brackets
|
c42d04829f
|
Detect if the game uses block transfer slivers.
In that case, it's better to read it once, than multiple times.
Improves performance and graphics in Grand Knights History.
|
2014-05-25 18:18:26 -07:00 |
|
Unknown W. Brackets
|
c3efa05c9e
|
Correct end framebuf range check.
|
2014-05-25 17:51:12 -07:00 |
|
Unknown W. Brackets
|
24ebc0d987
|
Flip framebuffer y correctly.
And here I just corrected another commit doing this wrong a few weeks ago.
Shame.
|
2014-05-25 17:46:42 -07:00 |
|
Unknown W. Brackets
|
89b3ead30d
|
If multiple framebuffers match, offset correctly.
|
2014-05-25 17:45:45 -07:00 |
|
Unknown W. Brackets
|
2e1afcf08d
|
When there are multiple copies, don't redownload.
This should improve performance when there are lots of little transfers.
|
2014-05-25 17:24:09 -07:00 |
|
Unknown W. Brackets
|
cbb3fe0086
|
Refactor framebuffer size calculation.
|
2014-05-25 17:12:58 -07:00 |
|
Unknown W. Brackets
|
cec8195e97
|
Cleanup reporting of block/memcpy transfers.
|
2014-05-25 17:10:06 -07:00 |
|
Unknown W. Brackets
|
976968c707
|
Track more kinds of memcpy operations on fbos.
|
2014-05-25 17:08:55 -07:00 |
|
Unknown W. Brackets
|
fd4ba0093c
|
Skip some code if things are outside framebuffers.
Small optimization.
|
2014-05-25 17:08:55 -07:00 |
|
Unknown W. Brackets
|
4dbb4328ae
|
Download before, upload after. Fix save pictures.
Otherwise, it only works if it does it every frame, and then it's a frame
behind. Also fixes Tales of Phantasia X's fades and etc.
|
2014-05-25 17:08:55 -07:00 |
|
Unknown W. Brackets
|
0e620b2fe9
|
Fix buffer overflow in MakePixelTexture().
|
2014-05-25 16:28:28 -07:00 |
|
Unknown W. Brackets
|
30222f987d
|
Flip framebuffers when downloading their pixels.
It seems like this is where it was being done...
|
2014-05-25 16:28:28 -07:00 |
|
Unknown W. Brackets
|
d26addc7b4
|
Match the #ifdef for glBlitFramebufferNV.
It's defined in gl_state with these requirements.
|
2014-05-25 15:15:21 -07:00 |
|
Unknown W. Brackets
|
62cd61611e
|
Support block transfers offset into a framebuffer.
|
2014-05-25 15:13:19 -07:00 |
|
Unknown W. Brackets
|
cacbfab4b5
|
Allow glBlitFramebuffer on desktop, avoid NV.
Only use NV if !GLES3. There's no reason otherwise.
|
2014-05-25 15:11:24 -07:00 |
|
Henrik Rydgard
|
8543de91d7
|
Don't skip the copy if block transfer is turned off
|
2014-05-25 10:50:28 +02:00 |
|
Henrik Rydgard
|
90f2d06697
|
Add setting to enable/disable GPU block transfer
|
2014-05-25 10:18:14 +02:00 |
|
Henrik Rydgard
|
33d15a6972
|
Try to implement block transfer upload to fbo. Doesn't seem to work right though...
|
2014-05-25 10:02:51 +02:00 |
|
Henrik Rydgard
|
eaba341db0
|
Split DrawPixels up, preparing to make it more flexible
|
2014-05-25 10:02:50 +02:00 |
|
Henrik Rydgard
|
c21fdef02d
|
Typo fix
|
2014-05-25 10:02:49 +02:00 |
|
Henrik Rydgard
|
0208ca8e90
|
Add some reporting for framebuffer sceDmacMemcpys.
|
2014-05-25 10:02:49 +02:00 |
|
Henrik Rydgard
|
6c2ab3215f
|
Try to fix R/B color swap problem
|
2014-05-25 10:01:40 +02:00 |
|
Henrik Rydgard
|
fdf17cb558
|
Move setting currentRenderVfb_ to NULL to when it's really needed.
|
2014-05-25 10:01:39 +02:00 |
|
raven02
|
50fc54c92a
|
Fix wrong #endif
|
2014-05-25 10:01:39 +02:00 |
|
raven02
|
a516abef02
|
Add comments
|
2014-05-25 10:01:38 +02:00 |
|
raven02
|
68548856fd
|
Use glBlitFramebuffer when available to blit framebuffer
|
2014-05-25 10:01:38 +02:00 |
|
raven02
|
cf7229e05e
|
Null out currentRenderVfb_
This fixes the missing stuffs in Tactic Orge
|
2014-05-25 10:01:37 +02:00 |
|
Henrik Rydgård
|
ebd3d214ae
|
Typo fix
|
2014-05-25 10:01:36 +02:00 |
|
raven02
|
05be56a433
|
Keep it sync = true also rename updateVRAM_
|
2014-05-25 10:01:35 +02:00 |
|
raven02
|
62c99843ad
|
Do NotifyBlockTransfer() in buffered rendering mode only
|
2014-05-25 10:01:34 +02:00 |
|
Henrik Rydgard
|
945b6125f9
|
Restrict the last change to buffered mode only
|
2014-05-25 10:01:34 +02:00 |
|
Henrik Rydgard
|
994629089e
|
Implement GPU block copies between buffers and from buffer to RAM.
(first one not very well tested, second one improves Burnout Legends sun a lot)
|
2014-05-25 10:01:33 +02:00 |
|
Henrik Rydgård
|
8273c1b956
|
Merge pull request #6056 from raven02/patch-51
Validate the framebuffer size with the size from sceDmac
|
2014-05-25 10:01:10 +02:00 |
|
Unknown W. Brackets
|
233213e38b
|
Avoid a crash in the GE debugger.
|
2014-05-23 08:48:29 -07:00 |
|
raven02
|
8664fbac11
|
Make the EstimateDrawingSize() simpler
|
2014-05-14 20:13:20 +08:00 |
|
Unknown W. Brackets
|
b4ceedfc43
|
Correctly flip textures in DrawActiveTexture().
We want to flip the origin of UV (top to bottom), not the pixels within
the specified range.
|
2014-05-10 09:35:02 -07:00 |
|
raven02
|
11b9d8d29a
|
Build fix
|
2014-05-10 12:26:53 +08:00 |
|
raven02
|
4263f00092
|
Add GL_NV_framebuffer_blit support for BindFramebufferColor()
|
2014-05-10 11:41:24 +08:00 |
|
raven02
|
c54664ba89
|
Validate the size framebuffer size with the szie from sceDmac
|
2014-05-09 23:32:26 +08:00 |
|
Henrik Rydgård
|
19ea7b5331
|
Merge pull request #6047 from raven02/patch-47
Comment out the remaining one LogReadPixelsError()
|
2014-05-08 16:12:56 +02:00 |
|
Henrik Rydgard
|
b8c39d4e42
|
ReadFramebuffer: Support sub rectangle
|
2014-05-08 16:09:55 +02:00 |
|
Henrik Rydgard
|
3c2819afea
|
Make DrawActiveTexture more flexible (u/v origin too).
|
2014-05-08 15:28:25 +02:00 |
|
Henrik Rydgard
|
3b3c794a37
|
More framebuffer code cleanup
|
2014-05-08 15:16:33 +02:00 |
|
Henrik Rydgard
|
5a60ccc9f0
|
BlockTransfer: Move framebuffer handling into Framebuffer.cpp
|
2014-05-08 15:16:10 +02:00 |
|
Henrik Rydgard
|
8ef377c427
|
Some preparations towards framebuffer management improvements
|
2014-05-08 15:16:10 +02:00 |
|
raven02
|
ec06b6532a
|
Comment out the remaining one LogReadPixelsError()
|
2014-05-08 20:30:40 +08:00 |
|
Henrik Rydgard
|
fcf2498b11
|
Minor stuff from #6403
|
2014-05-08 10:46:19 +02:00 |
|
Henrik Rydgard
|
305e1652cb
|
Turn off glGetError in Framebuffer.cpp. Can be easily turned back on if needed.
|
2014-05-08 10:43:46 +02:00 |
|
Henrik Rydgard
|
2e56e0f122
|
Fix check for glBlitFramebufferNV
|
2014-05-08 10:40:36 +02:00 |
|