Home
last modified time | relevance | path

Searched refs:drawColor (Results 1 – 25 of 182) sorted by relevance

12345678

/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DMultisampledRenderToTextureTest.cpp789 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 …]
DVulkanPerformanceCounterTest.cpp1909 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 …]
DTransformFeedbackTest.cpp103 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 …]
DDepthStencilTest.cpp570 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()
DClearTest.cpp2260 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/
DPDFDocumentTest.cpp35 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()
DFontMgrFontConfigTest.cpp54 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()
DSerialProcsTest.cpp154 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()
DDrawTextTest.cpp92 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/
DvktRasterizationFragShaderSideEffectsTests.cpp92 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/
DvktRasterizationFragShaderSideEffectsTests.cpp92 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/
Dcomplexclip4.cpp79 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()
Dcrbug_918512.cpp15 canvas->drawColor(SK_ColorYELLOW);
19 canvas->drawColor(SK_ColorCYAN);
27 canvas->drawColor(SK_ColorTRANSPARENT);
Dclipdrawdraw.cpp62 canvas->drawColor(SK_ColorRED);
68 canvas->drawColor(SK_ColorBLUE);
Ddistantclip.cpp37 rec->drawColor(SK_ColorRED); in onDraw()
41 rec->drawColor(SK_ColorGREEN); in onDraw()
Dscaledemoji.cpp62 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/
DText.cpp31 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/
DColorSetARGB.cpp7 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()
DColorSetRGB.cpp7 canvas->drawColor(SK_ColorRED); in draw()
9 canvas->drawColor(SkColorSetRGB(0x00, 0xFF, 0x00)); in draw()
11 canvas->drawColor(SkColorSetRGB(0x00, 0x00, 0xFF)); in draw()
DCanvas_drawColor.cpp7 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()
Dcrbug_918512.cpp8 canvas->drawColor(SK_ColorYELLOW); in draw()
12 canvas->drawColor(SK_ColorCYAN); in draw()
20 canvas->drawColor(SK_ColorTRANSPARENT); in draw()
D50_percent_srgb.cpp7 surf->getCanvas()->drawColor(SK_ColorWHITE); in make()
16 canvas->drawColor(SK_ColorWHITE); in draw()
D50_percent_gray.cpp7 surf->getCanvas()->drawColor(SK_ColorWHITE); in make_bw_dither()
16 canvas->drawColor(SK_ColorWHITE); in draw()
/third_party/skia/modules/skparagraph/samples/
DSampleParagraph.cpp87 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/
DCanvas.java100 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

12345678