Home
last modified time | relevance | path

Searched refs:numRects (Results 1 – 13 of 13) 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/native/libs/ui/
DRegion.cpp799 uint32_t numRects = 0; in unflatten() local
800 FlattenableUtils::read(buffer, size, numRects); in unflatten()
801 if (size < numRects * sizeof(Rect)) { in unflatten()
805 if (numRects > (UINT32_MAX / sizeof(Rect))) { in unflatten()
812 for (size_t r = 0; r < numRects; ++r) { in unflatten()
846 size_t numRects = isRect() ? 1 : mStorage.size() - 1; in end() local
847 return mStorage.array() + numRects; in end()
/frameworks/native/libs/gui/bufferqueue/1.0/
DH2BGraphicBufferProducer.cpp416 uint32_t numRects = 0; in unflatten() local
417 FlattenableUtils::read(buffer, size, numRects); in unflatten()
418 if (size < numRects * sizeof(HRect)) { in unflatten()
421 if (numRects > (UINT32_MAX / sizeof(HRect))) { in unflatten()
425 t->resize(numRects); in unflatten()
426 for (size_t r = 0; r < numRects; ++r) { in unflatten()
/frameworks/native/opengl/tests/hwc/
DhwcColorEquiv.cpp364 layer->visibleRegionScreen.numRects = 1; in main()
378 layer->visibleRegionScreen.numRects = 1; in main()
DhwcCommit.cpp639 for (unsigned int numRects = 1; numRects <= searchLimits.numOverlays; in maxOverlays() local
640 numRects++) { in maxOverlays()
657 if (rectList.size() >= numRects) { break; } in maxOverlays()
659 if (rectList.size() >= numRects) { break; } in maxOverlays()
1424 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/nativewindow/include/system/
Dwindow.h876 const android_native_rect_t* rects, size_t numRects) in native_window_set_surface_damage() argument
879 rects, numRects); in native_window_set_surface_damage()
/frameworks/av/media/libstagefright/bqhelper/
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.cpp1121 size_t numRects = va_arg(args, size_t); in dispatchSetSurfaceDamage() local
1122 setSurfaceDamage(rects, numRects); in dispatchSetSurfaceDamage()
1579 void Surface::setSurfaceDamage(android_native_rect_t* rects, size_t numRects) { in setSurfaceDamage() argument
1584 if (mConnectedToCpu || numRects == 0) { in setSurfaceDamage()
1590 for (size_t r = 0; r < numRects; ++r) { in setSurfaceDamage()
/frameworks/native/opengl/include/EGL/
Deglext.h1012 …GLSWAPBUFFERSREGIONNOKPROC) (EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint *re…
1014 …TRY eglSwapBuffersRegionNOK (EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint *re…
1020 …LSWAPBUFFERSREGION2NOKPROC) (EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint *re…
1022 …RY eglSwapBuffersRegion2NOK (EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint *re…
/frameworks/native/libs/gui/include/gui/
DSurface.h254 virtual void setSurfaceDamage(android_native_rect_t* rects, size_t numRects);