mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 19:58:53 +00:00
evil hack: map the buffer once and use this pointer after unmaping
This isn't allowed by gl and may _only_ work, if the driver uses cpu bound buffer. But it may speed up :-)
This commit is contained in:
parent
f677b8cba3
commit
1d86dafbe2
2 changed files with 15 additions and 1 deletions
|
@ -29,6 +29,7 @@ enum StreamType {
|
|||
STREAM_DETECT,
|
||||
MAP_AND_ORPHAN,
|
||||
MAP_AND_SYNC,
|
||||
MAP_AND_RISK,
|
||||
PINNED_MEMORY,
|
||||
BUFFERSUBDATA
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue