Home
last modified time | relevance | path

Searched refs:colors1 (Results 1 – 7 of 7) sorted by relevance

/external/skia/gm/
Dtexturedomaineffect.cpp54 SkColor colors1[] = { SK_ColorCYAN, SK_ColorLTGRAY, SK_ColorGRAY }; in onOnceBeforeDraw() local
55 paint.setShader(SkGradientShader::MakeSweep(65.f, 75.f, colors1, nullptr, in onOnceBeforeDraw()
56 SK_ARRAY_COUNT(colors1))); in onOnceBeforeDraw()
Dpictureimagegenerator.cpp71 const SkColor colors1[] = { SK_ColorTRANSPARENT, SK_ColorBLACK }; in draw_vector_logo() local
72 SkASSERT(SK_ARRAY_COUNT(pos1) == SK_ARRAY_COUNT(colors1)); in draw_vector_logo()
73 paint.setShader(SkGradientShader::MakeLinear(pts1, colors1, pos1, SK_ARRAY_COUNT(pos1), in draw_vector_logo()
Drectangletexture.cpp51 SkColor colors1[] = { 0xFFA07010 , 0xFFA02080 }; in fillPixels() local
53 paint.setShader(SkGradientShader::MakeLinear(pts, colors1, nullptr, 2, in fillPixels()
Dgradients.cpp568 const SkColor colors1[] = { 0xFFFFFFFF, 0x00000000 }; in onDraw() local
583 paint2.setShader(SkGradientShader::MakeRadial(center, radius, colors1, in onDraw()
584 nullptr, SK_ARRAY_COUNT(colors1), in onDraw()
951 SkColor colors1[] = { 0xff000000, 0xff000000, in __anon178efadc0202() local
958 static_assert(SK_ARRAY_COUNT(colors1) == SK_ARRAY_COUNT(pos), "color/pos size mismatch"); in __anon178efadc0202()
967 p.setShader(SkGradientShader::MakeLinear(pts1, colors1, pos, SK_ARRAY_COUNT(colors1), in __anon178efadc0202()
/external/swiftshader/tests/OGLSimpleCube/
DOGLSimpleCube.cpp75 GLfloat colors1[] = { variable
107 glColorPointer(3, GL_FLOAT, 0, colors1); in initDisplayList()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_sample_aos.c1415 LLVMValueRef colors1; in lp_build_sample_mipmap() local
1530 &colors1); in lp_build_sample_mipmap()
1537 &colors1); in lp_build_sample_mipmap()
1546 &colors1); in lp_build_sample_mipmap()
1553 &colors1); in lp_build_sample_mipmap()
1580 colors0, colors1, in lp_build_sample_mipmap()
Dlp_bld_sample_soa.c1424 LLVMValueRef colors1[4]; in lp_build_sample_image_linear() local
1453 colors1[chan] = lp_build_lerp_2d(texel_bld, in lp_build_sample_image_linear()
1465 colors0[chan], colors1[chan], in lp_build_sample_image_linear()
1475 colors1[0] = lp_build_masklerp2d(texel_bld, s_fpart, t_fpart, in lp_build_sample_image_linear()
1480 colors0[0], colors1[0], in lp_build_sample_image_linear()
1524 LLVMValueRef colors0[4], colors1[4]; in lp_build_sample_mipmap() local
1605 colors1); in lp_build_sample_mipmap()
1611 colors1); in lp_build_sample_mipmap()
1624 colors0[chan], colors1[chan], in lp_build_sample_mipmap()
1666 LLVMValueRef colors0[4], colors1[4]; in lp_build_sample_mipmap_both() local
[all …]