Hi, Alexey.
Did you check what sequence of calls causes a situation when we have
BufImgSurfaceData as a surface and XRRenderer as a Pipe? I thought we
always change them at once(actually the pipe usually updated from the
surface.validatePipe(SG2D))?
On 23.05.16 17:44, Alexey Ushakov wrote:
Hello Phil,
Here is a small fix of quite annoying exception that we sometimes have
in IDEA product. The bug is assigned to you so, please have a look.
Bug: https://bugs.openjdk.java.net/browse/JDK-7179454
Webrev: http://cr.openjdk.java.net/~avu/JDK-7179454/webrev.00
Sometimes rendering is performed into surface of wrong type, so we need
to recreate it by throwing InvalidPipeException. The exception is caught
at upper level and the surface of appropriate type is created. Similar
approach is used in OpenGL and D3D pipeline.
Best Regards,
Alexey
--
Best regards, Sergey.