diff options
author | John Reck <jreck@google.com> | 2015-04-13 15:20:29 -0700 |
---|---|---|
committer | John Reck <jreck@google.com> | 2015-04-14 15:38:22 -0700 |
commit | c294d128d03bc9a9982b273a82516c04583438cc (patch) | |
tree | fd6c7ae3a6a292caf48160f0c0c8cc82e4729225 /libs/hwui/renderthread/RenderProxy.cpp | |
parent | 4fc266bbef6129b5cefc910f0680eb9d61794faf (diff) |
A bunch more cleanups
Switch a few places to using android::canvas
instead of SkCanvas as well which eliminated
some JNI
Change-Id: I8f98b56442a06362b82b984cd1bd3a92398d8dbc
Diffstat (limited to 'libs/hwui/renderthread/RenderProxy.cpp')
-rw-r--r-- | libs/hwui/renderthread/RenderProxy.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/hwui/renderthread/RenderProxy.cpp b/libs/hwui/renderthread/RenderProxy.cpp index cc872412251e..d15fa3941766 100644 --- a/libs/hwui/renderthread/RenderProxy.cpp +++ b/libs/hwui/renderthread/RenderProxy.cpp @@ -293,11 +293,11 @@ CREATE_BRIDGE3(copyLayerInto, CanvasContext* context, DeferredLayerUpdater* laye return (void*) success; } -bool RenderProxy::copyLayerInto(DeferredLayerUpdater* layer, SkBitmap* bitmap) { +bool RenderProxy::copyLayerInto(DeferredLayerUpdater* layer, SkBitmap& bitmap) { SETUP_TASK(copyLayerInto); args->context = mContext; args->layer = layer; - args->bitmap = bitmap; + args->bitmap = &bitmap; return (bool) postAndWait(task); } |