< prev index next >

modules/javafx.graphics/src/main/java/com/sun/pisces/PiscesRenderer.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2011, 2017, 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) 2011, 2018, 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
*** 279,296 **** gradientColorMap.cycleMethod, gradientTransform == null ? new Transform6(1 << 16, 0, 0, 1 << 16, 0, 0) : gradientTransform); } public void setTexture(int imageType, int data[], int width, int height, int stride, ! Transform6 textureTransform, boolean repeat, boolean hasAlpha) { this.inputImageCheck(width, height, 0, stride, data.length); ! this.setTextureImpl(imageType, data, width, height, stride, textureTransform, repeat, hasAlpha); } private native void setTextureImpl(int imageType, int data[], int width, int height, int stride, ! Transform6 textureTransform, boolean repeat, boolean hasAlpha); /** * Sets a clip rectangle for all primitives. Each primitive will be * clipped to the intersection of this rectangle and the destination * image bounds. --- 279,296 ---- gradientColorMap.cycleMethod, gradientTransform == null ? new Transform6(1 << 16, 0, 0, 1 << 16, 0, 0) : gradientTransform); } public void setTexture(int imageType, int data[], int width, int height, int stride, ! Transform6 textureTransform, boolean repeat, boolean linearFiltering, boolean hasAlpha) { this.inputImageCheck(width, height, 0, stride, data.length); ! this.setTextureImpl(imageType, data, width, height, stride, textureTransform, repeat, linearFiltering, hasAlpha); } private native void setTextureImpl(int imageType, int data[], int width, int height, int stride, ! Transform6 textureTransform, boolean repeat, boolean linearFiltering, boolean hasAlpha); /** * Sets a clip rectangle for all primitives. Each primitive will be * clipped to the intersection of this rectangle and the destination * image bounds.
*** 387,413 **** } private native void fillLCDAlphaMaskImpl(byte[] mask, int x, int y, int width, int height, int offset, int stride); public void drawImage(int imageType, int imageMode, int data[], int width, int height, int offset, int stride, ! Transform6 textureTransform, boolean repeat, int bboxX, int bboxY, int bboxW, int bboxH, int lEdge, int rEdge, int tEdge, int bEdge, int txMin, int tyMin, int txMax, int tyMax, boolean hasAlpha) { this.inputImageCheck(width, height, offset, stride, data.length); this.drawImageImpl(imageType, imageMode, data, width, height, offset, stride, ! textureTransform, repeat, bboxX, bboxY, bboxW, bboxH, lEdge, rEdge, tEdge, bEdge, txMin, tyMin, txMax, tyMax, hasAlpha); } private native void drawImageImpl(int imageType, int imageMode, int data[], int width, int height, int offset, int stride, ! Transform6 textureTransform, boolean repeat, int bboxX, int bboxY, int bboxW, int bboxH, int lEdge, int rEdge, int tEdge, int bEdge, int txMin, int tyMin, int txMax, int tyMax, boolean hasAlpha); --- 387,413 ---- } private native void fillLCDAlphaMaskImpl(byte[] mask, int x, int y, int width, int height, int offset, int stride); public void drawImage(int imageType, int imageMode, int data[], int width, int height, int offset, int stride, ! Transform6 textureTransform, boolean repeat, boolean linearFiltering, int bboxX, int bboxY, int bboxW, int bboxH, int lEdge, int rEdge, int tEdge, int bEdge, int txMin, int tyMin, int txMax, int tyMax, boolean hasAlpha) { this.inputImageCheck(width, height, offset, stride, data.length); this.drawImageImpl(imageType, imageMode, data, width, height, offset, stride, ! textureTransform, repeat, linearFiltering, bboxX, bboxY, bboxW, bboxH, lEdge, rEdge, tEdge, bEdge, txMin, tyMin, txMax, tyMax, hasAlpha); } private native void drawImageImpl(int imageType, int imageMode, int data[], int width, int height, int offset, int stride, ! Transform6 textureTransform, boolean repeat, boolean linearFiltering, int bboxX, int bboxY, int bboxW, int bboxH, int lEdge, int rEdge, int tEdge, int bEdge, int txMin, int tyMin, int txMax, int tyMax, boolean hasAlpha);
< prev index next >