| /OK3568_Linux_fs/external/xserver/render/ |
| H A D | mirect.c | 40 int nRect, xRectangle *rects, int xoff, int yoff) in miColorRects() argument 73 rects[i].x -= xoff; in miColorRects() 74 rects[i].y -= yoff; in miColorRects() 77 (*pGC->ops->PolyFillRect) (pDst->pDrawable, pGC, nRect, rects); in miColorRects() 82 rects[i].x += xoff; in miColorRects() 83 rects[i].y += yoff; in miColorRects() 92 xRenderColor * color, int nRect, xRectangle *rects) in miCompositeRects() argument 102 miColorRects(pDst, pDst, color, nRect, rects, 0, 0); in miCompositeRects() 105 color, nRect, rects, in miCompositeRects() 115 rects->x, rects->y, in miCompositeRects() [all …]
|
| /OK3568_Linux_fs/external/xserver/glamor/ |
| H A D | glamor_compositerects.c | 52 xRectangle *rects, in _pixman_region_init_clipped_rectangles() argument 66 boxes[j].x1 = rects[i].x + tx; in _pixman_region_init_clipped_rectangles() 70 boxes[j].y1 = rects[i].y + ty; in _pixman_region_init_clipped_rectangles() 74 boxes[j].x2 = bound(rects[i].x + tx, rects[i].width); in _pixman_region_init_clipped_rectangles() 78 boxes[j].y2 = bound(rects[i].y + ty, rects[i].height); in _pixman_region_init_clipped_rectangles() 104 int num_rects, xRectangle *rects) in glamor_composite_rectangles() argument 120 num_rects, rects[0].x, rects[0].y, rects[0].width, rects[0].height); in glamor_composite_rectangles() 185 num_rects, rects, in glamor_composite_rectangles() 263 miCompositeRects(op, dst, color, num_rects, rects); in glamor_composite_rectangles()
|
| H A D | glamor_render.c | 1120 int nrect, glamor_composite_rect_t *rects, in glamor_composite_with_shader() argument 1203 .x1 = rects[i].x_dst, in glamor_composite_with_shader() 1204 .y1 = rects[i].y_dst, in glamor_composite_with_shader() 1205 .x2 = rects[i].x_dst + rects[i].width, in glamor_composite_with_shader() 1206 .y2 = rects[i].y_dst + rects[i].height, in glamor_composite_with_shader() 1240 x_dest = rects->x_dst + dest_x_off; in glamor_composite_with_shader() 1241 y_dest = rects->y_dst + dest_y_off; in glamor_composite_with_shader() 1242 x_source = rects->x_src + source_x_off; in glamor_composite_with_shader() 1243 y_source = rects->y_src + source_y_off; in glamor_composite_with_shader() 1244 x_mask = rects->x_mask + mask_x_off; in glamor_composite_with_shader() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/ |
| H A D | drm_damage_helper.c | 167 struct drm_mode_rect *rects = NULL; in drm_atomic_helper_dirtyfb() local 194 rects = kcalloc(num_clips, sizeof(*rects), GFP_KERNEL); in drm_atomic_helper_dirtyfb() 195 if (!rects) { in drm_atomic_helper_dirtyfb() 200 convert_clip_rect_to_rect(clips, rects, num_clips, inc); in drm_atomic_helper_dirtyfb() 202 num_clips * sizeof(*rects), in drm_atomic_helper_dirtyfb() 203 rects); in drm_atomic_helper_dirtyfb() 245 kfree(rects); in drm_atomic_helper_dirtyfb()
|
| /OK3568_Linux_fs/external/xserver/Xext/ |
| H A D | shape.c | 947 xRectangle *rects; in ProcShapeGetRectangles() local 971 rects = malloc(sizeof(xRectangle)); in ProcShapeGetRectangles() 972 if (!rects) in ProcShapeGetRectangles() 976 rects->x = -(int) wBorderWidth(pWin); in ProcShapeGetRectangles() 977 rects->y = -(int) wBorderWidth(pWin); in ProcShapeGetRectangles() 978 rects->width = pWin->drawable.width + wBorderWidth(pWin); in ProcShapeGetRectangles() 979 rects->height = pWin->drawable.height + wBorderWidth(pWin); in ProcShapeGetRectangles() 982 rects->x = 0; in ProcShapeGetRectangles() 983 rects->y = 0; in ProcShapeGetRectangles() 984 rects->width = pWin->drawable.width; in ProcShapeGetRectangles() [all …]
|
| H A D | xvmain.c | 1060 xRectangle *rects; in XvFillColorKey() local 1072 rects = xallocarray(nbox, sizeof(xRectangle)); in XvFillColorKey() 1073 if (rects) { in XvFillColorKey() 1075 rects[i].x = pbox->x1 - pDraw->x; in XvFillColorKey() 1076 rects[i].y = pbox->y1 - pDraw->y; in XvFillColorKey() 1077 rects[i].width = pbox->x2 - pbox->x1; in XvFillColorKey() 1078 rects[i].height = pbox->y2 - pbox->y1; in XvFillColorKey() 1081 (*gc->ops->PolyFillRect) (pDraw, gc, nbox, rects); in XvFillColorKey() 1083 free(rects); in XvFillColorKey()
|
| /OK3568_Linux_fs/external/xserver/fb/ |
| H A D | fbpixmap.c | 140 BoxPtr FirstRect, rects, prectLineStart; in fbPixmapToRegion() local 150 rects = FirstRect; in fbPixmapToRegion() 164 irectLineStart = rects - FirstRect; in fbPixmapToRegion() 198 ADDRECT(pReg, rects, FirstRect, in fbPixmapToRegion() 223 ADDRECT(pReg, rects, FirstRect, in fbPixmapToRegion() 234 ADDRECT(pReg, rects, FirstRect, in fbPixmapToRegion() 244 if (crects == ((rects - FirstRect) - irectLineStart)) { in fbPixmapToRegion() 263 rects -= crects; in fbPixmapToRegion()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/qxl/ |
| H A D | qxl_draw.c | 141 struct qxl_rect *rects; in qxl_draw_dirty_fb() local 211 rects = drawable_set_clipping(qdev, num_clips, clips_bo); in qxl_draw_dirty_fb() 212 if (!rects) { in qxl_draw_dirty_fb() 239 rects[i].left = clips_ptr->x1; in qxl_draw_dirty_fb() 240 rects[i].right = clips_ptr->x2; in qxl_draw_dirty_fb() 241 rects[i].top = clips_ptr->y1; in qxl_draw_dirty_fb() 242 rects[i].bottom = clips_ptr->y2; in qxl_draw_dirty_fb()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/vmwgfx/ |
| H A D | vmwgfx_kms.c | 1446 struct drm_rect *rects) in vmw_kms_check_display_memory() argument 1459 (drm_rect_width(&rects[i]) > dev_priv->stdu_max_width || in vmw_kms_check_display_memory() 1460 drm_rect_height(&rects[i]) > dev_priv->stdu_max_height)) { in vmw_kms_check_display_memory() 1466 if (rects[i].x2 > bounding_box.x2) in vmw_kms_check_display_memory() 1467 bounding_box.x2 = rects[i].x2; in vmw_kms_check_display_memory() 1469 if (rects[i].y2 > bounding_box.y2) in vmw_kms_check_display_memory() 1470 bounding_box.y2 = rects[i].y2; in vmw_kms_check_display_memory() 1472 total_pixels += (u64) drm_rect_width(&rects[i]) * in vmw_kms_check_display_memory() 1473 (u64) drm_rect_height(&rects[i]); in vmw_kms_check_display_memory() 1597 struct drm_rect *rects; in vmw_kms_check_topology() local [all …]
|
| /OK3568_Linux_fs/external/xserver/dix/ |
| H A D | region.c | 278 BoxPtr rects; in RegionPrint() local 282 rects = RegionRects(rgn); in RegionPrint() 288 rects[i].x1, rects[i].y1, rects[i].x2, rects[i].y2); in RegionPrint() 1046 t = rects[a]; \ 1047 rects[a] = rects[b]; \ 1048 rects[b] = t; \ 1052 QuickSortRects(BoxRec rects[], int numRects) in QuickSortRects() argument 1063 if (rects[0].y1 > rects[1].y1 || in QuickSortRects() 1064 (rects[0].y1 == rects[1].y1 && rects[0].x1 > rects[1].x1)) in QuickSortRects() 1071 y1 = rects[0].y1; in QuickSortRects() [all …]
|
| /OK3568_Linux_fs/yocto/meta-rockchip/recipes-graphics/wayland/weston_10.0.2/ |
| H A D | 0010-HACK-gl-renderer-Support-making-hole-for-surface.patch | 92 + pixman_box32_t *rects; 98 + rects = pixman_region32_rectangles(region, &n); 100 + pixman_box32_t r = rects[i]; 113 + pixman_box32_t *rects; 119 + rects = pixman_region32_rectangles(region, &n); 121 + pixman_box32_t r = rects[i];
|
| /OK3568_Linux_fs/buildroot/package/weston/ |
| H A D | 0011-HACK-gl-renderer-Support-making-hole-for-surface.patch | 92 + pixman_box32_t *rects; 98 + rects = pixman_region32_rectangles(region, &n); 100 + pixman_box32_t r = rects[i]; 113 + pixman_box32_t *rects; 119 + rects = pixman_region32_rectangles(region, &n); 121 + pixman_box32_t r = rects[i];
|
| /OK3568_Linux_fs/yocto/meta-rockchip/recipes-graphics/wayland/weston_11.0.1/ |
| H A D | 0011-HACK-gl-renderer-Support-making-hole-for-surface.patch | 92 + pixman_box32_t *rects; 98 + rects = pixman_region32_rectangles(region, &n); 100 + pixman_box32_t r = rects[i]; 113 + pixman_box32_t *rects; 119 + rects = pixman_region32_rectangles(region, &n); 121 + pixman_box32_t r = rects[i];
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-graphics/directfb/directfb/ |
| H A D | 0001-gfx-direct-Aboid-usng-VLAs-and-printf-formats.patch | 41 - DFBRectangle rects[num]; 43 + DFBRectangle *rects = (DFBRectangle*)alloca( sizeof(struct DFBRectangle) * num); 52 - DFBRectangle rects[num]; 54 + DFBRectangle *rects = (DFBRectangle*)alloca( sizeof(struct DFBRectangle) * num);
|
| /OK3568_Linux_fs/external/xserver/exa/ |
| H A D | exa_render.c | 347 int nrect, ExaCompositeRectPtr rects) in exaTryDriverCompositeRects() argument 438 INT16 xDst = rects->xDst + pDst->pDrawable->x; in exaTryDriverCompositeRects() 439 INT16 yDst = rects->yDst + pDst->pDrawable->y; in exaTryDriverCompositeRects() 440 INT16 xMask = rects->xMask; in exaTryDriverCompositeRects() 441 INT16 yMask = rects->yMask; in exaTryDriverCompositeRects() 442 INT16 xSrc = rects->xSrc; in exaTryDriverCompositeRects() 443 INT16 ySrc = rects->ySrc; in exaTryDriverCompositeRects() 460 rects->width, rects->height)) in exaTryDriverCompositeRects() 489 rects++; in exaTryDriverCompositeRects() 509 PicturePtr pDst, int nrect, ExaCompositeRectPtr rects) in exaCompositeRects() argument [all …]
|
| H A D | exa_glyphs.c | 72 ExaCompositeRectRec rects[GLYPH_BUFFER_SIZE]; member 485 (buffer->rects[i].xMask == x && in exaGlyphCacheBufferGlyph() 486 buffer->rects[i].yMask == in exaGlyphCacheBufferGlyph() 487 y) : (buffer->rects[i].xSrc == x && in exaGlyphCacheBufferGlyph() 488 buffer->rects[i].ySrc == y)) { in exaGlyphCacheBufferGlyph() 508 rect = &buffer->rects[buffer->count]; in exaGlyphCacheBufferGlyph() 595 rect = &buffer->rects[buffer->count]; in exaBufferGlyph() 614 buffer->count, buffer->rects); in exaGlyphsToMask() 624 buffer->rects); in exaGlyphsToDst()
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-graphics/pong-clock/pong-clock/ |
| H A D | pong-clock-no-flicker.c | 123 XRectangle rects[5*5]; in draw_digit() local 132 rects[i].x = (x + j) * pong_clock->pixelw; in draw_digit() 133 rects[i].y = (y + k) * pong_clock->pixelh; in draw_digit() 134 rects[i].width = pong_clock->pixelw; in draw_digit() 135 rects[i].height = pong_clock->pixelh; in draw_digit() 142 rects, i); in draw_digit()
|
| /OK3568_Linux_fs/external/linux-rga/core/ |
| H A D | NormalRga.cpp | 231 unsigned int v, drm_rga_t *rects) { in NormalRgaPaletteTable() argument 251 if (rects && (ctx->mLogAlways || ctx->mLogOnce)) { in NormalRgaPaletteTable() 253 rects->src.xoffset,rects->src.yoffset, in NormalRgaPaletteTable() 254 rects->src.width, rects->src.height, in NormalRgaPaletteTable() 255 rects->src.wstride,rects->src.format, rects->src.size, in NormalRgaPaletteTable() 256 rects->dst.xoffset,rects->dst.yoffset, in NormalRgaPaletteTable() 257 rects->dst.width, rects->dst.height, in NormalRgaPaletteTable() 258 rects->dst.wstride,rects->dst.format, rects->dst.size); in NormalRgaPaletteTable() 266 if (ret && !rects) { in NormalRgaPaletteTable() 271 if (rects) { in NormalRgaPaletteTable() [all …]
|
| /OK3568_Linux_fs/external/xserver/hw/kdrive/ephyr/ |
| H A D | ephyrvideo.c | 900 xcb_rectangle_t *rects = NULL; in ephyrHostXVPutImage() local 929 rects = calloc(a_clip_rect_nums, sizeof(xcb_rectangle_t)); in ephyrHostXVPutImage() 931 rects[i].x = a_clip_rects[i].x1; in ephyrHostXVPutImage() 932 rects[i].y = a_clip_rects[i].y1; in ephyrHostXVPutImage() 933 rects[i].width = a_clip_rects[i].x2 - a_clip_rects[i].x1; in ephyrHostXVPutImage() 934 rects[i].height = a_clip_rects[i].y2 - a_clip_rects[i].y1; in ephyrHostXVPutImage() 936 rects[i].x, rects[i].y, rects[i].width, rects[i].height); in ephyrHostXVPutImage() 944 rects); in ephyrHostXVPutImage() 945 free(rects); in ephyrHostXVPutImage()
|
| H A D | hostx.c | 1531 xcb_rectangle_t *rects = NULL; in hostx_set_window_bounding_rectangles() local 1537 rects = calloc(a_num_rects, sizeof (xcb_rectangle_t)); in hostx_set_window_bounding_rectangles() 1538 if (!rects) in hostx_set_window_bounding_rectangles() 1541 rects[i].x = a_rects[i].x1; in hostx_set_window_bounding_rectangles() 1542 rects[i].y = a_rects[i].y1; in hostx_set_window_bounding_rectangles() 1543 rects[i].width = abs(a_rects[i].x2 - a_rects[i].x1); in hostx_set_window_bounding_rectangles() 1544 rects[i].height = abs(a_rects[i].y2 - a_rects[i].y1); in hostx_set_window_bounding_rectangles() 1546 rects[i].x, rects[i].y, rects[i].width, rects[i].height); in hostx_set_window_bounding_rectangles() 1555 rects); in hostx_set_window_bounding_rectangles() 1559 free(rects); in hostx_set_window_bounding_rectangles() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/staging/media/ipu3/ |
| H A D | ipu3-v4l2.c | 65 struct v4l2_rect *rects[IPU3_CSS_RECTS] = { NULL }; in imgu_subdev_s_stream() local 106 rects[IPU3_CSS_RECT_EFFECTIVE] = &imgu_sd->rect.eff; in imgu_subdev_s_stream() 107 rects[IPU3_CSS_RECT_BDS] = &imgu_sd->rect.bds; in imgu_subdev_s_stream() 108 rects[IPU3_CSS_RECT_GDC] = &imgu_sd->rect.gdc; in imgu_subdev_s_stream() 110 r = imgu_css_fmt_set(&imgu->css, fmts, rects, pipe); in imgu_subdev_s_stream() 666 struct v4l2_rect *rects[IPU3_CSS_RECTS] = { NULL }; in imgu_fmt() local 728 rects[IPU3_CSS_RECT_EFFECTIVE] = &imgu_sd->rect.eff; in imgu_fmt() 729 rects[IPU3_CSS_RECT_BDS] = &imgu_sd->rect.bds; in imgu_fmt() 730 rects[IPU3_CSS_RECT_GDC] = &imgu_sd->rect.gdc; in imgu_fmt() 734 rects[IPU3_CSS_RECT_GDC]->width = pad_fmt.width; in imgu_fmt() [all …]
|
| H A D | ipu3-css.h | 173 struct v4l2_rect *rects[IPU3_CSS_RECTS], 177 struct v4l2_rect *rects[IPU3_CSS_RECTS],
|
| /OK3568_Linux_fs/u-boot/drivers/video/ |
| H A D | stb_truetype.h | 590 …k_context *spc, stbtt_fontinfo *info, stbtt_pack_range *ranges, int num_ranges, stbrp_rect *rects); 591 STBTT_DEF void stbtt_PackFontRangesPackRects(stbtt_pack_context *spc, stbrp_rect *rects, int num_re… 592 …k_context *spc, stbtt_fontinfo *info, stbtt_pack_range *ranges, int num_ranges, stbrp_rect *rects); 2634 static void stbrp_pack_rects(stbrp_context *con, stbrp_rect *rects, int num_rects) in stbrp_pack_rects() argument 2638 if (con->x + rects[i].w > con->width) { in stbrp_pack_rects() 2642 if (con->y + rects[i].h > con->height) in stbrp_pack_rects() 2644 rects[i].x = con->x; in stbrp_pack_rects() 2645 rects[i].y = con->y; in stbrp_pack_rects() 2646 rects[i].was_packed = 1; in stbrp_pack_rects() 2647 con->x += rects[i].w; in stbrp_pack_rects() [all …]
|
| /OK3568_Linux_fs/buildroot/package/freerdp/ |
| H A D | 0005-client-X11-Disable-complex-regions-by-default.patch | 41 + rects = region16_extents(pRegion); 46 UINT32 left = rects[i].left;
|
| /OK3568_Linux_fs/external/libmali/include/FBDEV/ |
| H A D | eglext.h | 282 … 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); 855 …LSWAPBUFFERSWITHDAMAGEEXTPROC) (EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects); 857 …RY eglSwapBuffersWithDamageEXT (EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects); 966 …APBUFFERSREGIONNOKPROC) (EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint *rects); 968 …eglSwapBuffersRegionNOK (EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint *rects); 974 …PBUFFERSREGION2NOKPROC) (EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint *rects); 976 …glSwapBuffersRegion2NOK (EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint *rects);
|