Skip to content
Snippets Groups Projects
  • Jeremy Whiting's avatar
    5416fd09
    GL and GLES helpers initial commit. · 5416fd09
    Jeremy Whiting authored
    In order to check opengl and gles on linux desktop for multiple
    architectures build check-gl|gles] with architecture prefix.
    Modifications from upstream sources include:
    Removing kernel parameter checks for gnome.fallback, just run no need
    to check for fallbacks.
    Removing blacklisted renderer list support, no need for our use case.
    Removing dependency on gtk+ and gdk.
    Removing dependency on epoxy.
    5416fd09
    History
    GL and GLES helpers initial commit.
    Jeremy Whiting authored
    In order to check opengl and gles on linux desktop for multiple
    architectures build check-gl|gles] with architecture prefix.
    Modifications from upstream sources include:
    Removing kernel parameter checks for gnome.fallback, just run no need
    to check for fallbacks.
    Removing blacklisted renderer list support, no need for our use case.
    Removing dependency on gtk+ and gdk.
    Removing dependency on epoxy.
gnome-session-check-accelerated-common.h 1.08 KiB
/* -*- mode:c; c-basic-offset: 8; indent-tabs-mode: nil; -*- */
/* Tool to set the property _GNOME_SESSION_ACCELERATED on the root window */
/*
 * Copyright (C) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 *
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program 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 General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 *
 * Author:
 *   Frederic Crozat <fcrozat@suse.com>
 */

/* Exit value for helper */
#define HELPER_ACCEL 0
#define HELPER_NO_ACCEL 1
#define HELPER_SOFTWARE_RENDERING 2