blob: 2f406da9847d2b513297a42093121c0b527c7ee6 [file] [log] [blame]
John Reck4f02bf42014-01-03 18:09:17 -08001/*
2 * Copyright (C) 2013 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
John Reck4f02bf42014-01-03 18:09:17 -080017#include "RenderProxy.h"
18
John Reckba6adf62015-02-19 14:36:50 -080019#include "DeferredLayerUpdater.h"
20#include "DisplayList.h"
John Recka8963062017-06-14 10:47:50 -070021#include "Properties.h"
John Reck10dd0582016-03-31 16:36:16 -070022#include "Readback.h"
John Reckba6adf62015-02-19 14:36:50 -080023#include "Rect.h"
Stan Iliev3310fb12017-03-23 16:56:51 -040024#include "pipeline/skia/VectorDrawableAtlas.h"
John Reckba6adf62015-02-19 14:36:50 -080025#include "renderthread/CanvasContext.h"
John Reck43871902016-08-01 14:39:24 -070026#include "renderthread/EglManager.h"
John Reckba6adf62015-02-19 14:36:50 -080027#include "renderthread/RenderTask.h"
28#include "renderthread/RenderThread.h"
John Reck9a814872017-05-22 15:04:21 -070029#include "renderstate/RenderState.h"
John Reckba6adf62015-02-19 14:36:50 -080030#include "utils/Macros.h"
John Reck43871902016-08-01 14:39:24 -070031#include "utils/TimeUtils.h"
John Reck4f02bf42014-01-03 18:09:17 -080032
sergeyv59eecb522016-11-17 17:54:57 -080033#include <ui/GraphicBuffer.h>
34
John Reck4f02bf42014-01-03 18:09:17 -080035namespace android {
36namespace uirenderer {
37namespace renderthread {
38
John Reck119907c2014-08-14 09:02:01 -070039RenderProxy::RenderProxy(bool translucent, RenderNode* rootRenderNode, IContextFactory* contextFactory)
John Reck4f02bf42014-01-03 18:09:17 -080040 : mRenderThread(RenderThread::getInstance())
Chris Craikd41c4d82015-01-05 15:51:13 -080041 , mContext(nullptr) {
John Reckf8441e62017-10-23 13:10:41 -070042 mContext = mRenderThread.queue().runSync([&]() -> CanvasContext* {
43 return CanvasContext::create(mRenderThread, translucent, rootRenderNode, contextFactory);
44 });
Skuhneea7a7fb2015-08-28 07:10:31 -070045 mDrawFrameTask.setContext(&mRenderThread, mContext, rootRenderNode);
John Reck4f02bf42014-01-03 18:09:17 -080046}
47
48RenderProxy::~RenderProxy() {
49 destroyContext();
50}
51
John Reck4f02bf42014-01-03 18:09:17 -080052void RenderProxy::destroyContext() {
53 if (mContext) {
Skuhneea7a7fb2015-08-28 07:10:31 -070054 mDrawFrameTask.setContext(nullptr, nullptr, nullptr);
John Reck668f0e32014-03-26 15:10:40 -070055 // This is also a fence as we need to be certain that there are no
56 // outstanding mDrawFrame tasks posted before it is destroyed
John Reckf8441e62017-10-23 13:10:41 -070057 mRenderThread.queue().runSync([this]() {
58 delete mContext;
59 });
60 mContext = nullptr;
John Reck4f02bf42014-01-03 18:09:17 -080061 }
62}
63
John Reck1125d1f2014-10-23 11:02:19 -070064void RenderProxy::setSwapBehavior(SwapBehavior swapBehavior) {
John Reckf8441e62017-10-23 13:10:41 -070065 mRenderThread.queue().post([this, swapBehavior]() {
66 mContext->setSwapBehavior(swapBehavior);
67 });
John Recke4280ba2014-05-05 16:39:37 -070068}
69
70bool RenderProxy::loadSystemProperties() {
John Reckf8441e62017-10-23 13:10:41 -070071 return mRenderThread.queue().runSync([this]() -> bool {
72 bool needsRedraw = false;
73 if (Caches::hasInstance()) {
74 needsRedraw = Properties::load();
75 }
76 if (mContext->profiler().consumeProperties()) {
77 needsRedraw = true;
78 }
79 return needsRedraw;
80 });
John Reckb36016c2015-03-11 08:50:53 -070081}
82
83void RenderProxy::setName(const char* name) {
John Reckf8441e62017-10-23 13:10:41 -070084 // block since name/value pointers owned by caller
85 // TODO: Support move arguments
86 mRenderThread.queue().runSync([this, name]() {
87 mContext->setName(std::string(name));
88 });
John Reck4f02bf42014-01-03 18:09:17 -080089}
90
John Reckf6481082016-02-02 15:18:23 -080091void RenderProxy::initialize(const sp<Surface>& surface) {
John Reckf8441e62017-10-23 13:10:41 -070092 mRenderThread.queue().post([this, surf = surface]() mutable {
93 mContext->setSurface(std::move(surf));
94 });
John Reck4f02bf42014-01-03 18:09:17 -080095}
96
John Reckf6481082016-02-02 15:18:23 -080097void RenderProxy::updateSurface(const sp<Surface>& surface) {
John Reckf8441e62017-10-23 13:10:41 -070098 mRenderThread.queue().post([this, surf = surface]() mutable {
99 mContext->setSurface(std::move(surf));
100 });
John Reckf7d9c1d2014-04-09 10:01:03 -0700101}
102
John Reckf6481082016-02-02 15:18:23 -0800103bool RenderProxy::pauseSurface(const sp<Surface>& surface) {
John Reckf8441e62017-10-23 13:10:41 -0700104 return mRenderThread.queue().runSync([this]() -> bool {
105 return mContext->pauseSurface();
106 });
John Reck8afcc762016-04-13 10:24:06 -0700107}
108
109void RenderProxy::setStopped(bool stopped) {
John Reckf8441e62017-10-23 13:10:41 -0700110 mRenderThread.queue().runSync([this, stopped]() {
111 mContext->setStopped(stopped);
112 });
John Reck8afcc762016-04-13 10:24:06 -0700113}
114
John Reckf8441e62017-10-23 13:10:41 -0700115void RenderProxy::setup(float lightRadius, uint8_t ambientShadowAlpha, uint8_t spotShadowAlpha) {
116 mRenderThread.queue().post([=]() {
117 mContext->setup(lightRadius, ambientShadowAlpha, spotShadowAlpha);
118 });
Alan Viverette50210d92015-05-14 18:05:36 -0700119}
120
121void RenderProxy::setLightCenter(const Vector3& lightCenter) {
John Reckf8441e62017-10-23 13:10:41 -0700122 mRenderThread.queue().post([=]() {
123 mContext->setLightCenter(lightCenter);
124 });
John Reck63a06672014-05-07 13:45:54 -0700125}
126
127void RenderProxy::setOpaque(bool opaque) {
John Reckf8441e62017-10-23 13:10:41 -0700128 mRenderThread.queue().post([=]() {
129 mContext->setOpaque(opaque);
130 });
Romain Guy26a2b972017-04-17 09:39:51 -0700131}
132
133void RenderProxy::setWideGamut(bool wideGamut) {
John Reckf8441e62017-10-23 13:10:41 -0700134 mRenderThread.queue().post([=]() {
135 mContext->setWideGamut(wideGamut);
136 });
Romain Guy26a2b972017-04-17 09:39:51 -0700137}
138
John Reckba6adf62015-02-19 14:36:50 -0800139int64_t* RenderProxy::frameInfo() {
140 return mDrawFrameTask.frameInfo();
141}
142
John Reck2de950d2017-01-25 10:58:30 -0800143int RenderProxy::syncAndDrawFrame() {
144 return mDrawFrameTask.drawFrame();
John Reck4f02bf42014-01-03 18:09:17 -0800145}
146
John Reck2de950d2017-01-25 10:58:30 -0800147void RenderProxy::destroy() {
John Reckfae904d2014-04-14 11:01:57 -0700148 // destroyCanvasAndSurface() needs a fence as when it returns the
149 // underlying BufferQueue is going to be released from under
150 // the render thread.
John Reckf8441e62017-10-23 13:10:41 -0700151 mRenderThread.queue().runSync([=]() {
152 mContext->destroy();
153 });
John Reck0d1f6342014-03-28 20:30:27 -0700154}
155
156void RenderProxy::invokeFunctor(Functor* functor, bool waitForCompletion) {
John Reckd3d8daf2014-04-10 15:00:13 -0700157 ATRACE_CALL();
John Reck3b202512014-06-23 13:13:08 -0700158 RenderThread& thread = RenderThread::getInstance();
John Reckf8441e62017-10-23 13:10:41 -0700159 auto invoke = [&thread, functor]() { CanvasContext::invokeFunctor(thread, functor); };
John Reck0d1f6342014-03-28 20:30:27 -0700160 if (waitForCompletion) {
John Reck3b202512014-06-23 13:13:08 -0700161 // waitForCompletion = true is expected to be fairly rare and only
162 // happen in destruction. Thus it should be fine to temporarily
163 // create a Mutex
John Reckf8441e62017-10-23 13:10:41 -0700164 thread.queue().runSync(std::move(invoke));
John Reck0d1f6342014-03-28 20:30:27 -0700165 } else {
John Reckf8441e62017-10-23 13:10:41 -0700166 thread.queue().post(std::move(invoke));
John Reck0d1f6342014-03-28 20:30:27 -0700167 }
168}
169
John Reck19b6bcf2014-02-14 20:03:38 -0800170DeferredLayerUpdater* RenderProxy::createTextureLayer() {
John Reckf8441e62017-10-23 13:10:41 -0700171 return mRenderThread.queue().runSync([this]() -> auto {
172 return mContext->createTextureLayer();
173 });
John Reck3e824952014-08-20 10:08:39 -0700174}
175
John Reck2de950d2017-01-25 10:58:30 -0800176void RenderProxy::buildLayer(RenderNode* node) {
John Reckf8441e62017-10-23 13:10:41 -0700177 mRenderThread.queue().runSync([&]() {
178 mContext->buildLayer(node);
179 });
John Reck19b6bcf2014-02-14 20:03:38 -0800180}
181
John Reck3731dc22015-04-13 15:20:29 -0700182bool RenderProxy::copyLayerInto(DeferredLayerUpdater* layer, SkBitmap& bitmap) {
John Reckf8441e62017-10-23 13:10:41 -0700183 return mRenderThread.queue().runSync([&]() -> bool {
184 return mContext->copyLayerInto(layer, &bitmap);
185 });
John Reck19b6bcf2014-02-14 20:03:38 -0800186}
187
John Reckd72e0a32014-05-29 18:56:11 -0700188void RenderProxy::pushLayerUpdate(DeferredLayerUpdater* layer) {
189 mDrawFrameTask.pushLayerUpdate(layer);
190}
191
192void RenderProxy::cancelLayerUpdate(DeferredLayerUpdater* layer) {
193 mDrawFrameTask.removeLayerUpdate(layer);
John Reck19b6bcf2014-02-14 20:03:38 -0800194}
195
John Reck918ad522014-06-27 14:45:25 -0700196void RenderProxy::detachSurfaceTexture(DeferredLayerUpdater* layer) {
John Reckf8441e62017-10-23 13:10:41 -0700197 return mRenderThread.queue().runSync([&]() {
198 layer->detachSurfaceTexture();
199 });
John Recke1628b72014-05-23 15:11:19 -0700200}
201
John Reck2de950d2017-01-25 10:58:30 -0800202void RenderProxy::destroyHardwareResources() {
John Reckf8441e62017-10-23 13:10:41 -0700203 return mRenderThread.queue().runSync([&]() {
204 mContext->destroyHardwareResources();
205 });
John Reckf47a5942014-06-30 16:20:04 -0700206}
207
208void RenderProxy::trimMemory(int level) {
John Reckcd3a22c2014-08-06 13:33:59 -0700209 // Avoid creating a RenderThread to do a trimMemory.
210 if (RenderThread::hasInstance()) {
211 RenderThread& thread = RenderThread::getInstance();
John Reckf8441e62017-10-23 13:10:41 -0700212 thread.queue().post([&thread, level]() {
213 CanvasContext::trimMemory(thread, level);
214 });
John Reckcd3a22c2014-08-06 13:33:59 -0700215 }
John Reckf47a5942014-06-30 16:20:04 -0700216}
217
Chris Craik2507c342015-05-04 14:36:49 -0700218void RenderProxy::overrideProperty(const char* name, const char* value) {
John Reckf8441e62017-10-23 13:10:41 -0700219 // expensive, but block here since name/value pointers owned by caller
220 RenderThread::getInstance().queue().runSync([&]() {
221 Properties::overrideProperty(name, value);
222 });
Chris Craik2507c342015-05-04 14:36:49 -0700223}
224
John Reck28ad7b52014-04-07 16:59:25 -0700225void RenderProxy::fence() {
John Reckf8441e62017-10-23 13:10:41 -0700226 mRenderThread.queue().runSync([](){});
John Reck28ad7b52014-04-07 16:59:25 -0700227}
228
Thomas Buhotc0a0e1a2016-01-18 10:31:58 +0100229void RenderProxy::staticFence() {
John Reckf8441e62017-10-23 13:10:41 -0700230 RenderThread::getInstance().queue().runSync([](){});
John Reckf47a5942014-06-30 16:20:04 -0700231}
232
233void RenderProxy::stopDrawing() {
John Reckf8441e62017-10-23 13:10:41 -0700234 mRenderThread.queue().runSync([this]() {
235 mContext->stopDrawing();
236 });
John Recka5dda642014-05-22 15:43:54 -0700237}
238
239void RenderProxy::notifyFramePending() {
John Reckf8441e62017-10-23 13:10:41 -0700240 mRenderThread.queue().post([this]() {
241 mContext->notifyFramePending();
242 });
John Reckfe5e7b72014-05-23 17:42:28 -0700243}
244
John Reckba6adf62015-02-19 14:36:50 -0800245void RenderProxy::dumpProfileInfo(int fd, int dumpFlags) {
John Reckf8441e62017-10-23 13:10:41 -0700246 mRenderThread.queue().runSync([&]() {
247 mContext->profiler().dumpData(fd);
248 if (dumpFlags & DumpFlags::FrameStats) {
249 mContext->dumpFrames(fd);
250 }
251 if (dumpFlags & DumpFlags::JankStats) {
252 mRenderThread.globalProfileData()->dump(fd);
253 }
254 if (dumpFlags & DumpFlags::Reset) {
255 mContext->resetFrameStats();
256 }
257 });
John Reck7f2e5e32015-05-05 11:00:53 -0700258}
259
260void RenderProxy::resetProfileInfo() {
John Reckf8441e62017-10-23 13:10:41 -0700261 mRenderThread.queue().runSync([=]() {
262 mContext->resetFrameStats();
263 });
John Reck7f2e5e32015-05-05 11:00:53 -0700264}
265
John Reckf8441e62017-10-23 13:10:41 -0700266uint32_t RenderProxy::frameTimePercentile(int percentile) {
267 return mRenderThread.queue().runSync([&]() -> auto {
268 return mRenderThread.globalProfileData()->findPercentile(percentile);
269 });
John Reck0e89e2b2014-10-31 14:49:06 -0700270}
271
Chris Craik2ae07332015-01-21 14:22:39 -0800272void RenderProxy::dumpGraphicsMemory(int fd) {
John Reckf8441e62017-10-23 13:10:41 -0700273 auto& thread = RenderThread::getInstance();
274 thread.queue().runSync([&]() {
275 thread.dumpGraphicsMemory(fd);
276 });
John Reckedc524c2015-03-18 15:24:33 -0700277}
278
279void RenderProxy::setProcessStatsBuffer(int fd) {
John Reckdf1742e2017-01-19 15:56:21 -0800280 auto& rt = RenderThread::getInstance();
John Reckf8441e62017-10-23 13:10:41 -0700281 rt.queue().post([&rt, fd = dup(fd)]() {
282 rt.globalProfileData().switchStorageToAshmem(fd);
283 close(fd);
284 });
John Reckdf1742e2017-01-19 15:56:21 -0800285}
286
287void RenderProxy::rotateProcessStatsBuffer() {
John Reckdf1742e2017-01-19 15:56:21 -0800288 auto& rt = RenderThread::getInstance();
John Reckf8441e62017-10-23 13:10:41 -0700289 rt.queue().post([&rt]() {
290 rt.globalProfileData().rotateStorage();
291 });
John Reckedc524c2015-03-18 15:24:33 -0700292}
293
Tim Murray33eb07f2016-06-10 10:03:20 -0700294int RenderProxy::getRenderThreadTid() {
295 return mRenderThread.getTid();
296}
297
Skuhneea7a7fb2015-08-28 07:10:31 -0700298void RenderProxy::addRenderNode(RenderNode* node, bool placeFront) {
John Reckf8441e62017-10-23 13:10:41 -0700299 mRenderThread.queue().post([=]() {
300 mContext->addRenderNode(node, placeFront);
301 });
Skuhneea7a7fb2015-08-28 07:10:31 -0700302}
303
304void RenderProxy::removeRenderNode(RenderNode* node) {
John Reckf8441e62017-10-23 13:10:41 -0700305 mRenderThread.queue().post([=]() {
306 mContext->removeRenderNode(node);
307 });
Skuhneea7a7fb2015-08-28 07:10:31 -0700308}
309
310void RenderProxy::drawRenderNode(RenderNode* node) {
John Reckf8441e62017-10-23 13:10:41 -0700311 mRenderThread.queue().runSync([=]() {
312 mContext->prepareAndDraw(node);
313 });
Skuhneea7a7fb2015-08-28 07:10:31 -0700314}
315
Skuhneb8160872015-09-22 09:51:39 -0700316void RenderProxy::setContentDrawBounds(int left, int top, int right, int bottom) {
John Reckf138b172017-09-08 11:00:42 -0700317 mDrawFrameTask.setContentDrawBounds(left, top, right, bottom);
Skuhneea7a7fb2015-08-28 07:10:31 -0700318}
319
John Recke248bd12015-08-05 13:53:53 -0700320void RenderProxy::serializeDisplayListTree() {
John Reckf8441e62017-10-23 13:10:41 -0700321 mRenderThread.queue().post([=]() {
322 mContext->serializeDisplayListTree();
323 });
John Recke248bd12015-08-05 13:53:53 -0700324}
325
John Reckf8441e62017-10-23 13:10:41 -0700326void RenderProxy::addFrameMetricsObserver(FrameMetricsObserver* observerPtr) {
327 mRenderThread.queue().post([this, observer = sp{observerPtr}]() {
328 mContext->addFrameMetricsObserver(observer.get());
329 });
Andres Morales06f5bc72015-12-15 15:21:31 -0800330}
331
John Reckf8441e62017-10-23 13:10:41 -0700332void RenderProxy::removeFrameMetricsObserver(FrameMetricsObserver* observerPtr) {
333 mRenderThread.queue().post([this, observer = sp{observerPtr}]() {
334 mContext->removeFrameMetricsObserver(observer.get());
335 });
John Reck10dd0582016-03-31 16:36:16 -0700336}
337
John Reck95801462016-09-01 09:44:09 -0700338int RenderProxy::copySurfaceInto(sp<Surface>& surface, int left, int top,
339 int right, int bottom, SkBitmap* bitmap) {
John Reckf8441e62017-10-23 13:10:41 -0700340 auto& thread = RenderThread::getInstance();
341 return static_cast<int>(thread.queue().runSync([&]() -> auto {
342 return thread.readback().copySurfaceInto(*surface, Rect(left, top, right, bottom), bitmap);
343 }));
John Reck43871902016-08-01 14:39:24 -0700344}
345
sergeyvec4a4b12016-10-20 18:39:04 -0700346void RenderProxy::prepareToDraw(Bitmap& bitmap) {
John Reck43871902016-08-01 14:39:24 -0700347 // If we haven't spun up a hardware accelerated window yet, there's no
348 // point in precaching these bitmaps as it can't impact jank.
349 // We also don't know if we even will spin up a hardware-accelerated
350 // window or not.
351 if (!RenderThread::hasInstance()) return;
352 RenderThread* renderThread = &RenderThread::getInstance();
sergeyvec4a4b12016-10-20 18:39:04 -0700353 bitmap.ref();
John Reckf8441e62017-10-23 13:10:41 -0700354 auto task = [renderThread, &bitmap]() {
355 CanvasContext::prepareToDraw(*renderThread, &bitmap);
356 bitmap.unref();
357 };
John Reck43871902016-08-01 14:39:24 -0700358 nsecs_t lastVsync = renderThread->timeLord().latestVsync();
359 nsecs_t estimatedNextVsync = lastVsync + renderThread->timeLord().frameIntervalNanos();
360 nsecs_t timeToNextVsync = estimatedNextVsync - systemTime(CLOCK_MONOTONIC);
361 // We expect the UI thread to take 4ms and for RT to be active from VSYNC+4ms to
362 // VSYNC+12ms or so, so aim for the gap during which RT is expected to
363 // be idle
364 // TODO: Make this concept a first-class supported thing? RT could use
365 // knowledge of pending draws to better schedule this task
366 if (timeToNextVsync > -6_ms && timeToNextVsync < 1_ms) {
John Reckf8441e62017-10-23 13:10:41 -0700367 renderThread->queue().postAt(estimatedNextVsync + 8_ms, task);
John Reck43871902016-08-01 14:39:24 -0700368 } else {
John Reckf8441e62017-10-23 13:10:41 -0700369 renderThread->queue().post(task);
John Reck43871902016-08-01 14:39:24 -0700370 }
371}
372
sergeyv694d4992016-10-27 10:23:13 -0700373sk_sp<Bitmap> RenderProxy::allocateHardwareBitmap(SkBitmap& bitmap) {
John Reckf8441e62017-10-23 13:10:41 -0700374 auto& thread = RenderThread::getInstance();
375 return thread.queue().runSync([&]() -> auto {
376 return thread.allocateHardwareBitmap(bitmap);
377 });
sergeyv59eecb522016-11-17 17:54:57 -0800378}
379
380int RenderProxy::copyGraphicBufferInto(GraphicBuffer* buffer, SkBitmap* bitmap) {
Stan Iliev6983bc42017-02-02 14:11:53 -0500381 RenderThread& thread = RenderThread::getInstance();
382 if (Properties::isSkiaEnabled() && gettid() == thread.getTid()) {
383 //TODO: fix everything that hits this. We should never be triggering a readback ourselves.
384 return (int) thread.readback().copyGraphicBufferInto(buffer, bitmap);
385 } else {
John Reckf8441e62017-10-23 13:10:41 -0700386 return thread.queue().runSync([&]() -> int {
387 return (int) thread.readback().copyGraphicBufferInto(buffer, bitmap);
388 });
Stan Iliev6983bc42017-02-02 14:11:53 -0500389 }
sergeyv59eecb522016-11-17 17:54:57 -0800390}
391
John Reck9a814872017-05-22 15:04:21 -0700392void RenderProxy::onBitmapDestroyed(uint32_t pixelRefId) {
393 if (!RenderThread::hasInstance()) return;
John Reck9a814872017-05-22 15:04:21 -0700394 RenderThread& thread = RenderThread::getInstance();
John Reckf8441e62017-10-23 13:10:41 -0700395 thread.queue().post([&thread, pixelRefId]() {
396 thread.renderState().onBitmapDestroyed(pixelRefId);
397 });
John Reck9a814872017-05-22 15:04:21 -0700398}
399
John Recka8963062017-06-14 10:47:50 -0700400void RenderProxy::disableVsync() {
401 Properties::disableVsync = true;
402}
403
Stan Iliev3310fb12017-03-23 16:56:51 -0400404void RenderProxy::repackVectorDrawableAtlas() {
405 RenderThread& thread = RenderThread::getInstance();
John Reckf8441e62017-10-23 13:10:41 -0700406 thread.queue().post([&thread]() {
407 thread.cacheManager().acquireVectorDrawableAtlas()->repackIfNeeded(thread.getGrContext());
408 });
Stan Iliev6b894d72017-08-23 12:41:41 -0400409}
410
411void RenderProxy::releaseVDAtlasEntries() {
412 RenderThread& thread = RenderThread::getInstance();
John Reckf8441e62017-10-23 13:10:41 -0700413 thread.queue().post([&thread]() {
414 thread.cacheManager().acquireVectorDrawableAtlas()->delayedReleaseEntries();
415 });
John Reck0e89e2b2014-10-31 14:49:06 -0700416}
417
John Reck4f02bf42014-01-03 18:09:17 -0800418} /* namespace renderthread */
419} /* namespace uirenderer */
420} /* namespace android */