Re: PBO-VBO Usage Hints Warnings
Posted by
Sven Gothel on
Jun 10, 2015; 12:08pm
URL: https://forum.jogamp.org/PBO-VBO-Usage-Hints-Warnings-tp4034603p4034634.html
On 06/10/2015 01:39 PM, alicana [via jogamp] wrote:
> Thank you. So far, I understand that I may ignore that debug messages.
>
> Jogl PBO to Texture rendering implementation link:
>
https://gist.github.com/alicanalbayrak/ace2d7f426a4e75ca008>
> I run the code, that I shared above, with "-Djogl.debug.DebugGL".
>
> Console debug message:
>
> GLDebugEvent[ id 0x20071
> type Warning: generic
> severity Unknown (0x826b)
> source GL API
> msg Buffer detailed info: Buffer object 2 (bound to GL_PIXEL_UNPACK_BUFFER_ARB, usage hint is GL_STREAM_DRAW) has been mapped WRITE_ONLY in SYSTEM HEAP memory (fast).
Maybe you want to use the hint WRITE_ONLY instead of GL_STREAM_DRAW?
You would need to check the spec of the PBO extension here, ofc,
to ensure compatibility ..
~Sven