Home
last modified time | relevance | path

Searched refs:rect (Results 1 – 25 of 59) sorted by relevance

123

/netbsd-src/sys/external/bsd/drm2/dist/drm/
H A Ddrm_damage_helper.c325 struct drm_rect *rect) in drm_atomic_helper_damage_iter_next() argument
330 *rect = iter->plane_src; in drm_atomic_helper_damage_iter_next()
336 *rect = iter->clips[iter->curr_clip]; in drm_atomic_helper_damage_iter_next()
339 if (drm_rect_intersect(rect, &iter->plane_src)) { in drm_atomic_helper_damage_iter_next()
366 struct drm_rect *rect) in drm_atomic_helper_damage_merged() argument
372 rect->x1 = INT_MAX; in drm_atomic_helper_damage_merged()
373 rect->y1 = INT_MAX; in drm_atomic_helper_damage_merged()
374 rect->x2 = 0; in drm_atomic_helper_damage_merged()
375 rect->y2 = 0; in drm_atomic_helper_damage_merged()
379 rect->x1 = min(rect->x1, clip.x1); in drm_atomic_helper_damage_merged()
[all …]
/netbsd-src/sys/external/bsd/drm2/dist/drm/virtio/
H A Dvirtgpu_plane.c113 struct drm_rect *rect) in virtio_gpu_update_dumb_bo() argument
118 uint32_t w = rect->x2 - rect->x1; in virtio_gpu_update_dumb_bo()
119 uint32_t h = rect->y2 - rect->y1; in virtio_gpu_update_dumb_bo()
120 uint32_t x = rect->x1; in virtio_gpu_update_dumb_bo()
121 uint32_t y = rect->y1; in virtio_gpu_update_dumb_bo()
141 struct drm_rect rect; in virtio_gpu_primary_plane_update() local
159 if (!drm_atomic_helper_damage_merged(old_state, plane->state, &rect)) in virtio_gpu_primary_plane_update()
166 virtio_gpu_update_dumb_bo(vgdev, plane->state, &rect); in virtio_gpu_primary_plane_update()
190 rect.x1, in virtio_gpu_primary_plane_update()
191 rect.y1, in virtio_gpu_primary_plane_update()
[all …]
/netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/
H A Dnouveau_nv50_fbcon.c36 nv50_fbcon_fillrect(struct fb_info *info, const struct fb_fillrect *rect) in nv50_fbcon_fillrect() argument
43 ret = RING_SPACE(chan, rect->rop == ROP_COPY ? 7 : 11); in nv50_fbcon_fillrect()
47 if (rect->rop != ROP_COPY) { in nv50_fbcon_fillrect()
54 OUT_RING(chan, ((uint32_t *)info->pseudo_palette)[rect->color]); in nv50_fbcon_fillrect()
56 OUT_RING(chan, rect->color); in nv50_fbcon_fillrect()
58 OUT_RING(chan, rect->dx); in nv50_fbcon_fillrect()
59 OUT_RING(chan, rect->dy); in nv50_fbcon_fillrect()
60 OUT_RING(chan, rect->dx + rect->width); in nv50_fbcon_fillrect()
61 OUT_RING(chan, rect->dy + rect->height); in nv50_fbcon_fillrect()
62 if (rect->rop != ROP_COPY) { in nv50_fbcon_fillrect()
H A Dnouveau_nvc0_fbcon.c36 nvc0_fbcon_fillrect(struct fb_info *info, const struct fb_fillrect *rect) in nvc0_fbcon_fillrect() argument
43 ret = RING_SPACE(chan, rect->rop == ROP_COPY ? 7 : 11); in nvc0_fbcon_fillrect()
47 if (rect->rop != ROP_COPY) { in nvc0_fbcon_fillrect()
54 OUT_RING (chan, ((uint32_t *)info->pseudo_palette)[rect->color]); in nvc0_fbcon_fillrect()
56 OUT_RING (chan, rect->color); in nvc0_fbcon_fillrect()
58 OUT_RING (chan, rect->dx); in nvc0_fbcon_fillrect()
59 OUT_RING (chan, rect->dy); in nvc0_fbcon_fillrect()
60 OUT_RING (chan, rect->dx + rect->width); in nvc0_fbcon_fillrect()
61 OUT_RING (chan, rect->dy + rect->height); in nvc0_fbcon_fillrect()
62 if (rect->rop != ROP_COPY) { in nvc0_fbcon_fillrect()
H A Dnouveau_fbcon.c79 nouveau_fbcon_fillrect(struct fb_info *info, const struct fb_fillrect *rect) in nouveau_fbcon_fillrect() argument
93 ret = nv04_fbcon_fillrect(info, rect); in nouveau_fbcon_fillrect()
96 ret = nv50_fbcon_fillrect(info, rect); in nouveau_fbcon_fillrect()
98 ret = nvc0_fbcon_fillrect(info, rect); in nouveau_fbcon_fillrect()
107 drm_fb_helper_cfb_fillrect(info, rect); in nouveau_fbcon_fillrect()
324 struct fb_fillrect rect; in nouveau_fbcon_zfill()
330 rect.dx = rect.dy = 0; in nouveau_fbcon_zfill()
331 rect.width = info->var.xres_virtual; in nouveau_fbcon_zfill()
332 rect.height = info->var.yres_virtual; in nouveau_fbcon_zfill()
333 rect.color = 0; in nouveau_fbcon_zfill()
[all …]
H A Dnouveau_nv04_fbcon.c55 nv04_fbcon_fillrect(struct fb_info *info, const struct fb_fillrect *rect) in nv04_fbcon_fillrect() argument
67 OUT_RING(chan, (rect->rop != ROP_COPY) ? 1 : 3); in nv04_fbcon_fillrect()
71 OUT_RING(chan, ((uint32_t *)info->pseudo_palette)[rect->color]); in nv04_fbcon_fillrect()
73 OUT_RING(chan, rect->color); in nv04_fbcon_fillrect()
75 OUT_RING(chan, (rect->dx << 16) | rect->dy); in nv04_fbcon_fillrect()
76 OUT_RING(chan, (rect->width << 16) | rect->height); in nv04_fbcon_fillrect()
H A Dnouveau_fbcon.h55 int nv04_fbcon_fillrect(struct fb_info *info, const struct fb_fillrect *rect);
59 int nv50_fbcon_fillrect(struct fb_info *info, const struct fb_fillrect *rect);
64 int nvc0_fbcon_fillrect(struct fb_info *info, const struct fb_fillrect *rect);
/netbsd-src/sys/arch/hpc/stand/hpcboot/menu/
H A Drootwindow.h77 BootButton(HpcBootApp &app, RootWindow &root, RECT &rect) in BootButton() argument
79 _rect = rect; in BootButton()
90 CancelButton(HpcBootApp &app, RootWindow &root, RECT &rect) in CancelButton() argument
92 _rect = rect; in CancelButton()
103 ProgressBar(HpcBootApp &app, RootWindow &root, RECT &rect) in ProgressBar() argument
105 _rect = rect; in ProgressBar()
H A Drootwindow.cpp234 RECT rect; in WMCreate() local
235 GetClientRect(w, &rect); in WMCreate()
236 rect.top += cmdbar_height; in WMCreate()
239 _boot_button = new BootButton(_app, *this, rect); in WMCreate()
242 _cancel_button = new CancelButton(_app, *this, rect); in WMCreate()
245 _progress_bar = new ProgressBar(_app, *this, rect); in WMCreate()
251 rect.top += _button_height; in WMCreate()
253 _base = new TabWindowBase(_app, w, rect, IDC_BASE); in WMCreate()
H A Dtabwindow.h47 RECT &rect, int id) in TabWindowBase() argument
49 _rect = rect; in TabWindowBase()
68 void adjust(RECT &rect) { in adjust() argument
69 TabCtrl_AdjustRect(_window, FALSE, &rect); in adjust()
/netbsd-src/sys/arch/hpcmips/stand/pbsdboot/
H A Dlayout.c51 RECT rect; in CreateMainWindow() local
66 GetClientRect(hWnd, &rect); in CreateMainWindow()
67 rect.top += cmdbar_height; /* get client rect w/o command bar */ in CreateMainWindow()
68 ratio_x = (rect.right - rect.left) * 100 / dlg.cx; in CreateMainWindow()
69 ratio_y = (rect.bottom - rect.top) * 100 / dlg.cy; in CreateMainWindow()
/netbsd-src/sys/external/bsd/drm2/dist/include/drm/
H A Ddrm_damage_helper.h48 #define drm_atomic_for_each_plane_damage(iter, rect) \ argument
49 while (drm_atomic_helper_damage_iter_next(iter, rect))
82 struct drm_rect *rect);
85 struct drm_rect *rect);
H A Ddrm_fb_helper.h259 const struct fb_fillrect *rect);
266 const struct fb_fillrect *rect);
399 const struct fb_fillrect *rect) in drm_fb_helper_sys_fillrect() argument
414 const struct fb_fillrect *rect) in drm_fb_helper_cfb_fillrect() argument
/netbsd-src/sys/external/bsd/drm2/dist/drm/vmwgfx/
H A Dvmwgfx_blit.c266 struct drm_rect *rect = &diff->rect; in vmw_adjust_rect() local
268 rect->x1 = min_t(int, rect->x1, offs); in vmw_adjust_rect()
269 rect->x2 = max_t(int, rect->x2, offs + 1); in vmw_adjust_rect()
270 rect->y1 = min_t(int, rect->y1, diff->line); in vmw_adjust_rect()
271 rect->y2 = max_t(int, rect->y2, diff->line + 1); in vmw_adjust_rect()
H A Dvmwgfx_stdu.c272 update->body.rect.x = left; in vmw_stdu_populate_update()
273 update->body.rect.y = top; in vmw_stdu_populate_update()
274 update->body.rect.w = right - left; in vmw_stdu_populate_update()
275 update->body.rect.h = bottom - top; in vmw_stdu_populate_update()
618 drm_rect_visible(&diff.rect)) { in vmw_stdu_bo_cpu_commit()
625 region.x1 = diff.rect.x1; in vmw_stdu_bo_cpu_commit()
626 region.x2 = diff.rect.x2; in vmw_stdu_bo_cpu_commit()
627 region.y1 = diff.rect.y1; in vmw_stdu_bo_cpu_commit()
628 region.y2 = diff.rect.y2; in vmw_stdu_bo_cpu_commit()
1328 if (drm_rect_visible(&diff.rect)) { in vmw_stdu_bo_populate_update_cpu()
[all …]
H A Dvmwgfx_scrn.c626 SVGASignedRect *rect = cmd; in vmw_sou_surface_clip_rect() local
632 rect->left = clip->x1; in vmw_sou_surface_clip_rect()
633 rect->top = clip->y1; in vmw_sou_surface_clip_rect()
634 rect->right = clip->x2; in vmw_sou_surface_clip_rect()
635 rect->bottom = clip->y2; in vmw_sou_surface_clip_rect()
637 return sizeof(*rect); in vmw_sou_surface_clip_rect()
647 SVGASignedRect *rect; in vmw_sou_surface_post_clip() local
656 rect = (SVGASignedRect *)&blit[1]; in vmw_sou_surface_post_clip()
681 rect->left -= bb->x1; in vmw_sou_surface_post_clip()
682 rect->top -= bb->y1; in vmw_sou_surface_post_clip()
[all …]
/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dce110/
H A Damdgpu_dce110_transform_v.c56 struct rect *luma_viewport, in calculate_viewport()
57 struct rect *chroma_viewport) in calculate_viewport()
86 struct rect *luma_view_port, in program_viewport()
87 struct rect *chroma_view_port) in program_viewport()
379 struct rect *luma_viewport, in calculate_inits()
380 struct rect *chroma_viewport) in calculate_inits()
537 struct rect luma_viewport = {0}; in dce110_xfmv_set_scaler()
538 struct rect chroma_viewport = {0}; in dce110_xfmv_set_scaler()
/netbsd-src/tests/usr.bin/xlint/lint1/
H A Dd_c99_anon_struct.c13 struct rect { struct
25 struct rect r; in main() argument
/netbsd-src/crypto/external/bsd/heimdal/dist/doc/doxyout/ntlm/html/
H A Dstructntlm__type2__coll__graph.map2 <area shape="rect" id="node1" title=" " alt="" coords="5,95,92,121"/>
3 <area shape="rect" id="node2" href="$structntlm__buf.html" title=" " alt="" coords="13,5,85,32"/>
H A Dstructntlm__type3__coll__graph.map2 <area shape="rect" id="node1" title=" " alt="" coords="5,124,92,151"/>
3 <area shape="rect" id="node2" href="$structntlm__buf.html" title=" " alt="" coords="13,5,85,32"/>
/netbsd-src/external/bsd/wpa/dist/wpa_supplicant/wpa_gui-qt4/
H A Dsignalbar.cpp54 opts.rect = option.rect; in paint()
H A Deventhistory.ui5 <rect>
10 </rect>
/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/display/dc/
H A Ddc_stream.h142 struct rect src; /* composition area */
143 struct rect dst; /* stream addressable area */
233 struct rect src;
234 struct rect dst;
H A Ddc.h743 struct rect src_rect;
744 struct rect dst_rect;
745 struct rect clip_rect;
812 struct rect src_rect;
813 struct rect dst_rect;
814 struct rect clip_rect;
/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/display/dc/inc/hw/
H A Dtransform.h176 struct rect viewport;
177 struct rect viewport_c;
178 struct rect recout;

123