/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.h | 98 const skvx::Vec<4, float>& ws, GrQuad::Type quadType); 128 void reset(const EdgeVectors& edgeVectors, GrQuad::Type quadType,
|
D | GrQuadUtils.cpp | 226 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 …]
|
D | GrQuad.cpp | 131 SkASSERT(this->quadType() == Type::kAxisAligned); in aaHasEffectOnRect() 137 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]); // sanity check 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() 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()
|
D | GrQuadPerEdgeAA.cpp | 309 SkASSERT(deviceQuad->quadType() <= fVertexSpec.deviceQuadType()); in append() 311 SkASSERT(!fVertexSpec.hasLocalCoords() || localQuad->quadType() <= fVertexSpec.localQuadType()); in append()
|
/external/skia/src/gpu/ |
D | GrRenderTargetContext.cpp | 684 quad->fDevice.quadType() == GrQuad::Type::kAxisAligned) { in attemptQuadOptimization() 725 quad->fDevice.quadType() == GrQuad::Type::kAxisAligned && in attemptQuadOptimization()
|