Home
last modified time | relevance | path

Searched refs:rects (Results 1 – 25 of 50) sorted by relevance

12

/hardware/google/gfxstream/guest/mesa/src/vulkan/runtime/
Dvk_meta_draw_rects.c156 const struct vk_meta_rect *rects, in setup_viewport_scissor() argument
163 assert(rects[0].x0 < rects[0].x1 && rects[0].y0 < rects[0].y1); in setup_viewport_scissor()
164 uint32_t xbits = rects[0].x1 - 1, ybits = rects[0].y1 - 1; in setup_viewport_scissor()
165 float zmin = rects[0].z, zmax = rects[0].z; in setup_viewport_scissor()
167 assert(rects[r].x0 < rects[r].x1 && rects[r].y0 < rects[r].y1); in setup_viewport_scissor()
168 xbits |= rects[r].x1 - 1; in setup_viewport_scissor()
169 ybits |= rects[r].y1 - 1; in setup_viewport_scissor()
170 zmin = fminf(zmin, rects[r].z); in setup_viewport_scissor()
171 zmax = fminf(zmax, rects[r].z); in setup_viewport_scissor()
222 const struct vk_meta_rect *rects, in create_vertex_buffer() argument
[all …]
Dvk_meta_clear.c288 STACK_ARRAY(struct vk_meta_rect, rects, max_rect_count); in vk_meta_clear_attachments()
303 rects[rect_count++] = rect; in vk_meta_clear_attachments()
312 qsort(rects, rect_count, sizeof(*rects), vk_meta_rect_cmp_layer); in vk_meta_clear_attachments()
314 meta->cmd_draw_rects(cmd, meta, rect_count, rects); in vk_meta_clear_attachments()
316 STACK_ARRAY_FINISH(rects); in vk_meta_clear_attachments()
321 STACK_ARRAY(struct vk_meta_rect, rects, rect_count); in vk_meta_clear_attachments()
328 rects[rect_idx++] = (struct vk_meta_rect) { in vk_meta_clear_attachments()
342 meta->cmd_draw_rects(cmd, meta, rect_count, rects); in vk_meta_clear_attachments()
344 STACK_ARRAY_FINISH(rects); in vk_meta_clear_attachments()
Dvk_meta.h66 const struct vk_meta_rect *rects);
222 const struct vk_meta_rect *rects);
235 const VkClearRect *rects);
/hardware/google/gfxstream/guest/mesa/include/EGL/
Deglmesaext.h38 …GLSWAPBUFFERSREGIONNOK) (EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint* rects);
Deglext.h263 … PFNEGLSETDAMAGEREGIONKHRPROC) (EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects);
265 …APIENTRY eglSetDamageRegionKHR (EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects);
427 …UFFERSWITHDAMAGEKHRPROC) (EGLDisplay dpy, EGLSurface surface, const EGLint *rects, EGLint n_rects);
429 …SwapBuffersWithDamageKHR (EGLDisplay dpy, EGLSurface surface, const EGLint *rects, EGLint n_rects);
982 …UFFERSWITHDAMAGEEXTPROC) (EGLDisplay dpy, EGLSurface surface, const EGLint *rects, EGLint n_rects);
984 …SwapBuffersWithDamageEXT (EGLDisplay dpy, EGLSurface surface, const EGLint *rects, EGLint n_rects);
1112 …APBUFFERSREGIONNOKPROC) (EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint *rects);
1114 …eglSwapBuffersRegionNOK (EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint *rects);
1120 …PBUFFERSREGION2NOKPROC) (EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint *rects);
1122 …glSwapBuffersRegion2NOK (EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint *rects);
/hardware/interfaces/graphics/composer/2.1/utils/hwc2on1adapter/
DHWC2On1Adapter.cpp1573 hwc_rect_t* rects = mNextAvailableRect; in GetRects() local
1576 return rects; in GetRects()
1890 hwc_rect_t* rects = GetRects(1); in prepareFramebufferTarget() local
1891 rects[0].left = 0; in prepareFramebufferTarget()
1892 rects[0].top = 0; in prepareFramebufferTarget()
1893 rects[0].right = width; in prepareFramebufferTarget()
1894 rects[0].bottom = height; in prepareFramebufferTarget()
1895 hwc1Target.visibleRegionScreen.rects = rects; in prepareFramebufferTarget()
1958 std::copy_n(damage.rects, damage.numRects, mSurfaceDamage.begin()); in setSurfaceDamage()
2025 !std::equal(mVisibleRegion.begin(), mVisibleRegion.end(), visible.rects, in setVisibleRegion()
[all …]
/hardware/qcom/display/msm8996/sdm/libs/hwc2/
Dhwc_layers.cpp132 if ((damage.numRects == 1) && (damage.rects[0].bottom == 0) && (damage.rects[0].right == 0)) { in SetLayerSurfaceDamage()
151 SetRect(damage.rects[j], &damage_rect); in SetLayerSurfaceDamage()
304 SetRect(visible.rects[i], &rect); in SetLayerVisibleRegion()
644 SetRect(surface_damage.rects[i], &rect); in SetDirtyRegions()
/hardware/libhardware/include_all/hardware/
Dhwcomposer_defs.h84 hwc_rect_t const* rects; member
/hardware/libhardware/include/hardware/
Dhwcomposer_defs.h84 hwc_rect_t const* rects; member
/hardware/google/gfxstream/common/opengl/include/EGL/
Deglext.h282 … PFNEGLSETDAMAGEREGIONKHRPROC) (EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects);
284 …APIENTRY eglSetDamageRegionKHR (EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects);
446 …LSWAPBUFFERSWITHDAMAGEKHRPROC) (EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects);
448 …RY eglSwapBuffersWithDamageKHR (EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects);
916 …LSWAPBUFFERSWITHDAMAGEEXTPROC) (EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects);
918 …RY eglSwapBuffersWithDamageEXT (EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects);
1036 …APBUFFERSREGIONNOKPROC) (EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint *rects);
1038 …eglSwapBuffersRegionNOK (EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint *rects);
1044 …PBUFFERSREGION2NOKPROC) (EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint *rects);
1046 …glSwapBuffersRegion2NOK (EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint *rects);
/hardware/qcom/display/msm8960/libhwcomposer/
Dhwc_copybit.cpp54 rect->l = me->mRegion.rects[me->r.current].left; in iterate()
55 rect->t = me->mRegion.rects[me->r.current].top; in iterate()
56 rect->r = me->mRegion.rects[me->r.current].right; in iterate()
57 rect->b = me->mRegion.rects[me->r.current].bottom; in iterate()
/hardware/qcom/display/msm8998/sdm/libs/hwc2/
Dhwc_layers.cpp281 if ((damage.numRects == 1) && (damage.rects[0].bottom == 0) && (damage.rects[0].right == 0)) { in SetLayerSurfaceDamage()
300 SetRect(damage.rects[j], &damage_rect); in SetLayerSurfaceDamage()
485 SetRect(visible.rects[i], &rect); in SetLayerVisibleRegion()
837 SetRect(surface_damage.rects[i], &rect); in SetDirtyRegions()
/hardware/google/gfxstream/guest/mesa/include/android_stub/system/
Dwindow.h962 const android_native_rect_t* rects, size_t numRects) in native_window_set_surface_damage() argument
965 rects, numRects); in native_window_set_surface_damage()
/hardware/qcom/display/msm8994/libhwcomposer/
DHWC2On1Adapter.cpp88 std::free(const_cast<hwc_rect_t*>(layer.visibleRegionScreen.rects)); in operator ()()
1307 std::copy_n(region.rects, region.numRects, newRects); in cloneHWCRegion()
1308 region.rects = newRects; in cloneHWCRegion()
1960 auto rects = static_cast<hwc_rect_t*>(std::malloc(sizeof(hwc_rect_t))); in prepareFramebufferTarget() local
1961 rects[0].left = 0; in prepareFramebufferTarget()
1962 rects[0].top = 0; in prepareFramebufferTarget()
1963 rects[0].right = width; in prepareFramebufferTarget()
1964 rects[0].bottom = height; in prepareFramebufferTarget()
1965 hwc1Target.visibleRegionScreen.rects = rects; in prepareFramebufferTarget()
2030 std::copy_n(damage.rects, damage.numRects, mSurfaceDamage.begin()); in setSurfaceDamage()
[all …]
Dhwc_copybit.cpp58 rect->l = me->mRegion.rects[me->r.current].left; in iterate()
59 rect->t = me->mRegion.rects[me->r.current].top; in iterate()
60 rect->r = me->mRegion.rects[me->r.current].right; in iterate()
61 rect->b = me->mRegion.rects[me->r.current].bottom; in iterate()
748 region.rects = &regRect; in drawRectUsingCopybit()
/hardware/google/gfxstream/guest/mesa/src/vulkan/wsi/
Dwsi_common_win32.cpp675 STACK_ARRAY(RECT, rects, rect_count); in wsi_win32_queue_present_dxgi()
678 rects[r].left = damage->pRectangles[r].offset.x; in wsi_win32_queue_present_dxgi()
679 rects[r].top = damage->pRectangles[r].offset.y; in wsi_win32_queue_present_dxgi()
680 rects[r].right = damage->pRectangles[r].offset.x + damage->pRectangles[r].extent.width; in wsi_win32_queue_present_dxgi()
681 rects[r].bottom = damage->pRectangles[r].offset.y + damage->pRectangles[r].extent.height; in wsi_win32_queue_present_dxgi()
686 rects, in wsi_win32_queue_present_dxgi()
Dwsi_common_x11.c1862 xcb_rectangle_t rects[MAX_DAMAGE_RECTS]; in x11_queue_present() local
1868 rects[i].x = rect->offset.x; in x11_queue_present()
1869 rects[i].y = rect->offset.y; in x11_queue_present()
1870 rects[i].width = rect->extent.width; in x11_queue_present()
1871 rects[i].height = rect->extent.height; in x11_queue_present()
1873 xcb_xfixes_set_region(chain->conn, update_area, damage->rectangleCount, rects); in x11_queue_present()
/hardware/qcom/display/msm8084/libhwcomposer/
Dhwc_copybit.cpp58 rect->l = me->mRegion.rects[me->r.current].left; in iterate()
59 rect->t = me->mRegion.rects[me->r.current].top; in iterate()
60 rect->r = me->mRegion.rects[me->r.current].right; in iterate()
61 rect->b = me->mRegion.rects[me->r.current].bottom; in iterate()
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/appendices/
DVK_KHR_display_swapchain.adoc41 3) Should pname:srcRect and pname:dstRect be specified as rects, or separate
44 *RESOLVED*: As rects.
/hardware/google/gfxstream/host/apigen-codec-common/X11/
DXregion.h78 BOX *rects; member
/hardware/qcom/sm8150/display/sdm/libs/hwc2/
Dhwc_layers.cpp314 if ((damage.numRects == 1) && (damage.rects[0].bottom == 0) && (damage.rects[0].right == 0)) { in SetLayerSurfaceDamage()
333 SetRect(damage.rects[j], &damage_rect); in SetLayerSurfaceDamage()
537 SetRect(visible.rects[i], &rect); in SetLayerVisibleRegion()
1114 SetRect(surface_damage.rects[i], &rect); in SetDirtyRegions()
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/
Dhwc_layers.cpp172 SetRect(damage.rects[j], &damage_rect); in SetLayerSurfaceDamage()
183 SetRect(damage.rects[i], &rect); in SetLayerSurfaceDamage()
368 SetRect(visible.rects[i], &rect); in SetLayerVisibleRegion()
/hardware/qcom/sm7250/display/composer/
Dhwc_layers.cpp395 if ((damage.numRects == 1) && (damage.rects[0].bottom == 0) && (damage.rects[0].right == 0)) { in SetLayerSurfaceDamage()
414 SetRect(damage.rects[j], &damage_rect); in SetLayerSurfaceDamage()
617 SetRect(visible.rects[i], &rect); in SetLayerVisibleRegion()
1200 SetRect(surface_damage.rects[i], &rect); in SetDirtyRegions()
/hardware/qcom/display/msm8226/libhwcomposer/
Dhwc_copybit.cpp58 rect->l = me->mRegion.rects[me->r.current].left; in iterate()
59 rect->t = me->mRegion.rects[me->r.current].top; in iterate()
60 rect->r = me->mRegion.rects[me->r.current].right; in iterate()
61 rect->b = me->mRegion.rects[me->r.current].bottom; in iterate()
695 region.rects = &regRect; in drawRectUsingCopybit()
/hardware/qcom/display/msm8909/sdm/libs/hwc2/
Dhwc_layers.cpp271 SetRect(damage.rects[j], &damage_rect); in SetLayerSurfaceDamage()
282 SetRect(damage.rects[i], &rect); in SetLayerSurfaceDamage()
475 SetRect(visible.rects[i], &rect); in SetLayerVisibleRegion()

12