Home
last modified time | relevance | path

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

12

/openbmc/qemu/ui/
H A Dvnc-jobs.c100 entry->rect.x = x; in vnc_job_add_rect()
101 entry->rect.y = y; in vnc_job_add_rect()
102 entry->rect.w = w; in vnc_job_add_rect()
103 entry->rect.h = h; in vnc_job_add_rect()
202 static bool vnc_worker_clamp_rect(VncState *vs, VncJob *job, VncRect *rect) in vnc_worker_clamp_rect() argument
204 trace_vnc_job_clamp_rect(vs, job, rect->x, rect->y, rect->w, rect->h); in vnc_worker_clamp_rect()
206 if (rect->x >= vs->client_width) { in vnc_worker_clamp_rect()
209 rect->w = MIN(vs->client_width - rect->x, rect->w); in vnc_worker_clamp_rect()
210 if (rect->w == 0) { in vnc_worker_clamp_rect()
214 if (rect->y >= vs->client_height) { in vnc_worker_clamp_rect()
[all …]
H A Dsdl2-2d.c36 SDL_Rect rect; in sdl2_2d_update() local
46 rect.x = x; in sdl2_2d_update()
47 rect.y = y; in sdl2_2d_update()
48 rect.w = w; in sdl2_2d_update()
49 rect.h = h; in sdl2_2d_update()
51 SDL_UpdateTexture(scon->texture, &rect, in sdl2_2d_update()
H A Dspice-display.c125 QXLRect *rect) in qemu_spice_create_one_update() argument
136 rect->left, rect->right, in qemu_spice_create_one_update()
137 rect->top, rect->bottom); in qemu_spice_create_one_update()
144 bw = rect->right - rect->left; in qemu_spice_create_one_update()
145 bh = rect->bottom - rect->top; in qemu_spice_create_one_update()
148 drawable->bbox = *rect; in qemu_spice_create_one_update()
179 rect->left, rect->top, 0, 0, in qemu_spice_create_one_update()
180 rect->left, rect->top, bw, bh); in qemu_spice_create_one_update()
182 rect->left, rect->top, 0, 0, in qemu_spice_create_one_update()
H A Dvnc.c3070 VncRectStat *rect = vnc_stat_rect(vd, x, y); in vnc_update_stats() local
3072 rect->updated = false; in vnc_update_stats()
3085 VncRectStat *rect= vnc_stat_rect(vd, x, y); in vnc_update_stats() local
3086 int count = ARRAY_SIZE(rect->times); in vnc_update_stats()
3089 if (!timerisset(&rect->times[count - 1])) { in vnc_update_stats()
3093 max = rect->times[(rect->idx + count - 1) % count]; in vnc_update_stats()
3097 rect->freq = 0; in vnc_update_stats()
3099 memset(rect->times, 0, sizeof (rect->times)); in vnc_update_stats()
3103 min = rect->times[rect->idx]; in vnc_update_stats()
3104 max = rect->times[(rect->idx + count - 1) % count]; in vnc_update_stats()
[all …]
H A Dtrace-events81 vnc_job_add_rect(void *state, void *job, int x, int y, int w, int h) "VNC add rect state=%p job=%p …
82 vnc_job_discard_rect(void *state, void *job, int x, int y, int w, int h) "VNC job discard rect stat…
83 vnc_job_clamp_rect(void *state, void *job, int x, int y, int w, int h) "VNC job clamp rect state=%p…
84 vnc_job_clamped_rect(void *state, void *job, int x, int y, int w, int h) "VNC job clamp rect state=…
H A Dvnc.h246 struct VncRect rect; member
H A Dconsole-vc.c134 pixman_rectangle16_t rect = { in qemu_console_fill_rect() local
140 &color, 1, &rect); in qemu_console_fill_rect()
H A Dcocoa.m516 - (void) drawRect:(NSRect) rect
531 CGContextFillRect(viewContextRef, NSRectToCGRect(rect));
2031 NSRect rect = NSMakeRect(x, [cocoaView gscreen].height - y - h, w, h);
2032 [cocoaView setNeedsDisplayInRect:rect];
/openbmc/qemu/include/ui/
H A Drect.h15 static inline void qemu_rect_init(QemuRect *rect, in qemu_rect_init() argument
19 rect->x = x; in qemu_rect_init()
20 rect->y = y; in qemu_rect_init()
21 rect->width = width; in qemu_rect_init()
22 rect->height = height; in qemu_rect_init()
25 static inline void qemu_rect_translate(QemuRect *rect, in qemu_rect_translate() argument
28 rect->x += dx; in qemu_rect_translate()
29 rect->y += dy; in qemu_rect_translate()
/openbmc/qemu/hw/display/
H A Dqxl-render.c27 static void qxl_blit(PCIQXLDevice *qxl, QXLRect *rect) in qxl_blit() argument
38 rect->left, rect->right, rect->top, rect->bottom); in qxl_blit()
43 src += (qxl->guest_primary.surface.height - rect->top - 1) * in qxl_blit()
46 src += rect->top * qxl->guest_primary.abs_stride; in qxl_blit()
48 dst += rect->top * qxl->guest_primary.abs_stride; in qxl_blit()
49 src += rect->left * qxl->guest_primary.bytes_pp; in qxl_blit()
50 dst += rect->left * qxl->guest_primary.bytes_pp; in qxl_blit()
51 len = (rect->right - rect->left) * qxl->guest_primary.bytes_pp; in qxl_blit()
53 for (i = rect->top; i < rect->bottom; i++) { in qxl_blit()
H A Dqxl-logger.c130 static void qxl_log_rect(QXLRect *rect) in qxl_log_rect() argument
133 rect->right - rect->left, in qxl_log_rect()
134 rect->bottom - rect->top, in qxl_log_rect()
135 rect->left, rect->top); in qxl_log_rect()
H A Dvmware_vga.c386 struct vmsvga_rect_s *rect; in vmsvga_update_rect_flush() local
395 rect = &s->redraw_fifo[i]; in vmsvga_update_rect_flush()
396 vmsvga_update_rect(s, rect->x, rect->y, rect->w, rect->h); in vmsvga_update_rect_flush()
411 struct vmsvga_rect_s *rect = &s->redraw_fifo[s->redraw_fifo_last++]; in vmsvga_update_rect_delayed() local
413 rect->x = x; in vmsvga_update_rect_delayed()
414 rect->y = y; in vmsvga_update_rect_delayed()
415 rect->w = w; in vmsvga_update_rect_delayed()
416 rect->h = h; in vmsvga_update_rect_delayed()
H A Dvirtio-gpu.c558 QemuRect rect; in virtio_gpu_resource_flush() local
565 qemu_rect_init(&rect, scanout->x, scanout->y, in virtio_gpu_resource_flush()
569 if (qemu_rect_intersect(&flush_rect, &rect, &rect)) { in virtio_gpu_resource_flush()
570 qemu_rect_translate(&rect, -scanout->x, -scanout->y); in virtio_gpu_resource_flush()
572 rect.x, rect.y, rect.width, rect.height); in virtio_gpu_resource_flush()
659 pixman_image_t *rect; in virtio_gpu_do_set_scanout() local
661 rect = pixman_image_create_bits(fb->format, r->width, r->height, in virtio_gpu_do_set_scanout()
666 pixman_image_set_destroy_function(rect, virtio_unref_resource, in virtio_gpu_do_set_scanout()
671 scanout->ds = qemu_create_displaysurface_pixman(rect); in virtio_gpu_do_set_scanout()
674 pixman_image_unref(rect); in virtio_gpu_do_set_scanout()
H A Dqxl.c1044 QXLURect *rect = &rom->client_monitors_config.heads[i]; in qxl_rom_monitors_config_changed() local
1046 if ((rect->left != monitor->x) || in qxl_rom_monitors_config_changed()
1047 (rect->top != monitor->y) || in qxl_rom_monitors_config_changed()
1048 (rect->right != monitor->x + monitor->width) || in qxl_rom_monitors_config_changed()
1049 (rect->bottom != monitor->y + monitor->height)) { in qxl_rom_monitors_config_changed()
1110 QXLURect *rect = &rom->client_monitors_config.heads[i]; in interface_client_monitors_config() local
1112 rect->left = monitor->x; in interface_client_monitors_config()
1113 rect->top = monitor->y; in interface_client_monitors_config()
1114 rect->right = monitor->x + monitor->width; in interface_client_monitors_config()
1115 rect->bottom = monitor->y + monitor->height; in interface_client_monitors_config()
/openbmc/openbmc/poky/scripts/pybootchartgui/pybootchartgui/
H A Ddraw.py192 def draw_fill_rect(ctx, color, rect): argument
194 ctx.rectangle(*rect)
197 def draw_rect(ctx, color, rect): argument
199 ctx.rectangle(*rect)
222 def draw_sec_labels(ctx, options, rect, sec_w, nsecs): argument
225 for i in range(0, rect[2] + 1, sec_w):
232 x = rect[0] + i - label_w/2
234 draw_text(ctx, label, TEXT_COLOR, x, rect[1] - 2)
237 def draw_box_ticks(ctx, rect, sec_w): argument
238 draw_rect(ctx, BORDER_COLOR, tuple(rect))
[all …]
H A Dgui.py109 def zoom_to_rect (self, rect): argument
110 zoom_ratio = float(rect.width)/float(self.chart_width)
/openbmc/phosphor-webui/app/common/directives/
H A Dserial-console.js21 var rect;
33 rect = span.getBoundingClientRect();
35 return rect;
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/directfb/directfb/
H A D0001-gfx-direct-Aboid-usng-VLAs-and-printf-formats.patch40 DFBRectangle rect = { 0, 0, source->config.size.w, source->config.size.h };
51 DFBRectangle rect = { 0, 0, source->config.size.w, source->config.size.h };
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-test/fbtest/
H A Dfb-test_1.1.0.bb18 for prog in perf rect offset ; do
/openbmc/phosphor-webui/app/common/styles/base/
H A Dutility.scss92 clip: rect(1px, 1px, 1px, 1px);
H A Dfoundation.scss752 clip: rect(0, 0, 0, 0); }
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/static/css/
H A Djquery-ui.structure.min.css5 .ui-helper-hidden{display:none}.ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;…
H A Djquery-ui.min.css7 .ui-helper-hidden{display:none}.ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;…
H A Dbootstrap.min.css5rect(0,0,0,0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:au…
/openbmc/openbmc/meta-raspberrypi/dynamic-layers/multimedia-layer/recipes-multimedia/rpidistro-vlc/files/
H A D0004-mmal_20.patch9224 + // The scale rect has been transposed if we have a transposing
11015 + MMAL_RECT_T win_rect; // Window rect after transform(s)
12855 + MMAL_RECT_T rect = {0};
12856 + rect.width = strtoul(s, (char**)&s, 0);
12858 + return rect;
12861 + rect.height = strtoul(s, (char**)&s, 0);
12863 + return rect;
12866 + rect.x = strtoul(s, (char**)&s, 0);
12868 + return rect;
12871 + rect.y = strtoul(s, (char**)&s, 0);
[all …]

12