mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-13 18:28:35 +12:00
rsx/gl/vk: Improvements
- gl: Do not call makeCurrent every flip - it is already called in set_current() - gl: Improve ring buffer behaviour; use sliding window to view buffers larger than maximum viewable hardware range NV hardware can only view 128M at a time - gl/vk: Bump transform constant heap size When lots of draw calls are issued, the heap is exhaused very fast (8k per draw) - gl: Remove CLIENT_STORAGE_BIT from ring buffers. Performance is marginally better without this flag (at least on windows)
This commit is contained in:
parent
07cbf3da48
commit
6b23e733d0
6 changed files with 120 additions and 32 deletions
|
@ -69,6 +69,5 @@ void gl_gs_frame::flip(draw_context_t context, bool skip_frame)
|
|||
//Do not swap buffers if frame skip is active
|
||||
if (skip_frame) return;
|
||||
|
||||
((QOpenGLContext*)context)->makeCurrent(this);
|
||||
((QOpenGLContext*)context)->swapBuffers(this);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue