Using PBO in GLOffscreenAutoDrawable

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Using PBO in GLOffscreenAutoDrawable

alicana
Hi all,

I wonder that is it possible to use PBO with GLOffscreenAutoDrawable. What I want to do is getting buffered image from the instant scene. Is there any concept that I missing somewhere ?

1) I'm streaming image data to PBO.
2) Creating texture from PBO buffer.
3) Drawing(rendering) texture... (I may draw as a triangle form.)
4) Here I want to get the rendered scene into bufferedImage...

I tried this code.