Loading services/surfaceflinger/Layer.cpp +10 −6 Original line number Diff line number Diff line Loading @@ -196,6 +196,7 @@ void Layer::reloadTexture(const Region& dirty) } else { slowpath: GGLSurface t; if (buffer->usage & GRALLOC_USAGE_SW_READ_MASK) { status_t res = buffer->lock(&t, GRALLOC_USAGE_SW_READ_OFTEN); LOGE_IF(res, "error %d (%s) locking buffer %p", res, strerror(res), buffer.get()); Loading @@ -203,6 +204,9 @@ slowpath: mBufferManager.loadTexture(dirty, t); buffer->unlock(); } } else { // we can't do anything } } } Loading Loading
services/surfaceflinger/Layer.cpp +10 −6 Original line number Diff line number Diff line Loading @@ -196,6 +196,7 @@ void Layer::reloadTexture(const Region& dirty) } else { slowpath: GGLSurface t; if (buffer->usage & GRALLOC_USAGE_SW_READ_MASK) { status_t res = buffer->lock(&t, GRALLOC_USAGE_SW_READ_OFTEN); LOGE_IF(res, "error %d (%s) locking buffer %p", res, strerror(res), buffer.get()); Loading @@ -203,6 +204,9 @@ slowpath: mBufferManager.loadTexture(dirty, t); buffer->unlock(); } } else { // we can't do anything } } } Loading