From b9a24308f3ebc6fae9ca79f6020970945936feab Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Fri, 5 Jul 2013 06:25:52 +0200 Subject: Fix Bug 765: Add glMultiDrawElementsBaseVertex ; Restrict PointerBuffer usage to NIO only. Code snippet for PointerBuffer usage: Code snippet .. how to use PointerBuffer in this case: IntBuffer indices = Buffers.newDirectIntBuffer(count); indices.put(...); ... indices.rewind(); final PointerBuffer indicesP = PointerBuffer.allocateDirect(1); indicesP.referenceBuffer(indices); -> glMultiDrawElementsBaseVertex(int mode, IntBuffer count, int type, PointerBuffer indices, int primcount, IntBuffer basevertex) --- make/config/jogl/gl-common.cfg | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'make/config/jogl') diff --git a/make/config/jogl/gl-common.cfg b/make/config/jogl/gl-common.cfg index 3eea23645..ad0b7d1d0 100644 --- a/make/config/jogl/gl-common.cfg +++ b/make/config/jogl/gl-common.cfg @@ -37,7 +37,6 @@ Ignore glGetVertexAttribPointerv Ignore glGetVertexAttribPointervARB Ignore glGetVertexAttribPointervNV Ignore glTracePointerRangeMESA -Ignore glMultiDrawElementsBaseVertex Ignore glDebugMessageCallbackARB Ignore glDebugMessageCallbackAMD @@ -400,6 +399,13 @@ NIODirectOnly glWeightPointerARB NIODirectOnly wglFreeMemoryNV NIODirectOnly glXFreeMemoryNV +# Native PointerBuffer usage: +NIODirectOnly glMultiDrawElements +NIODirectOnly glMultiDrawElementsBaseVertex +NIODirectOnly glVDPAUMapSurfacesNV +NIODirectOnly glVDPAUUnmapSurfacesNV +NIODirectOnly glExtGetBufferPointervQCOM + #NIO Review: No technical reason to constrain array access for these: #Return values #NIODirectOnly glGenBuffers -- cgit v1.2.3