Home
last modified time | relevance | path

Searched refs:addBits (Results 1 – 14 of 14) sorted by relevance

/external/skia/src/gpu/
DKeyBuilder.h25 virtual void addBits(uint32_t numBits, uint32_t val, std::string_view label) { in addBits() function
46 this->addBits(8, *bytes, label); in addBytes()
51 this->addBits(1, b, label); in addBool()
55 this->addBits(32, v, label);
80 void addBits(uint32_t numBits, uint32_t val, std::string_view label) override { in addBits() function
81 KeyBuilder::addBits(numBits, val, label); in addBits()
/external/skia/src/gpu/ganesh/
DGrProgramDesc.cpp89 b->addBits(kClassIDBits, geomProc.classID(), "geomProcClassID"); in gen_geomproc_key()
102 b->addBits(kClassIDBits, xp.classID(), "xpClassID"); in gen_xp_key()
126 b->addBits(kClassIDBits, fp.classID(), "fpClassID"); in gen_fp_key()
127 b->addBits(GrGeometryProcessor::kCoordTransformKeyBits, in gen_fp_key()
146 b->addBits(kClassIDBits, GrProcessor::ClassID::kNull_ClassID, "fpClassID"); in gen_fp_key()
157 b->addBits(2, pipeline.numFragmentProcessors(), "numFPs"); in gen_key()
158 b->addBits(1, pipeline.numColorFragmentProcessors(), "numColorFPs"); in gen_key()
165 b->addBits(16, pipeline.writeSwizzle().asKey(), "writeSwizzle"); in gen_key()
DGrPipeline.cpp92 b->addBits(kBlendCoeffSize, static_cast<int>(blendInfo.fSrcBlend), "srcBlend"); in genKey()
93 b->addBits(kBlendCoeffSize, static_cast<int>(blendInfo.fDstBlend), "dstBlend"); in genKey()
94 b->addBits(kBlendEquationSize, static_cast<int>(blendInfo.fEquation), "equation"); in genKey()
DGrGeometryProcessor.cpp553 b->addBits(16, SkToU16(this->stride()), "stride"); in addToKey()
554 b->addBits(16, rawCount, "attribute count"); in addToKey()
561 b->addBits(8, attr.isInitialized() ? attr.cpuType() : 0xff, "attrType"); in addToKey()
562 b->addBits(8 , attr.isInitialized() ? static_cast<int>(attr.gpuType()) : 0xff, in addToKey()
573 b->addBits(16, static_cast<uint16_t>(offset), "attrOffset"); in addToKey()
DGrStencilSettings.cpp248 b->addBits(6, fFlags, "stencilFlags"); in genKey()
/external/skia/src/gpu/ganesh/effects/
DGrBitmapTextGeoProc.cpp194 b->addBits(2, static_cast<int>(fMaskFormat), "maskFormat"); in addToKey()
195 b->addBits(ProgramImpl::kMatrixKeyBits, in addToKey()
DGrTextureEffect.cpp770 b->addBits(8, m0, "shaderMode0"); in onAddToKey()
773 b->addBits(8, m1, "shaderMode1"); in onAddToKey()
DGrRRectEffect.cpp684 b->addBits(2, static_cast<int>(fEdgeType), "edge_type"); in onAddToKey()
685 b->addBits(3, static_cast<int>(fRRect.getType()), "rrect_type"); in onAddToKey()
/external/skia/src/gpu/ganesh/ops/
DAtlasInstancedHelper.cpp19 b->addBits(kNumShaderFlags, (int)fShaderFlags, "atlasFlags"); in getKeyBits()
DQuadPerEdgeAA.cpp639 b->addBits(1, (kFloat3_GrVertexAttribType == fLocalCoord.cpuType()), "localCoordsType"); in addToKey()
644 b->addBits(1, (kFloat4_GrVertexAttribType == fColor.cpuType()), "colorType"); in addToKey()
655 b->addBits(2, coverageKey, "coverageMode"); in addToKey()
DDrawAtlasPathOp.cpp62 b->addBits(1, fUsesLocalCoords, "localCoords"); in addToKey()
DGrOvalOpFactory.cpp91 b->addBits(ProgramImpl::kMatrixKeyBits, in addToKey()
288 b->addBits(ProgramImpl::kMatrixKeyBits, in addToKey()
545 b->addBits(ProgramImpl::kMatrixKeyBits, in addToKey()
741 b->addBits(2, static_cast<uint32_t>(fStyle), "style"); in addToKey()
742 b->addBits(ProgramImpl::kMatrixKeyBits, in addToKey()
DFillRRectOp.cpp367 b->addBits(kNumProcessorFlags, (uint32_t)fFlags, "flags"); in addToKey()
DAAConvexPathRenderer.cpp569 b->addBits(ProgramImpl::kMatrixKeyBits, in addToKey()