summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/bufferobj.h
diff options
context:
space:
mode:
authorLaura Ekstrand <laura@jlekstrand.net>2015-01-20 14:32:35 -0800
committerLaura Ekstrand <laura@jlekstrand.net>2015-03-17 10:18:34 -0700
commit105ddc6aea397bd5d39b8ffcd25278ed12102e3c (patch)
tree1be0fbf41319524e203cae0dcbe1b451850ca567 /src/mesa/main/bufferobj.h
parent1e45752aaf4ac7d2324d71bda4d2ac34f3abf8bd (diff)
downloadexternal_mesa3d-105ddc6aea397bd5d39b8ffcd25278ed12102e3c.zip
external_mesa3d-105ddc6aea397bd5d39b8ffcd25278ed12102e3c.tar.gz
external_mesa3d-105ddc6aea397bd5d39b8ffcd25278ed12102e3c.tar.bz2
main: Add entry point for GetNamedBufferPointerv.
v3: Review from Fredrik Hoglund -Split cosmetic refactor of GetBufferPointerv out into a separate commit Reviewed-by: Fredrik Höglund <fredrik@kde.org>
Diffstat (limited to 'src/mesa/main/bufferobj.h')
-rw-r--r--src/mesa/main/bufferobj.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/main/bufferobj.h b/src/mesa/main/bufferobj.h
index 6b29ce7..eee04fe 100644
--- a/src/mesa/main/bufferobj.h
+++ b/src/mesa/main/bufferobj.h
@@ -278,6 +278,10 @@ void GLAPIENTRY
_mesa_GetBufferPointerv(GLenum target, GLenum pname, GLvoid **params);
void GLAPIENTRY
+_mesa_GetNamedBufferPointerv(GLuint buffer, GLenum pname, GLvoid **params);
+
+
+void GLAPIENTRY
_mesa_CopyBufferSubData(GLenum readTarget, GLenum writeTarget,
GLintptr readOffset, GLintptr writeOffset,
GLsizeiptr size);