Home
last modified time | relevance | path

Searched refs:fEdgeFlags (Results 1 – 8 of 8) sorted by relevance

/external/skia/tests/
DGrQuadCropTest.cpp70 ASSERTF(quad.fEdgeFlags & GrQuadAAFlags::kLeft, "Expected left edge AA set"); in run_crop_axis_aligned_test()
72 ASSERTF(!(quad.fEdgeFlags & GrQuadAAFlags::kLeft), "Expected left edge AA unset"); in run_crop_axis_aligned_test()
77 ASSERTF(quad.fEdgeFlags & GrQuadAAFlags::kRight, "Expected right edge AA set"); in run_crop_axis_aligned_test()
79 ASSERTF(!(quad.fEdgeFlags & GrQuadAAFlags::kRight), "Expected right edge AA unset"); in run_crop_axis_aligned_test()
84 ASSERTF(quad.fEdgeFlags & GrQuadAAFlags::kTop, "Expected top edge AA set"); in run_crop_axis_aligned_test()
86 ASSERTF(!(quad.fEdgeFlags & GrQuadAAFlags::kTop), "Expected top edge AA unset"); in run_crop_axis_aligned_test()
91 ASSERTF(quad.fEdgeFlags & GrQuadAAFlags::kBottom, "Expected bottom edge AA set"); in run_crop_axis_aligned_test()
93 ASSERTF(!(quad.fEdgeFlags & GrQuadAAFlags::kBottom), "Expected bottom edge AA unset"); in run_crop_axis_aligned_test()
123 ASSERTF(quad.fEdgeFlags == originalQuad.fEdgeFlags, in run_crop_fully_covered_test()
143 ASSERTF(expectedFlags == quad.fEdgeFlags, in run_crop_fully_covered_test()
DTextureOpTest.cpp56 quad.fEdgeFlags = isAA ? GrQuadAAFlags::kAll : GrQuadAAFlags::kNone; in create_op()
DBulkRectTest.cpp146 quad.fEdgeFlags = set[i].fAAFlags; in textureop_creation_test()
/external/skia/src/gpu/ops/
DGrFillRectOp.cpp72 GrQuadUtils::ResolveAAType(aaType, quad->fEdgeFlags, quad->fDevice, in Make()
73 &aaType, &quad->fEdgeFlags); in Make()
93 int count = quad->fEdgeFlags != GrQuadAAFlags::kNone ? GrQuadUtils::ClipToW0(quad, &extra) in FillRectOp()
98 quad->fEdgeFlags = GrQuadAAFlags::kNone; in FillRectOp()
105 fQuads.append(quad->fDevice, {paintColor, quad->fEdgeFlags}, in FillRectOp()
108 fQuads.append(extra.fDevice, { paintColor, extra.fEdgeFlags }, in FillRectOp()
415 int count = quad->fEdgeFlags != GrQuadAAFlags::kNone ? GrQuadUtils::ClipToW0(quad, &extra) in addQuad()
425 fQuads.append(quad->fDevice, { color, quad->fEdgeFlags }, in addQuad()
428 fQuads.append(extra.fDevice, { color, extra.fEdgeFlags }, in addQuad()
507 &resolvedAA, &quad.fEdgeFlags); in MakeOp()
DGrTextureOp.cpp448 GrQuadUtils::ResolveAAType(aaType, quad->fEdgeFlags, quad->fDevice, in TextureOp()
449 &aaType, &quad->fEdgeFlags); in TextureOp()
578 &aaForQuad, &quad.fEdgeFlags); in TextureOp()
629 int quadCount = quad->fEdgeFlags != GrQuadAAFlags::kNone in appendQuad()
635 quad->fEdgeFlags = GrQuadAAFlags::kNone; in appendQuad()
638 fQuads.append(quad->fDevice, {color, subset, quad->fEdgeFlags}, &quad->fLocal); in appendQuad()
640 fQuads.append(extra.fDevice, {color, subset, extra.fEdgeFlags}, &extra.fLocal); in appendQuad()
1278 quad.fEdgeFlags = set[i].fAAFlags; in AddTextureSetOps()
/external/skia/src/gpu/geometry/
DGrQuad.h171 GrQuadAAFlags fEdgeFlags; member
DGrQuadUtils.cpp506 extraVertices->fEdgeFlags = quad->fEdgeFlags & ~v2EdgeFlag; in ClipToW0()
531 quad->fEdgeFlags &= ~v1EdgeFlag; in ClipToW0()
569 quad->fEdgeFlags |= clippedEdges; in CropToRect()
572 quad->fEdgeFlags &= ~clippedEdges; in CropToRect()
629 quad->fEdgeFlags = cropAA == GrAA::kYes ? GrQuadAAFlags::kAll : GrQuadAAFlags::kNone; in CropToRect()
/external/skia/src/gpu/
DGrSurfaceDrawContext.cpp508 GrQuadAAFlags oldFlags = quad->fEdgeFlags; in attemptQuadOptimization()
585 quad->fEdgeFlags != GrQuadAAFlags::kNone) { in attemptQuadOptimization()
615 quad->fEdgeFlags = oldFlags; in attemptQuadOptimization()