Searched refs:paintShader (Results 1 – 3 of 3) sorted by relevance
77 SkPaint paintShader; in test_expect_pass() local78 paintShader.setShader(shader); in test_expect_pass()79 surface->getCanvas()->drawRect(SkRect::MakeWH(1, 1), paintShader); in test_expect_pass()
95 SkPaint paintShader; in test_one_permutation() local96 paintShader.setShader(shader); in test_one_permutation()97 surface->getCanvas()->drawRect(SkRect::MakeWH(kWidth, kHeight), paintShader); in test_one_permutation()
321 SkShader* paintShader = paint.getShader(); in drawFixedVertices() local323 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()