diff options
author | TreeHugger Robot <treehugger-gerrit@google.com> | 2017-06-02 22:06:32 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2017-06-02 22:06:37 +0000 |
commit | aeb22da1bd57b0ae280d9492fab75f56a95cbe85 (patch) | |
tree | 696d02730c4247205f28f16529fff78a82f83482 /libs/hwui/renderthread/RenderProxy.cpp | |
parent | 412652b001e86cc85b77409f4234809cf053c9f8 (diff) | |
parent | 7bc3bc6028d0c7b16fec72c3922fc627c8657951 (diff) |
Merge "Implement HW Bitmap for Skia pipeline"
Diffstat (limited to 'libs/hwui/renderthread/RenderProxy.cpp')
-rw-r--r-- | libs/hwui/renderthread/RenderProxy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/renderthread/RenderProxy.cpp b/libs/hwui/renderthread/RenderProxy.cpp index 83b3e3a3ab1e..5a4695f1315e 100644 --- a/libs/hwui/renderthread/RenderProxy.cpp +++ b/libs/hwui/renderthread/RenderProxy.cpp @@ -676,7 +676,7 @@ void RenderProxy::prepareToDraw(Bitmap& bitmap) { } CREATE_BRIDGE2(allocateHardwareBitmap, RenderThread* thread, SkBitmap* bitmap) { - sk_sp<Bitmap> hardwareBitmap = Bitmap::allocateHardwareBitmap(*args->thread, *args->bitmap); + sk_sp<Bitmap> hardwareBitmap = args->thread->allocateHardwareBitmap(*args->bitmap); return hardwareBitmap.release(); } |