mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 16:10:41 -05:00
cogl: Drop cogl-wayland-server.h
This header only defines one function that doesn't exist anymore, and nothing else. It can be safely dropped. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2145>
This commit is contained in:
parent
3eeecd42b0
commit
87a66830dc
@ -51,10 +51,6 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
||||||
#ifdef COGL_HAS_WAYLAND_EGL_SERVER_SUPPORT
|
|
||||||
#include "cogl-wayland-server.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
static void _cogl_texture_2d_free (CoglTexture2D *tex_2d);
|
static void _cogl_texture_2d_free (CoglTexture2D *tex_2d);
|
||||||
|
|
||||||
COGL_TEXTURE_DEFINE (Texture2D, texture_2d);
|
COGL_TEXTURE_DEFINE (Texture2D, texture_2d);
|
||||||
|
@ -1,88 +0,0 @@
|
|||||||
/*
|
|
||||||
* Cogl
|
|
||||||
*
|
|
||||||
* A Low Level GPU Graphics and Utilities API
|
|
||||||
*
|
|
||||||
* Copyright (C) 2012 Intel Corporation.
|
|
||||||
*
|
|
||||||
* Permission is hereby granted, free of charge, to any person
|
|
||||||
* obtaining a copy of this software and associated documentation
|
|
||||||
* files (the "Software"), to deal in the Software without
|
|
||||||
* restriction, including without limitation the rights to use, copy,
|
|
||||||
* modify, merge, publish, distribute, sublicense, and/or sell copies
|
|
||||||
* of the Software, and to permit persons to whom the Software is
|
|
||||||
* furnished to do so, subject to the following conditions:
|
|
||||||
*
|
|
||||||
* The above copyright notice and this permission notice shall be
|
|
||||||
* included in all copies or substantial portions of the Software.
|
|
||||||
*
|
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
||||||
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
|
|
||||||
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
|
|
||||||
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
||||||
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
||||||
* SOFTWARE.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef __COGL_WAYLAND_SERVER_H
|
|
||||||
#define __COGL_WAYLAND_SERVER_H
|
|
||||||
|
|
||||||
#include <wayland-server.h>
|
|
||||||
|
|
||||||
/* NB: this is a top-level header that can be included directly but we
|
|
||||||
* want to be careful not to define __COGL_H_INSIDE__ when this is
|
|
||||||
* included internally while building Cogl itself since
|
|
||||||
* __COGL_H_INSIDE__ is used in headers to guard public vs private api
|
|
||||||
* definitions
|
|
||||||
*/
|
|
||||||
#ifndef COGL_COMPILATION
|
|
||||||
|
|
||||||
/* Note: When building Cogl .gir we explicitly define
|
|
||||||
* __COGL_H_INSIDE__ */
|
|
||||||
#ifndef __COGL_H_INSIDE__
|
|
||||||
#define __COGL_H_INSIDE__
|
|
||||||
#define __COGL_MUST_UNDEF_COGL_H_INSIDE_COGL_WAYLAND_SERVER_
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif /* COGL_COMPILATION */
|
|
||||||
|
|
||||||
#include <cogl/cogl-context.h>
|
|
||||||
#include <cogl/cogl-texture-2d.h>
|
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
/**
|
|
||||||
* cogl_wayland_display_set_compositor_display:
|
|
||||||
* @display: a #CoglDisplay
|
|
||||||
* @wayland_display: A compositor's Wayland display pointer
|
|
||||||
*
|
|
||||||
* Informs Cogl of a compositor's Wayland display pointer. This
|
|
||||||
* enables Cogl to register private wayland extensions required to
|
|
||||||
* pass buffers between the clients and compositor.
|
|
||||||
*
|
|
||||||
* Since: 1.10
|
|
||||||
* Stability: unstable
|
|
||||||
*/
|
|
||||||
COGL_EXPORT void
|
|
||||||
cogl_wayland_display_set_compositor_display (CoglDisplay *display,
|
|
||||||
struct wl_display *wayland_display);
|
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
|
||||||
/* The gobject introspection scanner seems to parse public headers in
|
|
||||||
* isolation which means we need to be extra careful about how we
|
|
||||||
* define and undefine __COGL_H_INSIDE__ used to detect when internal
|
|
||||||
* headers are incorrectly included by developers. In the gobject
|
|
||||||
* introspection case we have to manually define __COGL_H_INSIDE__ as
|
|
||||||
* a commandline argument for the scanner which means we must be
|
|
||||||
* careful not to undefine it in a header...
|
|
||||||
*/
|
|
||||||
#ifdef __COGL_MUST_UNDEF_COGL_H_INSIDE_COGL_WAYLAND_SERVER_
|
|
||||||
#undef __COGL_H_INSIDE__
|
|
||||||
#undef __COGL_MUST_UNDEF_COGL_H_INSIDE_COGL_WAYLAND_SERVER_
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif /* __COGL_WAYLAND_SERVER_H */
|
|
@ -396,12 +396,6 @@ if have_glx
|
|||||||
]
|
]
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if have_wayland
|
|
||||||
cogl_nonintrospected_headers += [
|
|
||||||
'cogl-wayland-server.h',
|
|
||||||
]
|
|
||||||
endif
|
|
||||||
|
|
||||||
if have_egl
|
if have_egl
|
||||||
cogl_nonintrospected_headers += [
|
cogl_nonintrospected_headers += [
|
||||||
'cogl-egl.h',
|
'cogl-egl.h',
|
||||||
|
@ -30,7 +30,6 @@
|
|||||||
|
|
||||||
#include "backends/meta-backend-private.h"
|
#include "backends/meta-backend-private.h"
|
||||||
#include "backends/meta-logical-monitor.h"
|
#include "backends/meta-logical-monitor.h"
|
||||||
#include "cogl/cogl-wayland-server.h"
|
|
||||||
#include "compositor/meta-shaped-texture-private.h"
|
#include "compositor/meta-shaped-texture-private.h"
|
||||||
#include "compositor/region-utils.h"
|
#include "compositor/region-utils.h"
|
||||||
#include "wayland/meta-wayland-buffer.h"
|
#include "wayland/meta-wayland-buffer.h"
|
||||||
|
@ -25,7 +25,6 @@
|
|||||||
|
|
||||||
#include "backends/meta-backend-private.h"
|
#include "backends/meta-backend-private.h"
|
||||||
#include "backends/meta-logical-monitor.h"
|
#include "backends/meta-logical-monitor.h"
|
||||||
#include "cogl/cogl-wayland-server.h"
|
|
||||||
#include "cogl/cogl.h"
|
#include "cogl/cogl.h"
|
||||||
#include "core/boxes-private.h"
|
#include "core/boxes-private.h"
|
||||||
#include "wayland/meta-cursor-sprite-wayland.h"
|
#include "wayland/meta-cursor-sprite-wayland.h"
|
||||||
|
@ -51,7 +51,6 @@
|
|||||||
#include "backends/meta-cursor-tracker-private.h"
|
#include "backends/meta-cursor-tracker-private.h"
|
||||||
#include "backends/meta-cursor.h"
|
#include "backends/meta-cursor.h"
|
||||||
#include "clutter/clutter.h"
|
#include "clutter/clutter.h"
|
||||||
#include "cogl/cogl-wayland-server.h"
|
|
||||||
#include "cogl/cogl.h"
|
#include "cogl/cogl.h"
|
||||||
#include "compositor/meta-surface-actor-wayland.h"
|
#include "compositor/meta-surface-actor-wayland.h"
|
||||||
#include "meta/meta-cursor-tracker.h"
|
#include "meta/meta-cursor-tracker.h"
|
||||||
|
@ -29,7 +29,6 @@
|
|||||||
|
|
||||||
#include "backends/meta-cursor-tracker-private.h"
|
#include "backends/meta-cursor-tracker-private.h"
|
||||||
#include "clutter/clutter.h"
|
#include "clutter/clutter.h"
|
||||||
#include "cogl/cogl-wayland-server.h"
|
|
||||||
#include "cogl/cogl.h"
|
#include "cogl/cogl.h"
|
||||||
#include "compositor/meta-surface-actor-wayland.h"
|
#include "compositor/meta-surface-actor-wayland.h"
|
||||||
#include "compositor/meta-surface-actor.h"
|
#include "compositor/meta-surface-actor.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user