United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 6666931 D3D/OGL: BufferedContext.invalidateContext doesn't reset native state
6666931 : D3D/OGL: BufferedContext.invalidateContext doesn't reset native state

Details
Type:
Bug
Submit Date:
2008-02-22
Status:
Closed
Updated Date:
2010-10-14
Project Name:
JDK
Resolved Date:
2008-03-04
Component:
client-libs
OS:
generic
Sub-Component:
2d
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
6u10
Fixed Versions:
6u10

Related Reports
Relates:

Sub Tasks

Description
The BufferedContext.invalidateContext() only resets the state of the 
BufferedContext, but not the native one. This may lead to 
de-synchronization between these.

For example, if a transform is set, and then context is invalidated,
the native device may have the transform set.

                                    

Comments
SUGGESTED FIX

http://sa.sfbay.sun.com/projects/java2d_data/6u10/6666931.0
                                     
2008-02-23
EVALUATION

We need to reset the native state (transform, clip, etc).

This bug was uncovered by the fix for 6664068 where we
sometimes invalidate the context.
                                     
2008-02-22



Hardware and Software, Engineered to Work Together