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 | GrAAFillRRectOp.cpp | 492 static bool can_use_hw_derivatives(const Sk2f& devScale, const Sk2f& cornerRadii) { in can_use_hw_derivatives() argument 493 Sk2f devRadii = devScale * cornerRadii; in can_use_hw_derivatives() 503 static bool can_use_hw_derivatives(const Sk2f& devScale, const SkVector& cornerRadii) { in can_use_hw_derivatives() argument 504 return can_use_hw_derivatives(devScale, Sk2f::Load(&cornerRadii)); in can_use_hw_derivatives() 516 Sk2f devScale = (x*x + y*y).sqrt(); in can_use_hw_derivatives() local 524 return can_use_hw_derivatives(devScale, rrect.getSimpleRadii()); in can_use_hw_derivatives() 531 return can_use_hw_derivatives(devScale, Sk2f(minRadii[0], maxRadii[1])) && in can_use_hw_derivatives() 532 can_use_hw_derivatives(devScale, Sk2f(maxRadii[0], minRadii[1])); in can_use_hw_derivatives() 538 if (!can_use_hw_derivatives(devScale, rrect.radii(corner))) { in can_use_hw_derivatives()
|
/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()
|