Home
last modified time | relevance | path

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

/external/skia/src/gpu/ops/
DGrDrawAtlasOp.cpp19 sizeof(SkPoint) + sizeof(SkPoint) + (this->hasColors() ? sizeof(GrColor) : 0); in applyPipelineOptimizations()
32 static sk_sp<GrGeometryProcessor> make_gp(bool hasColors, in make_gp() argument
37 if (hasColors) { in make_gp()
47 sk_sp<GrGeometryProcessor> gp(make_gp(this->hasColors(), this->color(), this->viewMatrix())); in onPrepareDraws()
52 sizeof(SkPoint) + sizeof(SkPoint) + (this->hasColors() ? sizeof(GrColor) : 0)); in onPrepareDraws()
167 if (this->hasColors() != that->hasColors()) { in onCombineIfPossible()
171 if (!this->hasColors() && this->color() != that->color()) { in onCombineIfPossible()
215 bool hasColors) { in randomize_params() argument
219 if (hasColors) { in randomize_params()
232 bool hasColors = random->nextBool(); in DRAW_OP_TEST_DEFINE() local
[all …]
DGrDrawAtlasOp.h44 if (this->hasColors()) { in getFragmentProcessorAnalysisInputs()
58 bool hasColors() const { return fHasColors; } in hasColors() function
DGrDrawVerticesOp.cpp341 SkTArray<uint32_t>* colors, bool hasColors, in randomize_params() argument
348 if (hasColors) { in randomize_params()
370 bool hasColors = random->nextBool(); in DRAW_OP_TEST_DEFINE() local
377 &positions, &texCoords, hasTexCoords, &colors, hasColors, &indices, in DRAW_OP_TEST_DEFINE()
382 random, &positions, &texCoords, hasTexCoords, &colors, hasColors, &indices, in DRAW_OP_TEST_DEFINE()
DGrDrawVerticesOp.h100 return fVertices->hasColors() && !(kIgnoreColors_VerticesFlag & fFlags); in hasPerVertexColors()
/external/skia/src/core/
DSkVertices.cpp24 Sizes(int vertexCount, int indexCount, bool hasTexs, bool hasColors) { in Sizes()
27 int64_t cSize = hasColors ? (int64_t)vertexCount * sizeof(SkColor) : 0; in Sizes()
56 bool hasColors = SkToBool(builderFlags & SkVertices::kHasColors_BuilderFlag); in Builder() local
58 SkVertices::Sizes(vertexCount, indexCount, hasTexs, hasColors)); in Builder()
144 Sizes sizes(fVertexCnt, fIndexCnt, this->hasTexCoords(), this->hasColors()); in approximateSize()
166 if (this->hasColors()) { in encode()
170 Sizes sizes(fVertexCnt, fIndexCnt, this->hasTexCoords(), this->hasColors()); in encode()
201 const bool hasColors = SkToBool(packed & kHasColors_Mask); in Decode() local
202 Sizes sizes(vertexCount, indexCount, hasTexs, hasColors); in Decode()
DSkColorSpaceXformCanvas.cpp93 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/include/core/
DSkVertices.h79 bool hasColors() const { return SkToBool(this->colors()); } in hasColors() function
/external/skia/src/gpu/
DSkGpuDevice.cpp1567 bool hasTexs, bool hasColors, GrPaint* grPaint) { in init_vertices_paint() argument
1569 if (hasColors) { in init_vertices_paint()
1578 if (hasColors) { in init_vertices_paint()
1656 bool hasColors = vertices->hasColors(); in drawVertices() local
1658 if (!hasTexs && !hasColors) { in drawVertices()
1664 mode, hasTexs, hasColors, &grPaint)) { in drawVertices()