Home
last modified time | relevance | path

Searched refs:addBits (Results 1 - 13 of 13) sorted by relevance

/third_party/skia/src/gpu/
H A DGrProgramDesc.cpp87 b->addBits(kClassIDBits, geomProc.classID(), "geomProcClassID"); in gen_geomproc_key()
100 b->addBits(kClassIDBits, xp.classID(), "xpClassID"); in gen_xp_key()
119 b->addBits(kClassIDBits, fp.classID(), "fpClassID"); in gen_fp_key()
120 b->addBits(GrGeometryProcessor::kCoordTransformKeyBits, in gen_fp_key()
139 b->addBits(kClassIDBits, GrProcessor::ClassID::kNull_ClassID, "fpClassID"); in gen_fp_key()
150 b->addBits(2, pipeline.numFragmentProcessors(), "numFPs"); in gen_key()
151 b->addBits(1, pipeline.numColorFragmentProcessors(), "numColorFPs"); in gen_key()
158 b->addBits(16, pipeline.writeSwizzle().asKey(), "writeSwizzle"); in gen_key()
H A DGrProgramDesc.h32 virtual void addBits(uint32_t numBits, uint32_t val, const char* label) { in addBits() function in GrProcessorKeyBuilder
53 this->addBits(8, *bytes, label);
58 this->addBits(1, b, label);
62 this->addBits(32, v, label); in add32()
87 void addBits(uint32_t numBits, uint32_t val, const char* label) override {
88 INHERITED::addBits(numBits, val, label);
H A DGrPipeline.cpp90 b->addBits(kBlendCoeffSize, blendInfo.fSrcBlend, "srcBlend"); in genKey()
91 b->addBits(kBlendCoeffSize, blendInfo.fDstBlend, "dstBlend"); in genKey()
92 b->addBits(kBlendEquationSize, blendInfo.fEquation, "equation"); in genKey()
H A DGrGeometryProcessor.h212 b->addBits(8, attr.isInitialized() ? attr.cpuType() : 0xff, "attrType"); in getAttributeKey()
213 b->addBits(8, attr.isInitialized() ? attr.gpuType() : 0xff, "attrGpuType"); in getAttributeKey()
H A DGrStencilSettings.cpp247 b->addBits(6, fFlags, "stencilFlags"); in genKey()
/third_party/skia/src/gpu/ops/
H A DAtlasInstancedHelper.h53 b->addBits(kNumShaderFlags, (int)fShaderFlags, "atlasFlags"); in getKeyBits()
H A DQuadPerEdgeAA.cpp656 b->addBits(1, (kFloat3_GrVertexAttribType == fLocalCoord.cpuType()), "localCoordsType");
661 b->addBits(1, (kFloat4_GrVertexAttribType == fColor.cpuType()), "colorType");
672 b->addBits(2, coverageKey, "coverageMode");
H A DDrawAtlasPathOp.cpp62 b->addBits(1, fUsesLocalCoords, "localCoords");
H A DGrOvalOpFactory.cpp94 b->addBits(ProgramImpl::kMatrixKeyBits,
298 b->addBits(ProgramImpl::kMatrixKeyBits,
562 b->addBits(ProgramImpl::kMatrixKeyBits,
765 b->addBits(2, static_cast<uint32_t>(fStyle), "style");
766 b->addBits(ProgramImpl::kMatrixKeyBits,
H A DAAConvexPathRenderer.cpp571 b->addBits(ProgramImpl::kMatrixKeyBits,
H A DFillRRectOp.cpp351 b->addBits(kNumProcessorFlags, (uint32_t)fFlags, "flags");
/third_party/skia/src/gpu/effects/
H A DGrBitmapTextGeoProc.cpp191 b->addBits(2, fMaskFormat, "maskFormat"); in addToKey()
192 b->addBits(ProgramImpl::kMatrixKeyBits, in addToKey()
H A DGrTextureEffect.cpp732 b->addBits(8, m0, "shaderMode0"); in onAddToKey()
735 b->addBits(8, m1, "shaderMode1"); in onAddToKey()

Completed in 15 milliseconds