[OpenJDK 2D-Dev] [9] Review Request: 7188942 Remove support of pbuffers in OGL Java2d pipeline

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Tue Jun 16 13:01:55 UTC 2015


Hello.
Please review the fix for jdk9.

The reason of the removing is a general deprecation of pbuffers, and a 
lack of their support in the java2d, because for a long time pbuffers 
were not used by default.
Attempts to disable FBO(which are used by default), and enable the 
pbufferes will cause a different crashes in different places on all our 
platforms(mac,lin,win).

Change description:
  - Possibility to create a VolatileImage on top of pbuffers was 
removed. FBO and Textures are supported only.
  - "-Dsun.java2d.opengl.fbobject" now totally disable accelerated 
volatile images(BufSurfaces will be used instead). But it does not 
affect manageable images.
  - CAPS_STORED_ALPHA is removed because it was used to check is pbuffer 
is able to store alpha or not.

Note that pbuffers are still used to get some information from the 
opengl on the start. I plan to replace these usage later.

Some related questions:
  - Does anybody know about AccelTypedVolatileImage, how it was planned 
to use? It seems that the work on it was not completed and its usage can 
be simply removed/replaced.


Bug: https://bugs.openjdk.java.net/browse/JDK-7188942
Webrev can be found at: http://cr.openjdk.java.net/~serb/7188942/webrev.01

-- 
Best regards, Sergey.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/2d-dev/attachments/20150616/7dd4766f/attachment.html>


More information about the 2d-dev mailing list