summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorStan Iliev <stani@google.com>2019-03-22 14:42:36 -0400
committerStan Iliev <stani@google.com>2019-03-29 13:49:20 +0000
commit27b119ba5c1d94d6e3bc8ce8ee5da1a34efe196f (patch)
tree3d2c22950052a7576e486b9f3365e61e6c80abb5 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent60852eab5cc5c505b1142f8c36b14fb97ec1cadb (diff)
Fix crash in Vulkan WebView drawable when parent View has alpha
HWUI uses SkPaintFilterCanvas to apply View alpha in nested draw calls. This conflicts with new SkDrawable::snapGpuDrawHandler API used by Vulkan WebView. The new API works only with GPU device (see SkGpuDevice::drawDrawable), which SkPaintFilterCanvas does not have (it uses SkNoPixelsDevice instead). This CL uses new Skia API to find wrapped GPU canvas and draw SkDrawable on it. Improve SKP capture for Vulkan WebView to match GL. Test: Ran Fandango app with Vulkan. Captured a SKP. Bug: 128792554 Change-Id: I27040347dc25c799b4e75f50526f426e9e33b663
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions