/openjdk7/jdk/src/share/classes/sun/java2d/opengl/ |
H A D | OGLTextRenderer.java | 49 protected void validateContext(SunGraphics2D sg2d, Composite comp) { argument 51 OGLSurfaceData oglDst = (OGLSurfaceData)sg2d.surfaceData; 53 sg2d.getCompClip(), comp, 54 null, sg2d.paint, sg2d, 66 protected void drawGlyphList(SunGraphics2D sg2d, GlyphList gl) { argument 68 super.drawGlyphList(sg2d, gl);
|
H A D | OGLPaints.java | 67 static boolean isValid(SunGraphics2D sg2d) { argument 68 OGLPaints impl = impls.get(sg2d.paintState); 69 return (impl != null && impl.isPaintValid(sg2d)); 77 abstract boolean isPaintValid(SunGraphics2D sg2d); argument 89 boolean isPaintValid(SunGraphics2D sg2d) { argument 109 boolean isPaintValid(SunGraphics2D sg2d) { argument 110 TexturePaint paint = (TexturePaint)sg2d.paint; 111 OGLSurfaceData dstData = (OGLSurfaceData)sg2d.surfaceData; 126 dstData.getSourceSurfaceData(bi, sg2d.TRANSFORM_ISIDENT, 133 dstData.getSourceSurfaceData(bi, sg2d 164 isPaintValid(SunGraphics2D sg2d) argument 188 isPaintValid(SunGraphics2D sg2d) argument [all...] |
H A D | OGLMaskFill.java | 67 protected void validateContext(SunGraphics2D sg2d, argument 70 OGLSurfaceData dstData = (OGLSurfaceData)sg2d.surfaceData; 72 sg2d.getCompClip(), comp, 73 null, sg2d.paint, sg2d, ctxflags);
|
H A D | OGLUtilities.java | 203 SunGraphics2D sg2d = (SunGraphics2D)g; 204 SurfaceData sData = (SurfaceData)sg2d.surfaceData; 209 int x0 = sg2d.transX; 210 int y0 = sg2d.transY; 244 SunGraphics2D sg2d = (SunGraphics2D)g; 245 SurfaceData sData = (SurfaceData)sg2d.surfaceData; 246 Region r = sg2d.getCompClip();
|
/openjdk7/jdk/src/windows/classes/sun/java2d/d3d/ |
H A D | D3DSurfaceData.java | 515 public boolean canRenderLCDText(SunGraphics2D sg2d) { argument 518 sg2d.compositeState <= SunGraphics2D.COMP_ISCOPY && 519 sg2d.paintState <= SunGraphics2D.PAINT_OPAQUECOLOR && 520 sg2d.surfaceData.getTransparency() == Transparency.OPAQUE; 538 public void validatePipe(SunGraphics2D sg2d) { argument 545 if (sg2d.compositeState >= sg2d.COMP_XOR) { 546 super.validatePipe(sg2d); 547 sg2d.imagepipe = d3dImagePipe; 560 (sg2d 655 getMaskFill(SunGraphics2D sg2d) argument 678 copyArea(SunGraphics2D sg2d, int x, int y, int w, int h, int dx, int dy) argument [all...] |
H A D | D3DMaskFill.java | 67 protected void validateContext(SunGraphics2D sg2d, argument 70 D3DSurfaceData dstData = (D3DSurfaceData)sg2d.surfaceData; 72 sg2d.getCompClip(), comp, 73 null, sg2d.paint, sg2d, ctxflags);
|
/openjdk7/jdk/src/macosx/classes/sun/java2d/ |
H A D | OSXSurfaceData.java | 84 public void validatePipe(SunGraphics2D sg2d) { argument 86 if (sg2d.compositeState <= SunGraphics2D.COMP_ALPHA) { 91 sg2d.imagepipe = sQuartzPipe; 92 sg2d.drawpipe = sQuartzPipe; 93 sg2d.fillpipe = sQuartzPipe; 94 sg2d.shapepipe = sQuartzPipe; 95 sg2d.textpipe = sCocoaTextPipe; 97 setPipesToQuartzComposite(sg2d); 101 protected void setPipesToQuartzComposite(SunGraphics2D sg2d) { argument 110 sg2d 131 copyArea(SunGraphics2D sg2d, int x, int y, int w, int h, BufferedImage image) argument 133 xorSurfacePixels(SunGraphics2D sg2d, BufferedImage srcPixels, int x, int y, int w, int h, int colorXOR) argument 369 setUserBounds(SunGraphics2D sg2d, int x, int y, int width, int height) argument 403 setupClip(SunGraphics2D sg2d) argument 481 setupTransform(SunGraphics2D sg2d) argument 523 setupPaint(SunGraphics2D sg2d, int x, int y, int w, int h) argument 617 setupComposite(SunGraphics2D sg2d) argument 658 setupStroke(SunGraphics2D sg2d) argument 701 setupRenderingHints(SunGraphics2D sg2d) argument 750 setupGraphicsState(SunGraphics2D sg2d, int primitiveType) argument 754 setupGraphicsState(SunGraphics2D sg2d, int primitiveType, int x, int y, int w, int h) argument 760 setupGraphicsState(SunGraphics2D sg2d, int primitiveType, Font font, int x, int y, int w, int h) argument 803 isCustomPaint(SunGraphics2D sg2d) argument 905 doLine(CRenderer renderer, SunGraphics2D sg2d, float x1, float y1, float x2, float y2) argument 911 doRect(CRenderer renderer, SunGraphics2D sg2d, float x, float y, float width, float height, boolean isfill) argument 921 doRoundRect(CRenderer renderer, SunGraphics2D sg2d, float x, float y, float width, float height, float arcW, float arcH, boolean isfill) argument 931 doOval(CRenderer renderer, SunGraphics2D sg2d, float x, float y, float width, float height, boolean isfill) argument 941 doArc(CRenderer renderer, SunGraphics2D sg2d, float x, float y, float width, float height, float startAngle, float arcAngle, int type, boolean isfill) argument 952 doPolygon(CRenderer renderer, SunGraphics2D sg2d, int xpoints[], int ypoints[], int npoints, boolean ispolygon, boolean isfill) argument 985 drawfillShape(CRenderer renderer, SunGraphics2D sg2d, GeneralPath gp, boolean isfill, boolean shouldApplyOffset) argument 1010 blitImage(CRenderer renderer, SunGraphics2D sg2d, SurfaceData img, boolean fliph, boolean flipv, int sx, int sy, int sw, int sh, int dx, int dy, int dw, int dh, Color bgColor) argument 1033 drawString(CTextPipe renderer, SunGraphics2D sg2d, long nativeStrikePtr, String str, double x, double y) argument 1042 drawGlyphs(CTextPipe renderer, SunGraphics2D sg2d, long nativeStrikePtr, GlyphVector gv, float x, float y) argument 1048 drawUnicodes(CTextPipe renderer, SunGraphics2D sg2d, long nativeStrikePtr, char unicodes[], int offset, int length, float x, float y) argument 1100 clipCopyArea(SunGraphics2D sg2d, int x, int y, int w, int h, int dx, int dy) argument 1145 canRenderLCDText(SunGraphics2D sg2d) argument [all...] |
/openjdk7/jdk/src/solaris/classes/sun/java2d/x11/ |
H A D | X11SurfaceData.java | 296 public void validatePipe(SunGraphics2D sg2d) { argument 297 if (sg2d.antialiasHint != SunHints.INTVAL_ANTIALIAS_ON && 298 sg2d.paintState <= sg2d.PAINT_ALPHACOLOR && 299 (sg2d.compositeState <= sg2d.COMP_ISCOPY || 300 sg2d.compositeState == sg2d.COMP_XOR)) 310 sg2d.drawpipe = lazypipe; 311 sg2d 400 getRenderLoops(SunGraphics2D sg2d) argument 481 copyArea(SunGraphics2D sg2d, int x, int y, int w, int h, int dx, int dy) argument 822 validate(SunGraphics2D sg2d) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/java2d/pipe/ |
H A D | BufferedTextPipe.java | 57 private static int createPackedParams(SunGraphics2D sg2d, GlyphList gl) { argument 62 ((sg2d.lcdTextContrast & 0xff) << OFFSET_CONTRAST )); 72 protected void drawGlyphList(SunGraphics2D sg2d, GlyphList gl) { argument 78 Composite comp = sg2d.composite; 93 validateContext(sg2d, comp); 94 enqueueGlyphList(sg2d, gl); 100 private void enqueueGlyphList(final SunGraphics2D sg2d, argument 128 buf.putInt(createPackedParams(sg2d, gl)); 144 sg2d.lcdTextContrast, 166 protected abstract void validateContext(SunGraphics2D sg2d, argument [all...] |
H A D | BufferedPaints.java | 51 static void setPaint(RenderQueue rq, SunGraphics2D sg2d, argument 54 if (sg2d.paintState <= SunGraphics2D.PAINT_ALPHACOLOR) { 55 setColor(rq, sg2d.pixel); 58 switch (sg2d.paintState) { 60 setGradientPaint(rq, sg2d, 64 setLinearGradientPaint(rq, sg2d, 68 setRadialGradientPaint(rq, sg2d, 72 setTexturePaint(rq, sg2d, 202 SunGraphics2D sg2d, 206 setGradientPaint(rq, (AffineTransform)sg2d 201 setGradientPaint(RenderQueue rq, SunGraphics2D sg2d, GradientPaint paint, boolean useMask) argument 242 setTexturePaint(RenderQueue rq, SunGraphics2D sg2d, TexturePaint paint, boolean useMask) argument 386 setLinearGradientPaint(RenderQueue rq, SunGraphics2D sg2d, LinearGradientPaint paint, boolean useMask) argument 469 setRadialGradientPaint(RenderQueue rq, SunGraphics2D sg2d, RadialGradientPaint paint, boolean useMask) argument [all...] |
/openjdk7/jdk/src/solaris/classes/sun/java2d/xr/ |
H A D | XRPaints.java | 49 private static XRPaints getXRPaint(SunGraphics2D sg2d) { argument 50 switch (sg2d.paintState) { 74 static boolean isValid(SunGraphics2D sg2d) { argument 75 XRPaints impl = getXRPaint(sg2d); 76 return (impl != null && impl.isPaintValid(sg2d)); 79 static void setPaint(SunGraphics2D sg2d, Paint paint) { argument 80 XRPaints impl = getXRPaint(sg2d); 82 impl.setXRPaint(sg2d, paint); 91 abstract boolean isPaintValid(SunGraphics2D sg2d); argument 93 abstract void setXRPaint(SunGraphics2D sg2d, Pain argument 104 isPaintValid(SunGraphics2D sg2d) argument 108 setXRPaint(SunGraphics2D sg2d, Paint pt) argument 144 isPaintValid(SunGraphics2D sg2d) argument 149 setXRPaint(SunGraphics2D sg2d, Paint pt) argument 180 isPaintValid(SunGraphics2D sg2d) argument 186 setXRPaint(SunGraphics2D sg2d, Paint pt) argument 236 isPaintValid(SunGraphics2D sg2d) argument 256 setXRPaint(SunGraphics2D sg2d, Paint pt) argument [all...] |
H A D | XRSurfaceData.java | 112 public void validatePipe(SunGraphics2D sg2d) { argument 120 if (sg2d.compositeState < SunGraphics2D.COMP_XOR && 121 (sg2d.paintState < SunGraphics2D.PAINT_TEXTURE || 122 sg2d.composite == null || 123 !(sg2d.composite instanceof AlphaComposite) || 124 ((AlphaComposite) sg2d.composite).getAlpha() == 1.0f)) 128 super.validatePipe(sg2d); 129 textpipe = sg2d.textpipe; 139 if (sg2d.antialiasHint != SunHints.INTVAL_ANTIALIAS_ON) { 140 if (sg2d 187 getMaskFill(SunGraphics2D sg2d) argument 196 getRenderLoops(SunGraphics2D sg2d) argument 328 copyArea(SunGraphics2D sg2d, int x, int y, int w, int h, int dx, int dy) argument 445 validateAsDestination(SunGraphics2D sg2d, Region clip) argument 659 validate(SunGraphics2D sg2d) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/java2d/loops/ |
H A D | FillSpans.java | 76 private native void FillSpans(SunGraphics2D sg2d, SurfaceData dest, argument 82 public void FillSpans(SunGraphics2D sg2d, SurfaceData dest, argument 85 FillSpans(sg2d, dest, sg2d.pixel, si.getNativeIterator(), si); 115 public void FillSpans(SunGraphics2D sg2d, SurfaceData dest, argument 119 target.FillSpans(sg2d, dest, si);
|
H A D | MaskFill.java | 126 public native void MaskFill(SunGraphics2D sg2d, SurfaceData sData, argument 131 public native void FillAAPgram(SunGraphics2D sg2d, SurfaceData sData, argument 137 public native void DrawAAPgram(SunGraphics2D sg2d, SurfaceData sData, argument 185 public void MaskFill(SunGraphics2D sg2d, argument 198 Region clip = sg2d.clipRegion; 199 sg2d.clipRegion = null; 200 int pixel = sg2d.pixel; 201 sg2d.pixel = tmpData.pixelFor(sg2d.getColor()); 202 fillop.FillRect(sg2d, tmpDat 240 MaskFill(SunGraphics2D sg2d, SurfaceData sData, Composite comp, int x, int y, int w, int h, byte[] mask, int maskoff, int maskscan) argument 250 FillAAPgram(SunGraphics2D sg2d, SurfaceData sData, Composite comp, double x, double y, double dx1, double dy1, double dx2, double dy2) argument 261 DrawAAPgram(SunGraphics2D sg2d, SurfaceData sData, Composite comp, double x, double y, double dx1, double dy1, double dx2, double dy2, double lw1, double lw2) argument [all...] |
H A D | FillRect.java | 78 public native void FillRect(SunGraphics2D sg2d, SurfaceData dest, argument 103 public void FillRect(SunGraphics2D sg2d, SurfaceData dest, argument 106 fillop.MaskFill(sg2d, dest, sg2d.composite, x, y, w, h, null, 0, 0); 128 public void FillRect(SunGraphics2D sg2d, SurfaceData dest, argument 132 target.FillRect(sg2d, dest, x, y, w, h);
|
H A D | DrawGlyphListLCD.java | 72 public native void DrawGlyphListLCD(SunGraphics2D sg2d, SurfaceData dest, argument 110 public void DrawGlyphListLCD(SunGraphics2D sg2d, SurfaceData dest, argument 114 target.DrawGlyphListLCD(sg2d, dest, glyphs);
|
H A D | DrawPath.java | 76 public native void DrawPath(SunGraphics2D sg2d, SurfaceData sData, argument 106 public void DrawPath(SunGraphics2D sg2d, SurfaceData sData, argument 111 target.DrawPath(sg2d, sData, transX, transY, p2df);
|
H A D | FillParallelogram.java | 77 public native void FillParallelogram(SunGraphics2D sg2d, SurfaceData dest, argument 109 public void FillParallelogram(SunGraphics2D sg2d, SurfaceData dest, argument 115 target.FillParallelogram(sg2d, dest, x0, y0, dx1, dy1, dx2, dy2);
|
H A D | FillPath.java | 76 public native void FillPath(SunGraphics2D sg2d, SurfaceData sData, argument 106 public void FillPath(SunGraphics2D sg2d, SurfaceData sData, argument 111 target.FillPath(sg2d, sData, transX, transY, p2df);
|
H A D | GeneralRenderer.java | 325 SunGraphics2D sg2d, SurfaceData sData, 333 Region r = sg2d.getCompClip().getBoundsIntersectionXYXY(x, y, x2, y2); 612 static PixelWriter createSolidPixelWriter(SunGraphics2D sg2d, argument 616 Object srcPixel = dstCM.getDataElements(sg2d.eargb, null); 621 static PixelWriter createXorPixelWriter(SunGraphics2D sg2d, argument 626 Object srcPixel = dstCM.getDataElements(sg2d.eargb, null); 628 XORComposite comp = (XORComposite)sg2d.getComposite(); 657 public void FillRect(SunGraphics2D sg2d, SurfaceData sData, argument 660 PixelWriter pw = GeneralRenderer.createSolidPixelWriter(sg2d, sData); 662 Region r = sg2d 324 doDrawRect(PixelWriter pw, SunGraphics2D sg2d, SurfaceData sData, int x, int y, int w, int h) argument 705 FillPath(SunGraphics2D sg2d, SurfaceData sData, int transx, int transy, Path2D.Float p2df) argument 724 FillSpans(SunGraphics2D sg2d, SurfaceData sData, SpanIterator si) argument 744 DrawLine(SunGraphics2D sg2d, SurfaceData sData, int x1, int y1, int x2, int y2) argument 768 DrawPolygons(SunGraphics2D sg2d, SurfaceData sData, int xPoints[], int yPoints[], int nPoints[], int numPolys, int transx, int transy, boolean close) argument 795 DrawPath(SunGraphics2D sg2d, SurfaceData sData, int transx, int transy, Path2D.Float p2df) argument 815 DrawRect(SunGraphics2D sg2d, SurfaceData sData, int x, int y, int w, int h) argument 831 FillRect(SunGraphics2D sg2d, SurfaceData sData, int x, int y, int w, int h) argument 850 FillPath(SunGraphics2D sg2d, SurfaceData sData, int transx, int transy, Path2D.Float p2df) argument 869 FillSpans(SunGraphics2D sg2d, SurfaceData sData, SpanIterator si) argument 889 DrawLine(SunGraphics2D sg2d, SurfaceData sData, int x1, int y1, int x2, int y2) argument 913 DrawPolygons(SunGraphics2D sg2d, SurfaceData sData, int xPoints[], int yPoints[], int nPoints[], int numPolys, int transx, int transy, boolean close) argument 940 DrawPath(SunGraphics2D sg2d, SurfaceData sData, int transx, int transy, Path2D.Float p2df) argument 959 DrawRect(SunGraphics2D sg2d, SurfaceData sData, int x, int y, int w, int h) argument 975 DrawGlyphList(SunGraphics2D sg2d, SurfaceData sData, GlyphList gl) argument 990 DrawGlyphListAA(SunGraphics2D sg2d, SurfaceData sData, GlyphList gl) argument [all...] |
H A D | DrawGlyphList.java | 71 public native void DrawGlyphList(SunGraphics2D sg2d, SurfaceData dest, argument 97 public void DrawGlyphList(SunGraphics2D sg2d, SurfaceData dest, argument 102 Region clip = sg2d.getCompClip(); 128 maskop.MaskFill(sg2d, dest, sg2d.composite, 154 public void DrawGlyphList(SunGraphics2D sg2d, SurfaceData dest, argument 158 target.DrawGlyphList(sg2d, dest, glyphs);
|
H A D | DrawGlyphListAA.java | 70 public native void DrawGlyphListAA(SunGraphics2D sg2d, SurfaceData dest, argument 95 public void DrawGlyphListAA(SunGraphics2D sg2d, SurfaceData dest, argument 100 Region clip = sg2d.getCompClip(); 126 maskop.MaskFill(sg2d, dest, sg2d.composite, 152 public void DrawGlyphListAA(SunGraphics2D sg2d, SurfaceData dest, argument 156 target.DrawGlyphListAA(sg2d, dest, glyphs);
|
H A D | DrawLine.java | 77 public native void DrawLine(SunGraphics2D sg2d, SurfaceData dest, argument 107 public void DrawLine(SunGraphics2D sg2d, SurfaceData dest, argument 111 target.DrawLine(sg2d, dest, x1, y1, x2, y2);
|
/openjdk7/jdk/src/share/native/sun/java2d/loops/ |
H A D | FillRect.c | 38 jobject sg2d, jobject sData, 45 jint pixel = GrPrim_Sg2dGetPixel(env, sg2d); 56 GrPrim_Sg2dGetCompInfo(env, sg2d, pPrim, &compInfo); 64 GrPrim_Sg2dGetClip(env, sg2d, &rasInfo.bounds); 36 Java_sun_java2d_loops_FillRect_FillRect(JNIEnv *env, jobject self, jobject sg2d, jobject sData, jint x, jint y, jint w, jint h) argument
|
/openjdk7/jdk/src/solaris/classes/sun/font/ |
H A D | XRTextRenderer.java | 53 protected void drawGlyphList(SunGraphics2D sg2d, GlyphList gl) { argument 61 XRSurfaceData x11sd = (XRSurfaceData) sg2d.surfaceData; 62 x11sd.validateAsDestination(null, sg2d.getCompClip()); 63 x11sd.maskBuffer.validateCompositeState(sg2d.composite, sg2d.transform, sg2d.paint, sg2d);
|