mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-02-17 22:05:56 -05:00
color_representation_v1: add helper to create global from renderer
This commit is contained in:
parent
87c3cb5c52
commit
fa7b66bcf4
2 changed files with 57 additions and 0 deletions
|
|
@ -14,6 +14,7 @@
|
|||
#include <wlr/render/color.h>
|
||||
|
||||
struct wlr_surface;
|
||||
struct wlr_renderer;
|
||||
|
||||
// Supported coefficients and range are always paired together
|
||||
struct wlr_color_representation_v1_coeffs_and_range {
|
||||
|
|
@ -55,6 +56,9 @@ struct wlr_color_representation_manager_v1 *wlr_color_representation_manager_v1_
|
|||
struct wl_display *display, uint32_t version,
|
||||
const struct wlr_color_representation_v1_options *options);
|
||||
|
||||
struct wlr_color_representation_manager_v1 *wlr_color_representation_manager_v1_create_with_renderer(
|
||||
struct wl_display *display, uint32_t version, struct wlr_renderer *renderer);
|
||||
|
||||
// This is all the color-representation state which can be attached to a
|
||||
// surface, double-buffered and made current on commit
|
||||
struct wlr_color_representation_v1_surface_state {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue