/external/skia/src/gpu/geometry/ |
D | GrQuadBuffer.h | 266 GrQuad::Type localType = localQuad ? localQuad->quadType() : GrQuad::Type::kAxisAligned; in append() 267 int entrySize = this->entrySize(deviceQuad.quadType(), localQuad ? &localType : nullptr); in append() 273 h->fDeviceType = static_cast<unsigned>(deviceQuad.quadType()); in append() 275 h->fLocalType = static_cast<unsigned>(localQuad ? localQuad->quadType() in append() 293 if (deviceQuad.quadType() > fDeviceType) { in append() 294 fDeviceType = deviceQuad.quadType(); in append() 296 if (localQuad && localQuad->quadType() > fLocalType) { in append() 297 fLocalType = localQuad->quadType(); in append()
|
D | GrQuadUtils.cpp | 228 if (quad.quadType() != GrQuad::Type::kAxisAligned) { in is_simple_rect() 374 if (quad.quadType() == GrQuad::Type::kAxisAligned && !quad.aaHasEffectOnRect()) { in ResolveAAType() 396 if (quad->fDevice.quadType() < GrQuad::Type::kPerspective) { in ClipToW0() 411 GrQuad::Type localType = quad->fLocal.quadType(); in ClipToW0() 543 if (quad->fDevice.quadType() == GrQuad::Type::kAxisAligned) { in CropToRect() 585 if (quad->fDevice.quadType() == GrQuad::Type::kPerspective) { in CropToRect() 649 GrQuad::Type quadType) { in reset() argument 651 if (quadType == GrQuad::Type::kPerspective) { in reset() 669 if (quadType <= GrQuad::Type::kRectilinear) { in reset() 855 void TessellationHelper::OutsetRequest::reset(const EdgeVectors& edgeVectors, GrQuad::Type quadType, in reset() argument [all …]
|
D | GrQuadUtils.h | 112 const skvx::Vec<4, float>& ws, GrQuad::Type quadType); 143 void reset(const EdgeVectors& edgeVectors, GrQuad::Type quadType,
|
D | GrQuad.cpp | 130 SkASSERT(this->quadType() == Type::kAxisAligned); in aaHasEffectOnRect() 136 if (this->quadType() != Type::kAxisAligned) { in asRect()
|
D | GrQuad.h | 104 Type quadType() const { return fType; } in quadType() function
|
/external/skqp/src/gpu/ops/ |
D | GrTextureOp.cpp | 203 GrQuadType quadType = GrQuadTypeForTransformedRect(viewMatrix); in TextureOp() local 208 GrResolveAATypeForQuad(aaType, aaFlags, quad, quadType, &aaType, &aaFlags); in TextureOp() 214 if (quadType == GrQuadType::kRect) { in TextureOp() 233 fQuads.push_back(quad, quadType, {color, srcRect, domain, aaFlags}); in TextureOp() 236 auto bounds = quad.bounds(quadType); in TextureOp() 256 GrQuadType quadType = GrQuadTypeForTransformedRect(viewMatrix); in TextureOp() local 257 fQuads.reserve(cnt, quadType); in TextureOp() 268 bounds.joinPossiblyEmptyRect(quad.bounds(quadType)); in TextureOp() 272 GrResolveAATypeForQuad(aaType, set[p].fAAFlags, quad, quadType, &aaForQuad, &aaFlags); in TextureOp() 279 mustFilter = quadType != GrQuadType::kRect || in TextureOp() [all …]
|
D | GrFillRectOp.cpp | 108 (uint32_t) fDeviceQuads.quadType(), (uint32_t) fLocalQuads.quadType()); in dumpInfo() 178 VertexSpec vertexSpec(fDeviceQuads.quadType(), in onPrepareDraws() 180 fLocalQuads.quadType(), fHelper.usesLocalCoords(), Domain::kNo, in onPrepareDraws() 278 SkASSERT(deviceQuad.quadType() <= fDeviceQuads.quadType()); in addQuad() 299 newBounds.joinPossiblyEmptyRect(deviceQuad.bounds(fDeviceQuads.quadType())); in addQuad() 302 fDeviceQuads.push_back(deviceQuad, fDeviceQuads.quadType(), { color, edgeAA }); in addQuad()
|
/external/skqp/src/gpu/ |
D | GrQuad.h | 90 GrQuadType quadType() const; 112 SkASSERT(this->quadType() <= type); in bounds() 141 GrQuadType quadType() const; 181 GrQuadType quadType() const { return fType; } 228 SkASSERT(quad.quadType() <= type); 241 SkASSERT(quad.quadType() <= type);
|
D | GrQuad.cpp | 60 GrQuadType GrQuad::quadType() const { in quadType() function in GrQuad 72 GrQuadType GrPerspQuad::quadType() const { in quadType() function in GrPerspQuad 187 SkASSERT(this->quadType() == GrQuadType::kRect); in aaHasEffectOnRect() 236 SkASSERT(this->quadType() == GrQuadType::kRect); in aaHasEffectOnRect()
|
/external/skqp/tests/ |
D | GrQuadListTest.cpp | 63 ASSERTF(list2D.quadType() == GrQuadType::kRect, "Unexpected quad type: %d", in TEST() 64 (uint32_t) list2D.quadType()); in TEST() 70 ASSERTF(list2D.quadType() == GrQuadType::kPerspective, in TEST() 104 ASSERTF(list2D.quadType() == GrQuadType::kRect, "Unexpected quad type: %d", in TEST() 105 (uint32_t) list2D.quadType()); in TEST() 115 ASSERTF(list2D.quadType() == GrQuadType::kPerspective, in TEST()
|
/external/skia/tests/ |
D | GrQuadBufferTest.cpp | 24 ASSERTF(expected.quadType() == actual.quadType(), "Expected type %d, got %d", in assert_quad_eq() 25 (int) expected.quadType(), (int) actual.quadType()); in assert_quad_eq() 74 SkASSERT(quad.quadType() == types[i]); in generate_quads()
|
D | GrQuadCropTest.cpp | 35 ASSERTF(quad.fDevice.quadType() == GrQuad::Type::kAxisAligned, in run_crop_axis_aligned_test() 145 ASSERTF(quad.fDevice.quadType() == GrQuad::Type::kAxisAligned, "Unexpected quad type"); in run_crop_fully_covered_test()
|
/external/skia/src/gpu/ops/ |
D | GrTextureOp.cpp | 53 SkASSERT(quad.quadType() == GrQuad::Type::kAxisAligned); in axis_aligned_quad_size() 64 if (srcQuad.quadType() != GrQuad::Type::kAxisAligned || in filter_and_mm_have_effect() 65 dstQuad.quadType() != GrQuad::Type::kAxisAligned) { in filter_and_mm_have_effect() 201 quad.fDevice.quadType() == GrQuad::Type::kAxisAligned && in safe_to_ignore_subset_rect() 202 quad.fLocal.quadType() == GrQuad::Type::kAxisAligned && in safe_to_ignore_subset_rect() 798 GrQuad::Type quadType = GrQuad::Type::kAxisAligned; in characterize() 809 if (op.fQuads.deviceQuadType() > quadType) { in characterize() 810 quadType = op.fQuads.deviceQuadType(); in characterize() 838 desc->fVertexSpec = VertexSpec(quadType, colorType, srcQuadType, /* hasLocal */ true, in characterize()
|
D | GrQuadPerEdgeAA.cpp | 314 SkASSERT(deviceQuad->quadType() <= fVertexSpec.deviceQuadType()); in append() 316 SkASSERT(!fVertexSpec.hasLocalCoords() || localQuad->quadType() <= fVertexSpec.localQuadType()); in append()
|
/external/skia/src/gpu/ |
D | GrSurfaceDrawContext.cpp | 566 if (simpleColor && quad->fDevice.quadType() == GrQuad::Type::kAxisAligned) { in attemptQuadOptimization() 603 quad->fDevice.quadType() == GrQuad::Type::kAxisAligned && in attemptQuadOptimization()
|