Home
last modified time | relevance | path

Searched refs:aaType (Results 1 – 23 of 23) sorted by relevance

/external/skia/src/gpu/ops/
DGrNonAAFillRectOp.cpp109 const SkMatrix* localMatrix, GrAAType aaType, in Make() argument
111 SkASSERT(GrAAType::kCoverage != aaType); in Make()
113 localMatrix, aaType, stencilSettings); in Make()
120 GrAAType aaType, const GrUserStencilSettings* stencilSettings) in NonAAFillRectOp() argument
121 : INHERITED(ClassID()), fHelper(args, aaType, stencilSettings) { in NonAAFillRectOp()
227 const SkMatrix* localMatrix, GrAAType aaType, in Make() argument
229 SkASSERT(GrAAType::kCoverage != aaType); in Make()
231 localRect, localMatrix, aaType, in Make()
240 GrAAType aaType, const GrUserStencilSettings* stencilSettings) in NonAAFillRectPerspectiveOp() argument
242 , fHelper(args, aaType, stencilSettings) in NonAAFillRectPerspectiveOp()
[all …]
DGrRegionOp.cpp61 const SkRegion& region, GrAAType aaType) { in Make() argument
62 return Helper::FactoryHelper<RegionOp>(std::move(paint), viewMatrix, region, aaType); in Make()
66 const SkRegion& region, GrAAType aaType) in RegionOp() argument
67 : INHERITED(ClassID()), fHelper(helperArgs, aaType), fViewMatrix(viewMatrix) { in RegionOp()
168 GrAAType aaType) { in Make() argument
169 if (aaType != GrAAType::kNone && aaType != GrAAType::kMSAA) { in Make()
172 return RegionOp::Make(std::move(paint), viewMatrix, region, aaType); in Make()
199 GrAAType aaType = GrAAType::kNone; in GR_DRAW_OP_TEST_DEFINE() local
201 aaType = GrAAType::kMSAA; in GR_DRAW_OP_TEST_DEFINE()
203 return RegionOp::Make(std::move(paint), viewMatrix, region, aaType); in GR_DRAW_OP_TEST_DEFINE()
DGrSimpleMeshDrawOpHelper.cpp14 GrSimpleMeshDrawOpHelper::GrSimpleMeshDrawOpHelper(const MakeArgs& args, GrAAType aaType, in GrSimpleMeshDrawOpHelper() argument
18 , fAAType((int)aaType) in GrSimpleMeshDrawOpHelper()
23 if (GrAATypeIsHW(aaType)) { in GrSimpleMeshDrawOpHelper()
38 return GrAATypeIsHW((this->aaType())) ? GrDrawOp::FixedFunctionFlags::kUsesHWAA in fixedFunctionFlags()
77 bool isMixedSamples = this->aaType() == GrAAType::kMixedSamples; in xpRequiresDstTexture()
106 switch (this->aaType()) { in dumpInfo()
138 const MakeArgs& args, GrAAType aaType, const GrUserStencilSettings* stencilSettings, in GrSimpleMeshDrawOpHelperWithStencil() argument
140 : INHERITED(args, aaType, flags) in GrSimpleMeshDrawOpHelperWithStencil()
DGrNonAAStrokeRectOp.cpp73 GrAAType aaType) { in Make() argument
81 if (stroke.getStyle() == SkStrokeRec::kHairline_Style && aaType != GrAAType::kMSAA) { in Make()
85 stroke, aaType); in Make()
90 GrAAType aaType) in NonAAStrokeRectOp() argument
91 : INHERITED(ClassID()), fHelper(helperArgs, aaType, flags) { in NonAAStrokeRectOp()
207 GrAAType aaType) { in MakeNonAAStroke() argument
208 return NonAAStrokeRectOp::Make(std::move(paint), viewMatrix, rect, stroke, aaType); in MakeNonAAStroke()
223 GrAAType aaType = GrAAType::kNone; in GR_DRAW_OP_TEST_DEFINE() local
225 aaType = random->nextBool() ? GrAAType::kMSAA : GrAAType::kNone; in GR_DRAW_OP_TEST_DEFINE()
227 return NonAAStrokeRectOp::Make(std::move(paint), viewMatrix, rect, strokeRec, aaType); in GR_DRAW_OP_TEST_DEFINE()
DGrDrawPathOp.h76 GrAAType aaType, GrPath* path) { in Make() argument
78 new GrDrawPathOp(viewMatrix, std::move(paint), aaType, path)); in Make()
86 GrDrawPathOp(const SkMatrix& viewMatrix, GrPaint&& paint, GrAAType aaType, const GrPath* path) in GrDrawPathOp() argument
87 : GrDrawPathOpBase(ClassID(), viewMatrix, std::move(paint), path->getFillType(), aaType) in GrDrawPathOp()
169 GrPathRendering::FillType fill, GrAAType aaType, in Make() argument
173 std::move(paint), fill, aaType, in Make()
183 GrPaint&& paint, GrPathRendering::FillType fill, GrAAType aaType,
DGrTessellatingPathRenderer.cpp171 GrAAType aaType, in Make() argument
174 devClipBounds, aaType, stencilSettings); in Make()
192 GrAAType aaType, in TessellatingPathOp() argument
195 , fHelper(helperArgs, aaType, stencilSettings) in TessellatingPathOp()
200 , fAntiAlias(GrAAType::kCoverage == aaType) { in TessellatingPathOp()
387 GrAAType aaType; in GR_DRAW_OP_TEST_DEFINE() local
389 aaType = kAATypes[random->nextULessThan(SK_ARRAY_COUNT(kAATypes))]; in GR_DRAW_OP_TEST_DEFINE()
390 } while(GrAAType::kMSAA == aaType && GrFSAAType::kUnifiedMSAA != fsaaType); in GR_DRAW_OP_TEST_DEFINE()
396 return TessellatingPathOp::Make(std::move(paint), shape, viewMatrix, devClipBounds, aaType, in GR_DRAW_OP_TEST_DEFINE()
DGrDefaultPathRenderer.cpp337 bool isHairline, GrAAType aaType, const SkRect& devBounds, in Make() argument
340 viewMatrix, isHairline, aaType, devBounds, in Make()
359 GrAAType aaType, const SkRect& devBounds, in DefaultPathOp() argument
362 , fHelper(helperArgs, aaType, stencilSettings) in DefaultPathOp()
474 GrAAType aaType, in internalDrawPath() argument
480 SkASSERT(GrAAType::kCoverage != aaType); in internalDrawPath()
593 std::move(paint), viewM, localMatrix, bounds, aaType, passes[p])); in internalDrawPath()
602 viewMatrix, isHairline, aaType, devBounds, passes[p]); in internalDrawPath()
665 GrAAType aaType = GrAAType::kNone; in GR_DRAW_OP_TEST_DEFINE() local
667 aaType = GrAAType::kMSAA; in GR_DRAW_OP_TEST_DEFINE()
[all …]
DGrDrawAtlasOp.cpp29 const SkMatrix& viewMatrix, GrAAType aaType, int spriteCount, in GrDrawAtlasOp() argument
31 : INHERITED(ClassID()), fHelper(helperArgs, aaType), fColor(color) { in GrDrawAtlasOp()
250 GrAAType aaType = GrAAType::kNone; in GR_DRAW_OP_TEST_DEFINE() local
252 aaType = GrAAType::kMSAA; in GR_DRAW_OP_TEST_DEFINE()
255 return GrDrawAtlasOp::Make(std::move(paint), viewMatrix, aaType, spriteCount, xforms.begin(), in GR_DRAW_OP_TEST_DEFINE()
DGrDrawVerticesOp.cpp16 GrAAType aaType, in Make() argument
24 aaType, gammaCorrect, std::move(colorSpaceXform), in Make()
30 GrAAType aaType, bool gammaCorrect, in GrDrawVerticesOp() argument
34 , fHelper(helperArgs, aaType) in GrDrawVerticesOp()
416 GrAAType aaType = GrAAType::kNone; in GR_DRAW_OP_TEST_DEFINE() local
418 aaType = GrAAType::kMSAA; in GR_DRAW_OP_TEST_DEFINE()
420 return GrDrawVerticesOp::Make(std::move(paint), std::move(vertices), viewMatrix, aaType, in GR_DRAW_OP_TEST_DEFINE()
DGrDrawAtlasOp.h24 GrAAType aaType, int spriteCount, const SkRSXform* xforms, in Make() argument
26 return Helper::FactoryHelper<GrDrawAtlasOp>(std::move(paint), viewMatrix, aaType, in Make()
DGrDrawPathOp.cpp15 GrPathRendering::FillType fill, GrAAType aaType) in GrDrawPathOpBase() argument
20 , fAAType(aaType) in GrDrawPathOpBase()
95 GrAAType aaType, GrPathRange* range, in GrDrawPathRangeOp() argument
97 : INHERITED(ClassID(), viewMatrix, std::move(paint), fill, aaType) in GrDrawPathRangeOp()
DGrMSAAPathRenderer.cpp225 static std::unique_ptr<GrDrawOp> Make(GrPaint&& paint, const SkPath& path, GrAAType aaType, in Make() argument
239 return Helper::FactoryHelper<MSAAPathOp>(std::move(paint), path, aaType, viewMatrix, in Make()
258 GrAAType aaType, const SkMatrix& viewMatrix, const SkRect& devBounds, in MSAAPathOp() argument
262 , fHelper(helperArgs, aaType, stencilSettings) in MSAAPathOp()
587 GrAAType aaType, in internalDrawPath() argument
646 std::unique_ptr<GrDrawOp> op = MSAAPathOp::Make(std::move(firstPassPaint), path, aaType, in internalDrawPath()
677 bounds, aaType, passes[1])); in internalDrawPath()
DGrSimpleMeshDrawOpHelper.h102 GrAAType aaType() const { return static_cast<GrAAType>(fAAType); } in aaType() function
/external/skia/src/gpu/instanced/
DInstancedOp.cpp126 if (GrAAType::kCoverage == fInfo.aaType() || in finalize()
127 (GrAAType::kNone == fInfo.aaType() && !fInfo.isSimpleRects() && fInfo.fCannotDiscard)) { in finalize()
131 isMixedSamples = GrAAType::kMixedSamples == fInfo.aaType(); in finalize()
143 draw.fGeometry = InstanceProcessor::GetIndexRangeForRect(fInfo.aaType()); in finalize()
145 draw.fGeometry = InstanceProcessor::GetIndexRangeForOval(fInfo.aaType(), this->bounds()); in finalize()
147 draw.fGeometry = InstanceProcessor::GetIndexRangeForRRect(fInfo.aaType()); in finalize()
234 args.fFlags = GrAATypeIsHW(fInfo.aaType()) ? GrPipeline::kHWAntialias_Flag : 0; in onExecute()
350 GrAAType aaType; in recordShape() local
351 if (!this->selectAntialiasMode(viewMatrix, aa, info, &aaType)) { in recordShape()
357 op->fInfo.setAAType(aaType); in recordShape()
[all …]
DInstancedRenderingTypes.h128 GrAAType aaType() const { return static_cast<GrAAType>(fAAType); } in aaType() function
129 void setAAType(GrAAType aaType) { fAAType = static_cast<uint8_t>(aaType); } in setAAType()
DInstanceProcessor.cpp69 if (GrAATypeIsHW(fOpInfo.aaType())) { in InstanceProcessor()
70 if (!fOpInfo.isSimpleRects() || GrAAType::kMixedSamples == fOpInfo.aaType()) { in InstanceProcessor()
1078 bool isMixedSampled() const { return GrAAType::kMixedSamples == fOpInfo.aaType(); } in isMixedSampled()
1675 switch (opInfo.aaType()) { in Create()
2029 IndexRange InstanceProcessor::GetIndexRangeForRect(GrAAType aaType) { in GetIndexRangeForRect() argument
2030 switch (aaType) { in GetIndexRangeForRect()
2042 IndexRange InstanceProcessor::GetIndexRangeForOval(GrAAType aaType, const SkRect& devBounds) { in GetIndexRangeForOval() argument
2043 if (GrAAType::kCoverage == aaType && devBounds.height() * devBounds.width() >= 256 * 256) { in GetIndexRangeForOval()
2048 switch (aaType) { in GetIndexRangeForOval()
2061 IndexRange InstanceProcessor::GetIndexRangeForRRect(GrAAType aaType) { in GetIndexRangeForRRect() argument
[all …]
DInstancedOp.h64 return GrAATypeIsHW(fInfo.aaType()) ? FixedFunctionFlags::kUsesHWAA in fixedFunctionFlags()
/external/skia/src/gpu/
DGrRenderTargetContext.cpp469 GrAAType aaType = this->chooseAAType(aa, GrAllowMixedSamples::kNo); in drawFilledRect() local
471 if (GrAAType::kCoverage == aaType) { in drawFilledRect()
474 op = GrRectOpFactory::MakeNonAAFill(std::move(paint), viewMatrix, croppedRect, aaType, ss); in drawFilledRect()
572 GrAAType aaType = this->chooseAAType(aa, GrAllowMixedSamples::kNo); in drawRect() local
573 if (GrAAType::kCoverage == aaType) { in drawRect()
580 aaType); in drawRect()
619 GrAAType aaType, in stencilPath() argument
628 SkASSERT(aaType != GrAAType::kCoverage); in stencilPath()
630 bool useHWAA = GrAATypeIsHW(aaType); in stencilPath()
677 GrAAType aaType, in stencilRect() argument
[all …]
DGrReducedClip.cpp717 GrAAType aaType = GrAAType::kNone; in drawStencilClipMask() local
719 aaType = GrAAType::kMSAA; in drawStencilClipMask()
747 canDrawArgs.fAAType = aaType; in drawStencilClipMask()
781 aaType, SkMatrix::I(), element->getRect()); in drawStencilClipMask()
796 aaType, in drawStencilClipMask()
805 args.fAAType = aaType; in drawStencilClipMask()
818 renderTargetContext->priv().stencilRect(stencilClip, *pass, aaType, in drawStencilClipMask()
831 aaType, in drawStencilClipMask()
838 renderTargetContext->priv().stencilRect(stencilClip, *pass, aaType, SkMatrix::I(), in drawStencilClipMask()
/external/pdfium/fpdfsdk/
Dfpdfformfill.cpp693 int aaType) { in FORM_DoDocumentAAction() argument
705 if (aa.ActionExist((CPDF_AAction::AActionType)aaType)) { in FORM_DoDocumentAAction()
706 CPDF_Action action = aa.GetAction((CPDF_AAction::AActionType)aaType); in FORM_DoDocumentAAction()
709 pActionHandler->DoAction_Document(action, (CPDF_AAction::AActionType)aaType, in FORM_DoDocumentAAction()
716 int aaType) { in FORM_DoPageAAction() argument
736 if (FPDFPAGE_AACTION_OPEN == aaType) { in FORM_DoPageAAction()
/external/pdfium/public/
Dfpdf_formfill.h1191 int aaType);
1218 int aaType);
/external/skia/tests/
DTessellatingPathRendererTests.cpp364 GrAAType aaType = GrAAType::kNone, in test_path() argument
384 aaType, in test_path()
/external/skia/src/gpu/text/
DGrStencilAndCoverTextContext.cpp608 GrAAType aaType = GrChooseAAType(this->aa(), renderTargetContext->fsaaType(), in draw() local
613 std::move(grPaint), GrPathRendering::kWinding_FillType, aaType, glyphs.get(), in draw()