diff options
author | Gurchetan Singh <[email protected]> | 2018-12-03 08:50:48 -0800 |
---|---|---|
committer | Bas Nieuwenhuizen <[email protected]> | 2018-12-19 13:29:16 +0100 |
commit | db77573d7bae90e77cfffde7c5bc9b65dc8b7fc2 (patch) | |
tree | ae325b641f9989a62b58230924599f1158370e84 /src/gallium/drivers/llvmpipe/Makefile.sources | |
parent | 11939f6fa254c9d657f487d93db6eaa6cee4de9d (diff) |
virgl: modify how we handle GL_MAP_FLUSH_EXPLICIT_BIT
Previously, we ignored the the glUnmap(..) operation and
flushed before we flush the cbuf. Now, let's just flush
the data when we unmap.
Neither method is optimal, for example:
glMapBufferRange(.., 0, 100, GL_MAP_FLUSH_EXPLICIT_BIT)
glFlushMappedBufferRange(.., 25, 30)
glFlushMappedBufferRange(.., 65, 70)
We'll end up flushing 25 --> 70. Maybe we can fix this later.
v2: Add fixme comment in the code (Elie)
Reviewed-by: Elie Tournier <[email protected]>
Diffstat (limited to 'src/gallium/drivers/llvmpipe/Makefile.sources')
0 files changed, 0 insertions, 0 deletions