This repository was archived by the owner on Aug 27, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 17 files changed +104
-26
lines changed
src/java.desktop/macosx/classes/sun/java2d/metal
test/jdk/performance/client/RenderPerfTest/src/renderperf Expand file tree Collapse file tree 17 files changed +104
-26
lines changed Original file line number Diff line number Diff line change 2626package sun .java2d .metal ;
2727
2828import sun .java2d .SurfaceData ;
29- import sun .java2d .loops .*;
29+ import sun .java2d .loops .Blit ;
30+ import sun .java2d .loops .CompositeType ;
31+ import sun .java2d .loops .GraphicsPrimitive ;
32+ import sun .java2d .loops .GraphicsPrimitiveMgr ;
33+ import sun .java2d .loops .ScaledBlit ;
34+ import sun .java2d .loops .SurfaceType ;
35+ import sun .java2d .loops .TransformBlit ;
3036import sun .java2d .pipe .Region ;
3137import sun .java2d .pipe .RenderBuffer ;
3238import sun .java2d .pipe .RenderQueue ;
3339import sun .java2d .pipe .hw .AccelSurface ;
3440
35- import java .awt .*;
41+ import java .awt .AlphaComposite ;
42+ import java .awt .Composite ;
43+ import java .awt .Transparency ;
3644import java .awt .geom .AffineTransform ;
3745import java .awt .image .AffineTransformOp ;
3846import java .awt .image .BufferedImage ;
Original file line number Diff line number Diff line change 3030import sun .java2d .loops .CompositeType ;
3131import sun .java2d .pipe .BufferedBufImgOps ;
3232
33- import java .awt .image .*;
33+ import java .awt .image .AffineTransformOp ;
34+ import java .awt .image .BufferedImage ;
35+ import java .awt .image .BufferedImageOp ;
36+ import java .awt .image .ConvolveOp ;
37+ import java .awt .image .LookupOp ;
38+ import java .awt .image .RescaleOp ;
3439
3540import static sun .java2d .metal .MTLContext .MTLContextCaps .CAPS_EXT_BIOP_SHADER ;
3641
Original file line number Diff line number Diff line change 3232
3333import java .lang .annotation .Native ;
3434
35- import static sun .java2d .pipe .BufferedOpCodes .*;
35+ import static sun .java2d .pipe .BufferedOpCodes .INVALIDATE_CONTEXT ;
36+ import static sun .java2d .pipe .BufferedOpCodes .SET_SCRATCH_SURFACE ;
3637
3738/**
3839 * Note that the RenderQueue lock must be acquired before calling any of
Original file line number Diff line number Diff line change 3131import sun .java2d .loops .TransformBlit ;
3232import sun .java2d .pipe .DrawImage ;
3333
34- import java .awt .*;
34+ import java .awt .Color ;
35+ import java .awt .Image ;
3536import java .awt .geom .AffineTransform ;
3637import java .awt .image .AffineTransformOp ;
3738import java .awt .image .BufferedImage ;
Original file line number Diff line number Diff line change 4141import sun .lwawt .LWComponentPeer ;
4242import sun .lwawt .macosx .CFRetainedResource ;
4343
44- import java .awt .*;
44+ import java .awt .AWTException ;
45+ import java .awt .BufferCapabilities ;
46+ import java .awt .Component ;
47+ import java .awt .Graphics ;
48+ import java .awt .Graphics2D ;
49+ import java .awt .Image ;
50+ import java .awt .ImageCapabilities ;
51+ import java .awt .Rectangle ;
52+ import java .awt .Transparency ;
53+
4554import java .awt .color .ColorSpace ;
46- import java .awt .image .*;
55+ import java .awt .image .BufferedImage ;
56+ import java .awt .image .ColorModel ;
57+ import java .awt .image .DataBuffer ;
58+ import java .awt .image .DirectColorModel ;
59+ import java .awt .image .VolatileImage ;
60+ import java .awt .image .WritableRaster ;
4761import java .io .File ;
4862import java .security .AccessController ;
4963import java .security .PrivilegedAction ;
Original file line number Diff line number Diff line change 3030import sun .lwawt .LWWindowPeer ;
3131import sun .lwawt .macosx .CFRetainedResource ;
3232
33- import java .awt .*;
33+ import java .awt .GraphicsConfiguration ;
34+ import java .awt .Insets ;
35+ import java .awt .Rectangle ;
36+ import java .awt .Transparency ;
3437
3538public class MTLLayer extends CFRetainedResource {
3639
Original file line number Diff line number Diff line change 3333import sun .java2d .pipe .BufferedMaskBlit ;
3434import sun .java2d .pipe .Region ;
3535
36- import java .awt .* ;
36+ import java .awt .Composite ;
3737
3838import static sun .java2d .loops .CompositeType .SrcNoEa ;
3939import static sun .java2d .loops .CompositeType .SrcOver ;
Original file line number Diff line number Diff line change 3232import sun .java2d .loops .SurfaceType ;
3333import sun .java2d .pipe .BufferedMaskFill ;
3434
35- import java .awt .* ;
35+ import java .awt .Composite ;
3636
3737import static sun .java2d .loops .CompositeType .SrcNoEa ;
3838import static sun .java2d .loops .CompositeType .SrcOver ;
Original file line number Diff line number Diff line change 2828import sun .java2d .SurfaceData ;
2929import sun .java2d .loops .CompositeType ;
3030
31- import java .awt .*;
31+ import java .awt .LinearGradientPaint ;
32+ import java .awt .MultipleGradientPaint ;
33+ import java .awt .TexturePaint ;
34+
3235import java .awt .MultipleGradientPaint .ColorSpaceType ;
3336import java .awt .MultipleGradientPaint .CycleMethod ;
3437import java .awt .image .BufferedImage ;
Original file line number Diff line number Diff line change 3232import sun .java2d .pipe .RenderQueue ;
3333import sun .java2d .pipe .SpanIterator ;
3434
35- import java .awt .* ;
35+ import java .awt .Transparency ;
3636import java .awt .geom .Path2D ;
3737
3838import static sun .java2d .pipe .BufferedOpCodes .COPY_AREA ;
You can’t perform that action at this time.
0 commit comments