src/windows/classes/sun/java2d/d3d/D3DDrawImage.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2007, 2008, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 2007, 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 51,61 **** // - an appropriate TransformBlit primitive could not be found if (interpType != AffineTransformOp.TYPE_BICUBIC) { SurfaceData dstData = sg.surfaceData; SurfaceData srcData = dstData.getSourceSurfaceData(img, ! sg.TRANSFORM_GENERIC, sg.imageComp, bgColor); if (srcData != null && !isBgOperation(srcData, bgColor)) { SurfaceType srcType = srcData.getSurfaceType(); --- 51,61 ---- // - an appropriate TransformBlit primitive could not be found if (interpType != AffineTransformOp.TYPE_BICUBIC) { SurfaceData dstData = sg.surfaceData; SurfaceData srcData = dstData.getSourceSurfaceData(img, ! SunGraphics2D.TRANSFORM_GENERIC, sg.imageComp, bgColor); if (srcData != null && !isBgOperation(srcData, bgColor)) { SurfaceType srcType = srcData.getSurfaceType();