glDrawArraysIndirect and glDrawElementsIndirect have been designed to read parameter data from the buffer currently bound to GL_DRAW_INDIRECT_BUFFER. In OpenGL 4 core profile it is the only way to use these methods. Only the compatibility profile allows passing parameter data from client memory buffers. Therefore jogamp must provide entry points for glDrawArraysIndirect and glDrawElementsIndirect where the last argument is an offset in the buffer currently bound to GL_DRAW_INDIRECT_BUFFER. Since that's not the first time I file a bug for jogamp, if I can contribute I would be glad to :-)!
(In reply to comment #0) > glDrawArraysIndirect and glDrawElementsIndirect have been designed to read > parameter data from the buffer currently bound to GL_DRAW_INDIRECT_BUFFER. > In OpenGL 4 core profile it is the only way to use these methods. > Only the compatibility profile allows passing parameter data from client > memory buffers. > Therefore jogamp must provide entry points for glDrawArraysIndirect and > glDrawElementsIndirect where the last argument is an offset in the buffer > currently bound to GL_DRAW_INDIRECT_BUFFER. > > Since that's not the first time I file a bug for jogamp, if I can contribute > I would be glad to :-)! Of course - you are more than welcome to contrib. Simply send me an email w/ your git patch (git am'endable), some git repo to fetch your branch and to pull from - or - a git pull request using github. Since this seems similar to the prev. reported issues, I guess we can simply use the last git patch and doing same for this one (pls add bug reference .. etc). Thank you!
fixed, see commit 1259693f21734b0ebe1b5c95688ad91956c2629c