public static void validateContext(AccelSurface srcData,AccelSurface dstData,Region clip,Composite comp,AffineTransform xform,Paint paint,SunGraphics2D sg2d,int flags){
  BufferedContext context=dstData.getContext();
  context.validate(srcData,dstData,clip,comp,xform,paint,sg2d,flags);
}

public static void validateContext ( AccelSurface srcData , AccelSurface dstData , Region clip , Composite comp , AffineTransform xform , Paint paint , SunGraphics2D sg2d , int flags ) { BufferedContext context = dstData . getContext ( ) ; context . validate ( srcData , dstData , clip , comp , xform , paint , sg2d , flags ) ; }
fetches the bufferedcontextcontext associated with the dst . surface and validates the context using the given parameters . most rendering operations will call this method first in order to set the necessary state before issuing rendering commands . note : must be called while the renderqueue lock is held . it ' s assumed that the type of surfaces has been checked by the renderer
