Searched refs:hasColors (Results 1 – 9 of 9) sorted by relevance
/external/skia/src/gpu/ops/ |
D | GrDrawAtlasOp.cpp | 15 static sk_sp<GrGeometryProcessor> make_gp(bool hasColors, in make_gp() argument 20 if (hasColors) { in make_gp() 122 sk_sp<GrGeometryProcessor> gp(make_gp(this->hasColors(), this->color(), this->viewMatrix())); in onPrepareDraws() 127 sizeof(SkPoint) + sizeof(SkPoint) + (this->hasColors() ? sizeof(GrColor) : 0)); in onPrepareDraws() 160 if (this->hasColors() != that->hasColors()) { in onCombineIfPossible() 164 if (!this->hasColors() && this->color() != that->color()) { in onCombineIfPossible() 182 if (this->hasColors()) { in finalize() 228 bool hasColors) { in randomize_params() argument 232 if (hasColors) { in randomize_params() 245 bool hasColors = random->nextBool(); in GR_DRAW_OP_TEST_DEFINE() local [all …]
|
D | GrDrawVerticesOp.cpp | 41 fColorArrayType = vertices->hasColors() ? ColorArrayType::kSkColor in GrDrawVerticesOp() 45 fLinearizeColors = gammaCorrect && vertices->hasColors(); in GrDrawVerticesOp() 356 SkTArray<uint32_t>* colors, bool hasColors, in randomize_params() argument 363 if (hasColors) { in randomize_params() 390 bool hasColors = random->nextBool(); in GR_DRAW_OP_TEST_DEFINE() local 398 &positions, &texCoords, hasTexCoords, &colors, hasColors, &indices, in GR_DRAW_OP_TEST_DEFINE() 403 random, &positions, &texCoords, hasTexCoords, &colors, hasColors, &indices, in GR_DRAW_OP_TEST_DEFINE()
|
D | GrDrawAtlasOp.h | 47 bool hasColors() const { return fHasColors; } in hasColors() function
|
D | GrDrawVerticesOp.h | 86 return fVertices->hasColors() && !fIgnoreColors; 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() 203 const bool hasColors = SkToBool(packed & kHasColors_Mask); in Decode() local 204 Sizes sizes(vertexCount, indexCount, hasTexs, hasColors); in Decode()
|
D | SkColorSpaceXformCanvas.cpp | 95 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 | 84 bool hasColors() const { return SkToBool(this->colors()); } in hasColors() function
|
/external/skia/src/gpu/ |
D | SkGpuDevice.cpp | 1534 bool hasTexs, bool hasColors, GrPaint* grPaint) { in init_vertices_paint() argument 1536 if (hasColors) { in init_vertices_paint() 1544 if (hasColors) { in init_vertices_paint() 1622 bool hasColors = vertices->hasColors(); in drawVertices() local 1624 if ((!hasTexs || !paint.getShader()) && !hasColors) { in drawVertices() 1631 mode, hasTexs, hasColors, &grPaint)) { in drawVertices()
|