Home
last modified time | relevance | path

Searched refs:bitmapArea (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/pdf/
DSkPDFShader.cpp285 SkScalar bitmapArea = (float)surfaceBBox.width() * (float)surfaceBBox.height(); in make_fallback_shader() local
287 if (bitmapArea > (float)kMaxBitmapArea) { in make_fallback_shader()
288 rasterScale *= SkScalarSqrt((float)kMaxBitmapArea / bitmapArea); in make_fallback_shader()
/external/skqp/src/pdf/
DSkPDFShader.cpp288 SkScalar bitmapArea = surfaceBBox.width() * surfaceBBox.height(); in make_fallback_shader() local
290 if (bitmapArea > kMaxBitmapArea) { in make_fallback_shader()
291 rasterScale *= SkScalarSqrt(kMaxBitmapArea / bitmapArea); in make_fallback_shader()