~afrantzis/glmark2/visual-select

« back to all changes in this revision

Viewing changes to src/canvas-x11-egl.h

  • Committer: Alexandros Frantzis
  • Date: 2012-05-10 11:50:50 UTC
  • Revision ID: alexandros.frantzis@linaro.org-20120510115050-rmuqxzd7rxa27pkv
Temp.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
 
25
25
#include "canvas-x11.h"
26
26
 
 
27
#include <vector>
27
28
#include <EGL/egl.h>
28
29
 
29
30
/**
46
47
    void get_glvisualinfo(GLVisualInfo &gl_visinfo);
47
48
 
48
49
private:
 
50
    void get_visualconfig(const EGLConfig config, GLVisualConfig &visual_config);
 
51
    EGLConfig select_best_config(std::vector<EGLConfig> configs);
49
52
    bool ensure_egl_display();
50
53
    bool ensure_egl_config();
51
54
    bool ensure_egl_context();