18#include <wayland-util.h>
59#define USE_EVENT_BACKGROUND_THREAD
118 const bool is_dialog,
120 const bool exclusive,
127#ifdef USE_EVENT_BACKGROUND_THREAD
145 const int hot_spot[2],
146 bool can_invert_color)
override;
153 void setTitle(
const char *title)
override;
155 std::string
getTitle()
const override;
185 void endIME()
override;
194 const std::span<GWL_Output *const>
outputs_get()
const;
242#ifdef USE_EVENT_BACKGROUND_THREAD
247 struct xdg_toplevel *xdg_toplevel_get();
252 void csd_layout_refresh();
262 void csd_margin_geometry_get(
int32_t &r_margin_size,
int32_t r_window_size[2])
const;
GHOST_TDrawingContextType
void gwl_xdg_window_icon_free(GWL_XDG_WindowIcon &icon)
unsigned long long int uint64_t
SIMD_FORCE_INLINE const btScalar & w() const
Return the w value.
const struct GWL_WindowScaleParams & scale_params_get() const
GHOST_TSuccess setClientSize(uint32_t width, uint32_t height) override
bool outputs_leave(GWL_Output *output)
GHOST_TSuccess setClientWidth(uint32_t width) override
wl_fixed_t wl_fixed_to_window(wl_fixed_t value) const
GHOST_TSuccess setOrder(GHOST_TWindowOrder order) override
GHOST_TSuccess setWindowCursorGrab(GHOST_TGrabCursorMode mode) override
GHOST_TSuccess notify_size()
GHOST_TSuccess hasCursorShape(GHOST_TStandardCursor cursor_shape) override
void outputs_changed_update_scale_tag()
GHOST_TSuccess setState(GHOST_TWindowState state) override
GHOST_TSuccess setWindowCursorVisibility(bool visible) override
GHOST_WindowWayland(GHOST_SystemWayland *system, const char *title, int32_t left, int32_t top, uint32_t width, uint32_t height, GHOST_TWindowState state, const GHOST_IWindow *parent_window, GHOST_TDrawingContextType type, const bool is_dialog, const GHOST_ContextParams &context_params, const bool exclusive, const GHOST_GPUDevice &preferred_device)
void pending_actions_handle()
GHOST_TWindowState getState() const override
bool getCursorGrabUseSoftwareDisplay() override
bool isDialog() const override
struct wl_surface * wl_surface_get() const
GHOST_TSuccess notify_decor_redraw()
bool getValid() const override
wl_fixed_t wl_fixed_from_window(wl_fixed_t value) const
std::string getTitle() const override
GHOST_TSuccess deactivate()
bool outputs_changed_update_scale()
void getClientBounds(GHOST_Rect &bounds) const override
const std::span< GWL_Output *const > outputs_get() const
GHOST_TSuccess activate()
uint16_t getDPIHint() override
void clientToScreen(int32_t inX, int32_t inY, int32_t &outX, int32_t &outY) const override
GHOST_TSuccess swapBufferRelease() override
GHOST_TSuccess setClientHeight(uint32_t height) override
GHOST_TSuccess cursor_shape_refresh()
void screenToClient(int32_t inX, int32_t inY, int32_t &outX, int32_t &outY) const override
bool outputs_enter(GWL_Output *output)
GHOST_TSuccess setWindowCustomCursorShape(const uint8_t *bitmap, const uint8_t *mask, const int size[2], const int hot_spot[2], bool can_invert_color) override
GHOST_TSuccess invalidate() override
GWL_XDG_WindowIcon & gwl_xdg_icon_get()
GHOST_TSuccess setWindowCursorShape(GHOST_TStandardCursor shape) override
GHOST_TSuccess setWindowCustomCursorGenerator(GHOST_CursorGenerator *cursor_generator) override
void setTitle(const char *title) override
void getWindowBounds(GHOST_Rect &bounds) const override
GHOST_TWindowTiledFlag getTiledEdges() const override
GHOST_TSuccess getCursorBitmap(GHOST_CursorBitmapRef *bitmap) override
GHOST_Window(uint32_t width, uint32_t height, GHOST_TWindowState state, const GHOST_ContextParams &context_params, const bool exclusive=false)
ccl_device_inline float2 mask(const MaskType mask, const float2 a)
GHOST_CSD_EventState_Button buttons[1]
struct wl_buffer * buffer