Searched defs:colors (Results 101 - 125 of 207) sorted by relevance

123456789

/external/skia/gm/
H A Dshadertext.cpp21 SkColor colors[] = { SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE }; local
26 paint.setShader(SkGradientShader::CreateLinear(pts, colors, pos,
27 SK_ARRAY_COUNT(colors), SkShader::kClamp_TileMode))->unref();
H A Dtablecolorfilter.cpp16 SkColor colors[] = { local
20 return SkGradientShader::CreateLinear(pts, colors, NULL, SK_ARRAY_COUNT(colors),
37 SkColor colors[] = { local
40 return SkGradientShader::CreateRadial(SkPoint::Make(cx, cy), cx, colors, NULL,
41 SK_ARRAY_COUNT(colors), SkShader::kClamp_TileMode);
205 ComposeColorFilterGM(const SkColor colors[], const SkXfermode::Mode modes[], argument
207 : fColors(colors), fModes(modes)
H A Dtextbloblooper.cpp88 const SkColor colors[] = { local
93 colors, NULL, SK_ARRAY_COUNT(colors),
H A Dtilemodes.cpp27 SkColor colors[] = { SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE }; local
32 paint.setShader(SkGradientShader::CreateLinear(pts, colors, pos,
33 SK_ARRAY_COUNT(colors), SkShader::kClamp_TileMode))->unref();
171 SkColor colors[] = { 0xFFFF0000, 0xFF0044FF }; local
176 return SkGradientShader::CreateLinear(pts, colors, NULL, SK_ARRAY_COUNT(colors), tx);
178 return SkGradientShader::CreateRadial(center, rad, colors, NULL, SK_ARRAY_COUNT(colors), tx);
180 return SkGradientShader::CreateSweep(center.fX, center.fY, colors, NULL, SK_ARRAY_COUNT(colors));
[all...]
H A Dtilemodes_scaled.cpp28 SkColor colors[] = { SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE }; local
33 paint.setShader(SkGradientShader::CreateLinear(pts, colors, pos,
34 SK_ARRAY_COUNT(colors), SkShader::kClamp_TileMode))->unref();
183 SkColor colors[] = { 0xFFFF0000, 0xFF0044FF }; local
188 return SkGradientShader::CreateLinear(pts, colors, NULL, SK_ARRAY_COUNT(colors), tx);
190 return SkGradientShader::CreateRadial(center, rad, colors, NULL, SK_ARRAY_COUNT(colors), tx);
192 return SkGradientShader::CreateSweep(center.fX, center.fY, colors, NULL, SK_ARRAY_COUNT(colors));
[all...]
H A Dblurrect.cpp67 const SkColor colors[] = { SK_ColorRED, SK_ColorGREEN, }; local
79 colors, pos, SK_ARRAY_COUNT(colors), tm,
H A Dgradients.cpp266 SkColor colors[] = { SK_ColorRED, SK_ColorGREEN, SK_ColorGREEN, SK_ColorRED }; local
274 SkShader* s = SkGradientShader::CreateTwoPointConical(c0, r0, c1, r1, colors,
350 const SkColor colors[] = { 0x7f7f7f7f, 0x7f7f7f7f, 0xb2000000 }; variable
355 SkGradientShader::CreateRadial(center, radius, colors,
/external/skia/samplecode/
H A DSampleBitmapRect.cpp39 const SkColor colors[] = { SK_ColorWHITE, SK_ColorBLUE }; local
40 paint.setShader(SkGradientShader::CreateLinear(pts, colors, NULL, 2,
H A DSampleShaderText.cpp20 SkColor colors[] = { SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE }; local
25 paint.setShader(SkGradientShader::CreateLinear(pts, colors, pos,
26 SK_ARRAY_COUNT(colors), SkShader::kClamp_TileMode))->unref();
H A DSampleTiling.cpp33 SkColor colors[] = { SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE }; local
38 paint.setShader(SkGradientShader::CreateLinear(pts, colors, pos,
39 SK_ARRAY_COUNT(colors), SkShader::kClamp_TileMode))->unref();
H A DSampleVertices.cpp48 SkColor colors[] = { SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE, SK_ColorRED }; local
49 return SkGradientShader::CreateLinear(pts, colors, NULL,
50 SK_ARRAY_COUNT(colors), SkShader::kMirror_TileMode);
H A DSampleRegion.cpp74 const SkColor colors[] = { SK_ColorBLACK, SK_ColorBLACK, 0 }; local
80 SkShader* s = SkGradientShader::CreateLinear(pts, colors, pos, 3,
105 const SkColor colors[] = { SK_ColorBLACK, SK_ColorBLACK, 0 }; local
107 SkShader* s = SkGradientShader::CreateLinear(pts, colors, pos,
108 SK_ARRAY_COUNT(colors),
/external/skia/src/core/
H A DSkBitmapProcState_sample.h30 int count, DSTTYPE* SK_RESTRICT colors);
33 int count, DSTTYPE* SK_RESTRICT colors);
36 int count, DSTTYPE* SK_RESTRICT colors);
39 int count, DSTTYPE* SK_RESTRICT colors);
43 int count, DSTTYPE* SK_RESTRICT colors) {
44 SkASSERT(count > 0 && colors != NULL);
62 *colors++ = RETURNDST(src);
68 *colors++ = RETURNDST(src);
75 *colors++ = RETURNDST(src);
85 int count, DSTTYPE* SK_RESTRICT colors) {
41 _nofilter_DXDY(const SkBitmapProcState& s, const uint32_t* SK_RESTRICT xy, int count, DSTTYPE* SK_RESTRICT colors) argument
83 _nofilter_DX(const SkBitmapProcState& s, const uint32_t* SK_RESTRICT xy, int count, DSTTYPE* SK_RESTRICT colors) argument
138 _filter_DX(const SkBitmapProcState& s, const uint32_t* SK_RESTRICT xy, int count, DSTTYPE* SK_RESTRICT colors) argument
184 _filter_DXDY(const SkBitmapProcState& s, const uint32_t* SK_RESTRICT xy, int count, DSTTYPE* SK_RESTRICT colors) argument
[all...]
H A DSkReadBuffer.cpp172 bool SkReadBuffer::readColorArray(SkColor* colors, size_t size) { argument
173 return readArray(colors, size, sizeof(SkColor));
H A DSkRecords.h308 PODArray<SkColor>, colors,
321 SkColor* colors,
330 , colors(colors)
340 PODArray<SkColor> colors; member in struct:SkRecords::DrawVertices
316 DrawVertices(const SkPaint& paint, SkCanvas::VertexMode vmode, int vertexCount, SkPoint* vertices, SkPoint* texs, SkColor* colors, SkXfermode* xmode, uint16_t* indices, int indexCount) argument
H A DSkPicturePlayback.cpp232 const SkColor* colors = NULL; local
234 colors = (const SkColor*)reader->skip(SkPatchUtils::kNumCorners * sizeof(SkColor));
249 canvas->drawPatch(cubics, colors, texCoords, xfer, paint);
376 const SkColor* colors = NULL; local
383 colors = (const SkColor*)reader->skip(vCount * sizeof(SkColor));
396 canvas->drawVertices(vmode, vCount, verts, texs, colors, xfer, indices, iCount, paint);
H A DSkShader.cpp143 SkPMColor colors[kTempColorCount]; local
146 this->shadeSpan(x, y, colors, kTempColorCount);
149 const uint8_t* srcA = (const uint8_t*)colors + SkU32BitShiftToByteOffset(SK_A32_SHIFT);
166 this->shadeSpan(x, y, colors, count);
168 const uint8_t* srcA = (const uint8_t*)colors + SkU32BitShiftToByteOffset(SK_A32_SHIFT);
181 this->shadeSpan(x, y, colors, n);
185 const uint8_t* srcA = (const uint8_t*)colors + SkU32BitShiftToByteOffset(SK_A32_SHIFT);
H A DSkValidatingReadBuffer.cpp193 bool SkValidatingReadBuffer::readColorArray(SkColor* colors, size_t size) { argument
194 return readArray(colors, size, sizeof(SkColor));
/external/skia/src/images/
H A DSkImageDecoder_libico.cpp47 SkBitmap* bm, int alphaByte, int m, int shift, SkPMColor* colors);
50 SkBitmap* bm, int alphaByte, int m, int shift, SkPMColor* colors);
53 SkBitmap* bm, int alphaByte, int m, int shift, SkPMColor* colors);
56 SkBitmap* bm, int alphaByte, int m, int shift, SkPMColor* colors);
59 SkBitmap* bm, int alphaByte, int m, int shift, SkPMColor* colors);
170 SkBitmap* bm, int alphaByte, int m, int shift, SkPMColor* colors) = NULL;
215 SkPMColor* colors = NULL; local
219 colors = new SkPMColor[colorCount];
226 colors[j] = SkPackARGB32(0xFF, red & 0xFF, green & 0xFF, blue & 0xFF);
251 delete[] colors;
360 editPixelBit4(const int pixelNo, const unsigned char* buf, const int xorOffset, int& x, int y, const int w, SkBitmap* bm, int alphaByte, int m, int shift, SkPMColor* colors) argument
380 editPixelBit8(const int pixelNo, const unsigned char* buf, const int xorOffset, int& x, int y, const int w, SkBitmap* bm, int alphaByte, int m, int shift, SkPMColor* colors) argument
390 editPixelBit24(const int pixelNo, const unsigned char* buf, const int xorOffset, int& x, int y, const int w, SkBitmap* bm, int alphaByte, int m, int shift, SkPMColor* colors) argument
404 editPixelBit32(const int pixelNo, const unsigned char* buf, const int xorOffset, int& x, int y, const int w, SkBitmap* bm, int alphaByte, int m, int shift, SkPMColor* colors) argument
[all...]
/external/deqp/modules/egl/
H A DteglNativeColorMappingTests.cpp21 * \brief Test for mapping client color values to native surface colors
323 bool testNativeWindow (TestLog& log, eglu::NativeDisplay& nativeDisplay, eglu::NativeWindow& nativeWindow, EGLDisplay display, EGLContext context, EGLConfig config, const glw::Functions& gl, bool renderColor, int waitFrames, size_t colorCount, const tcu::Vec4* colors) argument
341 render(gl, program, colors[colorNdx]);
343 clear(gl, colors[colorNdx]);
350 if (!validate(log, egl, display, config, result, colors[colorNdx]))
366 bool testNativePixmap (TestLog& log, eglu::NativeDisplay& nativeDisplay, eglu::NativePixmap& nativePixmap, EGLDisplay display, EGLContext context, EGLConfig config, const glw::Functions& gl, bool renderColor, size_t colorCount, const tcu::Vec4* colors) argument
384 render(gl, program, colors[colorNdx]);
386 clear(gl, colors[colorNdx]);
391 if (!validate(log, egl, display, config, result, colors[colorNdx]))
407 bool testNativePixmapCopy (TestLog& log, const Library& egl, eglu::NativePixmap& nativePixmap, EGLDisplay display, EGLContext context, EGLConfig config, const glw::Functions& gl, bool renderColor, size_t colorCount, const tcu::Vec4* colors) argument
453 const tcu::Vec4 colors[] = local
[all...]
/external/mesa3d/src/gallium/state_trackers/vdpau/
H A Doutput.c597 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/pdfium/core/src/fpdfapi/fpdf_parser/
H A Dfpdf_parser_filters.cpp442 CPDF_PredictorFilter::CPDF_PredictorFilter(int predictor, int colors, int bpc, int cols) argument
449 m_Bpp = (colors * bpc + 7) / 8;
450 m_Pitch = (colors * bpc * cols + 7) / 8;
/external/skia/bench/
H A DBitmapBench.cpp35 SkPMColor* colors = storage; local
43 *colors++ = SkPreMultiplyARGB(0xFF, rr, gg, bb);
H A DGradientBench.cpp34 SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE, SK_ColorWHITE, SK_ColorBLACK, // 10 lines, 50 colors
39 // We have several special-cases depending on the number (and spacing) of colors, so
353 SkColor colors[] = { local
357 SkShader* s = SkGradientShader::CreateLinear(pts, colors, NULL,
358 SK_ARRAY_COUNT(colors),
/external/skia/dm/
H A DDMSrcSink.cpp112 SkPMColor colors[256]; local
113 colorTable.reset(SkNEW_ARGS(SkColorTable, (colors, maxColors)));

Completed in 393 milliseconds

123456789