Home
last modified time | relevance | path

Searched refs:numRects (Results 1 – 15 of 15) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/hwc2/
DHwc2TestProperties.cpp548 dmp << "\tsurface damage: region count " << curr.numRects << "\n"; in dump()
549 for (size_t i = 0; i < curr.numRects; i++) { in dump()
576 damage.numRects = regionScalar.size(); in update()
578 if (damage.numRects > 0) { in update()
579 hwc_rect_t* rects = new hwc_rect_t[damage.numRects]; in update()
585 for (size_t i = 0; i < damage.numRects; i++) { in update()
604 if (surfaceDamage.numRects > 0 && surfaceDamage.rects) in freeSurfaceDamages()
670 dmp << "\tvisible region: region count " << curr.numRects << "\n"; in dump()
671 for (size_t i = 0; i < curr.numRects; i++) { in dump()
687 mVisibleRegion.numRects = size; in set()
[all …]
DHwc2TestClientTarget.cpp33 if (testLayers.getVisibleRegion(clientLayer).numRects > 0) { in getBuffer()
/frameworks/av/media/codec2/vndk/
Dtypes.cpp229 size_t numRects; in b2h() local
230 BRect const* rectArray = from.getArray(&numRects); in b2h()
231 to->resize(numRects); in b2h()
232 for (size_t i = 0; i < numRects; ++i) { in b2h()
/frameworks/native/libs/gui/bufferqueue/2.0/
Dtypes.cpp222 size_t numRects; in b2h() local
223 BRect const* rectArray = from.getArray(&numRects); in b2h()
224 to->resize(numRects); in b2h()
225 for (size_t i = 0; i < numRects; ++i) { in b2h()
/frameworks/native/libs/ui/
DRegion.cpp825 uint32_t numRects = 0; in unflatten() local
826 FlattenableUtils::read(buffer, size, numRects); in unflatten()
827 if (size < numRects * sizeof(Rect)) { in unflatten()
831 if (numRects > (UINT32_MAX / sizeof(Rect))) { in unflatten()
838 for (size_t r = 0; r < numRects; ++r) { in unflatten()
872 size_t numRects = isRect() ? 1 : mStorage.size() - 1; in end() local
873 return mStorage.array() + numRects; in end()
/frameworks/native/libs/nativewindow/include/system/
Dwindow.h898 const android_native_rect_t* rects, size_t numRects) in native_window_set_surface_damage() argument
901 rects, numRects); in native_window_set_surface_damage()
/frameworks/native/opengl/tests/hwc/
DhwcColorEquiv.cpp364 layer->visibleRegionScreen.numRects = 1; in main()
378 layer->visibleRegionScreen.numRects = 1; in main()
DhwcCommit.cpp641 for (unsigned int numRects = 1; numRects <= searchLimits.numOverlays; in maxOverlays() local
642 numRects++) { in maxOverlays()
659 if (rectList.size() >= numRects) { break; } in maxOverlays()
661 if (rectList.size() >= numRects) { break; } in maxOverlays()
1426 layer->visibleRegionScreen.numRects = 1; in numOverlays()
DhwcRects.cpp324 layer->visibleRegionScreen.numRects = 1; in main()
DhwcStress.cpp475 layer->visibleRegionScreen.numRects = 1; in main()
/frameworks/native/libs/gui/bufferqueue/1.0/
DH2BGraphicBufferProducer.cpp421 uint32_t numRects = 0; in unflatten() local
422 FlattenableUtils::read(buffer, size, numRects); in unflatten()
423 if (size < numRects * sizeof(HRect)) { in unflatten()
426 if (numRects > (UINT32_MAX / sizeof(HRect))) { in unflatten()
430 t->resize(numRects); in unflatten()
431 for (size_t r = 0; r < numRects; ++r) { in unflatten()
DConversion.cpp1077 uint32_t numRects = 0; in unflatten() local
1078 FlattenableUtils::read(buffer, size, numRects); in unflatten()
1079 if (size < numRects * sizeof(Rect)) { in unflatten()
1082 if (numRects > (UINT32_MAX / sizeof(Rect))) { in unflatten()
1086 t->resize(numRects); in unflatten()
1087 for (size_t r = 0; r < numRects; ++r) { in unflatten()
/frameworks/native/libs/gui/
DSurface.cpp1202 size_t numRects = va_arg(args, size_t); in dispatchSetSurfaceDamage() local
1203 setSurfaceDamage(rects, numRects); in dispatchSetSurfaceDamage()
1687 void Surface::setSurfaceDamage(android_native_rect_t* rects, size_t numRects) { in setSurfaceDamage() argument
1692 if (mConnectedToCpu || numRects == 0) { in setSurfaceDamage()
1698 for (size_t r = 0; r < numRects; ++r) { in setSurfaceDamage()
/frameworks/native/opengl/include/EGL/
Deglext.h1036 …GLSWAPBUFFERSREGIONNOKPROC) (EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint *re…
1038 …TRY eglSwapBuffersRegionNOK (EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint *re…
1044 …LSWAPBUFFERSREGION2NOKPROC) (EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint *re…
1046 …RY eglSwapBuffersRegion2NOK (EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint *re…
/frameworks/native/libs/gui/include/gui/
DSurface.h257 virtual void setSurfaceDamage(android_native_rect_t* rects, size_t numRects);