Home
last modified time | relevance | path

Searched refs:quadType (Results 1 – 15 of 15) sorted by relevance

/external/skia/src/gpu/geometry/
DGrQuadBuffer.h266 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()
DGrQuadUtils.h98 const skvx::Vec<4, float>& ws, GrQuad::Type quadType);
128 void reset(const EdgeVectors& edgeVectors, GrQuad::Type quadType,
DGrQuadUtils.cpp226 if (quad.quadType() != GrQuad::Type::kAxisAligned) { in is_simple_rect()
372 if (quad.quadType() == GrQuad::Type::kAxisAligned && !quad.aaHasEffectOnRect()) { in ResolveAAType()
394 if (quad->fDevice.quadType() < GrQuad::Type::kPerspective) { in ClipToW0()
409 GrQuad::Type localType = quad->fLocal.quadType(); in ClipToW0()
541 if (quad->fDevice.quadType() == GrQuad::Type::kAxisAligned) { in CropToRect()
583 if (quad->fDevice.quadType() == GrQuad::Type::kPerspective) { in CropToRect()
647 GrQuad::Type quadType) { in reset() argument
649 if (quadType == GrQuad::Type::kPerspective) { in reset()
667 if (quadType <= GrQuad::Type::kRectilinear) { in reset()
809 void TessellationHelper::OutsetRequest::reset(const EdgeVectors& edgeVectors, GrQuad::Type quadType, in reset() argument
[all …]
DGrQuad.cpp131 SkASSERT(this->quadType() == Type::kAxisAligned); in aaHasEffectOnRect()
137 if (this->quadType() != Type::kAxisAligned) { in asRect()
DGrQuad.h104 Type quadType() const { return fType; } in quadType() function
/external/skqp/src/gpu/ops/
DGrTextureOp.cpp203 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 …]
DGrFillRectOp.cpp108 (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/
DGrQuad.h90 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);
DGrQuad.cpp60 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/
DGrQuadListTest.cpp63 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/
DGrQuadBufferTest.cpp24 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]); // sanity check in generate_quads()
DGrQuadCropTest.cpp35 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/
DGrTextureOp.cpp53 SkASSERT(quad.quadType() == GrQuad::Type::kAxisAligned); in axis_aligned_quad_size()
62 if (srcQuad.quadType() != GrQuad::Type::kAxisAligned || in filter_has_effect()
63 dstQuad.quadType() != GrQuad::Type::kAxisAligned) { in filter_has_effect()
772 GrQuad::Type quadType = GrQuad::Type::kAxisAligned; in characterize() local
783 if (op.fQuads.deviceQuadType() > quadType) { in characterize()
784 quadType = op.fQuads.deviceQuadType(); in characterize()
812 desc->fVertexSpec = VertexSpec(quadType, colorType, srcQuadType, /* hasLocal */ true, in characterize()
DGrQuadPerEdgeAA.cpp309 SkASSERT(deviceQuad->quadType() <= fVertexSpec.deviceQuadType()); in append()
311 SkASSERT(!fVertexSpec.hasLocalCoords() || localQuad->quadType() <= fVertexSpec.localQuadType()); in append()
/external/skia/src/gpu/
DGrRenderTargetContext.cpp684 quad->fDevice.quadType() == GrQuad::Type::kAxisAligned) { in attemptQuadOptimization()
725 quad->fDevice.quadType() == GrQuad::Type::kAxisAligned && in attemptQuadOptimization()