/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/weston/src/libweston-desktop/ |
H A D | surface.c | 144 surface->implementation->destroy(surface, surface->implementation_data); in weston_desktop_surface_destroy() 146 surface->surface->committed = NULL; in weston_desktop_surface_destroy() 147 surface->surface->committed_private = NULL; in weston_desktop_surface_destroy() 174 surface->implementation->committed(surface, in weston_desktop_surface_surface_committed() 262 surface->surface = wsurface; in weston_desktop_surface_create() 277 wl_signal_add(&surface->surface->commit_signal, in weston_desktop_surface_create() 281 wl_signal_add(&surface->surface->destroy_signal, in weston_desktop_surface_create() 364 wview = weston_view_create(surface->surface); in weston_desktop_surface_create_desktop_view() 504 surface->implementation->set_size(surface, in weston_desktop_surface_set_size() 513 surface->implementation->close(surface, in weston_desktop_surface_close() [all …]
|
H A D | xwayland.c | 101 surface->surface); in weston_desktop_xwayland_surface_change_state() 108 surface->surface, in weston_desktop_xwayland_surface_change_state() 113 surface->surface); in weston_desktop_xwayland_surface_change_state() 144 assert(dsurface == surface->surface); in weston_desktop_xwayland_surface_committed() 162 weston_desktop_api_committed(surface->desktop, surface->surface, in weston_desktop_xwayland_surface_committed() 189 surface->surface); in weston_desktop_xwayland_surface_destroy() 249 surface->surface = in create_surface() 254 if (surface->surface == NULL) { in create_surface() 283 surface->surface, x, y); in set_toplevel_with_position() 338 weston_desktop_api_move(surface->desktop, surface->surface, in move() [all …]
|
H A D | wl-shell.c | 69 weston_desktop_surface_get_surface(surface->surface); in weston_desktop_wl_shell_surface_set_size() 87 weston_desktop_surface_popup_ungrab(surface->surface, in weston_desktop_wl_shell_surface_maybe_ungrab() 105 weston_desktop_api_committed(surface->desktop, surface->surface, in weston_desktop_wl_shell_surface_committed() 168 surface->surface); in weston_desktop_wl_shell_change_state() 171 surface->surface); in weston_desktop_wl_shell_change_state() 195 surface->surface); in weston_desktop_wl_shell_surface_destroy() 263 weston_desktop_api_set_parent(surface->desktop, surface->surface, NULL); in weston_desktop_wl_shell_surface_protocol_set_toplevel() 293 surface->surface, parent); in weston_desktop_wl_shell_surface_protocol_set_transient() 426 weston_desktop_surface_destroy(surface->surface); in wl_surface_resource_destroyed() 452 surface->surface = in weston_desktop_wl_shell_protocol_get_shell_surface() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/weston/src/libweston-desktop/ |
H A D | surface.c | 144 surface->implementation->destroy(surface, surface->implementation_data); in weston_desktop_surface_destroy() 146 surface->surface->committed = NULL; in weston_desktop_surface_destroy() 147 surface->surface->committed_private = NULL; in weston_desktop_surface_destroy() 174 surface->implementation->committed(surface, in weston_desktop_surface_surface_committed() 262 surface->surface = wsurface; in weston_desktop_surface_create() 277 wl_signal_add(&surface->surface->commit_signal, in weston_desktop_surface_create() 281 wl_signal_add(&surface->surface->destroy_signal, in weston_desktop_surface_create() 364 wview = weston_view_create(surface->surface); in weston_desktop_surface_create_desktop_view() 504 surface->implementation->set_size(surface, in weston_desktop_surface_set_size() 513 surface->implementation->close(surface, in weston_desktop_surface_close() [all …]
|
H A D | xwayland.c | 101 surface->surface); in weston_desktop_xwayland_surface_change_state() 108 surface->surface, in weston_desktop_xwayland_surface_change_state() 113 surface->surface); in weston_desktop_xwayland_surface_change_state() 144 assert(dsurface == surface->surface); in weston_desktop_xwayland_surface_committed() 162 weston_desktop_api_committed(surface->desktop, surface->surface, in weston_desktop_xwayland_surface_committed() 189 surface->surface); in weston_desktop_xwayland_surface_destroy() 249 surface->surface = in create_surface() 254 if (surface->surface == NULL) { in create_surface() 283 surface->surface, x, y); in set_toplevel_with_position() 338 weston_desktop_api_move(surface->desktop, surface->surface, in move() [all …]
|
H A D | wl-shell.c | 69 weston_desktop_surface_get_surface(surface->surface); in weston_desktop_wl_shell_surface_set_size() 87 weston_desktop_surface_popup_ungrab(surface->surface, in weston_desktop_wl_shell_surface_maybe_ungrab() 105 weston_desktop_api_committed(surface->desktop, surface->surface, in weston_desktop_wl_shell_surface_committed() 168 surface->surface); in weston_desktop_wl_shell_change_state() 171 surface->surface); in weston_desktop_wl_shell_change_state() 195 surface->surface); in weston_desktop_wl_shell_surface_destroy() 263 weston_desktop_api_set_parent(surface->desktop, surface->surface, NULL); in weston_desktop_wl_shell_surface_protocol_set_toplevel() 293 surface->surface, parent); in weston_desktop_wl_shell_surface_protocol_set_transient() 426 weston_desktop_surface_destroy(surface->surface); in wl_surface_resource_destroyed() 452 surface->surface = in weston_desktop_wl_shell_protocol_get_shell_surface() [all …]
|
/dports/games/wesnoth/wesnoth-1.14.17/src/sdl/ |
H A D | utils.hpp | 83 surface scale_surface_xbrz(const surface & surf, size_t z); 102 surface scale_surface(const surface &surf, int w, int h); 138 surface greyscale_image(const surface &surf); 140 surface sepia_image(const surface &surf); 142 surface alpha_to_greyscale(const surface & surf); 143 surface wipe_alpha(const surface & surf); 145 surface shadow_image(const surface &surf); 199 surface light_surface(const surface &surf, const surface &lightmap); 274 surface rotate_180_surface(const surface &surf); 287 surface flip_surface(const surface &surf); [all …]
|
/dports/graphics/cairo/cairo-1.17.4/src/ |
H A D | cairo-surface.c | 646 image = surface->backend->map_to_image (surface, extents); in _cairo_surface_map_to_image() 700 status = surface->backend->unmap_image (surface, image); in _cairo_surface_unmap_image() 1030 status = surface->backend->finish (surface); in _cairo_surface_finish() 1614 surface->backend->get_font_options (surface, &surface->font_options); in cairo_surface_get_font_options() 1756 status = surface->backend->mark_dirty_rectangle (surface, in cairo_surface_mark_dirty_rectangle() 2115 return surface->backend->source (surface, extents); in _cairo_surface_get_source() 2307 status = surface->backend->fill_stroke (surface, in _cairo_surface_fill_stroke() 2422 status = surface->backend->fill (surface, op, source, in _cairo_surface_fill() 2465 _cairo_surface_set_error (surface, surface->backend->copy_page (surface)); in cairo_surface_copy_page() 2504 _cairo_surface_set_error (surface, surface->backend->show_page (surface)); in cairo_surface_show_page() [all …]
|
/dports/x11-toolkits/wlroots/wlroots-0.12.0/types/ |
H A D | wlr_layer_shell_v1.c | 61 if (!surface || surface->closed) { in layer_surface_handle_ack_configure() 222 surface->configured = surface->mapped = false; in layer_surface_unmap() 228 if (surface->configured && surface->mapped) { in layer_surface_destroy() 233 surface->surface->role_data = NULL; in layer_surface_destroy() 346 if (wlr_surface_has_buffer(surface->surface) && !surface->configured) { in layer_surface_role_commit() 368 assert(surface->output || surface->closed); in layer_surface_role_commit() 370 if (surface->configured && wlr_surface_has_buffer(surface->surface) && in layer_surface_role_commit() 375 if (surface->configured && !wlr_surface_has_buffer(surface->surface) && in layer_surface_role_commit() 417 surface->surface = wlr_surface; in layer_shell_handle_get_layer_surface() 459 surface, surface->resource); in layer_shell_handle_get_layer_surface() [all …]
|
/dports/devel/directfb/DirectFB-1.4.17/src/core/ |
H A D | surface.c | 97 dfb_system_surface_data_destroy( surface, surface->data ); in surface_destructor() 101 SHFREE( surface->shmpool, surface->data ); in surface_destructor() 153 if (!surface) in dfb_surface_create() 228 surface->config.min_size = surface->config.size; in dfb_surface_create() 250 … surface->config.size.w, surface->config.size.h, dfb_pixelformat_name(surface->config.format), in dfb_surface_create() 274 dfb_system_surface_data_init(surface,surface->data); in dfb_surface_create() 320 SHFREE( surface->shmpool, surface->data ); in dfb_surface_create() 417 notification.surface = surface; in dfb_surface_notify() 434 notification.surface = surface; in dfb_surface_notify_display() 459 …surface->buffers[surface->buffer_indices[front]]->policy || (surface->config.caps & DSCAPS_ROTATED… in dfb_surface_flip() [all …]
|
/dports/www/firefox-esr/firefox-91.8.0/gfx/cairo/cairo/src/ |
H A D | cairo-surface.c | 650 image = surface->backend->map_to_image (surface, extents); in _cairo_surface_map_to_image() 704 status = surface->backend->unmap_image (surface, image); in _cairo_surface_unmap_image() 1034 status = surface->backend->finish (surface); in _cairo_surface_finish() 1618 surface->backend->get_font_options (surface, &surface->font_options); in cairo_surface_get_font_options() 1805 status = surface->backend->mark_dirty_rectangle (surface, in cairo_surface_mark_dirty_rectangle() 2164 return surface->backend->source (surface, extents); in _cairo_surface_get_source() 2358 status = surface->backend->fill_stroke (surface, in _cairo_surface_fill_stroke() 2473 status = surface->backend->fill (surface, op, source, in _cairo_surface_fill() 2516 _cairo_surface_set_error (surface, surface->backend->copy_page (surface)); in cairo_surface_copy_page() 2555 _cairo_surface_set_error (surface, surface->backend->show_page (surface)); in cairo_surface_show_page() [all …]
|
/dports/www/firefox/firefox-99.0/gfx/cairo/cairo/src/ |
H A D | cairo-surface.c | 650 image = surface->backend->map_to_image (surface, extents); in _cairo_surface_map_to_image() 704 status = surface->backend->unmap_image (surface, image); in _cairo_surface_unmap_image() 1034 status = surface->backend->finish (surface); in _cairo_surface_finish() 1618 surface->backend->get_font_options (surface, &surface->font_options); in cairo_surface_get_font_options() 1805 status = surface->backend->mark_dirty_rectangle (surface, in cairo_surface_mark_dirty_rectangle() 2164 return surface->backend->source (surface, extents); in _cairo_surface_get_source() 2358 status = surface->backend->fill_stroke (surface, in _cairo_surface_fill_stroke() 2473 status = surface->backend->fill (surface, op, source, in _cairo_surface_fill() 2516 _cairo_surface_set_error (surface, surface->backend->copy_page (surface)); in cairo_surface_copy_page() 2555 _cairo_surface_set_error (surface, surface->backend->show_page (surface)); in cairo_surface_show_page() [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/cairo/cairo/src/ |
H A D | cairo-surface.c | 650 image = surface->backend->map_to_image (surface, extents); in _cairo_surface_map_to_image() 704 status = surface->backend->unmap_image (surface, image); in _cairo_surface_unmap_image() 1034 status = surface->backend->finish (surface); in _cairo_surface_finish() 1618 surface->backend->get_font_options (surface, &surface->font_options); in cairo_surface_get_font_options() 1805 status = surface->backend->mark_dirty_rectangle (surface, in cairo_surface_mark_dirty_rectangle() 2164 return surface->backend->source (surface, extents); in _cairo_surface_get_source() 2358 status = surface->backend->fill_stroke (surface, in _cairo_surface_fill_stroke() 2473 status = surface->backend->fill (surface, op, source, in _cairo_surface_fill() 2516 _cairo_surface_set_error (surface, surface->backend->copy_page (surface)); in cairo_surface_copy_page() 2555 _cairo_surface_set_error (surface, surface->backend->show_page (surface)); in cairo_surface_show_page() [all …]
|
/dports/x11-toolkits/wlroots/wlroots-0.12.0/types/xdg_shell/ |
H A D | wlr_xdg_surface.c | 39 wlr_signal_emit_safe(&surface->events.unmap, surface); in unmap_xdg_surface() 82 surface->configured = surface->mapped = false; in unmap_xdg_surface() 166 configure->surface = surface; in surface_send_configure() 332 if (wlr_surface_has_buffer(surface->surface) && !surface->configured) { in xdg_surface_handle_surface_commit() 341 if (surface->surface->role == NULL) { in xdg_surface_handle_surface_commit() 358 surface->geometry.x = surface->next_geometry.x; in handle_xdg_surface_commit() 381 if (surface->configured && wlr_surface_has_buffer(surface->surface) && in handle_xdg_surface_commit() 386 if (surface->configured && !wlr_surface_has_buffer(surface->surface) && in handle_xdg_surface_commit() 402 if (surface->configured && surface->mapped) { in handle_xdg_surface_precommit() 427 xdg_surface->surface = surface; in create_xdg_surface() [all …]
|
/dports/games/dustrac/DustRacing2D-ae380b8/data/ |
H A D | surfaces.conf | 21 </surface> 25 </surface> 31 </surface> 37 </surface> 43 </surface> 47 </surface> 57 </surface> 63 </surface> 69 </surface> 78 </surface> [all …]
|
/dports/x11-toolkits/gtk40/gtk-4.4.1/gdk/ |
H A D | gdksurface.c | 734 surface->parent->children = g_list_remove (surface->parent->children, surface); in gdk_surface_finalize() 1262 surface->active_update_area = surface->update_area; in gdk_surface_process_updates_internal() 1310 g_signal_emit (surface, signals[LAYOUT], 0, surface->width, surface->height); in gdk_surface_layout_on_clock() 1735 GDK_SURFACE_GET_CLASS (surface)->hide (surface); in gdk_surface_hide() 2075 GDK_SURFACE_GET_CLASS (surface)->set_input_region (surface, surface->input_region); in gdk_surface_set_input_region() 2133 if (GDK_SURFACE_GET_CLASS (surface)->beep (surface)) in gdk_surface_beep() 2152 if (surface) in _gdk_display_set_surface_under_pointer() 2665 surface->is_mapped = surface->pending_is_mapped; in set_is_mapped_idle() 2680 if (surface->pending_is_mapped != surface->is_mapped) in gdk_surface_set_is_mapped() 2703 if (surface->is_mapped == surface->pending_is_mapped) in gdk_surface_queue_set_is_mapped() [all …]
|
/dports/x11-clocks/wlclock/wlclock-v1.0.1/src/ |
H A D | surface.c | 66 surface->dimensions.w, surface->dimensions.h); in layer_surface_handle_configure() 79 surface->configured = true; in layer_surface_handle_configure() 82 render_hands_frame(surface); in layer_surface_handle_configure() 98 destroy_surface(surface); in layer_surface_handle_closed() 130 if ( surface == NULL ) in create_surface() 136 output->surface = surface; in create_surface() 158 surface->dimensions.w, surface->dimensions.h); in create_surface() 174 surface->dimensions.center_x, surface->dimensions.center_y); in create_surface() 186 if ( surface == NULL ) in destroy_surface() 189 surface->output->surface = NULL; in destroy_surface() [all …]
|
/dports/graphics/cairo/cairo-1.17.4/src/drm/ |
H A D | cairo-drm-surface.c | 45 surface->bo = NULL; in _cairo_drm_surface_init() 49 surface->stride = 0; in _cairo_drm_surface_init() 61 cairo_drm_bo_destroy (surface->base.device, surface->bo); in _cairo_drm_surface_finish() 114 surface = device->surface.create (device, format, width, height); in cairo_drm_surface_create() 119 return surface; in cairo_drm_surface_create() 154 surface = device->surface.create_for_name (device, in cairo_drm_surface_create_for_name() 159 return surface; in cairo_drm_surface_create_for_name() 170 surface = _cairo_surface_create_in_error (surface->status); in cairo_drm_surface_create_from_cacheable_image() 179 surface = device->surface.create_from_cacheable_image (device, surface); in cairo_drm_surface_create_from_cacheable_image() 182 return surface; in cairo_drm_surface_create_from_cacheable_image() [all …]
|
/dports/www/firefox-esr/firefox-91.8.0/gfx/cairo/cairo/src/drm/ |
H A D | cairo-drm-surface.c | 45 surface->bo = NULL; in _cairo_drm_surface_init() 49 surface->stride = 0; in _cairo_drm_surface_init() 61 cairo_drm_bo_destroy (surface->base.device, surface->bo); in _cairo_drm_surface_finish() 114 surface = device->surface.create (device, format, width, height); in cairo_drm_surface_create() 119 return surface; in cairo_drm_surface_create() 154 surface = device->surface.create_for_name (device, in cairo_drm_surface_create_for_name() 159 return surface; in cairo_drm_surface_create_for_name() 170 surface = _cairo_surface_create_in_error (surface->status); in cairo_drm_surface_create_from_cacheable_image() 179 surface = device->surface.create_from_cacheable_image (device, surface); in cairo_drm_surface_create_from_cacheable_image() 182 return surface; in cairo_drm_surface_create_from_cacheable_image() [all …]
|
/dports/www/firefox/firefox-99.0/gfx/cairo/cairo/src/drm/ |
H A D | cairo-drm-surface.c | 45 surface->bo = NULL; in _cairo_drm_surface_init() 49 surface->stride = 0; in _cairo_drm_surface_init() 61 cairo_drm_bo_destroy (surface->base.device, surface->bo); in _cairo_drm_surface_finish() 114 surface = device->surface.create (device, format, width, height); in cairo_drm_surface_create() 119 return surface; in cairo_drm_surface_create() 154 surface = device->surface.create_for_name (device, in cairo_drm_surface_create_for_name() 159 return surface; in cairo_drm_surface_create_for_name() 170 surface = _cairo_surface_create_in_error (surface->status); in cairo_drm_surface_create_from_cacheable_image() 179 surface = device->surface.create_from_cacheable_image (device, surface); in cairo_drm_surface_create_from_cacheable_image() 182 return surface; in cairo_drm_surface_create_from_cacheable_image() [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/cairo/cairo/src/drm/ |
H A D | cairo-drm-surface.c | 45 surface->bo = NULL; in _cairo_drm_surface_init() 49 surface->stride = 0; in _cairo_drm_surface_init() 61 cairo_drm_bo_destroy (surface->base.device, surface->bo); in _cairo_drm_surface_finish() 114 surface = device->surface.create (device, format, width, height); in cairo_drm_surface_create() 119 return surface; in cairo_drm_surface_create() 154 surface = device->surface.create_for_name (device, in cairo_drm_surface_create_for_name() 159 return surface; in cairo_drm_surface_create_for_name() 170 surface = _cairo_surface_create_in_error (surface->status); in cairo_drm_surface_create_from_cacheable_image() 179 surface = device->surface.create_from_cacheable_image (device, surface); in cairo_drm_surface_create_from_cacheable_image() 182 return surface; in cairo_drm_surface_create_from_cacheable_image() [all …]
|
/dports/games/dunelegacy/dunelegacy-0.96.4/src/GUI/dune/ |
H A D | DuneStyle.cpp | 293 drawRect(surface, 0, 0, surface->w-1, surface->h-1, buttonBorderColor); in createDropDownBoxButton() 296 drawHLine(surface, 1, surface->h-2, surface->w-2, buttonEdgeBottomRightColor); in createDropDownBoxButton() 301 drawRect(surface, 0, 0, surface->w-1, surface->h-1, buttonBorderColor); in createDropDownBoxButton() 342 drawRect(surface, 0, 0, surface->w-1, surface->h-1, buttonBorderColor); in createButtonSurface() 350 drawRect(surface, 0, 0, surface->w-1, surface->h-1, buttonBorderColor); in createButtonSurface() 396 drawRect(surface,0,0,surface->w-1,surface->h-1,buttonBorderColor); in createTextBoxSurface() 402 drawHLine(surface,1,surface->h-2,surface->w-2,buttonEdgeTopLeftColor); in createTextBoxSurface() 403 drawVLine(surface,surface->w-2,1,surface->h-2,buttonEdgeTopLeftColor); in createTextBoxSurface() 488 drawRect(surface, 0, 0, surface->w-1, surface->h-1, buttonBorderColor); in createScrollBarArrowButton() 496 drawRect(surface, 0, 0, surface->w-1, surface->h-1, buttonBorderColor); in createScrollBarArrowButton() [all …]
|
/dports/graphics/py-cairosvg/CairoSVG-2.5.2/cairosvg/ |
H A D | defs.py | 13 from .surface import cairo 73 update_def_href(surface, name, surface.gradients) 76 update_def_href(surface, name, surface.patterns) 80 def marker(surface, node): argument 85 def mask(surface, node): argument 147 mask_surface = SVGSurface(mask_node, None, surface.dpi, surface) 259 pattern_surface = SVGSurface(pattern_node, None, surface.dpi, surface) 328 surface.context.set_source_rgba(*surface.map_color( 335 def use(surface, node): argument 339 size(surface, node.get('x'), 'x'), size(surface, node.get('y'), 'y')) [all …]
|
/dports/x11-wm/i3-gaps/i3-4.20.1/libi3/ |
H A D | draw_util.c | 53 surface->surface = cairo_xcb_surface_create(conn, surface->id, visual, width, height); in draw_util_surface_init() 54 surface->cr = cairo_create(surface->surface); in draw_util_surface_init() 63 if (surface->cr) { in draw_util_surface_free() 76 cairo_surface_destroy(surface->surface); in draw_util_surface_free() 82 surface->surface = NULL; in draw_util_surface_free() 93 cairo_xcb_surface_set_size(surface->surface, width, height); in draw_util_surface_set_size() 149 CAIRO_SURFACE_FLUSH(surface->surface); in draw_util_text() 152 draw_text(text, surface->id, surface->gc, surface->surface, x, y, max_width); in draw_util_text() 155 cairo_surface_mark_dirty(surface->surface); in draw_util_text() 204 CAIRO_SURFACE_FLUSH(surface->surface); in draw_util_rectangle() [all …]
|
/dports/x11-wm/i3/i3-4.20.1/libi3/ |
H A D | draw_util.c | 53 surface->surface = cairo_xcb_surface_create(conn, surface->id, visual, width, height); in draw_util_surface_init() 54 surface->cr = cairo_create(surface->surface); in draw_util_surface_init() 63 if (surface->cr) { in draw_util_surface_free() 76 cairo_surface_destroy(surface->surface); in draw_util_surface_free() 82 surface->surface = NULL; in draw_util_surface_free() 93 cairo_xcb_surface_set_size(surface->surface, width, height); in draw_util_surface_set_size() 149 CAIRO_SURFACE_FLUSH(surface->surface); in draw_util_text() 152 draw_text(text, surface->id, surface->gc, surface->surface, x, y, max_width); in draw_util_text() 155 cairo_surface_mark_dirty(surface->surface); in draw_util_text() 204 CAIRO_SURFACE_FLUSH(surface->surface); in draw_util_rectangle() [all …]
|