New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 601252 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Cc:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: Feature



Sign in to add a comment

Scaling pixmap with RGBA_4444 fails.

Project Member Reported by vmp...@chromium.org, Apr 6 2016

Issue description

While investigating a blimp issue where we accidentally started passing high filter quality flag on svelte devices, we bumped into an issue where we can't scale a pixmap if the draw info has an RGBA_4444 color type. 

Specifically this switch statement ends up returning false:

https://code.google.com/p/chromium/codesearch#chromium/src/third_party/skia/src/image/SkSurface_Raster.cpp&sq=package:chromium&l=50&rcl=1459970814

I guess, the question is: is this intentional? Why can't we support RGBA_4444 in this case?

 

Comment 1 by reed@google.com, Apr 7 2016

We haven't supported drawing into 4444 for several years. All we support is drawing *from* a 4444 src.
Labels: -Type-Bug Type-Feature
Is this something that we want to support? I guess it's just dev effort right?

Comment 3 by reed@google.com, Apr 7 2016

We removed it mostly because the quality was pretty horrible. Far better to draw into 8888 while you accumulate your drawing, and then convert to 4444 once at the end (to save ram)
Owner: reed@chromium.org
Owner: reed@google.com

Sign in to add a comment