Lines Matching refs:SurfaceData

38 import sun.java2d.SurfaceData;
60 * The accelerated SurfaceData object.
62 protected SurfaceData sdAccel;
65 * The software-based SurfaceData object. Only create when first asked
69 protected SurfaceData sdBackup;
72 * The current SurfaceData object.
74 protected SurfaceData sdCurrent;
77 * A record-keeping object. This keeps track of which SurfaceData was
79 * the SurfaceData object has changed since then and allows us to return
82 protected SurfaceData sdPrevious;
130 public SurfaceData getPrimarySurfaceData() {
136 * backup SurfaceData object and return quickly from most methods
143 * sure that the accelerated SurfaceData exists and is
154 * SurfaceData is different than it was last time. So whether it's
155 * software or hardware, if we have a different SurfaceData object,
176 // set the current SurfaceData to accelerated version
188 // set the current SurfaceData to accelerated version
197 // Set the current SurfaceData to software version so that
205 // be a palette change that didn't require a SurfaceData
246 * SurfaceData object, or null if the surface creation was not successful.
252 protected abstract SurfaceData initAcceleratedSurface();
261 protected SurfaceData getBackupSurface() {
274 * Set contents of the current SurfaceData to default state (i.e. clear
288 * Called from a SurfaceData object, indicating that our
291 * primary SurfaceData object.
293 public SurfaceData restoreContents() {
298 * If the accelerated surface is the current SurfaceData for this manager,
333 // using a SurfaceData that was created in a different
336 // Now, invalidate the old hardware-based SurfaceData
338 SurfaceData oldData = sdAccel;
404 SurfaceData oldSD = sdAccel;