~glcompbench-dev/glcompbench/scale

« back to all changes in this revision

Viewing changes to src/composite-window-eglimage.h

  • Committer: Marc Ordinas i Llopis
  • Date: 2011-12-13 11:42:28 UTC
  • mfrom: (67.1.4 glproxy-flavor)
  • Revision ID: marc.ordinasillopis@linaro.org-20111213114228-gdqkhmxwb4c2kndx
glproxy: Added new flavor that uses glproxy to access the selected
backend.
Options: Added a --backend option to select which backend (glx, egl-gl,
egl-es2) to use. The available values depend on the executable's flavor.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
 * Authors:
20
20
 *  Alexandros Frantzis <alexandros.frantzis@linaro.org>
21
21
 *  Jesse Barker <jesse.barker@linaro.org>
 
22
 *  Marc Ordinas i Llopis, Collabora Ltd <marc.ordinasillopis@linaro.org>
22
23
 */
23
24
 
24
25
#ifndef COMPOSITE_WINDOW_EGLIMAGE_H_
26
27
 
27
28
#include <X11/Xlib.h>
28
29
#include "gl-headers.h"
 
30
#ifdef USE_GLPROXY
 
31
#include <EGL/egl_proxy.h>
 
32
#include <EGL/eglext_proxy.h>
 
33
#else
29
34
#include <EGL/egl.h>
30
35
#include <EGL/eglext.h>
 
36
#endif
31
37
#include "composite-window-gl.h"
32
38
 
33
39
class CompositeWindowEGLImage : public CompositeWindowGL