
This gets rid of the GQuark and g_object_get_qdata() lookups. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3897>
43 lines
1.3 KiB
C
43 lines
1.3 KiB
C
/*
|
|
* Clutter.
|
|
*
|
|
* An OpenGL based 'interactive canvas' library.
|
|
*
|
|
* Copyright (C) 2024 Red Hat
|
|
*
|
|
* This library is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
* License as published by the Free Software Foundation; either
|
|
* version 2 of the License, or (at your option) any later version.
|
|
*
|
|
* This library is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "clutter/clutter-color-state.h"
|
|
|
|
typedef struct _ClutterColorTransformKey
|
|
{
|
|
struct {
|
|
ClutterColorspace colorspace;
|
|
ClutterTransferFunction transfer_function;
|
|
} source;
|
|
struct {
|
|
ClutterColorspace colorspace;
|
|
ClutterTransferFunction transfer_function;
|
|
} target;
|
|
} ClutterColorTransformKey;
|
|
|
|
guint clutter_color_transform_key_hash (gconstpointer data);
|
|
|
|
gboolean clutter_color_transform_key_equal (gconstpointer data1,
|
|
gconstpointer data2);
|