/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
H A D | pack_tmp.h | 28 SRC_TYPE rgba[][4], 36 dst[i] = SRC_CONVERT(rgba[i][RCOMP]); 42 dst[i] = SRC_CONVERT(rgba[i][GCOMP]); 48 dst[i] = SRC_CONVERT(rgba[i][BCOMP]); 54 dst[i] = SRC_CONVERT(rgba[i][ACOMP]); 60 dst[i*2+0] = SRC_CONVERT(rgba[i][RCOMP]); 61 dst[i*2+1] = SRC_CONVERT(rgba[i][GCOMP]); 67 dst[i*3+0] = SRC_CONVERT(rgba[i][RCOMP]); 68 dst[i*3+1] = SRC_CONVERT(rgba[i][GCOMP]); 69 dst[i*3+2] = SRC_CONVERT(rgba[ 25 FN_NAME(struct gl_context *ctx, DST_TYPE *dst, GLenum dstFormat, SRC_TYPE rgba[][4], int n) argument [all...] |
/external/mesa3d/src/mesa/main/ |
H A D | pack_tmp.h | 28 SRC_TYPE rgba[][4], 36 dst[i] = SRC_CONVERT(rgba[i][RCOMP]); 42 dst[i] = SRC_CONVERT(rgba[i][GCOMP]); 48 dst[i] = SRC_CONVERT(rgba[i][BCOMP]); 54 dst[i] = SRC_CONVERT(rgba[i][ACOMP]); 60 dst[i*2+0] = SRC_CONVERT(rgba[i][RCOMP]); 61 dst[i*2+1] = SRC_CONVERT(rgba[i][GCOMP]); 67 dst[i*3+0] = SRC_CONVERT(rgba[i][RCOMP]); 68 dst[i*3+1] = SRC_CONVERT(rgba[i][GCOMP]); 69 dst[i*3+2] = SRC_CONVERT(rgba[ 25 FN_NAME(struct gl_context *ctx, DST_TYPE *dst, GLenum dstFormat, SRC_TYPE rgba[][4], int n) argument [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/ |
H A D | CanvasGradient.cpp | 54 RGBA32 rgba = 0; local 55 if (!parseColorOrCurrentColor(rgba, color, 0 /*canvas*/)) { 60 m_gradient->addColorStop(value, Color(rgba));
|
H A D | CanvasStyle.cpp | 61 RGBA32 rgba = Color::black; 62 CSSParser::parseColor(rgba, canvas->inlineStyle()->getPropertyValue(CSSPropertyColor)); 63 return rgba; 90 CanvasStyle::CanvasStyle(RGBA32 rgba) argument 92 , m_rgba(rgba) 129 RGBA32 rgba; local 130 ColorParseResult parseResult = parseColor(rgba, color); 134 return adoptRefWillBeNoop(new CanvasStyle(rgba)); 147 RGBA32 rgba; local 148 ColorParseResult parseResult = parseColor(rgba, colo [all...] |
H A D | CanvasStyle.h | 45 static PassRefPtrWillBeRawPtr<CanvasStyle> createFromRGBA(RGBA32 rgba) { return adoptRefWillBeNoop(new CanvasStyle(rgba)); } argument 75 CanvasStyle(RGBA32 rgba);
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/ |
H A D | api_paint.c | 100 void vegaSetColor(VGPaint paint, VGuint rgba) argument 116 paint_set_colori(p, rgba); 127 VGuint rgba = 0; local 131 return rgba; 136 return rgba;
|
H A D | vg_translate.c | 33 VGuint n, VGfloat rgba[][4], 44 r = float_to_ubyte(rgba[i][0]); 45 g = float_to_ubyte(rgba[i][1]); 46 b = float_to_ubyte(rgba[i][2]); 57 r = float_to_ubyte(rgba[i][0]); 58 g = float_to_ubyte(rgba[i][1]); 59 b = float_to_ubyte(rgba[i][2]); 60 a = float_to_ubyte(rgba[i][3]); 70 r = float_to_ubyte(rgba[i][0]); 71 g = float_to_ubyte(rgba[ 32 _vega_pack_rgba_span_float(struct vg_context *ctx, VGuint n, VGfloat rgba[][4], VGImageFormat dstFormat, void *dstAddr) argument 454 _vega_unpack_float_span_rgba(struct vg_context *ctx, VGuint n, VGuint offset, const void * data, VGImageFormat dataFormat, VGfloat rgba[][4]) argument [all...] |
/external/mesa3d/src/gallium/state_trackers/vega/ |
H A D | api_paint.c | 100 void vegaSetColor(VGPaint paint, VGuint rgba) argument 116 paint_set_colori(p, rgba); 127 VGuint rgba = 0; local 131 return rgba; 136 return rgba;
|
H A D | vg_translate.c | 33 VGuint n, VGfloat rgba[][4], 44 r = float_to_ubyte(rgba[i][0]); 45 g = float_to_ubyte(rgba[i][1]); 46 b = float_to_ubyte(rgba[i][2]); 57 r = float_to_ubyte(rgba[i][0]); 58 g = float_to_ubyte(rgba[i][1]); 59 b = float_to_ubyte(rgba[i][2]); 60 a = float_to_ubyte(rgba[i][3]); 70 r = float_to_ubyte(rgba[i][0]); 71 g = float_to_ubyte(rgba[ 32 _vega_pack_rgba_span_float(struct vg_context *ctx, VGuint n, VGfloat rgba[][4], VGImageFormat dstFormat, void *dstAddr) argument 454 _vega_unpack_float_span_rgba(struct vg_context *ctx, VGuint n, VGuint offset, const void * data, VGImageFormat dataFormat, VGfloat rgba[][4]) argument [all...] |
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/ |
H A D | loadimageSSE2.cpp | 77 uint32_t rgba = source[x]; local 78 dest[x] = (_rotl(rgba, 16) & 0x00ff00ff) | (rgba & 0xff00ff00); 97 uint32_t rgba = source[x]; local 98 dest[x] = (_rotl(rgba, 16) & 0x00ff00ff) | (rgba & 0xff00ff00);
|
H A D | loadimage.cpp | 343 uint32_t rgba = source[x]; local 344 dest[x] = (_rotl(rgba, 16) & 0x00ff00ff) | (rgba & 0xff00ff00); 362 uint16_t rgba = source[x]; local 363 dest[4 * x + 0] = ((rgba & 0x00F0) << 0) | ((rgba & 0x00F0) >> 4); 364 dest[4 * x + 1] = ((rgba & 0x0F00) >> 4) | ((rgba & 0x0F00) >> 8); 365 dest[4 * x + 2] = ((rgba & 0xF000) >> 8) | ((rgba 384 uint16_t rgba = source[x]; local 428 uint16_t rgba = source[x]; local 450 uint16_t rgba = source[x]; local 495 uint32_t rgba = source[x]; local [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
H A D | Color.cpp | 75 RGBA32 rgba = rgbOnly | colorFloatToRGBAByte(overrideAlpha) << 24; local 76 return rgba; 195 result.appendLiteral("rgba("); 233 result.appendLiteral("rgba(");
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
H A D | u_pack_color.h | 331 * Note rgba outside [0,1] will be clamped for int pixel formats. 334 util_pack_color(const float rgba[4], enum pipe_format format, union util_color *uc) argument 343 r = float_to_ubyte(rgba[0]); 344 g = float_to_ubyte(rgba[1]); 345 b = float_to_ubyte(rgba[2]); 346 a = float_to_ubyte(rgba[3]); 413 uc->f[0] = rgba[0]; 414 uc->f[1] = rgba[1]; 415 uc->f[2] = rgba[2]; 416 uc->f[3] = rgba[ [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv30/ |
H A D | nv30_clear.c | 36 pack_rgba(enum pipe_format format, const float *rgba) argument 39 util_pack_color(rgba, format, &uc);
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/ |
H A D | radeon_maos_verts.c | 54 union emit_union { float f; GLuint ui; radeon_color_t rgba; }; member in union:emit_union
|
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/ |
H A D | st_atom_pixeltransfer.c | 119 float rgba[4]; local 120 rgba[0] = ctx->PixelMaps.RtoR.Map[j * rSize / texSize]; 121 rgba[1] = ctx->PixelMaps.GtoG.Map[i * gSize / texSize]; 122 rgba[2] = ctx->PixelMaps.BtoB.Map[j * bSize / texSize]; 123 rgba[3] = ctx->PixelMaps.AtoA.Map[i * aSize / texSize]; 124 util_pack_color(rgba, pt->format, &uc); 213 /* TEX temp.rg, colorTemp.rgba, texture[1], 2D; */
|
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/ |
H A D | s_fragprog.c | 86 GLfloat rgba[4]; local 93 &lambda, &rgba); 94 swizzle_texel(rgba, color, texObj->_Swizzle); 127 GLfloat rgba[4]; local 142 &lambda, &rgba); 143 swizzle_texel(rgba, color, texObj->_Swizzle);
|
/external/chromium_org/third_party/skia/include/gpu/ |
H A D | GrColor.h | 82 /** Converts a GrColor to an rgba array of GrGLfloat */ 83 static inline void GrColorToRGBAFloat(GrColor color, float rgba[4]) { argument 85 rgba[0] = GrColorUnpackR(color) * ONE_OVER_255; 86 rgba[1] = GrColorUnpackG(color) * ONE_OVER_255; 87 rgba[2] = GrColorUnpackB(color) * ONE_OVER_255; 88 rgba[3] = GrColorUnpackA(color) * ONE_OVER_255;
|
/external/chromium_org/ui/gfx/ |
H A D | font_render_params_linux.cc | 71 FontRenderParams::SubpixelRendering ConvertFontconfigRgba(int rgba) { argument 72 switch (rgba) {
|
/external/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_pack_color.h | 331 * Note rgba outside [0,1] will be clamped for int pixel formats. 334 util_pack_color(const float rgba[4], enum pipe_format format, union util_color *uc) argument 343 r = float_to_ubyte(rgba[0]); 344 g = float_to_ubyte(rgba[1]); 345 b = float_to_ubyte(rgba[2]); 346 a = float_to_ubyte(rgba[3]); 413 uc->f[0] = rgba[0]; 414 uc->f[1] = rgba[1]; 415 uc->f[2] = rgba[2]; 416 uc->f[3] = rgba[ [all...] |
/external/mesa3d/src/gallium/drivers/nv30/ |
H A D | nv30_clear.c | 36 pack_rgba(enum pipe_format format, const float *rgba) argument 39 util_pack_color(rgba, format, &uc);
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
H A D | radeon_maos_verts.c | 54 union emit_union { float f; GLuint ui; radeon_color_t rgba; }; member in union:emit_union
|
/external/mesa3d/src/mesa/state_tracker/ |
H A D | st_atom_pixeltransfer.c | 119 float rgba[4]; local 120 rgba[0] = ctx->PixelMaps.RtoR.Map[j * rSize / texSize]; 121 rgba[1] = ctx->PixelMaps.GtoG.Map[i * gSize / texSize]; 122 rgba[2] = ctx->PixelMaps.BtoB.Map[j * bSize / texSize]; 123 rgba[3] = ctx->PixelMaps.AtoA.Map[i * aSize / texSize]; 124 util_pack_color(rgba, pt->format, &uc); 213 /* TEX temp.rg, colorTemp.rgba, texture[1], 2D; */
|
/external/mesa3d/src/mesa/swrast/ |
H A D | s_fragprog.c | 86 GLfloat rgba[4]; local 93 &lambda, &rgba); 94 swizzle_texel(rgba, color, texObj->_Swizzle); 127 GLfloat rgba[4]; local 142 &lambda, &rgba); 143 swizzle_texel(rgba, color, texObj->_Swizzle);
|
/external/skia/include/gpu/ |
H A D | GrColor.h | 82 /** Converts a GrColor to an rgba array of GrGLfloat */ 83 static inline void GrColorToRGBAFloat(GrColor color, float rgba[4]) { argument 85 rgba[0] = GrColorUnpackR(color) * ONE_OVER_255; 86 rgba[1] = GrColorUnpackG(color) * ONE_OVER_255; 87 rgba[2] = GrColorUnpackB(color) * ONE_OVER_255; 88 rgba[3] = GrColorUnpackA(color) * ONE_OVER_255;
|