| /OK3568_Linux_fs/external/recovery/minui/ |
| H A D | resources.c | 43 gr_surface surface = (gr_surface) temp; in malloc_surface() local 44 surface->data = temp + sizeof(GRSurface) + in malloc_surface() 46 return surface; in malloc_surface() 145 gr_surface surface; in init_display_surface() local 147 surface = malloc_surface(width * height * 4); in init_display_surface() 148 if (surface == NULL) return NULL; in init_display_surface() 150 surface->width = width; in init_display_surface() 151 surface->height = height; in init_display_surface() 152 surface->row_bytes = width * 4; in init_display_surface() 153 surface->pixel_bytes = 4; in init_display_surface() [all …]
|
| H A D | graphics_drm.c | 64 struct drm_surface *surface) in drm_enable_crtc() argument 69 surface->fb_id, in drm_enable_crtc() 88 static void drm_destroy_surface(struct drm_surface *surface) in drm_destroy_surface() argument 93 if (!surface) in drm_destroy_surface() 96 if (surface->base.data) in drm_destroy_surface() 97 munmap(surface->base.data, in drm_destroy_surface() 98 surface->base.row_bytes * surface->base.height); in drm_destroy_surface() 100 if (surface->fb_id) { in drm_destroy_surface() 101 ret = drmModeRmFB(drm_fd, surface->fb_id); in drm_destroy_surface() 106 if (surface->handle) { in drm_destroy_surface() [all …]
|
| /OK3568_Linux_fs/external/rk_pcba_test/pcba_minui/minui/ |
| H A D | resources.c | 42 gr_surface surface = (gr_surface) temp; in malloc_surface() local 43 surface->data = temp + sizeof(GRSurface) + in malloc_surface() 45 return surface; in malloc_surface() 142 gr_surface surface; in init_display_surface() local 144 surface = malloc_surface(width * height * 4); in init_display_surface() 145 if (surface == NULL) return NULL; in init_display_surface() 147 surface->width = width; in init_display_surface() 148 surface->height = height; in init_display_surface() 149 surface->row_bytes = width * 4; in init_display_surface() 150 surface->pixel_bytes = 4; in init_display_surface() [all …]
|
| H A D | graphics_drm.c | 62 struct drm_surface *surface) { in drm_enable_crtc() argument 66 surface->fb_id, in drm_enable_crtc() 84 static void drm_destroy_surface(struct drm_surface *surface) { in drm_destroy_surface() argument 88 if(!surface) in drm_destroy_surface() 91 if (surface->base.data) in drm_destroy_surface() 92 munmap(surface->base.data, in drm_destroy_surface() 93 surface->base.row_bytes * surface->base.height); in drm_destroy_surface() 95 if (surface->fb_id) { in drm_destroy_surface() 96 ret = drmModeRmFB(drm_fd, surface->fb_id); in drm_destroy_surface() 101 if (surface->handle) { in drm_destroy_surface() [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 | 4 Subject: [PATCH 10/79] HACK: gl-renderer: Support making hole for surface 32 pixman_region32_init(&surface->damage); 33 pixman_region32_init(&surface->opaque); 34 region_init_infinite(&surface->input); 35 + pixman_region32_init(&surface->hole); 37 wl_list_init(&surface->views); 38 wl_list_init(&surface->paint_node_list); 39 @@ -2341,6 +2342,7 @@ weston_surface_destroy(struct weston_surface *surface) 40 pixman_region32_fini(&surface->damage); 41 pixman_region32_fini(&surface->opaque); [all …]
|
| H A D | 0020-HACK-Support-setting-surface-flags-activate-and-alph.patch | 4 Subject: [PATCH 20/79] HACK: Support setting surface flags activate and alpha 6 Support setting surface flags activate and alpha through app_id or 18 libweston-desktop/surface.c | 193 ++++++++++++++++++++++++++++++++++ 30 + if (surface->flags & SURFACE_STAY_ON_TOP) 32 + else if (surface->flags & SURFACE_STAY_ON_BOTTOM) 62 + if (view->surface->flags & SURFACE_NO_FOCUS) 163 struct wl_signal destroy_signal; /* callback argument: this surface */ 169 + /* Hacky surface flags */ 176 diff --git a/libweston-desktop/surface.c b/libweston-desktop/surface.c 178 --- a/libweston-desktop/surface.c [all …]
|
| H A D | 0007-HACK-xdg-shell-Support-setting-window-position.patch | 13 libweston-desktop/surface.c | 10 ++++++++++ 40 weston_desktop_surface_set_size(struct weston_desktop_surface *surface, 43 +weston_desktop_surface_set_position(struct weston_desktop_surface *surface, 46 weston_desktop_surface_close(struct weston_desktop_surface *surface); 48 weston_desktop_surface_add_metadata_listener(struct weston_desktop_surface *surface, 62 diff --git a/libweston-desktop/surface.c b/libweston-desktop/surface.c 64 --- a/libweston-desktop/surface.c 65 +++ b/libweston-desktop/surface.c 66 @@ -685,6 +685,16 @@ weston_desktop_surface_get_min_size(struct weston_desktop_surface *surface) 67 surface->implementation_data); [all …]
|
| H A D | 0077-HACK-Honour-cursor-size-config.patch | 6 By scaling the cursor surface. 126 @@ -3734,6 +3749,7 @@ weston_surface_build_buffer_matrix(const struct weston_surface *surface, 128 const struct weston_buffer_viewport *vp = &surface->buffer_viewport; 134 @@ -3801,7 +3817,11 @@ weston_surface_build_buffer_matrix(const struct weston_surface *surface, 162 @@ -2677,6 +2677,36 @@ pointer_cursor_surface_get_label(struct weston_surface *surface, 168 + struct weston_surface *surface) 170 + struct weston_compositor *compositor = surface->compositor; 173 + if (!compositor->cursor_size || !surface->width || 174 + surface->width == compositor->cursor_size) 177 + if (surface->buffer_viewport.buffer.scale != 1) [all …]
|
| H A D | 0052-compositor-Support-placing-subsurface-above-or-below.patch | 22 - sibling = subsurface_sibling_check(sub, surface, "place_above"); 23 + if (surface == sub->surface) 27 + sibling = subsurface_sibling_check(sub, surface, "place_above"); 36 - sibling = subsurface_sibling_check(sub, surface, "place_below"); 37 + if (surface == sub->surface) 41 + sibling = subsurface_sibling_check(sub, surface, "place_below");
|
| H A D | 0055-HACK-compositor-Re-build-view-list-when-committing-a.patch | 5 unassigned surface 7 To avoid skipping repaint for unassigned surface. 18 @@ -4038,6 +4038,10 @@ weston_surface_commit(struct weston_surface *surface) 20 weston_surface_commit_subsurface_order(surface); 23 + if (!surface->output_mask) 24 + weston_compositor_build_view_list(surface->compositor, NULL); 26 weston_surface_schedule_repaint(surface);
|
| /OK3568_Linux_fs/buildroot/package/weston/ |
| H A D | 0011-HACK-gl-renderer-Support-making-hole-for-surface.patch | 4 Subject: [PATCH 11/79] HACK: gl-renderer: Support making hole for surface 32 pixman_region32_init(&surface->damage); 33 pixman_region32_init(&surface->opaque); 34 region_init_infinite(&surface->input); 35 + pixman_region32_init(&surface->hole); 37 wl_list_init(&surface->views); 38 wl_list_init(&surface->paint_node_list); 39 @@ -2378,6 +2379,7 @@ weston_surface_unref(struct weston_surface *surface) 40 pixman_region32_fini(&surface->damage); 41 pixman_region32_fini(&surface->opaque); [all …]
|
| H A D | 0023-HACK-Support-setting-surface-flags-activate-and-alph.patch | 4 Subject: [PATCH 23/93] HACK: Support setting surface flags activate and alpha 6 Support setting surface flags activate and alpha through app_id or 19 libweston/desktop/surface.c | 193 ++++++++++++++++++++++++++++++++++ 30 + if (surface->flags & SURFACE_STAY_ON_TOP) 32 + else if (surface->flags & SURFACE_STAY_ON_BOTTOM) 62 + if (view->surface->flags & SURFACE_NO_FOCUS) 163 struct wl_signal destroy_signal; /* callback argument: this surface */ 169 + /* Hacky surface flags */ 180 @@ -415,7 +415,7 @@ weston_view_create(struct weston_surface *surface) 185 + view->alpha = surface->alpha; [all …]
|
| H A D | 0076-HACK-Honour-cursor-size-config.patch | 6 By scaling the cursor surface. 164 @@ -1012,10 +1032,10 @@ weston_surface_to_buffer_float(struct weston_surface *surface, 166 viewport_surface_to_buffer(surface, sx, sy, bx, by); 168 - weston_transformed_coord(surface->width_from_buffer, 169 - surface->height_from_buffer, 172 + weston_transformed_coord_float(surface->width_from_buffer, 173 + surface->height_from_buffer, 178 /** Transform a rectangle from surface coordinates to buffer coordinates 179 @@ -1052,10 +1072,10 @@ weston_surface_to_buffer_rect(struct weston_surface *surface, 183 - return weston_transformed_rect(surface->width_from_buffer, [all …]
|
| H A D | 0008-HACK-xdg-shell-Support-setting-window-position.patch | 14 libweston/desktop/surface.c | 10 ++++++++++ 39 @@ -176,6 +176,10 @@ weston_desktop_surface_set_size(struct weston_desktop_surface *surface, 41 weston_desktop_surface_set_orientation(struct weston_desktop_surface *surface, 45 +weston_desktop_surface_set_position(struct weston_desktop_surface *surface, 48 weston_desktop_surface_close(struct weston_desktop_surface *surface); 67 @@ -1810,6 +1810,8 @@ weston_surface_damage(struct weston_surface *surface) 76 diff --git a/libweston/desktop/surface.c b/libweston/desktop/surface.c 78 --- a/libweston/desktop/surface.c 79 +++ b/libweston/desktop/surface.c 80 @@ -695,6 +695,16 @@ weston_desktop_surface_get_min_size(struct weston_desktop_surface *surface) [all …]
|
| H A D | 0055-compositor-Support-placing-subsurface-above-or-below.patch | 22 - sibling = subsurface_sibling_check(sub, surface, "place_above"); 23 + if (surface == sub->surface) 27 + sibling = subsurface_sibling_check(sub, surface, "place_above"); 36 - sibling = subsurface_sibling_check(sub, surface, "place_below"); 37 + if (surface == sub->surface) 41 + sibling = subsurface_sibling_check(sub, surface, "place_below");
|
| H A D | 0059-HACK-compositor-Re-build-view-list-when-committing-a.patch | 5 unassigned surface 7 To avoid skipping repaint for unassigned surface. 18 @@ -4437,6 +4437,10 @@ weston_surface_commit(struct weston_surface *surface) 20 weston_surface_commit_subsurface_order(surface); 23 + if (!surface->output_mask) 24 + weston_compositor_build_view_list(surface->compositor, NULL); 26 weston_surface_schedule_repaint(surface);
|
| /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 | 4 Subject: [PATCH 11/93] HACK: gl-renderer: Support making hole for surface 32 pixman_region32_init(&surface->damage); 33 pixman_region32_init(&surface->opaque); 34 region_init_infinite(&surface->input); 35 + pixman_region32_init(&surface->hole); 37 wl_list_init(&surface->views); 38 wl_list_init(&surface->paint_node_list); 39 @@ -2378,6 +2379,7 @@ weston_surface_unref(struct weston_surface *surface) 40 pixman_region32_fini(&surface->damage); 41 pixman_region32_fini(&surface->opaque); [all …]
|
| H A D | 0023-HACK-Support-setting-surface-flags-activate-and-alph.patch | 4 Subject: [PATCH 23/93] HACK: Support setting surface flags activate and alpha 6 Support setting surface flags activate and alpha through app_id or 19 libweston/desktop/surface.c | 193 ++++++++++++++++++++++++++++++++++ 30 + if (surface->flags & SURFACE_STAY_ON_TOP) 32 + else if (surface->flags & SURFACE_STAY_ON_BOTTOM) 62 + if (view->surface->flags & SURFACE_NO_FOCUS) 163 struct wl_signal destroy_signal; /* callback argument: this surface */ 169 + /* Hacky surface flags */ 180 @@ -415,7 +415,7 @@ weston_view_create(struct weston_surface *surface) 185 + view->alpha = surface->alpha; [all …]
|
| H A D | 0077-HACK-Honour-cursor-size-config.patch | 6 By scaling the cursor surface. 164 @@ -1012,10 +1032,10 @@ weston_surface_to_buffer_float(struct weston_surface *surface, 166 viewport_surface_to_buffer(surface, sx, sy, bx, by); 168 - weston_transformed_coord(surface->width_from_buffer, 169 - surface->height_from_buffer, 172 + weston_transformed_coord_float(surface->width_from_buffer, 173 + surface->height_from_buffer, 178 /** Transform a rectangle from surface coordinates to buffer coordinates 179 @@ -1052,10 +1072,10 @@ weston_surface_to_buffer_rect(struct weston_surface *surface, 183 - return weston_transformed_rect(surface->width_from_buffer, [all …]
|
| H A D | 0008-HACK-xdg-shell-Support-setting-window-position.patch | 14 libweston/desktop/surface.c | 10 ++++++++++ 39 @@ -176,6 +176,10 @@ weston_desktop_surface_set_size(struct weston_desktop_surface *surface, 41 weston_desktop_surface_set_orientation(struct weston_desktop_surface *surface, 45 +weston_desktop_surface_set_position(struct weston_desktop_surface *surface, 48 weston_desktop_surface_close(struct weston_desktop_surface *surface); 67 @@ -1810,6 +1810,8 @@ weston_surface_damage(struct weston_surface *surface) 76 diff --git a/libweston/desktop/surface.c b/libweston/desktop/surface.c 78 --- a/libweston/desktop/surface.c 79 +++ b/libweston/desktop/surface.c 80 @@ -695,6 +695,16 @@ weston_desktop_surface_get_min_size(struct weston_desktop_surface *surface) [all …]
|
| H A D | 0055-compositor-Support-placing-subsurface-above-or-below.patch | 22 - sibling = subsurface_sibling_check(sub, surface, "place_above"); 23 + if (surface == sub->surface) 27 + sibling = subsurface_sibling_check(sub, surface, "place_above"); 36 - sibling = subsurface_sibling_check(sub, surface, "place_below"); 37 + if (surface == sub->surface) 41 + sibling = subsurface_sibling_check(sub, surface, "place_below");
|
| H A D | 0059-HACK-compositor-Re-build-view-list-when-committing-a.patch | 5 unassigned surface 7 To avoid skipping repaint for unassigned surface. 18 @@ -4437,6 +4437,10 @@ weston_surface_commit(struct weston_surface *surface) 20 weston_surface_commit_subsurface_order(surface); 23 + if (!surface->output_mask) 24 + weston_compositor_build_view_list(surface->compositor, NULL); 26 weston_surface_schedule_repaint(surface);
|
| /OK3568_Linux_fs/buildroot/package/enlightenment/ |
| H A D | 0005-xdg-shell-v6-Fix-crash-when-unbind-early.patch | 18 client = wl_resource_get_client(ec->comp_data->surface); 21 - v->surfaces = eina_list_remove(v->surfaces, shd->surface); 25 + v->surfaces = eina_list_remove(v->surfaces, shd->surface); 28 if (ec->comp_data->shell.surface) 29 e_shell_surface_destroy(ec->comp_data->shell.surface); 36 client = wl_resource_get_client(ec->comp_data->surface); 39 - v->surfaces = eina_list_remove(v->surfaces, shd->surface); 43 + v->surfaces = eina_list_remove(v->surfaces, shd->surface); 46 if (ec->comp_data->shell.surface) 47 e_shell_surface_destroy(ec->comp_data->shell.surface);
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/core/ |
| H A D | dc.c | 1710 union surface_update_flags *update_flags = &u->surface->update_flags; in get_plane_info_update_type() 1716 if (u->plane_info->color_space != u->surface->color_space) { in get_plane_info_update_type() 1721 if (u->plane_info->horizontal_mirror != u->surface->horizontal_mirror) { in get_plane_info_update_type() 1726 if (u->plane_info->rotation != u->surface->rotation) { in get_plane_info_update_type() 1731 if (u->plane_info->format != u->surface->format) { in get_plane_info_update_type() 1736 if (u->plane_info->stereo_format != u->surface->stereo_format) { in get_plane_info_update_type() 1741 if (u->plane_info->per_pixel_alpha != u->surface->per_pixel_alpha) { in get_plane_info_update_type() 1746 if (u->plane_info->global_alpha_value != u->surface->global_alpha_value) { in get_plane_info_update_type() 1751 if (u->plane_info->dcc.enable != u->surface->dcc.enable in get_plane_info_update_type() 1752 || u->plane_info->dcc.independent_64b_blks != u->surface->dcc.independent_64b_blks in get_plane_info_update_type() [all …]
|
| /OK3568_Linux_fs/external/xserver/Xext/ |
| H A D | xvmc.c | 137 XvMCSurfaceInfoPtr surface; in ProcXvMCListSurfaceTypes() local 169 surface = adaptor->surfaces[i]; in ProcXvMCListSurfaceTypes() 170 info.surface_type_id = surface->surface_type_id; in ProcXvMCListSurfaceTypes() 171 info.chroma_format = surface->chroma_format; in ProcXvMCListSurfaceTypes() 172 info.max_width = surface->max_width; in ProcXvMCListSurfaceTypes() 173 info.max_height = surface->max_height; in ProcXvMCListSurfaceTypes() 174 info.subpicture_max_width = surface->subpicture_max_width; in ProcXvMCListSurfaceTypes() 175 info.subpicture_max_height = surface->subpicture_max_height; in ProcXvMCListSurfaceTypes() 176 info.mc_type = surface->mc_type; in ProcXvMCListSurfaceTypes() 177 info.flags = surface->flags; in ProcXvMCListSurfaceTypes() [all …]
|