summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2012-08-13 10:27:33 -0700
committerIan Romanick <[email protected]>2012-08-14 14:39:33 -0700
commitf241ffd48c2063557461f5b7bb2dea0b744b8bef (patch)
tree746d191327d35808943c3eea4096c0f80e77a9b0 /include
parente2370bcc1ddde84d5d1ff676c29638645cb21731 (diff)
mesa: Add skeleton implementations of glInvalidateBuffer{Sub,}Data
These are part of GL_ARB_invalidate_subdata (but not OpenGL ES 3.0). v2: Use _mesa_bufferobj_mapped instead of testing gl_buffer_object::Pointer as suggested by Brian. Also use _mesa_is_desktop_gl as suggested by Ken. v3: Add a comment by the map subrange / discard range overlap test and fix an off-by-one error noticed by Ken. Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions