Home
last modified time | relevance | path

Searched refs:InputFlags (Results 1 – 25 of 39) sorted by relevance

12

/third_party/skia/src/gpu/
DGrPipeline.h41 enum class InputFlags : uint8_t { enum
61 InputFlags fInputFlags = InputFlags::kNone;
75 InputFlags flags = InputFlags::kNone)
84 InputFlags = InputFlags::kNone);
167 bool usesConservativeRaster() const { return fFlags & InputFlags::kConservativeRaster; } in usesConservativeRaster()
168 bool isWireframe() const { return fFlags & InputFlags::kWireframe; } in isWireframe()
170 return fFlags & InputFlags::kSnapVerticesToPixelCenters; in snapVerticesToPixelCenters()
204 (uint8_t)InputFlags::kSnapVerticesToPixelCenters;
214 friend bool operator&(Flags, InputFlags);
231 GR_MAKE_BITFIELD_CLASS_OPS(GrPipeline::InputFlags)
[all …]
DGrPipeline.cpp67 InputFlags inputFlags) in GrPipeline()
79 InputFlags ignoredFlags = InputFlags::kSnapVerticesToPixelCenters; in genKey()
/third_party/flutter/skia/src/gpu/
DGrPipeline.h44 enum class InputFlags : uint8_t { enum
59 InputFlags fInputFlags = InputFlags::kNone;
100 InputFlags flags = InputFlags::kNone,
107 InputFlags = InputFlags::kNone,
180 bool isHWAntialiasState() const { return SkToBool(fFlags & InputFlags::kHWAntialias); } in isHWAntialiasState()
182 return SkToBool(fFlags & InputFlags::kSnapVerticesToPixelCenters); in snapVerticesToPixelCenters()
203 static constexpr uint8_t kLastInputFlag = (uint8_t)InputFlags::kSnapVerticesToPixelCenters;
217 friend bool operator&(Flags, InputFlags);
235 GR_MAKE_BITFIELD_CLASS_OPS(GrPipeline::InputFlags);
238 inline bool operator&(GrPipeline::Flags flags, GrPipeline::InputFlags inputFlag) {
DGrOpFlushState.h46 GrPipeline::InputFlags = GrPipeline::InputFlags::kNone,
DGrPipeline.cpp85 const GrSwizzle& outputSwizzle, InputFlags inputFlags, in GrPipeline()
/third_party/skia/src/gpu/ops/
DGrSimpleMeshDrawOpHelper.h40 enum class InputFlags : uint8_t { enum
42 kSnapVerticesToPixelCenters = (uint8_t)GrPipeline::InputFlags::kSnapVerticesToPixelCenters,
43 kConservativeRaster = (uint8_t)GrPipeline::InputFlags::kConservativeRaster,
45 GR_DECL_BITFIELD_CLASS_OPS_FRIENDS(InputFlags);
47 GrSimpleMeshDrawOpHelper(GrProcessorSet*, GrAAType, InputFlags = InputFlags::kNone);
120 GrPipeline::InputFlags pipelineFlags);
124 GrPipeline::InputFlags pipelineFlags);
160 GrPipeline::InputFlags pipelineFlags
161 = GrPipeline::InputFlags::kNone,
180 GrPipeline::InputFlags pipelineFlags() const { return fPipelineFlags; } in pipelineFlags()
[all …]
DGrSimpleMeshDrawOpHelper.cpp19 InputFlags inputFlags) in GrSimpleMeshDrawOpHelper()
21 , fPipelineFlags((GrPipeline::InputFlags)inputFlags) in GrSimpleMeshDrawOpHelper()
114 GrPipeline::InputFlags pipelineFlags) { in CreatePipeline()
130 GrPipeline::InputFlags pipelineFlags) { in CreatePipeline()
177 GrPipeline::InputFlags pipelineFlags, in CreateProgramInfo()
240 static void dump_pipeline_flags(GrPipeline::InputFlags flags, SkString* result) { in dump_pipeline_flags()
241 if (GrPipeline::InputFlags::kNone != flags) { in dump_pipeline_flags()
242 if (flags & GrPipeline::InputFlags::kSnapVerticesToPixelCenters) { in dump_pipeline_flags()
245 if (flags & GrPipeline::InputFlags::kWireframe) { in dump_pipeline_flags()
248 if (flags & GrPipeline::InputFlags::kConservativeRaster) { in dump_pipeline_flags()
DFillRectOp.h37 using InputFlags = GrSimpleMeshDrawOpHelper::InputFlags;
44 InputFlags = InputFlags::kNone);
DGrSimpleMeshDrawOpHelperWithStencil.h20 using InputFlags = GrSimpleMeshDrawOpHelper::InputFlags;
45 InputFlags = InputFlags::kNone);
DFillRectOp.cpp72 Helper::InputFlags inputFlags) { in Make()
84 Helper::InputFlags inputFlags) in FillRectOpImpl()
471 InputFlags inputFlags) { in Make()
483 InputFlags::kNone); in MakeNonAARect()
502 &quad, stencilSettings, InputFlags::kNone); in MakeOp()
DGrSimpleMeshDrawOpHelperWithStencil.cpp14 InputFlags inputFlags) in GrSimpleMeshDrawOpHelperWithStencil()
DStrokeRectOp.cpp115 Helper::InputFlags inputFlags = Helper::InputFlags::kNone; in Make()
120 inputFlags |= Helper::InputFlags::kSnapVerticesToPixelCenters; in Make()
128 Helper::InputFlags inputFlags, const SkMatrix& viewMatrix, const SkRect& rect, in NonAAStrokeRectOp()
144 if (inputFlags & Helper::InputFlags::kSnapVerticesToPixelCenters) { in NonAAStrokeRectOp()
DPathStencilCoverOp.cpp141 ? GrPipeline::InputFlags::kWireframe in prePreparePrograms()
142 : GrPipeline::InputFlags::kNone; in prePreparePrograms()
DPathInnerTriangulateOp.cpp238 ? GrPipeline::InputFlags::kWireframe in prePreparePrograms()
239 : GrPipeline::InputFlags::kNone; in prePreparePrograms()
/third_party/flutter/skia/src/gpu/ops/
DGrSimpleMeshDrawOpHelper.h42 enum class InputFlags : uint8_t { enum
44 kSnapVerticesToPixelCenters = (uint8_t)GrPipeline::InputFlags::kSnapVerticesToPixelCenters,
46 GR_DECL_BITFIELD_CLASS_OPS_FRIENDS(InputFlags);
48 GrSimpleMeshDrawOpHelper(const MakeArgs&, GrAAType, InputFlags = InputFlags::kNone);
129 GrPipeline::InputFlags pipelineFlags() const { return fPipelineFlags; } in pipelineFlags()
137 GrPipeline::InputFlags fPipelineFlags;
153 using InputFlags = GrSimpleMeshDrawOpHelper::InputFlags; variable
166 InputFlags = InputFlags::kNone);
226 GR_MAKE_BITFIELD_CLASS_OPS(GrSimpleMeshDrawOpHelper::InputFlags)
DGrSimpleMeshDrawOpHelper.cpp16 InputFlags inputFlags) in GrSimpleMeshDrawOpHelper()
18 , fPipelineFlags((GrPipeline::InputFlags)inputFlags) in GrSimpleMeshDrawOpHelper()
25 fPipelineFlags |= GrPipeline::InputFlags::kHWAntialias; in GrSimpleMeshDrawOpHelper()
116 static void dump_pipeline_flags(GrPipeline::InputFlags flags, SkString* result) { in dump_pipeline_flags()
117 if (GrPipeline::InputFlags::kNone != flags) { in dump_pipeline_flags()
118 if (flags & GrPipeline::InputFlags::kSnapVerticesToPixelCenters) { in dump_pipeline_flags()
121 if (flags & GrPipeline::InputFlags::kHWAntialias) { in dump_pipeline_flags()
151 InputFlags inputFlags) in GrSimpleMeshDrawOpHelperWithStencil()
DGrStrokeRectOp.cpp120 Helper::InputFlags inputFlags = Helper::InputFlags::kNone; in Make()
125 inputFlags |= Helper::InputFlags::kSnapVerticesToPixelCenters; in Make()
133 Helper::InputFlags inputFlags, const SkMatrix& viewMatrix, const SkRect& rect, in NonAAStrokeRectOp()
148 if (inputFlags & Helper::InputFlags::kSnapVerticesToPixelCenters) { in NonAAStrokeRectOp()
DGrDrawPathOp.cpp48 args.fInputFlags |= GrPipeline::InputFlags::kHWAntialias; in pipelineInitArgs()
/third_party/skia/samplecode/
DSamplePathTessellators.cpp59 GrPipeline::InputFlags pipelineFlags, Mode mode) in SamplePathTessellatorOp()
168 const GrPipeline::InputFlags fPipelineFlags;
211 GrPipeline::InputFlags fPipelineFlags = GrPipeline::InputFlags::kWireframe;
328 fPipelineFlags = (GrPipeline::InputFlags)( in onChar()
329 (int)fPipelineFlags ^ (int)GrPipeline::InputFlags::kWireframe); in onChar()
/third_party/skia/tools/gpu/
DProxyUtils.h43 GrPipeline::InputFlags flags = GrPipeline::InputFlags::kNone,
DProxyUtils.cpp106 GrPipeline::InputFlags flags, in CreateProgramInfo()
/third_party/skia/src/gpu/tessellate/shaders/
DGrPathTessellationShader.h121 GrPipeline::InputFlags = GrPipeline::InputFlags::kNone);
DGrPathTessellationShader.cpp89 GrPipeline::InputFlags pipelineFlags) { in MakeStencilOnlyPipeline()
/third_party/flutter/skia/src/gpu/ccpr/
DGrStencilAtlasOp.cpp107 flushState->drawOpArgs().fOutputSwizzle, GrPipeline::InputFlags::kHWAntialias, in onExecute()
120 constexpr auto noHWAA = GrPipeline::InputFlags::kNone; in onExecute()
/third_party/skia/gm/
Dbeziereffects.cpp103 GrPipeline::InputFlags flags = GrPipeline::InputFlags::kNone; in onCreateProgramInfo()

12