diff options
author | John Reck <jreck@google.com> | 2018-04-12 15:20:09 -0700 |
---|---|---|
committer | John Reck <jreck@google.com> | 2018-04-12 15:21:21 -0700 |
commit | 1072fffddbd004f8ff0d089716d52add2960969e (patch) | |
tree | 0586f4b7e823bb12c5f5a52b20dbd7ebe85bddf4 /libs/hwui/renderthread/RenderProxy.cpp | |
parent | 44627c264f241b53fc903a0fb42c399dbd17efb8 (diff) |
Remove Properties::isSkiaPipeline (3/!?)
Test: hwuiunit & CtsUiRenderingTestCases pass
Change-Id: Ie7b336eacdd1b8660e09653c64eb6ea0a7b4a258
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 a1a2bad41bf7..653ea2808ae7 100644 --- a/libs/hwui/renderthread/RenderProxy.cpp +++ b/libs/hwui/renderthread/RenderProxy.cpp @@ -334,7 +334,7 @@ sk_sp<Bitmap> RenderProxy::allocateHardwareBitmap(SkBitmap& bitmap) { int RenderProxy::copyGraphicBufferInto(GraphicBuffer* buffer, SkBitmap* bitmap) { RenderThread& thread = RenderThread::getInstance(); - if (Properties::isSkiaEnabled() && gettid() == thread.getTid()) { + if (gettid() == thread.getTid()) { // TODO: fix everything that hits this. We should never be triggering a readback ourselves. return (int)thread.readback().copyGraphicBufferInto(buffer, bitmap); } else { |