/external/skia/gm/ |
H A D | srcmode.cpp | 27 const SkColor colors[] = { SK_ColorGREEN, SK_ColorBLUE }; local 29 SkShader* s = SkGradientShader::CreateLinear(pts, colors, NULL, 30 SK_ARRAY_COUNT(colors),
|
H A D | vertices.cpp | 14 const SkColor colors[] = { local 20 return SkGradientShader::CreateLinear(pts, colors, NULL, 21 SK_ARRAY_COUNT(colors),
|
/external/chromium_org/third_party/skia/src/effects/gradients/ |
H A D | SkGradientShader.cpp | 39 // check if we need to add in dummy start and/or end position/colors 57 // Now copy over the colors, adding the dummies as needed 209 SkGradientShaderBase::GpuColorType SkGradientShaderBase::getGpuColorType(SkColor colors[3]) const { 211 memcpy(colors, fOrigColors, fColorCount * sizeof(SkColor)); 266 // now convert our colors in to PMColors 273 // we can do span16 as long as our individual colors are opaque, 301 /** We take the original colors, not our premultiplied PMColors, since we can 302 build a 16bit table as long as the original colors are opaque, even if the 578 * colors and positions. Note: we don't try to flatten the fMapper, so if one 586 // build our key: [numColors + colors[] 715 desc_init(SkGradientShaderBase::Descriptor* desc, const SkColor colors[], const SkScalar pos[], int colorCount, SkShader::TileMode mode, uint32_t flags) argument 726 CreateLinear(const SkPoint pts[2], const SkColor colors[], const SkScalar pos[], int colorCount, SkShader::TileMode mode, uint32_t flags, const SkMatrix* localMatrix) argument 742 CreateRadial(const SkPoint& center, SkScalar radius, const SkColor colors[], const SkScalar pos[], int colorCount, SkShader::TileMode mode, uint32_t flags, const SkMatrix* localMatrix) argument 758 CreateTwoPointRadial(const SkPoint& start, SkScalar startRadius, const SkPoint& end, SkScalar endRadius, const SkColor colors[], const SkScalar pos[], int colorCount, SkShader::TileMode mode, uint32_t flags, const SkMatrix* localMatrix) argument 779 CreateTwoPointConical(const SkPoint& start, SkScalar startRadius, const SkPoint& end, SkScalar endRadius, const SkColor colors[], const SkScalar pos[], int colorCount, SkShader::TileMode mode, uint32_t flags, const SkMatrix* localMatrix) argument 827 CreateSweep(SkScalar cx, SkScalar cy, const SkColor colors[], const SkScalar pos[], int colorCount, uint32_t flags, const SkMatrix* localMatrix) argument 1134 RandomGradientParams(SkRandom* random, SkColor colors[], SkScalar** stops, SkShader::TileMode* tm) argument [all...] |
/external/skia/src/effects/gradients/ |
H A D | SkGradientShader.cpp | 39 // check if we need to add in dummy start and/or end position/colors 57 // Now copy over the colors, adding the dummies as needed 209 SkGradientShaderBase::GpuColorType SkGradientShaderBase::getGpuColorType(SkColor colors[3]) const { 211 memcpy(colors, fOrigColors, fColorCount * sizeof(SkColor)); 266 // now convert our colors in to PMColors 273 // we can do span16 as long as our individual colors are opaque, 301 /** We take the original colors, not our premultiplied PMColors, since we can 302 build a 16bit table as long as the original colors are opaque, even if the 578 * colors and positions. Note: we don't try to flatten the fMapper, so if one 586 // build our key: [numColors + colors[] 715 desc_init(SkGradientShaderBase::Descriptor* desc, const SkColor colors[], const SkScalar pos[], int colorCount, SkShader::TileMode mode, uint32_t flags) argument 726 CreateLinear(const SkPoint pts[2], const SkColor colors[], const SkScalar pos[], int colorCount, SkShader::TileMode mode, uint32_t flags, const SkMatrix* localMatrix) argument 742 CreateRadial(const SkPoint& center, SkScalar radius, const SkColor colors[], const SkScalar pos[], int colorCount, SkShader::TileMode mode, uint32_t flags, const SkMatrix* localMatrix) argument 758 CreateTwoPointRadial(const SkPoint& start, SkScalar startRadius, const SkPoint& end, SkScalar endRadius, const SkColor colors[], const SkScalar pos[], int colorCount, SkShader::TileMode mode, uint32_t flags, const SkMatrix* localMatrix) argument 779 CreateTwoPointConical(const SkPoint& start, SkScalar startRadius, const SkPoint& end, SkScalar endRadius, const SkColor colors[], const SkScalar pos[], int colorCount, SkShader::TileMode mode, uint32_t flags, const SkMatrix* localMatrix) argument 827 CreateSweep(SkScalar cx, SkScalar cy, const SkColor colors[], const SkScalar pos[], int colorCount, uint32_t flags, const SkMatrix* localMatrix) argument 1134 RandomGradientParams(SkRandom* random, SkColor colors[], SkScalar** stops, SkShader::TileMode* tm) argument [all...] |
/external/chromium_org/pdf/ |
H A D | draw_utils.cc | 88 std::vector<uint32> colors; local 89 colors.resize(horizontal ? rc.width() : rc.height()); 90 for (size_t i = 0; i < colors.size(); ++i) { 91 double ratio = static_cast<double>(i) / colors.size(); 92 colors[i] = MakePixel( 100 const void* data = &(colors[0]); 101 size_t size = colors.size() * 4; 113 *pixel = colors[y];
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/vl/ |
H A D | vl_compositor.h | 72 struct vertex4f colors[4]; member in struct:vl_compositor_layer 216 struct vertex4f *colors);
|
H A D | vl_compositor.c | 600 vb[ 3].x = layer->colors[0].x; 601 vb[ 3].y = layer->colors[0].y; 602 vb[ 4].x = layer->colors[0].z; 603 vb[ 4].y = layer->colors[0].w; 610 vb[ 8].x = layer->colors[1].x; 611 vb[ 8].y = layer->colors[1].y; 612 vb[ 9].x = layer->colors[1].z; 613 vb[ 9].y = layer->colors[1].w; 620 vb[13].x = layer->colors[2].x; 621 vb[13].y = layer->colors[ 951 vl_compositor_set_rgba_layer(struct vl_compositor_state *s, struct vl_compositor *c, unsigned layer, struct pipe_sampler_view *rgba, struct u_rect *src_rect, struct u_rect *dst_rect, struct vertex4f *colors) argument [all...] |
/external/chromium_org/third_party/skia/samplecode/ |
H A D | SampleDegenerateTwoPtRadials.cpp | 15 SkColor colors[] = { SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE, SK_ColorMAGENTA }; local 29 SkShader* s = SkGradientShader::CreateTwoPointConical(c0, r0, c1, r1, colors,
|
/external/chromium_org/third_party/skia/src/images/ |
H A D | SkImageDecoder_wbmp.cpp | 121 const SkPMColor colors[] = { SK_ColorBLACK, SK_ColorWHITE }; local 122 SkColorTable* ct = SkNEW_ARGS(SkColorTable, (colors, 2));
|
H A D | SkImageEncoder_argb.cpp | 102 const SkPMColor* colors = ctLocker.lockColors(bitmap); local 108 scanline_import(src + y * bitmap.rowBytes(), argb, bitmap.width(), colors);
|
/external/chromium_org/third_party/skia/src/utils/ |
H A D | SkMeshUtils.cpp | 90 const SkColor colors[], const SkPaint& paint) { 99 rows * cols, verts, idx.tex(), colors, NULL, 88 Draw(SkCanvas* canvas, const SkBitmap& bitmap, int rows, int cols, const SkPoint verts[], const SkColor colors[], const SkPaint& paint) argument
|
/external/mesa3d/src/gallium/auxiliary/vl/ |
H A D | vl_compositor.h | 72 struct vertex4f colors[4]; member in struct:vl_compositor_layer 216 struct vertex4f *colors);
|
H A D | vl_compositor.c | 600 vb[ 3].x = layer->colors[0].x; 601 vb[ 3].y = layer->colors[0].y; 602 vb[ 4].x = layer->colors[0].z; 603 vb[ 4].y = layer->colors[0].w; 610 vb[ 8].x = layer->colors[1].x; 611 vb[ 8].y = layer->colors[1].y; 612 vb[ 9].x = layer->colors[1].z; 613 vb[ 9].y = layer->colors[1].w; 620 vb[13].x = layer->colors[2].x; 621 vb[13].y = layer->colors[ 951 vl_compositor_set_rgba_layer(struct vl_compositor_state *s, struct vl_compositor *c, unsigned layer, struct pipe_sampler_view *rgba, struct u_rect *src_rect, struct u_rect *dst_rect, struct vertex4f *colors) argument [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/ipod/ |
H A D | SDL_ipodvideo.c | 51 static int iPod_SetColors (_THIS, int firstcolor, int ncolors, SDL_Color *colors); 366 current->format->palette->colors[i+j].r = 85 * j; 367 current->format->palette->colors[i+j].g = 85 * j; 368 current->format->palette->colors[i+j].b = 85 * j; 382 static int iPod_SetColors (_THIS, int firstcolor, int ncolors, SDL_Color *colors) argument 388 SDL_VideoSurface->format->palette->colors[i+j].r = 85 * j; 389 SDL_VideoSurface->format->palette->colors[i+j].g = 85 * j; 390 SDL_VideoSurface->format->palette->colors[i+j].b = 85 * j;
|
/external/skia/samplecode/ |
H A D | SampleDegenerateTwoPtRadials.cpp | 15 SkColor colors[] = { SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE, SK_ColorMAGENTA }; local 29 SkShader* s = SkGradientShader::CreateTwoPointConical(c0, r0, c1, r1, colors,
|
/external/skia/src/images/ |
H A D | SkImageDecoder_wbmp.cpp | 121 const SkPMColor colors[] = { SK_ColorBLACK, SK_ColorWHITE }; local 122 SkColorTable* ct = SkNEW_ARGS(SkColorTable, (colors, 2));
|
H A D | SkImageEncoder_argb.cpp | 102 const SkPMColor* colors = ctLocker.lockColors(bitmap); local 108 scanline_import(src + y * bitmap.rowBytes(), argb, bitmap.width(), colors);
|
/external/skia/src/utils/ |
H A D | SkMeshUtils.cpp | 90 const SkColor colors[], const SkPaint& paint) { 99 rows * cols, verts, idx.tex(), colors, NULL, 88 Draw(SkCanvas* canvas, const SkBitmap& bitmap, int rows, int cols, const SkPoint verts[], const SkColor colors[], const SkPaint& paint) argument
|
/external/deqp/modules/gles3/functional/ |
H A D | es3fRasterizationTests.cpp | 1672 void extractTriangles (std::vector<TriangleSceneSpec::SceneTriangle>& outTriangles, const std::vector<tcu::Vec4>& vertices, const std::vector<tcu::Vec4>& colors) const; 1755 const tcu::Vec4 colors[] = 1785 outColors[vtxNdx] = colors[vtxNdx % DE_LENGTH_OF_ARRAY(colors)]; 1789 void TriangleInterpolationTest::extractTriangles (std::vector<TriangleSceneSpec::SceneTriangle>& outTriangles, const std::vector<tcu::Vec4>& vertices, const std::vector<tcu::Vec4>& colors) const 1807 tri.colors[0] = colors[vtxNdx + 2]; 1808 tri.colors[1] = colors[vtxNdx + 2]; 1809 tri.colors[ [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vdpau/ |
H A D | output.c | 597 ColorsToPipe(VdpColor const *colors, uint32_t flags, struct vertex4f result[4]) argument 602 if (!colors) 606 dst->x = colors->red; 607 dst->y = colors->green; 608 dst->z = colors->blue; 609 dst->w = colors->alpha; 613 ++colors; 627 VdpColor const *colors, 667 ColorsToPipe(colors, flags, vlcolors)); 686 VdpColor const *colors, 623 vlVdpOutputSurfaceRenderOutputSurface(VdpOutputSurface destination_surface, VdpRect const *destination_rect, VdpOutputSurface source_surface, VdpRect const *source_rect, VdpColor const *colors, VdpOutputSurfaceRenderBlendState const *blend_state, uint32_t flags) argument 682 vlVdpOutputSurfaceRenderBitmapSurface(VdpOutputSurface destination_surface, VdpRect const *destination_rect, VdpBitmapSurface source_surface, VdpRect const *source_rect, VdpColor const *colors, VdpOutputSurfaceRenderBlendState const *blend_state, uint32_t flags) argument [all...] |
/external/mesa3d/src/gallium/state_trackers/vdpau/ |
H A D | output.c | 597 ColorsToPipe(VdpColor const *colors, uint32_t flags, struct vertex4f result[4]) argument 602 if (!colors) 606 dst->x = colors->red; 607 dst->y = colors->green; 608 dst->z = colors->blue; 609 dst->w = colors->alpha; 613 ++colors; 627 VdpColor const *colors, 667 ColorsToPipe(colors, flags, vlcolors)); 686 VdpColor const *colors, 623 vlVdpOutputSurfaceRenderOutputSurface(VdpOutputSurface destination_surface, VdpRect const *destination_rect, VdpOutputSurface source_surface, VdpRect const *source_rect, VdpColor const *colors, VdpOutputSurfaceRenderBlendState const *blend_state, uint32_t flags) argument 682 vlVdpOutputSurfaceRenderBitmapSurface(VdpOutputSurface destination_surface, VdpRect const *destination_rect, VdpBitmapSurface source_surface, VdpRect const *source_rect, VdpColor const *colors, VdpOutputSurfaceRenderBlendState const *blend_state, uint32_t flags) argument [all...] |
/external/chromium_org/native_client_sdk/src/gonacl_appengine/static/smoothlife/ |
H A D | example.js | 343 var colors = [] 346 colors.push(arguments[i]); 352 colors: colors,
|
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9/ |
H A D | string-validate-input.js | 3 colors = new Array("FF","CC","99","66","33","00");
|
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/ |
H A D | string-validate-input.js | 3 colors = new Array("FF","CC","99","66","33","00");
|
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-1.0/ |
H A D | string-validate-input.js | 3 colors = new Array("FF","CC","99","66","33","00");
|