/external/skqp/gm/ |
D | texturedomaineffect.cpp | 62 SkColor colors1[] = { SK_ColorCYAN, SK_ColorLTGRAY, SK_ColorGRAY }; in onOnceBeforeDraw() local 63 paint.setShader(SkGradientShader::MakeSweep(65.f, 75.f, colors1, nullptr, in onOnceBeforeDraw() 64 SK_ARRAY_COUNT(colors1))); in onOnceBeforeDraw()
|
D | pictureimagegenerator.cpp | 74 const SkColor colors1[] = { SK_ColorTRANSPARENT, SK_ColorBLACK }; in draw_vector_logo() local 75 SkASSERT(SK_ARRAY_COUNT(pos1) == SK_ARRAY_COUNT(colors1)); in draw_vector_logo() 76 paint.setShader(SkGradientShader::MakeLinear(pts1, colors1, pos1, SK_ARRAY_COUNT(pos1), in draw_vector_logo()
|
D | rectangletexture.cpp | 47 SkColor colors1[] = {0xFFA07010, 0xFFA02080}; in fillPixels() local 49 paint.setShader(SkGradientShader::MakeLinear(pts, colors1, nullptr, 2, in fillPixels()
|
D | gradients.cpp | 567 const SkColor colors1[] = { 0xFFFFFFFF, 0x00000000 }; in onDraw() local 582 paint2.setShader(SkGradientShader::MakeRadial(center, radius, colors1, in onDraw() 583 nullptr, SK_ARRAY_COUNT(colors1), in onDraw() 937 SkColor colors1[] = { 0xff000000, 0xff000000, in __anon5f8ff7bb0202() local 944 static_assert(SK_ARRAY_COUNT(colors1) == SK_ARRAY_COUNT(pos), "color/pos size mismatch"); in __anon5f8ff7bb0202() 953 p.setShader(SkGradientShader::MakeLinear(pts1, colors1, pos, SK_ARRAY_COUNT(colors1), in __anon5f8ff7bb0202()
|
/external/skia/gm/ |
D | pictureimagegenerator.cpp | 91 const SkColor colors1[] = { SK_ColorTRANSPARENT, SK_ColorBLACK }; in draw_vector_logo() local 92 SkASSERT(SK_ARRAY_COUNT(pos1) == SK_ARRAY_COUNT(colors1)); in draw_vector_logo() 93 paint.setShader(SkGradientShader::MakeLinear(pts1, colors1, pos1, SK_ARRAY_COUNT(pos1), in draw_vector_logo()
|
D | gradients.cpp | 544 const SkColor colors1[] = { 0xFFFFFFFF, 0x00000000 }; in onDraw() local 559 paint2.setShader(SkGradientShader::MakeRadial(center, radius, colors1, in onDraw() 560 nullptr, SK_ARRAY_COUNT(colors1), in onDraw() 897 SkColor colors1[] = { 0xff000000, 0xff000000, in __anone570c5c40302() local 904 static_assert(SK_ARRAY_COUNT(colors1) == SK_ARRAY_COUNT(pos), "color/pos size mismatch"); in __anone570c5c40302() 913 p.setShader(SkGradientShader::MakeLinear(pts1, colors1, pos, SK_ARRAY_COUNT(colors1), in __anone570c5c40302()
|
D | rectangletexture.cpp | 77 SkColor colors1[] = {0xFFA07010, 0xFFA02080}; in makeImagePixels() local 80 SkGradientShader::MakeLinear(pts, colors1, nullptr, 2, SkTileMode::kClamp)); in makeImagePixels()
|
/external/angle/src/tests/gl_tests/ |
D | SimpleOperationTest.cpp | 829 std::vector<GLColor> colors1; in TEST_P() local 834 colors1.push_back(baseColors1[index]); in TEST_P() 840 glBufferData(GL_ARRAY_BUFFER, colors1.size() * sizeof(GLColor), colors1.data(), GL_STATIC_DRAW); in TEST_P()
|
D | VertexAttributeTest.cpp | 2124 std::array<GLfloat, 16> colors1 = { in TEST_P() local 2134 glBufferData(GL_ARRAY_BUFFER, colors1.size() * sizeof(GLfloat), colors1.data(), GL_STATIC_DRAW); in TEST_P()
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_sample_aos.c | 971 LLVMValueRef colors1; in lp_build_sample_mipmap() local 1063 &colors1); in lp_build_sample_mipmap() 1070 &colors1); in lp_build_sample_mipmap() 1096 colors0, colors1, in lp_build_sample_mipmap()
|
D | lp_bld_sample_soa.c | 1673 LLVMValueRef colors1[4]; in lp_build_sample_image_linear() local 1702 colors1[chan] = lp_build_lerp_2d(texel_bld, in lp_build_sample_image_linear() 1714 colors0[chan], colors1[chan], in lp_build_sample_image_linear() 1724 colors1[0] = lp_build_masklerp2d(texel_bld, s_fpart, t_fpart, in lp_build_sample_image_linear() 1729 colors0[0], colors1[0], in lp_build_sample_image_linear() 1793 LLVMValueRef colors0[4], colors1[4]; in lp_build_sample_mipmap() local 1875 colors1); in lp_build_sample_mipmap() 1881 colors1); in lp_build_sample_mipmap() 1894 colors0[chan], colors1[chan], in lp_build_sample_mipmap() 1936 LLVMValueRef colors0[4], colors1[4]; in lp_build_sample_mipmap_both() local [all …]
|
D | lp_bld_format_s3tc.c | 572 LLVMValueRef rgba, a, colors0, colors1, col0, col1, const2; in s3tc_dxt1_full_to_rgba_aos() local 626 colors1 = LLVMBuildBitCast(builder, color1, bld8.vec_type, ""); in s3tc_dxt1_full_to_rgba_aos() 628 lp_build_lerp23(&bld8, colors0, colors1, &color2, &color3); in s3tc_dxt1_full_to_rgba_aos() 647 color2_2 = lp_build_pavgb(&bld8, colors0, colors1); in s3tc_dxt1_full_to_rgba_aos() 666 lp_build_unpack2(gallivm, type8, i16_type, colors1, &v1_lo, &v1_hi); in s3tc_dxt1_full_to_rgba_aos()
|