/external/skia/src/gpu/geometry/ |
D | GrQuad.h | 37 kPerspective, enumerator 38 kLast = kPerspective 61 if (fType == Type::kPerspective) { in point() 69 if (fType == GrQuad::Type::kPerspective) { in bounds() 106 bool hasPerspective() const { return fType == Type::kPerspective; } in hasPerspective() 127 if (newType != Type::kPerspective && fType == Type::kPerspective) { in setQuadType() 130 SkASSERT(newType == Type::kPerspective || in setQuadType() 142 SkASSERT(type != Type::kPerspective); in GrQuad()
|
D | GrQuadBuffer.h | 180 size += (deviceType == GrQuad::Type::kPerspective ? k3DQuadFloats in entrySize() 183 size += (*localType == GrQuad::Type::kPerspective ? k3DQuadFloats in entrySize() 250 if (type == GrQuad::Type::kPerspective) { in unpackQuad()
|
D | GrQuad.cpp | 78 return GrQuad::Type::kPerspective; in quad_type_for_transformed_rect() 88 return GrQuad::Type::kPerspective; in quad_type_for_points()
|
D | GrQuadUtils.cpp | 396 if (quad->fDevice.quadType() < GrQuad::Type::kPerspective) { in ClipToW0() 469 v.asGrQuads(&quad->fDevice, GrQuad::Type::kPerspective, in ClipToW0() 529 v.asGrQuads(&quad->fDevice, GrQuad::Type::kPerspective, in ClipToW0() 533 v2.asGrQuads(&extraVertices->fDevice, GrQuad::Type::kPerspective, in ClipToW0() 585 if (quad->fDevice.quadType() == GrQuad::Type::kPerspective) { in CropToRect() 651 if (quadType == GrQuad::Type::kPerspective) { in reset() 931 if (deviceType == GrQuad::Type::kPerspective) { in asGrQuads() 1188 if (fDeviceType < GrQuad::Type::kPerspective) { in adjustVertices()
|
/external/skqp/tests/ |
D | GrQuadListTest.cpp | 69 list2D.push_back(make_3d_persp_quad(), GrQuadType::kPerspective); in TEST() 70 ASSERTF(list2D.quadType() == GrQuadType::kPerspective, in TEST() 84 list3D.push_back(make_3d_persp_quad(), GrQuadType::kPerspective); in TEST() 114 list2D.push_back(make_3d_persp_quad(), GrQuadType::kPerspective, {3, 3.f}); in TEST() 115 ASSERTF(list2D.quadType() == GrQuadType::kPerspective, in TEST() 135 list3D.push_back(make_3d_persp_quad(), GrQuadType::kPerspective, {3, 3.f}); in TEST() 168 b3D.push_back(make_3d_persp_quad(), GrQuadType::kPerspective); in TEST() 179 a3D.push_back(make_3d_persp_quad(), GrQuadType::kPerspective); in TEST() 192 a3D.push_back(make_3d_persp_quad(), GrQuadType::kPerspective); in TEST() 194 b3D.push_back(make_3d_persp_quad(), GrQuadType::kPerspective); in TEST() [all …]
|
/external/skqp/src/gpu/ |
D | GrQuad.h | 32 kPerspective, enumerator 33 kLast = kPerspective 116 if (type == GrQuadType::kPerspective) { in bounds() 185 if (forType == GrQuadType::kPerspective || fType == GrQuadType::kPerspective) { 195 if (fType == GrQuadType::kPerspective) { 214 if (fType == GrQuadType::kPerspective) { 215 if (that.fType == GrQuadType::kPerspective) { 234 if (fType == GrQuadType::kPerspective) { 247 if (fType == GrQuadType::kPerspective) { 266 if (type == GrQuadType::kPerspective) {
|
D | GrQuad.cpp | 74 return GrQuadType::kPerspective; in quadType() 143 return GrQuadType::kPerspective; in GrQuadTypeForTransformedRect()
|
/external/skia/src/gpu/ops/ |
D | GrQuadPerEdgeAA.cpp | 43 If(spec.deviceQuadType() == GrQuad::Type::kPerspective, deviceQuad->w(i)), in write_quad_generic() 57 If(spec.localQuadType() == GrQuad::Type::kPerspective, localQuad->w(i))); in write_quad_generic() 82 SkASSERT(spec.deviceQuadType() != GrQuad::Type::kPerspective); in write_2d_color() 109 SkASSERT(spec.deviceQuadType() != GrQuad::Type::kPerspective); in write_2d_uv() 110 SkASSERT(spec.hasLocalCoords() && spec.localQuadType() != GrQuad::Type::kPerspective); in write_2d_uv() 129 SkASSERT(spec.deviceQuadType() != GrQuad::Type::kPerspective); in write_2d_color_uv() 130 SkASSERT(spec.hasLocalCoords() && spec.localQuadType() != GrQuad::Type::kPerspective); in write_2d_color_uv() 155 SkASSERT(spec.deviceQuadType() != GrQuad::Type::kPerspective); in write_2d_cov_uv() 156 SkASSERT(spec.hasLocalCoords() && spec.localQuadType() != GrQuad::Type::kPerspective); in write_2d_cov_uv() 182 SkASSERT(spec.deviceQuadType() != GrQuad::Type::kPerspective); in write_2d_uv_strict() [all …]
|
/external/skia/bench/ |
D | Matrix44Bench.cpp | 152 kPerspective, enumerator 176 case MapMatrixType::kPerspective: in MapRectBench() 235 DEF_BENCH(return new M4_mapRectBench(MapMatrixType::kPerspective);) 258 DEF_BENCH(return new M33_mapRectBench(MapMatrixType::kPerspective);)
|
D | CompositingImagesBench.cpp | 40 kPerspective enumerator 85 case TransformMode::kPerspective: in CompositingImages() 242 case TransformMode::kPerspective: { in getTransform() 367 …Images({512, 512}, {380, 380}, {5, 5}, ClampingMode::kAlwaysFast, TransformMode::kPerspective, 1)); 368 …ages({512, 512}, {380, 380}, {5, 5}, ClampingMode::kAlwaysStrict, TransformMode::kPerspective, 1)); 369 …, 512}, {380, 380}, {5, 5}, ClampingMode::kChromeTiling_RowMajor, TransformMode::kPerspective, 1)); 370 …2, 512}, {380, 380}, {5, 5}, ClampingMode::kChromeTiling_Optimal, TransformMode::kPerspective, 1));
|
D | GrQuadBench.cpp | 45 fQuads[i].setQuadType(fPerspective ? GrQuad::Type::kPerspective in onDelayedSetup()
|
/external/skia/tests/ |
D | GrQuadBufferTest.cpp | 69 SkASSERT(types[i] == GrQuad::Type::kPerspective); in generate_quads() 85 GrQuad::Type::kPerspective, GrQuad::Type::kRectilinear, GrQuad::Type::kAxisAligned in TEST() 108 ASSERT(GrQuad::Type::kPerspective == buffer.deviceQuadType()); in TEST() 136 static const GrQuad::Type kTypesB[] = { GrQuad::Type::kGeneral, GrQuad::Type::kPerspective }; in TEST()
|
/external/skqp/src/gpu/ops/ |
D | GrQuadPerEdgeAA.cpp | 352 vb->write(x[i], y[i], If(spec.deviceQuadType() == GrQuadType::kPerspective, w[i]), in write_quad() 362 vb->write(u[i], v[i], If(spec.localQuadType() == GrQuadType::kPerspective, r[i])); in write_quad() 432 if (spec.deviceQuadType() == GrQuadType::kPerspective) { in Tessellate() 501 return this->deviceQuadType() == GrQuadType::kPerspective ? 3 : 2; in deviceDimensionality() 505 return fHasLocalCoords ? (this->localQuadType() == GrQuadType::kPerspective ? 3 : 2) : 0; in localDimensionality()
|