summaryrefslogtreecommitdiff
path: root/libs/hwui/renderthread/DrawFrameTask.cpp
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2017-09-05 11:24:59 -0700
committerJohn Reck <jreck@google.com>2017-09-05 11:24:59 -0700
commit226fcca4729eeb82a5c63cbda2e39d005797c4c4 (patch)
tree66cdec9f3796c087c420cf2befd9fd3cab2f05c6 /libs/hwui/renderthread/DrawFrameTask.cpp
parent54ff7e7582b374b7e940b560f3fdda512dfd7ebb (diff)
Allow translucent RenderNode->Bitmap captures
Set translucent to true when doing createHardwareBitmapFromRenderNode. This ensures that the buffer is initialized to transparent which is a safer default for this path. Marginally less performant in some cases, but as this is a rare capture safety is preferred for and performance can be revisted if it turns out to be an issue. Bug: 65164016 Test: builds Change-Id: I6467c0ccf46e5e2a87c31cc4855ced8275236ca9
Diffstat (limited to 'libs/hwui/renderthread/DrawFrameTask.cpp')
0 files changed, 0 insertions, 0 deletions