New issue
Advanced search Search tips

Issue 596600 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Feature



Sign in to add a comment

images embedded in SkShaders are not pre-decodable by CC

Project Member Reported by ericrk@chromium.org, Mar 21 2016

Issue description

Currently, when dealing with certain types of image drawing (background images), Blink creates an SkShader which wraps the image together with tiling information. This SkShader is then drawn using drawRect.

Unfortunately, when wrapped in an SkShader, CC can't see the images used in the drawing, and can't pre-decode them. This prevents most of the image decode optimizations from being applied to images in these cases.

Ideally, Blink would use a less opaque method (Displaylist entry?) to represent these tiled images. CC could then pre-decode the images and generate the Skia commands to render itself.
 
Status: Assigned (was: Untriaged)
Owner: vmp...@chromium.org
We're going to solve this with custom display lists (CDL).

Sign in to add a comment