Home
last modified time | relevance | path

Searched refs:fAttribs (Results 1 – 16 of 16) sorted by relevance

/third_party/skia/src/gpu/tessellate/shaders/
DGrStrokeTessellationShader.cpp40 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.emplace_back("curveTypeAttr", kFloat_GrVertexAttribType, kFloat_GrSLType); in GrStrokeTessellationShader()
[all …]
DGrPathTessellationShader_MiddleOut.cpp41 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()
80 b->add32((uint32_t)(fAttribs & ~PatchAttribs::kWideColorIfEnabled)); in addToKey()
103 if (middleOutShader.fAttribs & PatchAttribs::kExplicitCurveType) { in makeProgramImpl()
131 if (middleOutShader.fAttribs & PatchAttribs::kFanPoint) { in makeProgramImpl()
198 if (middleOutShader.fAttribs & PatchAttribs::kColor) { in makeProgramImpl()
DGrPathTessellationShader.h133 , fAttribs(attribs) { in GrPathTessellationShader()
164 const skgpu::PatchAttribs fAttribs; variable
DGrPathTessellationShader.cpp136 if (!(shader.fAttribs & PatchAttribs::kColor)) { in onEmitCode()
155 if (!(shader.fAttribs & PatchAttribs::kColor)) { in setData()
DGrPathTessellationShader_Hardware.cpp44 sizeof(SkPoint) * 4 + skgpu::PatchAttribsStride(fAttribs)); in HardwareWedgeShader()
185 sizeof(SkPoint) * 4 + skgpu::PatchAttribsStride(fAttribs)); in HardwareCurveShader()
DGrStrokeTessellationShader.h76 SkSTArray<kMaxAttribCount, Attribute> fAttribs; variable
/third_party/skia/src/gpu/ops/
DDrawAtlasPathOp.cpp38 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()
67 SkSTArray<kMaxInstanceAttribs, GrGeometryProcessor::Attribute> fAttribs; member in __anonae37422e0111::DrawAtlasPathShader
107 shader.fAttribs[shader.colorAttribIdx()].asShaderVar(), in onEmitCode()
/third_party/skia/src/gpu/tessellate/
DStrokeFixedCountTessellator.cpp41 : 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::__anon10976e860111::InstanceWriter
253 InstanceWriter instanceWriter(fAttribs, in prepare()
258 sizeof(SkPoint) * 5 + PatchAttribsStride(fAttribs), in prepare()
[all …]
DPathTessellator.h65 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; variable
DStrokeHardwareTessellator.cpp65 : 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::__anon89a1d59b0111::PatchWriter
710 PatchWriter patchWriter(fAttribs, in prepare()
715 sizeof(SkPoint) * 5 + PatchAttribsStride(fAttribs), in prepare()
[all …]
DStrokeTessellator.h33 StrokeTessellator(PatchAttribs attribs) : fAttribs(attribs) {} in StrokeTessellator()
54 PatchAttribs fAttribs;
DPathWedgeTessellator.h29 fAttribs |= PatchAttribs::kFanPoint; in PathTessellator()
DPatchWriter.cpp22 tessellator->fAttribs, in PatchWriter()
23 sizeof(SkPoint) * 4 + PatchAttribsStride(tessellator->fAttribs), in PatchWriter()
DPathCurveTessellator.cpp50 if (fAttribs & PatchAttribs::kColor) { in writePatches()
DPathWedgeTessellator.cpp149 if (fAttribs & PatchAttribs::kColor) { in writePatches()
/third_party/flutter/skia/third_party/externals/sdl/src/video/windows/
DSDL_windowsopengl.c428 WIN_GL_ChoosePixelFormatARB(_THIS, int *iAttribs, float *fAttribs) in WIN_GL_ChoosePixelFormatARB() argument
453 _this->gl_data->wglChoosePixelFormatARB(hdc, iAttribs, fAttribs, in WIN_GL_ChoosePixelFormatARB()
478 float fAttribs[1] = { 0 }; in WIN_GL_SetupWindowInternal() local
565 pixel_format = WIN_GL_ChoosePixelFormatARB(_this, iAttribs, fAttribs); in WIN_GL_SetupWindowInternal()
570 pixel_format = WIN_GL_ChoosePixelFormatARB(_this, iAttribs, fAttribs); in WIN_GL_SetupWindowInternal()