Example #1
0
 public void Blit(
     SurfaceData src,
     SurfaceData dst,
     Composite comp,
     Region clip,
     int sx,
     int sy,
     int dx,
     int dy,
     int w,
     int h) {
   D3DBlitLoops.IsoBlit(
       src,
       dst,
       null,
       null,
       comp,
       clip,
       null,
       AffineTransformOp.TYPE_NEAREST_NEIGHBOR,
       sx,
       sy,
       sx + w,
       sy + h,
       dx,
       dy,
       dx + w,
       dy + h,
       true);
 }
Example #2
0
 public void Scale(
     SurfaceData src,
     SurfaceData dst,
     Composite comp,
     Region clip,
     int sx1,
     int sy1,
     int sx2,
     int sy2,
     double dx1,
     double dy1,
     double dx2,
     double dy2) {
   D3DBlitLoops.IsoBlit(
       src,
       dst,
       null,
       null,
       comp,
       clip,
       null,
       AffineTransformOp.TYPE_NEAREST_NEIGHBOR,
       sx1,
       sy1,
       sx2,
       sy2,
       dx1,
       dy1,
       dx2,
       dy2,
       true);
 }
Example #3
0
 public void Transform(
     SurfaceData src,
     SurfaceData dst,
     Composite comp,
     Region clip,
     AffineTransform at,
     int hint,
     int sx,
     int sy,
     int dx,
     int dy,
     int w,
     int h) {
   D3DBlitLoops.IsoBlit(
       src, dst, null, null, comp, clip, at, hint, sx, sy, sx + w, sy + h, dx, dy, dx + w, dy + h,
       true);
 }
  static {
    D3DRenderQueue rq = D3DRenderQueue.getInstance();
    d3dImagePipe = new D3DDrawImage();
    d3dTextPipe = new D3DTextRenderer(rq);
    d3dRenderPipe = new D3DRenderer(rq);
    if (GraphicsPrimitive.tracingEnabled()) {
      d3dTextPipe = d3dTextPipe.traceWrap();
      d3dRenderPipe = d3dRenderPipe.traceWrap();
      // The wrapped d3dRenderPipe will wrap the AA pipe as well...
      // d3dAAPgramPipe = d3dRenderPipe.traceWrap();
    }
    d3dAAPgramPipe = d3dRenderPipe.getAAParallelogramPipe();
    d3dTxRenderPipe =
        new PixelToParallelogramConverter(d3dRenderPipe, d3dRenderPipe, 1.0, 0.25, true);

    D3DBlitLoops.register();
    D3DMaskFill.register();
    D3DMaskBlit.register();
  }