Home
last modified time | relevance | path

Searched refs:fAttributes (Results 1 – 18 of 18) sorted by relevance

/external/skqp/experimental/svg/model/
DSkSVGPattern.cpp18 fAttributes.fX.set(x); in setX()
22 fAttributes.fY.set(y); in setY()
26 fAttributes.fWidth.set(w); in setWidth()
30 fAttributes.fHeight.set(h); in setHeight()
38 fAttributes.fPatternTransform.set(patternTransform); in setPatternTransform()
117 inherit_if_needed(currentNode->fAttributes.fX , attrs->fX) | in resolveHref()
118 inherit_if_needed(currentNode->fAttributes.fY , attrs->fY) | in resolveHref()
119 inherit_if_needed(currentNode->fAttributes.fWidth , attrs->fWidth) | in resolveHref()
120 inherit_if_needed(currentNode->fAttributes.fHeight , attrs->fHeight) | in resolveHref()
121 inherit_if_needed(currentNode->fAttributes.fPatternTransform, attrs->fPatternTransform); in resolveHref()
DSkSVGPattern.h45 } fAttributes; variable
/external/skia/tests/
DPDFTaggedTableTest.cpp67 table->fAttributes.appendFloatArray("Layout", "BBox", {72, 72, 360, 360}); in DEF_TEST()
87 cell->fAttributes.appendNodeIdArray( in DEF_TEST()
92 cell->fAttributes.appendInt("Table", "RowSpan", 2); in DEF_TEST()
94 cell->fAttributes.appendInt("Table", "ColSpan", 2); in DEF_TEST()
96 cell->fAttributes.appendName( in DEF_TEST()
DPrimitiveProcessorTest.cpp82 WriteOutputPosition(args.fVertBuilder, gpArgs, gp.fAttributes[0].name()); in onCreateProgramInfo()
103 fAttributes = std::make_unique<Attribute[]>(numAttribs); in onCreateProgramInfo()
109 fAttributes[i] = {fAttribNames[i].c_str(), kFloat_GrVertexAttribType, in onCreateProgramInfo()
112 fAttributes[i] = {fAttribNames[i].c_str(), kFloat2_GrVertexAttribType, in onCreateProgramInfo()
116 this->setVertexAttributes(fAttributes.get(), numAttribs); in onCreateProgramInfo()
121 std::unique_ptr<Attribute[]> fAttributes; in onCreateProgramInfo() member in __anonc10dec5b0111::Op::onCreateProgramInfo::GP
/external/skqp/tests/
DPrimitiveProcessorTest.cpp62 fAttributes.reset(new Attribute[numAttribs]); in onPrepareDraws()
65 fAttributes[i] = {fAttribNames[i].c_str(), kFloat2_GrVertexAttribType, in onPrepareDraws()
68 this->setVertexAttributes(fAttributes.get(), numAttribs); in onPrepareDraws()
79 gp.fAttributes[0].name()); in onPrepareDraws()
98 std::unique_ptr<Attribute[]> fAttributes; in onPrepareDraws() member in __anonfda82c520111::Op::onPrepareDraws::GP
/external/skqp/src/gpu/
DGrPrimitiveProcessor.h123 Iter begin() const { return Iter(fAttributes, fCount); } in begin()
130 fAttributes = attrs; in init()
142 const Attribute* fAttributes = nullptr; variable
202 add_attributes(fVertexAttributes.fAttributes, fVertexAttributes.fRawCount); in getAttributeKey()
203 add_attributes(fInstanceAttributes.fAttributes, fInstanceAttributes.fRawCount); in getAttributeKey()
/external/skqp/src/gpu/gl/
DGrGLProgram.h134 return fAttributes[i]; in vertexAttribute()
140 return fAttributes[i + fVertexAttributeCnt]; in instanceAttribute()
161 std::unique_ptr<Attribute[]> fAttributes; variable
DGrGLProgram.cpp50 , fAttributes(std::move(attributes)) in GrGLProgram()
/external/skia/src/gpu/
DGrGeometryProcessor.h123 Iter begin() const { return Iter(fAttributes, fCount); } in begin()
133 fAttributes = attrs; in init()
145 const Attribute* fAttributes = nullptr; variable
211 add_attributes(fVertexAttributes.fAttributes, fVertexAttributes.fRawCount); in getAttributeKey()
213 add_attributes(fInstanceAttributes.fAttributes, fInstanceAttributes.fRawCount); in getAttributeKey()
/external/skia/src/gpu/gl/
DGrGLProgram.h135 return fAttributes[i]; in vertexAttribute()
141 return fAttributes[i + fVertexAttributeCnt]; in instanceAttribute()
172 std::unique_ptr<Attribute[]> fAttributes; variable
DGrGLProgram.cpp77 , fAttributes(std::move(attributes)) in GrGLProgram()
/external/skia/src/gpu/ops/
DGrDrawVerticesOp.cpp59 const Attribute& positionAttr() const { return fAttributes[kPositionIndex]; } in positionAttr()
60 const Attribute& colorAttr() const { return fAttributes[kColorIndex]; } in colorAttr()
61 const Attribute& localCoordsAttr() const { return fAttributes[kLocalCoordsIndex]; } in localCoordsAttr()
180 fAttributes.push_back({"position", kFloat2_GrVertexAttribType, kFloat2_GrSLType}); in VerticesGP()
181 fAttributes.push_back(fColorArrayType != ColorArrayType::kUnused in VerticesGP()
184 fAttributes.push_back(localCoordsType == LocalCoordsType::kExplicit in VerticesGP()
188 this->setVertexAttributes(fAttributes.data(), fAttributes.size()); in VerticesGP()
197 std::vector<Attribute> fAttributes; member in __anon119029be0111::VerticesGP
/external/skqp/src/gpu/gl/builders/
DGrGLProgramBuilder.cpp140 fAttributes.reset( in computeCountsAndStrides()
143 fAttributes[i].fCPUType = a.cpuType(); in computeCountsAndStrides()
144 fAttributes[i].fGPUType = a.gpuType(); in computeCountsAndStrides()
145 fAttributes[i].fOffset = *stride; in computeCountsAndStrides()
147 fAttributes[i].fLocation = i; in computeCountsAndStrides()
473 std::move(fAttributes), in createProgram()
DGrGLProgramBuilder.h91 std::unique_ptr<GrGLProgram::Attribute[]> fAttributes; variable
/external/skia/src/gpu/gl/builders/
DGrGLProgramBuilder.cpp124 fAttributes = std::make_unique<GrGLProgram::Attribute[]>( in computeCountsAndStrides()
127 fAttributes[i].fCPUType = a.cpuType(); in computeCountsAndStrides()
128 fAttributes[i].fGPUType = a.gpuType(); in computeCountsAndStrides()
129 fAttributes[i].fOffset = *stride; in computeCountsAndStrides()
131 fAttributes[i].fLocation = i; in computeCountsAndStrides()
538 std::move(fAttributes), in createProgram()
DGrGLProgramBuilder.h93 std::unique_ptr<GrGLProgram::Attribute[]> fAttributes; variable
/external/skia/src/pdf/
DSkPDFTag.cpp111 std::unique_ptr<SkPDFArray> fAttributes; member
240 dst->fAttributes = std::move(node.fAttributes.fAttrs); in Copy()
350 if (node->fAttributes) { in PrepareTagTreeToEmit()
351 dict.insertObject("A", std::move(node->fAttributes)); in PrepareTagTreeToEmit()
/external/skia/include/docs/
DSkPDFDocument.h120 AttributeList fAttributes; member