Make updateSurface non-blocking am: cd68212f08

am: 9dd91dec3f

Change-Id: I8a27b5bcff0781e90c9d061da0c1fe03eb6d8176
This commit is contained in:
John Reck
2016-08-10 17:44:40 +00:00
committed by android-build-merger
2 changed files with 1 additions and 11 deletions

View File

@@ -519,16 +519,6 @@ public final class ThreadedRenderer {
}
}
/**
* This method should be invoked whenever the current hardware renderer
* context should be reset.
*
* @param surface The surface to hardware accelerate
*/
void invalidate(Surface surface) {
updateSurface(surface);
}
/**
* Detaches the layer's surface texture from the GL context and releases
* the texture id

View File

@@ -158,7 +158,7 @@ void RenderProxy::updateSurface(const sp<Surface>& surface) {
SETUP_TASK(updateSurface);
args->context = mContext;
args->surface = surface.get();
postAndWait(task);
post(task);
}
CREATE_BRIDGE2(pauseSurface, CanvasContext* context, Surface* surface) {