Home
last modified time | relevance | path

Searched refs:hasColors (Results 1 – 15 of 15) sorted by relevance

/external/skqp/src/gpu/ops/
DGrDrawAtlasOp.cpp17 bool hasColors, in make_gp() argument
22 if (hasColors) { in make_gp()
128 this->hasColors(), in onPrepareDraws()
167 if (this->hasColors() != that->hasColors()) { in onCombineIfPossible()
171 if (!this->hasColors() && this->color() != that->color()) { in onCombineIfPossible()
187 if (this->hasColors()) { in finalize()
233 bool hasColors) { in randomize_params() argument
237 if (hasColors) { in randomize_params()
250 bool hasColors = random->nextBool(); in GR_DRAW_OP_TEST_DEFINE() local
252 randomize_params(spriteCount, random, &xforms, &texRects, &colors, hasColors); in GR_DRAW_OP_TEST_DEFINE()
[all …]
DGrDrawVerticesOp.cpp45 fColorArrayType = vertices->hasColors() ? ColorArrayType::kSkColor in GrDrawVerticesOp()
590 SkTArray<uint32_t>* colors, bool hasColors, in randomize_params() argument
597 if (hasColors) { in randomize_params()
624 bool hasColors = random->nextBool(); in GR_DRAW_OP_TEST_DEFINE() local
631 &positions, &texCoords, hasTexCoords, &colors, hasColors, &indices, in GR_DRAW_OP_TEST_DEFINE()
636 random, &positions, &texCoords, hasTexCoords, &colors, hasColors, &indices, in GR_DRAW_OP_TEST_DEFINE()
DGrDrawAtlasOp.h58 bool hasColors() const { return fHasColors; } in hasColors() function
DGrDrawVerticesOp.h118 return fVertices->hasColors() && !fIgnoreColors; in hasPerVertexColors()
/external/skia/src/gpu/ops/
DGrDrawAtlasOp.cpp56 bool hasColors() const { return fHasColors; } in hasColors() function in __anon0c3674a70111::DrawAtlasOp
77 bool hasColors, in make_gp() argument
82 if (hasColors) { in make_gp()
188 this->hasColors(), in onPrepareDraws()
230 if (this->hasColors() != that->hasColors()) { in onCombineIfPossible()
234 if (!this->hasColors() && this->color() != that->color()) { in onCombineIfPossible()
251 if (this->hasColors()) { in finalize()
313 bool hasColors) { in randomize_params() argument
317 if (hasColors) { in randomize_params()
330 bool hasColors = random->nextBool(); in GR_DRAW_OP_TEST_DEFINE() local
[all …]
DGrDrawVerticesOp.cpp94 return fVertices->hasColors() && !fIgnoreColors; in hasPerVertexColors()
148 fColorArrayType = vertices->hasColors() ? ColorArrayType::kSkColor in DrawVerticesOp()
641 SkTArray<uint32_t>* colors, bool hasColors, in randomize_params() argument
648 if (hasColors) { in randomize_params()
675 bool hasColors = random->nextBool(); in GR_DRAW_OP_TEST_DEFINE() local
682 &positions, &texCoords, hasTexCoords, &colors, hasColors, &indices, in GR_DRAW_OP_TEST_DEFINE()
687 random, &positions, &texCoords, hasTexCoords, &colors, hasColors, &indices, in GR_DRAW_OP_TEST_DEFINE()
/external/skia/src/core/
DSkVertices.cpp31 bool hasColors, bool hasBones) { in Sizes()
36 fCSize = hasColors ? safe.mul(vertexCount, sizeof(SkColor)) : 0; in Sizes()
97 bool hasColors = SkToBool(builderFlags & SkVertices::kHasColors_BuilderFlag); in Builder() local
101 SkVertices::Sizes(mode, vertexCount, indexCount, hasTexs, hasColors, hasBones)); in Builder()
313 this->hasColors(), in approximateSize()
339 if (this->hasColors()) { in encode()
353 this->hasColors(), in encode()
394 const bool hasColors = SkToBool(packed & kHasColors_Mask); in Decode() local
397 Sizes sizes(mode, vertexCount, indexCount, hasTexs, hasColors, hasBones); in Decode()
DSkColorSpaceXformCanvas.cpp101 if (vertices->hasColors()) { in onDrawVerticesObject()
/external/skqp/src/core/
DSkVertices.cpp31 bool hasColors, bool hasBones) { in Sizes()
36 fCSize = hasColors ? safe.mul(vertexCount, sizeof(SkColor)) : 0; in Sizes()
97 bool hasColors = SkToBool(builderFlags & SkVertices::kHasColors_BuilderFlag); in Builder() local
101 SkVertices::Sizes(mode, vertexCount, indexCount, hasTexs, hasColors, hasBones)); in Builder()
313 this->hasColors(), in approximateSize()
339 if (this->hasColors()) { in encode()
353 this->hasColors(), in encode()
394 const bool hasColors = SkToBool(packed & kHasColors_Mask); in Decode() local
397 Sizes sizes(mode, vertexCount, indexCount, hasTexs, hasColors, hasBones); in Decode()
DSkColorSpaceXformCanvas.cpp101 if (vertices->hasColors()) { in onDrawVerticesObject()
/external/clang/tools/diagtool/
DTreeView.cpp26 static bool hasColors(const llvm::raw_ostream &out) { in hasColors() function
39 : out(out), ShowColors(hasColors(out)), FlagsOnly(false) {} in TreePrinter()
/external/skia/src/gpu/
DSkGpuDevice.cpp1423 bool hasTexs, bool hasColors, GrPaint* grPaint) { in init_vertices_paint() argument
1425 if (hasColors) { in init_vertices_paint()
1434 if (hasColors) { in init_vertices_paint()
1518 bool hasColors = vertices->hasColors(); in drawVertices() local
1520 if ((!hasTexs || !paint.getShader()) && !hasColors) { in drawVertices()
1528 this->ctm(), mode, hasTexs, hasColors, &grPaint)) { in drawVertices()
/external/skqp/src/gpu/
DSkGpuDevice.cpp1583 bool hasTexs, bool hasColors, GrPaint* grPaint) { in init_vertices_paint() argument
1585 if (hasColors) { in init_vertices_paint()
1594 if (hasColors) { in init_vertices_paint()
1678 bool hasColors = vertices->hasColors(); in drawVertices() local
1680 if ((!hasTexs || !paint.getShader()) && !hasColors) { in drawVertices()
1688 this->ctm(), mode, hasTexs, hasColors, &grPaint)) { in drawVertices()
/external/skia/include/core/
DSkVertices.h214 bool hasColors() const { return SkToBool(this->colors()); } in hasColors() function
/external/skqp/include/core/
DSkVertices.h214 bool hasColors() const { return SkToBool(this->colors()); } in hasColors() function