/third_party/skia/src/gpu/tessellate/shaders/ |
H A D | GrStrokeTessellationShader.cpp | 40 fAttribs.emplace_back("prevCtrlPtAttr", kFloat2_GrVertexAttribType, kFloat2_GrSLType); in GrStrokeTessellationShader() 52 fAttribs.emplace_back("pts01Attr", kFloat4_GrVertexAttribType, kFloat4_GrSLType); in GrStrokeTessellationShader() 53 fAttribs.emplace_back("pts23Attr", kFloat4_GrVertexAttribType, kFloat4_GrSLType); in GrStrokeTessellationShader() 60 fAttribs.emplace_back("pts01Attr", kFloat4_GrVertexAttribType, kFloat4_GrSLType); in GrStrokeTessellationShader() 61 fAttribs.emplace_back("pts23Attr", kFloat4_GrVertexAttribType, kFloat4_GrSLType); in GrStrokeTessellationShader() 69 fAttribs.emplace_back("argsAttr", kFloat3_GrVertexAttribType, kFloat3_GrSLType); in GrStrokeTessellationShader() 73 fAttribs.emplace_back("argsAttr", kFloat2_GrVertexAttribType, kFloat2_GrSLType); in GrStrokeTessellationShader() 77 fAttribs.emplace_back("dynamicStrokeAttr", kFloat2_GrVertexAttribType, in GrStrokeTessellationShader() 81 fAttribs.emplace_back("dynamicColorAttr", in GrStrokeTessellationShader() 91 fAttribs in GrStrokeTessellationShader() [all...] |
H A D | GrPathTessellationShader_MiddleOut.cpp | 41 if (fAttribs & PatchAttribs::kFanPoint) { in MiddleOutShader() 46 if (fAttribs & PatchAttribs::kColor) { in MiddleOutShader() 48 (fAttribs & PatchAttribs::kWideColorIfEnabled) in MiddleOutShader() 53 if (fAttribs & PatchAttribs::kExplicitCurveType) { in MiddleOutShader() 62 sizeof(SkPoint) * 4 + skgpu::PatchAttribsStride(fAttribs)); in MiddleOutShader() 75 format.printf("ShaderDfx_MiddleOutShader_%d", fAttribs); 86 b->add32((uint32_t)(fAttribs & ~PatchAttribs::kWideColorIfEnabled)); 109 if (middleOutShader.fAttribs & PatchAttribs::kExplicitCurveType) { in makeProgramImpl() 137 if (middleOutShader.fAttribs & PatchAttribs::kFanPoint) { in makeProgramImpl() 204 if (middleOutShader.fAttribs in makeProgramImpl() [all...] |
H A D | GrPathTessellationShader.h | 133 , fAttribs(attribs) { in GrPathTessellationShader() 164 const skgpu::PatchAttribs fAttribs; member in GrPathTessellationShader
|
H A D | GrPathTessellationShader_Hardware.cpp | 44 sizeof(SkPoint) * 4 + skgpu::PatchAttribsStride(fAttribs)); in HardwareWedgeShader() 187 sizeof(SkPoint) * 4 + skgpu::PatchAttribsStride(fAttribs)); in HardwareCurveShader()
|
H A D | GrPathTessellationShader.cpp | 138 if (!(shader.fAttribs & PatchAttribs::kColor)) { in onEmitCode() 157 if (!(shader.fAttribs & PatchAttribs::kColor)) { in setData()
|
H A D | GrStrokeTessellationShader.h | 78 SkSTArray<kMaxAttribCount, Attribute> fAttribs; member in GrStrokeTessellationShader
|
/third_party/skia/src/gpu/ops/ |
H A D | DrawAtlasPathOp.cpp | 38 fAttribs.emplace_back("fillBounds", kFloat4_GrVertexAttribType, kFloat4_GrSLType); in DrawAtlasPathShader() 40 fAttribs.emplace_back("affineMatrix", kFloat4_GrVertexAttribType, kFloat4_GrSLType); in DrawAtlasPathShader() 41 fAttribs.emplace_back("translate", kFloat2_GrVertexAttribType, kFloat2_GrSLType); in DrawAtlasPathShader() 43 SkASSERT(fAttribs.count() == this->colorAttribIdx()); in DrawAtlasPathShader() 44 fAttribs.emplace_back("color", kFloat4_GrVertexAttribType, kHalf4_GrSLType); in DrawAtlasPathShader() 45 fAtlasHelper->appendInstanceAttribs(&fAttribs); in DrawAtlasPathShader() 46 SkASSERT(fAttribs.count() <= kMaxInstanceAttribs); in DrawAtlasPathShader() 47 this->setInstanceAttributes(fAttribs.data(), fAttribs.count()); in DrawAtlasPathShader() 72 SkSTArray<kMaxInstanceAttribs, GrGeometryProcessor::Attribute> fAttribs; member in __anon18837::DrawAtlasPathShader [all...] |
/third_party/skia/src/gpu/tessellate/ |
H A D | StrokeFixedCountTessellator.cpp | 41 : fAttribs(attribs) in InstanceWriter() 55 SkASSERT(fAttribs & PatchAttribs::kStrokeParams); in updateDynamicStroke() 62 SkASSERT(fAttribs & PatchAttribs::kColor); in updateDynamicColor() 63 bool wideColor = fAttribs & PatchAttribs::kWideColorIfEnabled; in updateDynamicColor() 188 if (fAttribs & PatchAttribs::kStrokeParams) { in writeDynamicAttribs() 191 if (fAttribs & PatchAttribs::kColor) { in writeDynamicAttribs() 194 if (fAttribs & PatchAttribs::kExplicitCurveType) { in writeDynamicAttribs() 206 const PatchAttribs fAttribs; member in skgpu::__anon18865::InstanceWriter 253 InstanceWriter instanceWriter(fAttribs, in prepare() 258 sizeof(SkPoint) * 5 + PatchAttribsStride(fAttribs), in prepare() [all...] |
H A D | PathTessellator.h | 65 PatchAttribs patchAttribs() const { return fAttribs; } in patchAttribs() 140 PathTessellator(bool infinitySupport, PatchAttribs attribs) : fAttribs(attribs) { in PathTessellator() 142 fAttribs |= PatchAttribs::kExplicitCurveType; in PathTessellator() 146 PatchAttribs fAttribs; member in skgpu::PathTessellator
|
H A D | StrokeHardwareTessellator.cpp | 65 : fAttribs(attribs) in PatchWriter() 142 SkASSERT(fAttribs & PatchAttribs::kStrokeParams); in updateDynamicStroke() 147 SkASSERT(fAttribs & PatchAttribs::kColor); in updateDynamicColor() 148 bool wideColor = fAttribs & PatchAttribs::kWideColorIfEnabled; in updateDynamicColor() 600 if (fAttribs & PatchAttribs::kStrokeParams) { in writeDynamicAttribs() 603 if (fAttribs & PatchAttribs::kColor) { in writeDynamicAttribs() 606 SkASSERT(!(fAttribs & PatchAttribs::kExplicitCurveType)); in writeDynamicAttribs() 622 const PatchAttribs fAttribs; member in skgpu::__anon18867::PatchWriter::JoinType 710 PatchWriter patchWriter(fAttribs, in prepare() 715 sizeof(SkPoint) * 5 + PatchAttribsStride(fAttribs), in prepare() [all...] |
H A D | StrokeTessellator.h | 33 StrokeTessellator(PatchAttribs attribs) : fAttribs(attribs) {} in StrokeTessellator() 54 PatchAttribs fAttribs; member in skgpu::StrokeTessellator
|
H A D | PatchWriter.cpp | 22 tessellator->fAttribs, in PatchWriter() 23 sizeof(SkPoint) * 4 + PatchAttribsStride(tessellator->fAttribs), in PatchWriter()
|
H A D | PathWedgeTessellator.h | 29 fAttribs |= PatchAttribs::kFanPoint; in PathWedgeTessellator()
|
H A D | PathCurveTessellator.cpp | 50 if (fAttribs & PatchAttribs::kColor) { in writePatches()
|
H A D | PathWedgeTessellator.cpp | 149 if (fAttribs & PatchAttribs::kColor) { in writePatches()
|