Home
last modified time | relevance | path

Searched refs:newDirtyRegion (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/tests/SurfaceViewBufferTests/cpp/
DSurfaceProxy.cpp167 android::Region newDirtyRegion; in Java_com_android_test_SurfaceProxy_drawBuffer() local
168 newDirtyRegion.set(bounds); in Java_com_android_test_SurfaceProxy_drawBuffer()
173 newDirtyRegion.bounds(), &vaddr, fenceFd); in Java_com_android_test_SurfaceProxy_drawBuffer()
/frameworks/native/libs/gui/
DSurface.cpp2427 Region newDirtyRegion; in lock() local
2429 newDirtyRegion.set(static_cast<Rect const&>(*inOutDirtyBounds)); in lock()
2430 newDirtyRegion.andSelf(bounds); in lock()
2432 newDirtyRegion.set(bounds); in lock()
2444 const Region copyback(mDirtyRegion.subtract(newDirtyRegion)); in lock()
2451 newDirtyRegion.set(bounds); in lock()
2466 dirtyRegion = newDirtyRegion; in lock()
2470 mDirtyRegion.orSelf(newDirtyRegion); in lock()
2472 *inOutDirtyBounds = newDirtyRegion.getBounds(); in lock()
2478 newDirtyRegion.bounds(), &vaddr, fenceFd); in lock()