Searched refs:hasColors (Results 1 – 9 of 9) sorted by relevance
/external/skia/src/gpu/ops/ |
D | GrDrawAtlasOp.cpp | 19 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 …]
|
D | GrDrawAtlasOp.h | 44 if (this->hasColors()) { in getFragmentProcessorAnalysisInputs() 58 bool hasColors() const { return fHasColors; } in hasColors() function
|
D | GrDrawVerticesOp.cpp | 341 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()
|
D | GrDrawVerticesOp.h | 100 return fVertices->hasColors() && !(kIgnoreColors_VerticesFlag & fFlags); in hasPerVertexColors()
|
/external/skia/src/core/ |
D | SkVertices.cpp | 24 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()
|
D | SkColorSpaceXformCanvas.cpp | 93 if (vertices->hasColors()) { in onDrawVerticesObject()
|
/external/clang/tools/diagtool/ |
D | TreeView.cpp | 26 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/ |
D | SkVertices.h | 79 bool hasColors() const { return SkToBool(this->colors()); } in hasColors() function
|
/external/skia/src/gpu/ |
D | SkGpuDevice.cpp | 1567 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()
|