Home
last modified time | relevance | path

Searched refs:paintShader (Results 1 – 3 of 3) sorted by relevance

/third_party/skia/tests/
DSkSLES2ConformanceTest.cpp77 SkPaint paintShader; in test_expect_pass() local
78 paintShader.setShader(shader); in test_expect_pass()
79 surface->getCanvas()->drawRect(SkRect::MakeWH(1, 1), paintShader); in test_expect_pass()
DSkSLTest.cpp95 SkPaint paintShader; in test_one_permutation() local
96 paintShader.setShader(shader); in test_one_permutation()
97 surface->getCanvas()->drawRect(SkRect::MakeWH(kWidth, kHeight), paintShader); in test_one_permutation()
/third_party/skia/src/core/
DSkDraw_vertices.cpp321 SkShader* paintShader = paint.getShader(); in drawFixedVertices() local
323 if (paintShader) { in drawFixedVertices()
340 paintShader = nullptr; in drawFixedVertices()
347 SkASSERT((texCoords != nullptr) == (paintShader != nullptr)); in drawFixedVertices()
356 SkShader* shader = paintShader; in drawFixedVertices()
470 SkShader* shader = paintShader; in drawFixedVertices()