diff options
author | Sven Gothel <[email protected]> | 2013-07-05 06:25:52 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2013-07-05 06:25:52 +0200 |
commit | b9a24308f3ebc6fae9ca79f6020970945936feab (patch) | |
tree | b51408732bd1813cd0de90b5008fb867e4a01d9d /make/config/jogl | |
parent | 4e225341fa11769c4da0825a3b5eb37464a732ef (diff) |
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)
Diffstat (limited to 'make/config/jogl')
-rw-r--r-- | make/config/jogl/gl-common.cfg | 8 |
1 files changed, 7 insertions, 1 deletions
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 |