Searched refs:pixels (Results 51 - 75 of 91) sorted by relevance

1234

/openjdk7/jdk/src/solaris/classes/sun/java2d/xr/
H A DXRBackend.java105 float[] fractions, int[] pixels,
109 int[] pixels, int repeat,
103 createRadialGradient(Point2D inner, Point2D outer, float innerRadius, float outerRadius, float[] fractions, int[] pixels, int repeat, AffineTransform transform) argument
108 createLinearGradient(Point2D p1, Point2D p2, float[] fractions, int[] pixels, int repeat, AffineTransform transform) argument
/openjdk7/jdk/src/share/native/sun/java2d/opengl/
H A DOGLPaints.c179 GLuint pixels[2]; local
191 pixels[0] = pixel1;
192 pixels[1] = pixel2;
216 0, 2, GL_BGRA, GL_UNSIGNED_INT_8_8_8_8_REV, pixels);
638 GLint *pixels = (GLint *)pPixels; local
674 pixels);
682 pixels+(numStops-1));
739 void *fractions, void *pixels)
772 numStops, fractions, pixels);
864 void *fractions, void *pixels)
735 OGLPaints_SetLinearGradientPaint(OGLContext *oglc, OGLSDOps *dstOps, jboolean useMask, jboolean linear, jint cycleMethod, jint numStops, jfloat p0, jfloat p1, jfloat p3, void *fractions, void *pixels) argument
858 OGLPaints_SetRadialGradientPaint(OGLContext *oglc, OGLSDOps *dstOps, jboolean useMask, jboolean linear, jint cycleMethod, jint numStops, jfloat m00, jfloat m01, jfloat m02, jfloat m10, jfloat m11, jfloat m12, jfloat focusX, void *fractions, void *pixels) argument
[all...]
H A DOGLFuncs.h70 typedef void (GLAPIENTRY *glDrawPixelsType)(GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
106 typedef void (GLAPIENTRY *glReadPixelsType)(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels);
116 typedef void (GLAPIENTRY *glTexImage1DType)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
117 typedef void (GLAPIENTRY *glTexImage2DType)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
119 typedef void (GLAPIENTRY *glTexSubImage1DType)(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels);
120 typedef void (GLAPIENTRY *glTexSubImage2DType)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
135 typedef void (GLAPIENTRY *glTexImage3DType)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
/openjdk7/jdk/src/share/classes/sun/awt/image/
H A DByteInterleavedRaster.java40 * This class defines a Raster with pixels consisting of one or more
597 * @param width The number of pixels to store horizontally
598 * @param height The number of pixels to store vertically
962 int pixels[];
964 pixels = iArray;
966 pixels = new int[w*h*numBands];
978 pixels[dstOffset++] =
992 pixels[dstOffset++] = data[pixelOffset] & 0xff;
1002 pixels[dstOffset++] = data[pixelOffset] & 0xff;
1003 pixels[dstOffse
[all...]
/openjdk7/jdk/src/share/classes/java/awt/
H A DRobot.java403 * Creates an image containing pixels read from the screen. This image does
437 // need to sync the toolkit prior to grabbing the pixels since in some
441 int pixels[];
444 pixels = peer.getRGBPixels(translatedRect);
445 buffer = new DataBufferInt(pixels, pixels.length);
H A DMultipleGradientPaintContext.java49 * the gradient to fill pixels in a raster.
643 int[] pixels = rasterDB.getData(0);
649 fillRaster(pixels, off, adjust, x, y, w, h); // delegate to subclass
654 protected abstract void fillRaster(int pixels[], int off, int adjust, argument
/openjdk7/jdk/src/macosx/native/sun/awt/
H A DImageSurfaceData.h85 Pixel8bit* pixels; member in struct:_ImageSDOps
94 // if somebody draws on the bitmap context, or the pixels are changed in java. In that case, we need to NULL out
99 // native pixels as a source of the data. The dataProviders life cycle is the same as ISDO. The reference gets
104 // copy of the pixels for the Image. There is a spearate copy of the pixels that lives in Java heap. There are two main
105 // reasons why we keep those pixels spearate: 1) CG doesn't support all the Java pixel formats 2) The Garbage collector can
106 // move the java pixels at any time. There are possible workarounds for both problems. Number 2) seems to be a more serious issue, since
H A DImageSurfaceData.m163 fprintf(stderr, "\t pixels=%p\n", isdo->pixels);
954 Pixel8bit* pixels = NULL;
957 pixels = (Pixel8bit*)((*env)->GetPrimitiveArrayCritical(env, isdo->array, NULL));
958 if (pixels != NULL)
960 isdo->pixelsLocked = pixels;
962 isdo->pixels = isdo->pixelsLocked + isdo->offset;
966 fprintf(stderr, "ERROR: GetPrimitiveArrayCritical returns NULL for pixels in holdJavaPixels!\n");
971 else if (isdo->pixels == NULL)
973 isdo->pixels
[all...]
H A DCRobot.m326 jint x, jint y, jint width, jint height, jintArray pixels)
345 void *jPixelData = (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
360 // flip, scale, and color correct the screen image into the Java pixels
370 (*env)->ReleasePrimitiveArrayCritical(env, pixels, jPixelData, 0);
/openjdk7/jdk/src/solaris/native/sun/java2d/x11/
H A DXRBackendNative.c454 jshort* pixels; local
463 if ((pixels = (jshort *)
470 pixelsArray, pixels, JNI_ABORT);
485 colors[i].alpha = pixels[i*4 + 0];
486 colors[i].red = pixels[i*4 + 1];
487 colors[i].green = pixels[i*4 + 2];
488 colors[i].blue = pixels[i*4 + 3];
500 (*env)->ReleasePrimitiveArrayCritical(env, pixelsArray, pixels, JNI_ABORT);
521 jshort* pixels; local
531 if ((pixels
[all...]
/openjdk7/jdk/src/share/classes/sun/java2d/pipe/
H A DBufferedPaints.java358 int[] pixels = new int[colors.length];
360 pixels[i] = colorToIntArgbPrePixel(colors[i], linear);
362 return pixels;
415 int[] pixels = convertToIntArgbPrePixels(colors, linear);
452 buf.put(pixels);
480 int[] pixels = convertToIntArgbPrePixels(colors, linear);
531 buf.put(pixels);
/openjdk7/jdk/src/share/classes/java/awt/image/
H A DComponentSampleModel.java118 * @param w the width (in pixels) of the region of
120 * @param h the height (in pixels) of the region of
179 * @param w the width (in pixels) of the region of
181 * @param h the height (in pixels) of the region of
712 int pixels[];
714 pixels = iArray;
716 pixels = new int [numBands];
720 pixels[i] = data.getElem(bankIndices[i],
723 return pixels;
727 * Returns all samples for the specified rectangle of pixels i
[all...]
H A DMultiPixelPackedSampleModel.java41 * pixels into one data element. Pixels are not allowed to span data elements.
44 * and a power of 2 number of pixels must fit exactly in one data element.
47 * padded with unused pixels. Data bit offset is the offset in bits from
74 * The number of pixels that fit in a data element. Also used
93 * @param w the width, in pixels, of the region of
95 * @param h the height, in pixels, of the region of
125 * @param w the width, in pixels, of the region of
127 * @param h the height, in pixels, of the region of
135 * pixels do not fit in one data element.
162 "does not allow pixels t
[all...]
/openjdk7/jdk/src/solaris/native/sun/java2d/loops/
H A Dvis_IntArgb.c384 const jubyte *pixels; local
390 pixels = (const jubyte *) glyphs[glyphCounter].pixels;
392 if (!pixels) continue;
402 pixels += clipLeft - left;
406 pixels += (clipTop - top) * rowBytes;
425 mlib_u8 *src = (void*)pixels;
479 pixels += rowBytes;
H A Dvis_ByteGray_Mask.c645 const jubyte *pixels; local
651 pixels = (const jubyte *) glyphs[glyphCounter].pixels;
653 if (!pixels) continue;
663 pixels += clipLeft - left;
667 pixels += (clipTop - top) * rowBytes;
689 jint mixValSrc = pixels[i];
705 pixels += rowBytes;
709 mlib_u8 *src = (void*)pixels;
762 pixels
[all...]
H A Dvis_IntArgbBm.c563 const jubyte *pixels; local
569 pixels = (const jubyte *) glyphs[glyphCounter].pixels;
571 if (!pixels) continue;
581 pixels += clipLeft - left;
585 pixels += (clipTop - top) * rowBytes;
604 mlib_u8 *src = (void*)pixels;
673 pixels += rowBytes;
H A Dvis_IntBgr.c844 const jubyte *pixels; local
850 pixels = (const jubyte *) glyphs[glyphCounter].pixels;
852 if (!pixels) continue;
862 pixels += clipLeft - left;
866 pixels += (clipTop - top) * rowBytes;
885 mlib_u8 *src = (void*)pixels;
939 pixels += rowBytes;
H A Dvis_IntRgb.c570 const jubyte *pixels; local
576 pixels = (const jubyte *) glyphs[glyphCounter].pixels;
578 if (!pixels) continue;
588 pixels += clipLeft - left;
592 pixels += (clipTop - top) * rowBytes;
611 mlib_u8 *src = (void*)pixels;
665 pixels += rowBytes;
H A Dvis_IntArgbPre.c1105 const jubyte *pixels, *pixels0; local
1111 pixels = (const jubyte *) glyphs[glyphCounter].pixels;
1113 if (!pixels) continue;
1123 pixels += clipLeft - left;
1127 pixels += (clipTop - top) * rowBytes;
1145 pixels0 = pixels;
1149 mlib_u8 *src = (void*)pixels;
1197 pixels += rowBytes;
1200 pixels
[all...]
/openjdk7/jdk/test/java/awt/Mouse/ExtraMouseClick/
H A DExtraMouseClick.java146 smallDrag(SMUDGE_WIDTH - 1, SMUDGE_HEIGHT - 1); //on Motif and XAWT SMUDGE area is 4-pixels wide
153 public void oneDrag(int pixels){ argument
157 for (int i = 1; i<pixels;i++){
163 throw new RuntimeException("Test failed. Clicked event follows by Dragged. Dragged = "+dragged +". Clicked = "+clicked + " : distance = "+pixels);
/openjdk7/jdk/src/windows/native/sun/java2d/d3d/
H A DD3DPaints.cpp285 // offset by a half texel to correctly map texels to pixels
354 juint *pixels = (juint *)pPixels; local
385 memcpy(pPix, pixels, numStops*sizeof(juint));
391 pPix[MAX_MULTI_GRADIENT_COLORS-1] = pixels[numStops-1];
433 void *fractions, void *pixels)
455 numStops, fractions, pixels);
480 void *fractions, void *pixels)
503 numStops, fractions, pixels);
429 D3DPaints_SetLinearGradientPaint(D3DContext *d3dc, D3DSDOps *dstOps, jboolean useMask, jboolean linear, jint cycleMethod, jint numStops, jfloat p0, jfloat p1, jfloat p3, void *fractions, void *pixels) argument
474 D3DPaints_SetRadialGradientPaint(D3DContext *d3dc, D3DSDOps *dstOps, jboolean useMask, jboolean linear, jint cycleMethod, jint numStops, jfloat m00, jfloat m01, jfloat m02, jfloat m10, jfloat m11, jfloat m12, jfloat focusX, void *fractions, void *pixels) argument
/openjdk7/jdk/src/share/native/sun/font/
H A DFontInstanceAdapter.cpp271 void FontInstanceAdapter::transformFunits(float xFunits, float yFunits, LEPoint &pixels) const
292 pixels.fX = xx + yx;
293 pixels.fY = xy + yy;
/openjdk7/jdk/src/share/native/sun/java2d/loops/
H A DAnyByteBinary.h504 DeclareDrawGlyphListClipVars(pixels, rowBytes, width, height, \
506 ClipDrawGlyphList(DST, pixels, 1, rowBytes, width, height, \
517 if (pixels[x]) { \
524 pixels += rowBytes; \
558 DeclareDrawGlyphListClipVars(pixels, rowBytes, width, height, \
560 ClipDrawGlyphList(DST, pixels, 1, rowBytes, width, height, \
573 GlyphListAABlend ## STRATEGY(DST, pixels, x, pPix, \
580 pixels += rowBytes; \
603 DeclareDrawGlyphListClipVars(pixels, rowBytes, width, height, \
605 ClipDrawGlyphList(DST, pixels,
[all...]
H A DLoopMacros.h245 * via the specified intermediate format while testing for transparent pixels.
264 * bgcolor for transparent pixels.
342 * - straight conversion with a bgcolor for the transparent pixels
833 * for copying pixels of a common type from one buffer to another.
852 * for scaling pixels of a common type from one buffer to another.
874 * for XORing pixels of a common type from one buffer into another.
899 * for converting pixels from a buffer of one type into a buffer of
900 * another type. No blending is done of the pixels.
924 * for converting pixels from a buffer of byte pixels wit
[all...]
/openjdk7/jdk/src/solaris/native/sun/awt/
H A Dawt_MToolkit.c2935 Pixel pixels[java_awt_SystemColor_NUM_COLORS]; local
2948 * initialize array of pixels
2951 pixels[i] = -1;
2991 pixels[java_awt_SystemColor_WINDOW] = bg;
2993 pixels[java_awt_SystemColor_INFO] = bg;
2995 pixels[java_awt_SystemColor_WINDOW_TEXT] = fg;
2997 pixels[java_awt_SystemColor_INFO_TEXT] = fg;
3005 pixels[java_awt_SystemColor_MENU] = bg;
3007 pixels[java_awt_SystemColor_MENU_TEXT] = fg;
3015 pixels[java_awt_SystemColor_TEX
[all...]

Completed in 890 milliseconds

1234