Changeset View
Changeset View
Standalone View
Standalone View
src/server/surface_interface_p.h
Show First 20 Lines • Show All 117 Lines • ▼ Show 20 Line(s) | 106 | private: | |||
---|---|---|---|---|---|
118 | void attachBuffer(wl_resource *buffer, const QPoint &offset); | 118 | void attachBuffer(wl_resource *buffer, const QPoint &offset); | ||
119 | void setOpaque(const QRegion ®ion); | 119 | void setOpaque(const QRegion ®ion); | ||
120 | void setInput(const QRegion ®ion, bool isInfinite); | 120 | void setInput(const QRegion ®ion, bool isInfinite); | ||
121 | 121 | | |||
122 | static void destroyFrameCallback(wl_resource *r); | 122 | static void destroyFrameCallback(wl_resource *r); | ||
123 | 123 | | |||
124 | static void attachCallback(wl_client *client, wl_resource *resource, wl_resource *buffer, int32_t sx, int32_t sy); | 124 | static void attachCallback(wl_client *client, wl_resource *resource, wl_resource *buffer, int32_t sx, int32_t sy); | ||
125 | static void damageCallback(wl_client *client, wl_resource *resource, int32_t x, int32_t y, int32_t width, int32_t height); | 125 | static void damageCallback(wl_client *client, wl_resource *resource, int32_t x, int32_t y, int32_t width, int32_t height); | ||
126 | static void frameCallaback(wl_client *client, wl_resource *resource, uint32_t callback); | 126 | static void frameCallback(wl_client *client, wl_resource *resource, uint32_t callback); | ||
127 | static void opaqueRegionCallback(wl_client *client, wl_resource *resource, wl_resource *region); | 127 | static void opaqueRegionCallback(wl_client *client, wl_resource *resource, wl_resource *region); | ||
128 | static void inputRegionCallback(wl_client *client, wl_resource *resource, wl_resource *region); | 128 | static void inputRegionCallback(wl_client *client, wl_resource *resource, wl_resource *region); | ||
129 | static void commitCallback(wl_client *client, wl_resource *resource); | 129 | static void commitCallback(wl_client *client, wl_resource *resource); | ||
130 | // since version 2 | 130 | // since version 2 | ||
131 | static void bufferTransformCallback(wl_client *client, wl_resource *resource, int32_t transform); | 131 | static void bufferTransformCallback(wl_client *client, wl_resource *resource, int32_t transform); | ||
132 | // since version 3 | 132 | // since version 3 | ||
133 | static void bufferScaleCallback(wl_client *client, wl_resource *resource, int32_t scale); | 133 | static void bufferScaleCallback(wl_client *client, wl_resource *resource, int32_t scale); | ||
134 | 134 | | |||
135 | static const struct wl_surface_interface s_interface; | 135 | static const struct wl_surface_interface s_interface; | ||
136 | }; | 136 | }; | ||
137 | 137 | | |||
138 | } | 138 | } | ||
139 | } | 139 | } | ||
140 | 140 | | |||
141 | #endif | 141 | #endif |