#include "GHOST_WindowWayland.h"
#include "GHOST_SystemWayland.h"
#include "GHOST_WaylandUtils.h"
#include "GHOST_WindowManager.h"
#include "GHOST_utildefines.h"
#include "GHOST_Event.h"
#include "GHOST_ContextEGL.h"
#include "GHOST_ContextNone.h"
#include <wayland-client-protocol.h>
#include <wayland-egl.h>
#include <algorithm>
#include "CLG_log.h"
Go to the source code of this file.
◆ LOG [1/4]
◆ LOG [2/4]
◆ LOG [3/4]
◆ LOG [4/4]
◆ output_scale_cmp()
static int output_scale_cmp |
( |
const output_t * |
output_a, |
|
|
const output_t * |
output_b |
|
) |
| |
|
static |
◆ outputs_max_scale_or_default()
◆ surface_handle_enter()
static void surface_handle_enter |
( |
void * |
data, |
|
|
struct wl_surface * |
, |
|
|
struct wl_output * |
output |
|
) |
| |
|
static |
◆ surface_handle_leave()
static void surface_handle_leave |
( |
void * |
data, |
|
|
struct wl_surface * |
, |
|
|
struct wl_output * |
output |
|
) |
| |
|
static |
◆ xdg_surface_handle_configure()
static void xdg_surface_handle_configure |
( |
void * |
data, |
|
|
xdg_surface * |
xdg_surface, |
|
|
const uint32_t |
serial |
|
) |
| |
|
static |
Definition at line 321 of file GHOST_WindowWayland.cpp.
References GHOST_WindowWayland::activate(), CLOG_INFO, data, GHOST_WindowWayland::deactivate(), window_t::egl_window, window_t::is_active, LOG, GHOST_WindowWayland::notify_size(), window_t::size, window_t::size_pending, UNPACK2, window_t::w, wl_egl_window_resize, and window_t::xdg_surface.
◆ xdg_toplevel_decoration_handle_configure()
static void xdg_toplevel_decoration_handle_configure |
( |
void * |
data, |
|
|
struct zxdg_toplevel_decoration_v1 * |
, |
|
|
const uint32_t |
mode |
|
) |
| |
|
static |
◆ xdg_toplevel_handle_close()
static void xdg_toplevel_handle_close |
( |
void * |
data, |
|
|
xdg_toplevel * |
|
|
) |
| |
|
static |
◆ xdg_toplevel_handle_configure()
static void xdg_toplevel_handle_configure |
( |
void * |
data, |
|
|
xdg_toplevel * |
, |
|
|
const int32_t |
width, |
|
|
const int32_t |
height, |
|
|
wl_array * |
states |
|
) |
| |
|
static |
Definition at line 154 of file GHOST_WindowWayland.cpp.
References CLOG_INFO, data, height, window_t::is_active, window_t::is_fullscreen, window_t::is_maximised, LOG, window_t::scale, window_t::size_pending, state, and width.
◆ base_dpi
constexpr size_t base_dpi = 96 |
|
staticconstexpr |
◆ LOG_WL_SURFACE
CLG_LogRef LOG_WL_SURFACE = {"ghost.wl.handle.surface"} |
|
static |
◆ LOG_WL_XDG_SURFACE
CLG_LogRef LOG_WL_XDG_SURFACE = {"ghost.wl.handle.xdg_surface"} |
|
static |
◆ LOG_WL_XDG_TOPLEVEL
CLG_LogRef LOG_WL_XDG_TOPLEVEL = {"ghost.wl.handle.xdg_toplevel"} |
|
static |
◆ LOG_WL_XDG_TOPLEVEL_DECORATION
CLG_LogRef LOG_WL_XDG_TOPLEVEL_DECORATION = {"ghost.wl.handle.xdg_toplevel_decoration"} |
|
static |
◆ toplevel_decoration_v1_listener
const zxdg_toplevel_decoration_v1_listener toplevel_decoration_v1_listener |
|
static |
◆ toplevel_listener
const xdg_toplevel_listener toplevel_listener |
|
static |
◆ window_manager
◆ wl_surface_listener
struct wl_surface_listener wl_surface_listener |
|
static |
◆ xdg_surface_listener
const xdg_surface_listener xdg_surface_listener |
|
static |