Searched defs:aaType (Results 1 - 21 of 21) sorted by relevance

/external/skia/src/gpu/ops/
H A DGrDrawAtlasOp.h24 GrAAType aaType, int spriteCount, const SkRSXform* xforms,
26 return Helper::FactoryHelper<GrDrawAtlasOp>(std::move(paint), viewMatrix, aaType,
23 Make(GrPaint&& paint, const SkMatrix& viewMatrix, GrAAType aaType, int spriteCount, const SkRSXform* xforms, const SkRect* rects, const SkColor* colors) argument
H A DGrSimpleMeshDrawOpHelper.cpp14 GrSimpleMeshDrawOpHelper::GrSimpleMeshDrawOpHelper(const MakeArgs& args, GrAAType aaType, argument
18 , fAAType((int)aaType)
23 if (GrAATypeIsHW(aaType)) {
38 return GrAATypeIsHW((this->aaType())) ? GrDrawOp::FixedFunctionFlags::kUsesHWAA
77 bool isMixedSamples = this->aaType() == GrAAType::kMixedSamples;
106 switch (this->aaType()) {
138 const MakeArgs& args, GrAAType aaType, const GrUserStencilSettings* stencilSettings,
140 : INHERITED(args, aaType, flags)
137 GrSimpleMeshDrawOpHelperWithStencil( const MakeArgs& args, GrAAType aaType, const GrUserStencilSettings* stencilSettings, Flags flags) argument
H A DGrSimpleMeshDrawOpHelper.h102 GrAAType aaType() const { return static_cast<GrAAType>(fAAType); } function in class:GrSimpleMeshDrawOpHelper
H A DGrNonAAStrokeRectOp.cpp73 GrAAType aaType) {
81 if (stroke.getStyle() == SkStrokeRec::kHairline_Style && aaType != GrAAType::kMSAA) {
85 stroke, aaType);
90 GrAAType aaType)
91 : INHERITED(ClassID()), fHelper(helperArgs, aaType, flags) {
207 GrAAType aaType) {
208 return NonAAStrokeRectOp::Make(std::move(paint), viewMatrix, rect, stroke, aaType);
223 GrAAType aaType = GrAAType::kNone; local
225 aaType = random->nextBool() ? GrAAType::kMSAA : GrAAType::kNone;
227 return NonAAStrokeRectOp::Make(std::move(paint), viewMatrix, rect, strokeRec, aaType);
71 Make(GrPaint&& paint, const SkMatrix& viewMatrix, const SkRect& rect, const SkStrokeRec& stroke, GrAAType aaType) argument
88 NonAAStrokeRectOp(const Helper::MakeArgs& helperArgs, GrColor color, Helper::Flags flags, const SkMatrix& viewMatrix, const SkRect& rect, const SkStrokeRec& stroke, GrAAType aaType) argument
203 MakeNonAAStroke(GrPaint&& paint, const SkMatrix& viewMatrix, const SkRect& rect, const SkStrokeRec& stroke, GrAAType aaType) argument
[all...]
H A DGrDrawAtlasOp.cpp29 const SkMatrix& viewMatrix, GrAAType aaType, int spriteCount,
31 : INHERITED(ClassID()), fHelper(helperArgs, aaType), fColor(color) {
250 GrAAType aaType = GrAAType::kNone; local
252 aaType = GrAAType::kMSAA;
255 return GrDrawAtlasOp::Make(std::move(paint), viewMatrix, aaType, spriteCount, xforms.begin(),
28 GrDrawAtlasOp(const Helper::MakeArgs& helperArgs, GrColor color, const SkMatrix& viewMatrix, GrAAType aaType, int spriteCount, const SkRSXform* xforms, const SkRect* rects, const SkColor* colors) argument
H A DGrDrawPathOp.cpp15 GrPathRendering::FillType fill, GrAAType aaType)
20 , fAAType(aaType)
95 GrAAType aaType, GrPathRange* range,
97 : INHERITED(ClassID(), viewMatrix, std::move(paint), fill, aaType)
14 GrDrawPathOpBase(uint32_t classID, const SkMatrix& viewMatrix, GrPaint&& paint, GrPathRendering::FillType fill, GrAAType aaType) argument
93 GrDrawPathRangeOp(const SkMatrix& viewMatrix, SkScalar scale, SkScalar x, SkScalar y, GrPaint&& paint, GrPathRendering::FillType fill, GrAAType aaType, GrPathRange* range, const InstanceData* instanceData, const SkRect& bounds) argument
H A DGrDrawPathOp.h76 GrAAType aaType, GrPath* path) {
78 new GrDrawPathOp(viewMatrix, std::move(paint), aaType, path));
86 GrDrawPathOp(const SkMatrix& viewMatrix, GrPaint&& paint, GrAAType aaType, const GrPath* path) argument
87 : GrDrawPathOpBase(ClassID(), viewMatrix, std::move(paint), path->getFillType(), aaType)
169 GrPathRendering::FillType fill, GrAAType aaType,
173 std::move(paint), fill, aaType,
183 GrPaint&& paint, GrPathRendering::FillType fill, GrAAType aaType,
75 Make(const SkMatrix& viewMatrix, GrPaint&& paint, GrAAType aaType, GrPath* path) argument
H A DGrNonAAFillRectOp.cpp109 const SkMatrix* localMatrix, GrAAType aaType,
111 SkASSERT(GrAAType::kCoverage != aaType);
113 localMatrix, aaType, stencilSettings);
120 GrAAType aaType, const GrUserStencilSettings* stencilSettings)
121 : INHERITED(ClassID()), fHelper(args, aaType, stencilSettings) {
227 const SkMatrix* localMatrix, GrAAType aaType,
229 SkASSERT(GrAAType::kCoverage != aaType);
231 localRect, localMatrix, aaType,
240 GrAAType aaType, const GrUserStencilSettings* stencilSettings)
242 , fHelper(args, aaType, stencilSetting
107 Make(GrPaint&& paint, const SkMatrix& viewMatrix, const SkRect& rect, const SkRect* localRect, const SkMatrix* localMatrix, GrAAType aaType, const GrUserStencilSettings* stencilSettings) argument
118 NonAAFillRectOp(const Helper::MakeArgs& args, GrColor color, const SkMatrix& viewMatrix, const SkRect& rect, const SkRect* localRect, const SkMatrix* localMatrix, GrAAType aaType, const GrUserStencilSettings* stencilSettings) argument
225 Make(GrPaint&& paint, const SkMatrix& viewMatrix, const SkRect& rect, const SkRect* localRect, const SkMatrix* localMatrix, GrAAType aaType, const GrUserStencilSettings* stencilSettings) argument
237 NonAAFillRectPerspectiveOp(const Helper::MakeArgs& args, GrColor color, const SkMatrix& viewMatrix, const SkRect& rect, const SkRect* localRect, const SkMatrix* localMatrix, GrAAType aaType, const GrUserStencilSettings* stencilSettings) argument
366 MakeNonAAFill(GrPaint&& paint, const SkMatrix& viewMatrix, const SkRect& rect, GrAAType aaType, const GrUserStencilSettings* stencilSettings) argument
378 MakeNonAAFillWithLocalMatrix( GrPaint&& paint, const SkMatrix& viewMatrix, const SkMatrix& localMatrix, const SkRect& rect, GrAAType aaType, const GrUserStencilSettings* stencilSettings) argument
390 MakeNonAAFillWithLocalRect(GrPaint&& paint, const SkMatrix& viewMatrix, const SkRect& rect, const SkRect& localRect, GrAAType aaType) argument
414 GrAAType aaType = GrAAType::kNone; local
[all...]
H A DGrRegionOp.cpp61 const SkRegion& region, GrAAType aaType) {
62 return Helper::FactoryHelper<RegionOp>(std::move(paint), viewMatrix, region, aaType);
66 const SkRegion& region, GrAAType aaType)
67 : INHERITED(ClassID()), fHelper(helperArgs, aaType), fViewMatrix(viewMatrix) {
168 GrAAType aaType) {
169 if (aaType != GrAAType::kNone && aaType != GrAAType::kMSAA) {
172 return RegionOp::Make(std::move(paint), viewMatrix, region, aaType);
199 GrAAType aaType = GrAAType::kNone; local
201 aaType
60 Make(GrPaint&& paint, const SkMatrix& viewMatrix, const SkRegion& region, GrAAType aaType) argument
65 RegionOp(const Helper::MakeArgs& helperArgs, GrColor color, const SkMatrix& viewMatrix, const SkRegion& region, GrAAType aaType) argument
167 Make(GrPaint&& paint, const SkMatrix& viewMatrix, const SkRegion& region, GrAAType aaType) argument
[all...]
H A DGrDrawVerticesOp.cpp16 GrAAType aaType,
24 aaType, gammaCorrect, std::move(colorSpaceXform),
30 GrAAType aaType, bool gammaCorrect,
34 , fHelper(helperArgs, aaType)
416 GrAAType aaType = GrAAType::kNone; local
418 aaType = GrAAType::kMSAA;
420 return GrDrawVerticesOp::Make(std::move(paint), std::move(vertices), viewMatrix, aaType,
13 Make(GrPaint&& paint, sk_sp<SkVertices> vertices, const SkMatrix& viewMatrix, GrAAType aaType, bool gammaCorrect, sk_sp<GrColorSpaceXform> colorSpaceXform, GrPrimitiveType* overridePrimType) argument
28 GrDrawVerticesOp(const Helper::MakeArgs& helperArgs, GrColor color, sk_sp<SkVertices> vertices, GrPrimitiveType primitiveType, GrAAType aaType, bool gammaCorrect, sk_sp<GrColorSpaceXform> colorSpaceXform, const SkMatrix& viewMatrix) argument
H A DGrTessellatingPathRenderer.cpp171 GrAAType aaType,
174 devClipBounds, aaType, stencilSettings);
192 GrAAType aaType,
195 , fHelper(helperArgs, aaType, stencilSettings)
200 , fAntiAlias(GrAAType::kCoverage == aaType) {
387 GrAAType aaType; local
389 aaType = kAATypes[random->nextULessThan(SK_ARRAY_COUNT(kAATypes))];
390 } while(GrAAType::kMSAA == aaType && GrFSAAType::kUnifiedMSAA != fsaaType);
396 return TessellatingPathOp::Make(std::move(paint), shape, viewMatrix, devClipBounds, aaType,
167 Make(GrPaint&& paint, const GrShape& shape, const SkMatrix& viewMatrix, SkIRect devClipBounds, GrAAType aaType, const GrUserStencilSettings* stencilSettings) argument
187 TessellatingPathOp(Helper::MakeArgs helperArgs, GrColor color, const GrShape& shape, const SkMatrix& viewMatrix, const SkIRect& devClipBounds, GrAAType aaType, const GrUserStencilSettings* stencilSettings) argument
H A DGrDefaultPathRenderer.cpp337 bool isHairline, GrAAType aaType, const SkRect& devBounds,
340 viewMatrix, isHairline, aaType, devBounds,
359 GrAAType aaType, const SkRect& devBounds,
362 , fHelper(helperArgs, aaType, stencilSettings)
474 GrAAType aaType,
480 SkASSERT(GrAAType::kCoverage != aaType);
593 std::move(paint), viewM, localMatrix, bounds, aaType, passes[p]));
602 viewMatrix, isHairline, aaType, devBounds, passes[p]);
665 GrAAType aaType = GrAAType::kNone; local
667 aaType
335 Make(GrPaint&& paint, const SkPath& path, SkScalar tolerance, uint8_t coverage, const SkMatrix& viewMatrix, bool isHairline, GrAAType aaType, const SkRect& devBounds, const GrUserStencilSettings* stencilSettings) argument
357 DefaultPathOp(const Helper::MakeArgs& helperArgs, GrColor color, const SkPath& path, SkScalar tolerance, uint8_t coverage, const SkMatrix& viewMatrix, bool isHairline, GrAAType aaType, const SkRect& devBounds, const GrUserStencilSettings* stencilSettings) argument
472 internalDrawPath(GrRenderTargetContext* renderTargetContext, GrPaint&& paint, GrAAType aaType, const GrUserStencilSettings& userStencilSettings, const GrClip& clip, const SkMatrix& viewMatrix, const GrShape& shape, bool stencilOnly) argument
[all...]
H A DGrMSAAPathRenderer.cpp225 static std::unique_ptr<GrDrawOp> Make(GrPaint&& paint, const SkPath& path, GrAAType aaType, argument
239 return Helper::FactoryHelper<MSAAPathOp>(std::move(paint), path, aaType, viewMatrix,
258 GrAAType aaType, const SkMatrix& viewMatrix, const SkRect& devBounds,
262 , fHelper(helperArgs, aaType, stencilSettings)
587 GrAAType aaType,
646 std::unique_ptr<GrDrawOp> op = MSAAPathOp::Make(std::move(firstPassPaint), path, aaType,
677 bounds, aaType, passes[1]));
257 MSAAPathOp(const Helper::MakeArgs& helperArgs, GrColor color, const SkPath& path, GrAAType aaType, const SkMatrix& viewMatrix, const SkRect& devBounds, int maxLineVertices, int maxQuadVertices, bool isIndexed, const GrUserStencilSettings* stencilSettings) argument
585 internalDrawPath(GrRenderTargetContext* renderTargetContext, GrPaint&& paint, GrAAType aaType, const GrUserStencilSettings& userStencilSettings, const GrClip& clip, const SkMatrix& viewMatrix, const GrShape& shape, bool stencilOnly) argument
/external/skia/tests/
H A DTessellatingPathRendererTests.cpp364 GrAAType aaType = GrAAType::kNone,
384 aaType, local
/external/skia/src/gpu/instanced/
H A DInstancedOp.cpp126 if (GrAAType::kCoverage == fInfo.aaType() ||
127 (GrAAType::kNone == fInfo.aaType() && !fInfo.isSimpleRects() && fInfo.fCannotDiscard)) {
131 isMixedSamples = GrAAType::kMixedSamples == fInfo.aaType();
143 draw.fGeometry = InstanceProcessor::GetIndexRangeForRect(fInfo.aaType());
145 draw.fGeometry = InstanceProcessor::GetIndexRangeForOval(fInfo.aaType(), this->bounds());
147 draw.fGeometry = InstanceProcessor::GetIndexRangeForRRect(fInfo.aaType());
234 args.fFlags = GrAATypeIsHW(fInfo.aaType()) ? GrPipeline::kHWAntialias_Flag : 0;
350 GrAAType aaType; local
351 if (!this->selectAntialiasMode(viewMatrix, aa, info, &aaType)) {
357 op->fInfo.setAAType(aaType);
436 selectAntialiasMode(const SkMatrix& viewMatrix, GrAA aa, const GrInstancedPipelineInfo& info, GrAAType* aaType) argument
[all...]
H A DInstancedRenderingTypes.h128 GrAAType aaType() const { return static_cast<GrAAType>(fAAType); } function in struct:gr_instanced::OpInfo
129 void setAAType(GrAAType aaType) { fAAType = static_cast<uint8_t>(aaType); } argument
H A DInstanceProcessor.cpp69 if (GrAATypeIsHW(fOpInfo.aaType())) {
70 if (!fOpInfo.isSimpleRects() || GrAAType::kMixedSamples == fOpInfo.aaType()) {
1078 bool isMixedSampled() const { return GrAAType::kMixedSamples == fOpInfo.aaType(); }
1675 switch (opInfo.aaType()) {
2029 IndexRange InstanceProcessor::GetIndexRangeForRect(GrAAType aaType) { argument
2030 switch (aaType) {
2042 IndexRange InstanceProcessor::GetIndexRangeForOval(GrAAType aaType, const SkRect& devBounds) { argument
2043 if (GrAAType::kCoverage == aaType && devBounds.height() * devBounds.width() >= 256 * 256) {
2048 switch (aaType) {
2061 IndexRange InstanceProcessor::GetIndexRangeForRRect(GrAAType aaType) { argument
[all...]
/external/pdfium/fpdfsdk/
H A Dfpdfformfill.cpp693 int aaType) {
705 if (aa.ActionExist((CPDF_AAction::AActionType)aaType)) {
706 CPDF_Action action = aa.GetAction((CPDF_AAction::AActionType)aaType);
709 pActionHandler->DoAction_Document(action, (CPDF_AAction::AActionType)aaType,
716 int aaType) {
736 if (FPDFPAGE_AACTION_OPEN == aaType) {
692 FORM_DoDocumentAAction(FPDF_FORMHANDLE hHandle, int aaType) argument
714 FORM_DoPageAAction(FPDF_PAGE page, FPDF_FORMHANDLE hHandle, int aaType) argument
/external/skia/src/gpu/
H A DGrReducedClip.cpp717 GrAAType aaType = GrAAType::kNone; local
719 aaType = GrAAType::kMSAA;
747 canDrawArgs.fAAType = aaType;
781 aaType, SkMatrix::I(), element->getRect());
796 aaType, local
805 args.fAAType = aaType;
818 renderTargetContext->priv().stencilRect(stencilClip, *pass, aaType,
831 aaType, local
838 renderTargetContext->priv().stencilRect(stencilClip, *pass, aaType, SkMatrix::I(),
H A DGrRenderTargetContext.cpp469 GrAAType aaType = this->chooseAAType(aa, GrAllowMixedSamples::kNo); local
471 if (GrAAType::kCoverage == aaType) {
474 op = GrRectOpFactory::MakeNonAAFill(std::move(paint), viewMatrix, croppedRect, aaType, ss);
572 GrAAType aaType = this->chooseAAType(aa, GrAllowMixedSamples::kNo); local
573 if (GrAAType::kCoverage == aaType) {
580 aaType);
619 GrAAType aaType,
628 SkASSERT(aaType != GrAAType::kCoverage);
630 bool useHWAA = GrAATypeIsHW(aaType);
677 GrAAType aaType,
618 stencilPath(const GrClip& clip, GrAAType aaType, const SkMatrix& viewMatrix, const GrPath* path) argument
675 stencilRect(const GrClip& clip, const GrUserStencilSettings* ss, GrAAType aaType, const SkMatrix& viewMatrix, const SkRect& rect) argument
753 GrAAType aaType = this->chooseAAType(aa, GrAllowMixedSamples::kNo); local
809 GrAAType aaType = this->chooseAAType(aa, GrAllowMixedSamples::kNo); local
851 GrAAType aaType = this->chooseAAType(GrAA::kNo, GrAllowMixedSamples::kNo); local
874 GrAAType aaType = this->chooseAAType(GrAA::kNo, GrAllowMixedSamples::kNo); local
925 GrAAType aaType = this->chooseAAType(aa, GrAllowMixedSamples::kNo); local
1192 GrAAType aaType = this->chooseAAType(aa, GrAllowMixedSamples::kNo); local
1305 GrAAType aaType = this->chooseAAType(GrAA::kNo, GrAllowMixedSamples::kNo); local
1341 GrAAType aaType = this->chooseAAType(aa, GrAllowMixedSamples::kNo); local
1374 GrAAType aaType = this->chooseAAType(aa, GrAllowMixedSamples::kNo); local
1535 GrAAType aaType = this->chooseAAType(aa, GrAllowMixedSamples::kNo); local
1599 GrAAType aaType = fRenderTargetContext->chooseAAType(aa, GrAllowMixedSamples::kNo); local
1628 aaType, local
1663 GrAAType aaType = this->chooseAAType(aa, allowMixedSamples); local
1725 aaType, local
[all...]
/external/skia/src/gpu/text/
H A DGrStencilAndCoverTextContext.cpp608 GrAAType aaType = GrChooseAAType(this->aa(), renderTargetContext->fsaaType(), local
613 std::move(grPaint), GrPathRendering::kWinding_FillType, aaType, glyphs.get(),

Completed in 316 milliseconds