Skip to content
Snippets Groups Projects
Select Git revision
  • 00cd1c154d565c62ad5e065bf3530f68bdf59490
  • linus-master default
  • kunit_is_love
  • kunit_drm
  • tonyk/futex_waitv
  • hidraw_rwlock
  • futex_waitv
  • futex2-dev
  • idle_sleep
  • futex2-proton
  • futex-tests
  • futex2
  • futex2-numa
  • fwm-5.11
  • cf-fix
  • tmpfs-ic
  • futex2-stable-5.11
  • futex2-stable
  • futex2-lpc
  • gaming
  • futex-fixes
21 results

bootparam.h

Blame
  • window.c 128.44 KiB
    /*
     * Copyright © 2008 Kristian Høgsberg
     * Copyright © 2012-2013 Collabora, Ltd.
     *
     * Permission to use, copy, modify, distribute, and sell this software and its
     * documentation for any purpose is hereby granted without fee, provided that
     * the above copyright notice appear in all copies and that both that copyright
     * notice and this permission notice appear in supporting documentation, and
     * that the name of the copyright holders not be used in advertising or
     * publicity pertaining to distribution of the software without specific,
     * written prior permission.  The copyright holders make no representations
     * about the suitability of this software for any purpose.  It is provided "as
     * is" without express or implied warranty.
     *
     * THE COPYRIGHT HOLDERS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
     * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
     * EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY SPECIAL, INDIRECT OR
     * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
     * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
     * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
     * OF THIS SOFTWARE.
     */
    
    #include "config.h"
    
    #include <stdint.h>
    #include <stdio.h>
    #include <stdlib.h>
    #include <stdarg.h>
    #include <string.h>
    #include <fcntl.h>
    #include <unistd.h>
    #include <errno.h>
    #include <math.h>
    #include <assert.h>
    #include <time.h>
    #include <cairo.h>
    #include <sys/mman.h>
    #include <sys/epoll.h>
    #include <sys/timerfd.h>
    
    #ifdef HAVE_CAIRO_EGL
    #include <wayland-egl.h>
    
    #ifdef USE_CAIRO_GLESV2
    #include <GLES2/gl2.h>
    #include <GLES2/gl2ext.h>
    #else
    #include <GL/gl.h>
    #endif
    #include <EGL/egl.h>
    #include <EGL/eglext.h>
    
    #include <cairo-gl.h>
    #else /* HAVE_CAIRO_EGL */
    typedef void *EGLDisplay;
    typedef void *EGLConfig;
    typedef void *EGLContext;
    #define EGL_NO_DISPLAY ((EGLDisplay)0)
    #endif /* no HAVE_CAIRO_EGL */
    
    #include <xkbcommon/xkbcommon.h>
    #include <wayland-cursor.h>
    
    #include <linux/input.h>
    #include <wayland-client.h>
    #include "../shared/cairo-util.h"
    #include "xdg-shell-client-protocol.h"
    #include "text-cursor-position-client-protocol.h"
    #include "workspaces-client-protocol.h"