surfaceDataSw = null;
surfaceData = getSurfaceDataSw();
// Now, invalidate the old hardware-based surfaceData
SurfaceData oldData = surfaceDataHw;
surfaceDataHw = null;
oldData.invalidate();
}
// If we were created by a Component, get the new GC
// associated with that object. Then we won't return
// IMAGE_INCOMPATIBLE from our next validate() call.
// 4636548: We need to reset graphicsConfig every time