Commit 09fb6f8
ogc: reduces number of copies from EFB to texture
Instead of copying at the end of every command queue flush, copy the EFB
to the texture only when the texture stops being a render target.
Unfortunately SDL invokes the SetRenderTarget() method after having
updated the render target pointer, forcing us to keep our own copy of
it.1 parent 9a75968 commit 09fb6f8
1 file changed
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
| |||
101 | 102 | | |
102 | 103 | | |
103 | 104 | | |
104 | | - | |
| 105 | + | |
105 | 106 | | |
106 | | - | |
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
| |||
218 | 218 | | |
219 | 219 | | |
220 | 220 | | |
| 221 | + | |
| 222 | + | |
221 | 223 | | |
222 | 224 | | |
| 225 | + | |
| 226 | + | |
223 | 227 | | |
224 | 228 | | |
225 | 229 | | |
| |||
525 | 529 | | |
526 | 530 | | |
527 | 531 | | |
528 | | - | |
529 | | - | |
530 | | - | |
531 | | - | |
532 | 532 | | |
533 | 533 | | |
534 | 534 | | |
| |||
0 commit comments