Searched refs:devScale (Results 1 – 3 of 3) sorted by relevance
/external/skqp/src/gpu/ops/ |
D | GrAAFillRRectOp.cpp | 479 static bool can_use_hw_derivatives(const Sk2f& devScale, const Sk2f& cornerRadii) { in can_use_hw_derivatives() argument 480 Sk2f devRadii = devScale * cornerRadii; in can_use_hw_derivatives() 490 static bool can_use_hw_derivatives(const Sk2f& devScale, const SkVector& cornerRadii) { in can_use_hw_derivatives() argument 491 return can_use_hw_derivatives(devScale, Sk2f::Load(&cornerRadii)); in can_use_hw_derivatives() 503 Sk2f devScale = (x*x + y*y).sqrt(); in can_use_hw_derivatives() local 511 return can_use_hw_derivatives(devScale, rrect.getSimpleRadii()); in can_use_hw_derivatives() 518 return can_use_hw_derivatives(devScale, Sk2f(minRadii[0], maxRadii[1])) && in can_use_hw_derivatives() 519 can_use_hw_derivatives(devScale, Sk2f(maxRadii[0], minRadii[1])); in can_use_hw_derivatives() 525 if (!can_use_hw_derivatives(devScale, rrect.radii(corner))) { in can_use_hw_derivatives()
|
/external/skia/src/gpu/ops/ |
D | GrFillRRectOp.cpp | 715 static bool can_use_hw_derivatives_with_coverage(const Sk2f& devScale, const Sk2f& cornerRadii) { in can_use_hw_derivatives_with_coverage() argument 716 Sk2f devRadii = devScale * cornerRadii; in can_use_hw_derivatives_with_coverage() 727 const Sk2f& devScale, const SkVector& cornerRadii) { in can_use_hw_derivatives_with_coverage() argument 728 return can_use_hw_derivatives_with_coverage(devScale, Sk2f::Load(&cornerRadii)); in can_use_hw_derivatives_with_coverage() 740 Sk2f devScale = (x*x + y*y).sqrt(); in can_use_hw_derivatives_with_coverage() local 748 return can_use_hw_derivatives_with_coverage(devScale, rrect.getSimpleRadii()); in can_use_hw_derivatives_with_coverage() 755 return can_use_hw_derivatives_with_coverage(devScale, Sk2f(minRadii[0], maxRadii[1])) && in can_use_hw_derivatives_with_coverage() 756 can_use_hw_derivatives_with_coverage(devScale, Sk2f(maxRadii[0], minRadii[1])); in can_use_hw_derivatives_with_coverage() 762 if (!can_use_hw_derivatives_with_coverage(devScale, rrect.radii(corner))) { in can_use_hw_derivatives_with_coverage()
|
/external/deqp/external/openglcts/modules/gl/ |
D | gl4cShaderImageLoadStoreTests.cpp | 219 GLdouble devScale = sqrt(devSpace / GLdouble(devRequired)); in scaleDimensionsToMemory() local 220 scale = de::min(devScale, scale); in scaleDimensionsToMemory()
|