Searched refs:n_rects (Results 1 - 25 of 30) sorted by relevance

12

/xsrc/external/mit/libX11/dist/src/
H A DDrRects.c38 int n_rects)
46 while (n_rects) {
50 n = n_rects;
59 n_rects -= n;
33 XDrawRectangles(register Display * dpy,Drawable d,GC gc,XRectangle * rects,int n_rects) argument
H A DFillRcts.c38 int n_rects)
46 while (n_rects) {
50 n = n_rects;
59 n_rects -= n;
33 XFillRectangles(register Display * dpy,Drawable d,GC gc,XRectangle * rectangles,int n_rects) argument
/xsrc/external/mit/libXrender/dist/src/
H A DFillRects.c40 int n_rects)
48 while (n_rects)
64 n = n_rects;
74 n_rects -= n;
35 XRenderFillRectangles(Display * dpy,int op,Picture dst,_Xconst XRenderColor * color,_Xconst XRectangle * rectangles,int n_rects) argument
/xsrc/external/mit/MesaLib.old/dist/src/egl/drivers/dri2/
H A Degl_dri2_fallbacks.h62 const EGLint *rects, EGLint n_rects)
65 dri2_dpy->vtbl->set_damage_region(drv, disp, surf, rects, n_rects);
96 const EGLint *rects, EGLint n_rects)
60 dri2_fallback_swap_buffers_with_damage(_EGLDriver * drv,_EGLDisplay * disp,_EGLSurface * surf,const EGLint * rects,EGLint n_rects) argument
94 dri2_fallback_set_damage_region(_EGLDriver * drv,_EGLDisplay * disp,_EGLSurface * surf,const EGLint * rects,EGLint n_rects) argument
H A Degl_dri2.h120 const EGLint *rects, EGLint n_rects);
124 const EGLint *rects, EGLint n_rects);
H A Dplatform_android.c758 _EGLSurface *draw, const EGLint* rects, EGLint n_rects)
765 if (n_rects == 0)
768 droid_rects = malloc(n_rects * sizeof(android_native_rect_t));
772 for (EGLint num_drects = 0; num_drects < n_rects; num_drects++) {
784 ret = native_window_set_surface_damage(dri2_surf->window, droid_rects, n_rects);
756 droid_set_damage_region(_EGLDriver * drv,_EGLDisplay * disp,_EGLSurface * draw,const EGLint * rects,EGLint n_rects) argument
H A Dplatform_wayland.c952 EGLint n_rects)
958 for (int i = 0; i < n_rects; i++) {
976 EGLint n_rects)
1036 if (!n_rects || !try_damage_buffer(dri2_surf, rects, n_rects))
950 try_damage_buffer(struct dri2_egl_surface * dri2_surf,const EGLint * rects,EGLint n_rects) argument
972 dri2_wl_swap_buffers_with_damage(_EGLDriver * drv,_EGLDisplay * disp,_EGLSurface * draw,const EGLint * rects,EGLint n_rects) argument
/xsrc/external/mit/pixman/dist/test/
H A Dregion-contains-test.c125 int n_rects; local in function:test_region_contains_rectangle
128 boxes = pixman_region32_rectangles (&region, &n_rects);
131 while (n_rects--)
H A Dstress-test.c484 int i, n_rects; local in function:set_general_properties
491 n_rects = 0;
495 n_rects = 1;
499 n_rects = 2;
503 n_rects = 3;
507 n_rects = prng_rand_n (100);
511 for (i = 0; i < n_rects; ++i)
/xsrc/external/mit/MesaLib/dist/src/egl/main/
H A Degldriver.h123 EGLint *rects, EGLint n_rects);
172 const EGLint *rects, EGLint n_rects);
H A Deglapi.c1364 const EGLint *rects, EGLint n_rects)
1379 if ((n_rects > 0 && rects == NULL) || n_rects < 0)
1382 ret = disp->Driver->SwapBuffersWithDamageEXT(disp, surf, rects, n_rects);
1398 const EGLint *rects, EGLint n_rects)
1403 return _eglSwapBuffersWithDamageCommon(disp, surf, rects, n_rects);
1408 const EGLint *rects, EGLint n_rects)
1413 return _eglSwapBuffersWithDamageCommon(disp, surf, rects, n_rects);
1422 EGLint *rects, EGLint n_rects)
1428 for (i = 0; i < (4 * n_rects);
1363 _eglSwapBuffersWithDamageCommon(_EGLDisplay * disp,_EGLSurface * surf,const EGLint * rects,EGLint n_rects) argument
1397 eglSwapBuffersWithDamageEXT(EGLDisplay dpy,EGLSurface surface,const EGLint * rects,EGLint n_rects) argument
1407 eglSwapBuffersWithDamageKHR(EGLDisplay dpy,EGLSurface surface,const EGLint * rects,EGLint n_rects) argument
1421 _eglSetDamageRegionKHRClampRects(_EGLSurface * surf,EGLint * rects,EGLint n_rects) argument
1443 eglSetDamageRegionKHR(EGLDisplay dpy,EGLSurface surface,EGLint * rects,EGLint n_rects) argument
[all...]
/xsrc/external/mit/pixman/dist/pixman/
H A Dpixman.c872 int n_rects,
880 if (n_rects > 6)
882 boxes = pixman_malloc_ab (sizeof (pixman_box32_t), n_rects);
891 for (i = 0; i < n_rects; ++i)
899 result = pixman_image_fill_boxes (op, dest, color, n_rects, boxes);
945 int n_rects, j; local in function:pixman_image_fill_boxes
959 rects = pixman_region32_rectangles (&fill_region, &n_rects);
960 for (j = 0; j < n_rects; ++j)
869 pixman_image_fill_rectangles(pixman_op_t op,pixman_image_t * dest,const pixman_color_t * color,int n_rects,const pixman_rectangle16_t * rects) argument
H A Dpixman.h599 int *n_rects);
743 int *n_rects);
921 int *n_rects);
1314 int n_rects,
/xsrc/external/mit/MesaLib/dist/src/loader/
H A Dloader_dri3_helper.h223 const int *rects, int n_rects,
H A Dloader_dri3_helper.c986 const int *rects, int n_rects,
1102 if (n_rects > 0 && n_rects <= ARRAY_SIZE(xcb_rects)) {
1103 for (int i = 0; i < n_rects; i++) {
1112 xcb_xfixes_set_region(draw->conn, region, n_rects, xcb_rects);
983 loader_dri3_swap_buffers_msc(struct loader_dri3_drawable * draw,int64_t target_msc,int64_t divisor,int64_t remainder,unsigned flush_flags,const int * rects,int n_rects,bool force_copy) argument
/xsrc/external/mit/MesaLib.old/dist/src/egl/main/
H A Deglapi.h117 _EGLSurface *surface, EGLint *rects, EGLint n_rects);
181 const EGLint *rects, EGLint n_rects);
H A Deglapi.c1305 EGLint *rects, EGLint n_rects)
1321 if ((n_rects > 0 && rects == NULL) || n_rects < 0)
1324 ret = drv->API.SwapBuffersWithDamageEXT(drv, disp, surf, rects, n_rects);
1340 EGLint *rects, EGLint n_rects)
1345 return _eglSwapBuffersWithDamageCommon(disp, surf, rects, n_rects);
1350 EGLint *rects, EGLint n_rects)
1355 return _eglSwapBuffersWithDamageCommon(disp, surf, rects, n_rects);
1364 EGLint *rects, EGLint n_rects)
1370 for (i = 0; i < (4 * n_rects);
1304 _eglSwapBuffersWithDamageCommon(_EGLDisplay * disp,_EGLSurface * surf,EGLint * rects,EGLint n_rects) argument
1339 eglSwapBuffersWithDamageEXT(EGLDisplay dpy,EGLSurface surface,EGLint * rects,EGLint n_rects) argument
1349 eglSwapBuffersWithDamageKHR(EGLDisplay dpy,EGLSurface surface,EGLint * rects,EGLint n_rects) argument
1363 _eglSetDamageRegionKHRClampRects(_EGLDisplay * disp,_EGLSurface * surf,EGLint * rects,EGLint n_rects) argument
1385 eglSetDamageRegionKHR(EGLDisplay dpy,EGLSurface surface,EGLint * rects,EGLint n_rects) argument
[all...]
/xsrc/external/mit/libXext/dist/src/
H A DXShape.c240 int n_rects,
261 req->length += n_rects * (SIZEOF(xRectangle) / 4);
263 nbytes = n_rects * sizeof(xRectangle);
235 XShapeCombineRectangles(register Display * dpy,XID dest,int destKind,int xOff,int yOff,XRectangle * rects,int n_rects,int op,int ordering) argument
/xsrc/external/mit/libXaw/dist/src/
H A DAsciiSink.c743 int n_rects, i_rects; local in function:AsciiDoPaint
805 i_rects = n_rects = 0;
820 if (i_rects <= n_rects)
823 (size_t)++n_rects));
833 if (i_rects <= n_rects)
836 (size_t)++n_rects));
857 if (i_rects <= n_rects)
860 (size_t)++n_rects));
875 if (i_rects <= n_rects)
878 (size_t)++n_rects));
[all...]
/xsrc/external/mit/MesaLib.old/dist/include/EGL/
H A Deglext.h282 typedef EGLBoolean (EGLAPIENTRYP PFNEGLSETDAMAGEREGIONKHRPROC) (EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects);
284 EGLAPI EGLBoolean EGLAPIENTRY eglSetDamageRegionKHR (EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects);
446 typedef EGLBoolean (EGLAPIENTRYP PFNEGLSWAPBUFFERSWITHDAMAGEKHRPROC) (EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects);
448 EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffersWithDamageKHR (EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects);
916 typedef EGLBoolean (EGLAPIENTRYP PFNEGLSWAPBUFFERSWITHDAMAGEEXTPROC) (EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects);
918 EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffersWithDamageEXT (EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects);
/xsrc/external/mit/MesaLib/dist/include/EGL/
H A Deglext.h263 typedef EGLBoolean (EGLAPIENTRYP PFNEGLSETDAMAGEREGIONKHRPROC) (EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects);
265 EGLAPI EGLBoolean EGLAPIENTRY eglSetDamageRegionKHR (EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects);
427 typedef EGLBoolean (EGLAPIENTRYP PFNEGLSWAPBUFFERSWITHDAMAGEKHRPROC) (EGLDisplay dpy, EGLSurface surface, const EGLint *rects, EGLint n_rects);
429 EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffersWithDamageKHR (EGLDisplay dpy, EGLSurface surface, const EGLint *rects, EGLint n_rects);
952 typedef EGLBoolean (EGLAPIENTRYP PFNEGLSWAPBUFFERSWITHDAMAGEEXTPROC) (EGLDisplay dpy, EGLSurface surface, const EGLint *rects, EGLint n_rects);
954 EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffersWithDamageEXT (EGLDisplay dpy, EGLSurface surface, const EGLint *rects, EGLint n_rects);
/xsrc/external/mit/MesaLib/dist/src/egl/drivers/dri2/
H A Dplatform_x11_dri3.c427 const EGLint *rects, EGLint n_rects)
433 rects, n_rects,
426 dri3_swap_buffers_with_damage(_EGLDisplay * disp,_EGLSurface * draw,const EGLint * rects,EGLint n_rects) argument
H A Dplatform_wayland.c1073 EGLint n_rects)
1079 for (int i = 0; i < n_rects; i++) {
1097 EGLint n_rects)
1160 if (!n_rects || !try_damage_buffer(dri2_surf, rects, n_rects))
1071 try_damage_buffer(struct dri2_egl_surface * dri2_surf,const EGLint * rects,EGLint n_rects) argument
1094 dri2_wl_swap_buffers_with_damage(_EGLDisplay * disp,_EGLSurface * draw,const EGLint * rects,EGLint n_rects) argument
/xsrc/external/mit/libepoxy/src/
H A Degl_generated.h973 typedef EGLBoolean (GLAPIENTRY *PFNEGLSETDAMAGEREGIONKHRPROC)(EGLDisplay dpy, EGLSurface surface, EGLint * rects, EGLint n_rects);
991 typedef EGLBoolean (GLAPIENTRY *PFNEGLSWAPBUFFERSWITHDAMAGEEXTPROC)(EGLDisplay dpy, EGLSurface surface, EGLint * rects, EGLint n_rects);
992 typedef EGLBoolean (GLAPIENTRY *PFNEGLSWAPBUFFERSWITHDAMAGEKHRPROC)(EGLDisplay dpy, EGLSurface surface, EGLint * rects, EGLint n_rects);
1236 EPOXY_PUBLIC EGLBoolean (EPOXY_CALLSPEC *epoxy_eglSetDamageRegionKHR)(EGLDisplay dpy, EGLSurface surface, EGLint * rects, EGLint n_rects);
1272 EPOXY_PUBLIC EGLBoolean (EPOXY_CALLSPEC *epoxy_eglSwapBuffersWithDamageEXT)(EGLDisplay dpy, EGLSurface surface, EGLint * rects, EGLint n_rects);
1274 EPOXY_PUBLIC EGLBoolean (EPOXY_CALLSPEC *epoxy_eglSwapBuffersWithDamageKHR)(EGLDisplay dpy, EGLSurface surface, EGLint * rects, EGLint n_rects);
H A Degl_generated_dispatch.c5135 GEN_THUNKS_RET(EGLBoolean, eglSetDamageRegionKHR, (EGLDisplay dpy, EGLSurface surface, EGLint * rects, EGLint n_rects), (dpy, surface, rects, n_rects))
5153 GEN_THUNKS_RET(EGLBoolean, eglSwapBuffersWithDamageEXT, (EGLDisplay dpy, EGLSurface surface, EGLint * rects, EGLint n_rects), (dpy, surface, rects, n_rects))
5154 GEN_THUNKS_RET(EGLBoolean, eglSwapBuffersWithDamageKHR, (EGLDisplay dpy, EGLSurface surface, EGLint * rects, EGLint n_rects), (dpy, surface, rects, n_rects))

Completed in 68 milliseconds

12