/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | MultisampledRenderToTextureTest.cpp | 789 ANGLE_GL_PROGRAM_TRANSFORM_FEEDBACK(drawColor, essl1_shaders::vs::Simple(), in TEST_P() 792 glUseProgram(drawColor); in TEST_P() 794 glGetUniformLocation(drawColor, angle::essl1_shaders::ColorUniform()); in TEST_P() 807 drawQuad(drawColor, essl1_shaders::PositionAttrib(), 0.0f); in TEST_P() 818 drawQuad(drawColor, essl1_shaders::PositionAttrib(), 0.0f); in TEST_P() 1236 ANGLE_GL_PROGRAM(drawColor, essl1_shaders::vs::Simple(), essl1_shaders::fs::UniformColor()); in drawCopyThenBlendCommon() 1237 glUseProgram(drawColor); in drawCopyThenBlendCommon() 1239 glGetUniformLocation(drawColor, angle::essl1_shaders::ColorUniform()); in drawCopyThenBlendCommon() 1243 drawQuad(drawColor, essl1_shaders::PositionAttrib(), 0.5f); in drawCopyThenBlendCommon() 1261 drawQuad(drawColor, essl1_shaders::PositionAttrib(), 0.5f); in drawCopyThenBlendCommon() [all …]
|
D | VulkanPerformanceCounterTest.cpp | 1909 ANGLE_GL_PROGRAM(drawColor, essl1_shaders::vs::Simple(), essl1_shaders::fs::UniformColor()); in TEST_P() 1910 glUseProgram(drawColor); in TEST_P() 1912 glGetUniformLocation(drawColor, angle::essl1_shaders::ColorUniform()); in TEST_P() 1917 drawQuad(drawColor, essl1_shaders::PositionAttrib(), 0.0f); in TEST_P() 1926 drawQuad(drawColor, essl1_shaders::PositionAttrib(), 0.0f); in TEST_P() 1935 drawQuad(drawColor, essl1_shaders::PositionAttrib(), 0.0f); in TEST_P() 1944 drawQuad(drawColor, essl1_shaders::PositionAttrib(), 0.0f); in TEST_P() 2024 ANGLE_GL_PROGRAM(drawColor, essl1_shaders::vs::Simple(), essl1_shaders::fs::UniformColor()); in TEST_P() 2025 glUseProgram(drawColor); in TEST_P() 2027 glGetUniformLocation(drawColor, angle::essl1_shaders::ColorUniform()); in TEST_P() [all …]
|
D | TransformFeedbackTest.cpp | 103 ANGLE_GL_PROGRAM_TRANSFORM_FEEDBACK(drawColor, essl3_shaders::vs::Simple(), kFS, tfVaryings, in TEST_P() 106 glUseProgram(drawColor); in TEST_P() 107 GLint positionLocation = glGetAttribLocation(drawColor, essl3_shaders::PositionAttrib()); in TEST_P() 224 ANGLE_GL_PROGRAM_TRANSFORM_FEEDBACK(drawColor, essl3_shaders::vs::Simple(), in TEST_P() 228 glUseProgram(drawColor); in TEST_P() 234 drawQuad(drawColor, essl3_shaders::PositionAttrib(), 0.5f); in TEST_P() 3207 ANGLE_GL_PROGRAM(drawColor, essl1_shaders::vs::Simple(), essl1_shaders::fs::UniformColor()); in TEST_P() 3208 glUseProgram(drawColor); in TEST_P() 3210 glGetUniformLocation(drawColor, angle::essl1_shaders::ColorUniform()); in TEST_P() 3232 drawQuad(drawColor, essl1_shaders::PositionAttrib(), 0.6f); in TEST_P() [all …]
|
D | DepthStencilTest.cpp | 570 ANGLE_GL_PROGRAM(drawColor, essl1_shaders::vs::Simple(), essl1_shaders::fs::UniformColor()); in TEST_P() 571 glUseProgram(drawColor); in TEST_P() 573 glGetUniformLocation(drawColor, angle::essl1_shaders::ColorUniform()); in TEST_P() 578 drawQuad(drawColor, essl1_shaders::PositionAttrib(), 1); in TEST_P() 596 drawQuad(drawColor, essl1_shaders::PositionAttrib(), 0.95); in TEST_P() 605 drawQuad(drawColor, essl1_shaders::PositionAttrib(), 0.95); in TEST_P() 619 drawQuad(drawColor, essl1_shaders::PositionAttrib(), 0.95); in TEST_P()
|
D | ClearTest.cpp | 2260 ANGLE_GL_PROGRAM(drawColor, essl1_shaders::vs::Simple(), essl1_shaders::fs::UniformColor()); in TEST_P() 2261 glUseProgram(drawColor); in TEST_P() 2263 glGetUniformLocation(drawColor, angle::essl1_shaders::ColorUniform()); in TEST_P() 2270 drawQuad(drawColor, essl1_shaders::PositionAttrib(), 0.95f); in TEST_P() 2305 ANGLE_GL_PROGRAM(drawColor, essl1_shaders::vs::Simple(), essl1_shaders::fs::UniformColor()); in TEST_P() 2306 glUseProgram(drawColor); in TEST_P() 2308 glGetUniformLocation(drawColor, angle::essl1_shaders::ColorUniform()); in TEST_P() 2312 GLint posLoc = glGetAttribLocation(drawColor, essl1_shaders::PositionAttrib()); in TEST_P() 2344 ANGLE_GL_PROGRAM(drawColor, essl1_shaders::vs::Simple(), essl1_shaders::fs::Green()); in TEST_P() 2345 glUseProgram(drawColor); in TEST_P() [all …]
|
/third_party/skia/tests/ |
D | PDFDocumentTest.cpp | 35 canvas->drawColor(SK_ColorRED); in test_abort() 64 canvas->drawColor(SK_ColorRED); in test_abortWithFile() 95 canvas->drawColor(SK_ColorRED); in test_file() 113 canvas->drawColor(SK_ColorRED); in test_close() 164 doc->beginPage(64, 64)->drawColor(SK_ColorRED); in DEF_TEST() 183 doc->beginPage(64, 64)->drawColor(SK_ColorRED); in DEF_TEST() 209 doc->beginPage(612, 792)->drawColor(SK_ColorCYAN); in DEF_TEST() 238 doc->beginPage(612, 792)->drawColor( in DEF_TEST()
|
D | FontMgrFontConfigTest.cpp | 54 canvasStream.drawColor(SK_ColorWHITE); in DEF_TEST() 59 canvasStream.drawColor(SK_ColorWHITE); in DEF_TEST() 95 canvasStream.drawColor(SK_ColorWHITE); in DEF_TEST() 98 canvasClone.drawColor(SK_ColorWHITE); in DEF_TEST()
|
D | SerialProcsTest.cpp | 154 c->drawColor(SK_ColorRED); in DEF_TEST() 159 auto p0 = make_pic([](SkCanvas* c) { c->drawColor(SK_ColorBLUE); }); in DEF_TEST() 173 c->drawColor(SK_ColorRED); in DEF_TEST() 175 c->drawColor(SK_ColorBLUE); in DEF_TEST()
|
D | DrawTextTest.cpp | 92 drawTextCanvas.drawColor(SK_ColorWHITE); in DEF_TEST() 101 drawDashedTextCanvas.drawColor(SK_ColorWHITE); in DEF_TEST() 105 emptyCanvas.drawColor(SK_ColorWHITE); in DEF_TEST()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/rasterization/ |
D | vktRasterizationFragShaderSideEffectsTests.cpp | 92 tcu::Vec4 drawColor; member 99 , drawColor (drawColor_) in TestParams() 187 const auto& drawColor = m_params.drawColor; in initPrograms() local 204 DE_ASSERT(m_params.drawColor.w() == 0.0f); in initPrograms() 207 …olorStatement << " outColor.rgb = vec3(" << drawColor.x() << ", " << drawColor.y() << ", " << d… in initPrograms() 211 …ment << " outColor = vec4(" << drawColor.x() << ", " << drawColor.y() << ", " << drawColor.z() … in initPrograms() 234 before << " outColor.a = float(" << drawColor.w() << ");\n"; in initPrograms() 237 after << " outColor.a = float(" << drawColor.w() << ");\n"; in initPrograms() 633 expectedColors.push_back(m_params.drawColor); in iterate() 725 …const tcu::Vec4 drawColor(kDefaultDrawColor.x(), kDefaultDrawColor.y(), kDefaultDrawColor.z(), 0.0… in createFragSideEffectsTests() local [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/rasterization/ |
D | vktRasterizationFragShaderSideEffectsTests.cpp | 92 tcu::Vec4 drawColor; member 99 , drawColor (drawColor_) in TestParams() 187 const auto& drawColor = m_params.drawColor; in initPrograms() local 204 DE_ASSERT(m_params.drawColor.w() == 0.0f); in initPrograms() 207 …olorStatement << " outColor.rgb = vec3(" << drawColor.x() << ", " << drawColor.y() << ", " << d… in initPrograms() 211 …ment << " outColor = vec4(" << drawColor.x() << ", " << drawColor.y() << ", " << drawColor.z() … in initPrograms() 234 before << " outColor.a = float(" << drawColor.w() << ");\n"; in initPrograms() 237 after << " outColor.a = float(" << drawColor.w() << ");\n"; in initPrograms() 633 expectedColors.push_back(m_params.drawColor); in iterate() 725 …const tcu::Vec4 drawColor(kDefaultDrawColor.x(), kDefaultDrawColor.y(), kDefaultDrawColor.z(), 0.0… in createFragSideEffectsTests() local [all …]
|
/third_party/skia/gm/ |
D | complexclip4.cpp | 79 canvas->drawColor(SK_ColorGREEN); in onDraw() 87 canvas->drawColor(SK_ColorGREEN); in onDraw() 102 canvas->drawColor(SK_ColorGREEN); in onDraw() 114 canvas->drawColor(SK_ColorGREEN); in onDraw() 119 canvas->drawColor(SK_ColorYELLOW); in onDraw()
|
D | crbug_918512.cpp | 15 canvas->drawColor(SK_ColorYELLOW); 19 canvas->drawColor(SK_ColorCYAN); 27 canvas->drawColor(SK_ColorTRANSPARENT);
|
D | clipdrawdraw.cpp | 62 canvas->drawColor(SK_ColorRED); 68 canvas->drawColor(SK_ColorBLUE);
|
D | distantclip.cpp | 37 rec->drawColor(SK_ColorRED); in onDraw() 41 rec->drawColor(SK_ColorGREEN); in onDraw()
|
D | scaledemoji.cpp | 62 canvas->drawColor(SK_ColorGRAY); in onDraw() 111 canvas->drawColor(SK_ColorGRAY); in onDraw() 169 canvas->drawColor(SK_ColorGRAY); in onDraw()
|
/third_party/skia/experimental/sktext/samples/ |
D | Text.cpp | 31 canvas->drawColor(SK_ColorWHITE); in onDrawContent() 56 canvas->drawColor(SK_ColorWHITE); in drawLine() 93 canvas->drawColor(SK_ColorDKGRAY); in onDrawContent() 129 canvas->drawColor(SK_ColorWHITE); in onDrawContent() 160 canvas->drawColor(SK_ColorWHITE); in onDrawContent() 174 canvas->drawColor(SK_ColorWHITE); in onDrawContent()
|
/third_party/skia/docs/examples/ |
D | ColorSetARGB.cpp | 7 canvas->drawColor(SK_ColorRED); in draw() 9 canvas->drawColor(SkColorSetARGB(0x80, 0x00, 0xFF, 0x00)); in draw() 11 canvas->drawColor(SkColorSetARGB(0x80, 0x00, 0x00, 0xFF)); in draw()
|
D | ColorSetRGB.cpp | 7 canvas->drawColor(SK_ColorRED); in draw() 9 canvas->drawColor(SkColorSetRGB(0x00, 0xFF, 0x00)); in draw() 11 canvas->drawColor(SkColorSetRGB(0x00, 0x00, 0xFF)); in draw()
|
D | Canvas_drawColor.cpp | 7 canvas->drawColor(SK_ColorRED); in draw() 9 canvas->drawColor(SkColorSetARGB(0x80, 0x00, 0xFF, 0x00), SkBlendMode::kPlus); in draw() 11 canvas->drawColor(SkColorSetARGB(0x80, 0x00, 0x00, 0xFF), SkBlendMode::kPlus); in draw()
|
D | crbug_918512.cpp | 8 canvas->drawColor(SK_ColorYELLOW); in draw() 12 canvas->drawColor(SK_ColorCYAN); in draw() 20 canvas->drawColor(SK_ColorTRANSPARENT); in draw()
|
D | 50_percent_srgb.cpp | 7 surf->getCanvas()->drawColor(SK_ColorWHITE); in make() 16 canvas->drawColor(SK_ColorWHITE); in draw()
|
D | 50_percent_gray.cpp | 7 surf->getCanvas()->drawColor(SK_ColorWHITE); in make_bw_dither() 16 canvas->drawColor(SK_ColorWHITE); in draw()
|
/third_party/skia/modules/skparagraph/samples/ |
D | SampleParagraph.cpp | 87 canvas->drawColor(SK_ColorWHITE); in drawTest() 259 canvas->drawColor(bg); in drawText() 314 canvas->drawColor(SK_ColorWHITE); in drawLine() 431 canvas->drawColor(SK_ColorWHITE); in drawLine() 513 canvas->drawColor(SK_ColorDKGRAY); in onDrawContent() 668 canvas->drawColor(SK_ColorWHITE); in onDrawContent() 761 canvas->drawColor(SK_ColorWHITE); in onDrawContent() 806 canvas->drawColor(SK_ColorLTGRAY); in hangingS() 959 canvas->drawColor(SK_ColorWHITE); in onDrawContent() 978 canvas->drawColor(background); in drawText() [all …]
|
/third_party/skia/platform_tools/android/apps/AndroidKit/src/main/java/org/skia/androidkit/ |
D | Canvas.java | 100 public void drawColor(Color c) { in drawColor() method in Canvas 104 public void drawColor(float r, float g, float b, float a) { in drawColor() method in Canvas 108 public void drawColor(int icolor) { in drawColor() method in Canvas
|