Support Surface and Layer Readback in the SkiaPipelines.
Test: CTS TextureViewTests and UIRendering Change-Id: I2969c8f5a975bfd9aebcbb585c64d1fcbb2487c2
This commit is contained in:
@ -602,8 +602,8 @@ void RenderProxy::removeFrameMetricsObserver(FrameMetricsObserver* observer) {
|
||||
|
||||
CREATE_BRIDGE4(copySurfaceInto, RenderThread* thread,
|
||||
Surface* surface, Rect srcRect, SkBitmap* bitmap) {
|
||||
return (void*) Readback::copySurfaceInto(*args->thread,
|
||||
*args->surface, args->srcRect, args->bitmap);
|
||||
return (void*)args->thread->readback().copySurfaceInto(*args->surface,
|
||||
args->srcRect, args->bitmap);
|
||||
}
|
||||
|
||||
int RenderProxy::copySurfaceInto(sp<Surface>& surface, int left, int top,
|
||||
|
Reference in New Issue
Block a user