2d buffer

Sergey Bylokhov sergey.bylokhov at oracle.com
Wed Sep 28 09:03:37 PDT 2011


Hello, Everybody,
I have a question about 2d native area.
As far I understand currently during resize event we recreate  internal 
2d buffer(see Java_sun_java2d_opengl_CGLSurfaceData_resize method).
  - Is it possible to initialize it with some default color instead of 
just random bytes?
and
  - Is it possible to copy bytes from old buffer to the new one?

Thanks.

-- 
Best regards, Sergey.



More information about the macosx-port-dev mailing list