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:
degasus committed 2013-02-05 00:53:14 +01:00
1 parent f677b8cba3
commit 1d86dafbe2
2 files changed
+15 -1

No files matched your search

@@ -29,6 +29,7 @@ enum StreamType {
STREAM_DETECT,
MAP_AND_ORPHAN,
MAP_AND_SYNC,
MAP_AND_RISK,
PINNED_MEMORY,
BUFFERSUBDATA
};