File: os_gl_pre.h

package info (click to toggle)
pymol 1.7.2.1-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 42,668 kB
  • ctags: 25,775
  • sloc: ansic: 494,779; python: 75,446; cpp: 20,088; makefile: 351; sh: 172; csh: 21
file content (31 lines) | stat: -rw-r--r-- 655 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#ifndef _H_os_gl_pre
#define _H_os_gl_pre

#include"os_predef.h"
#include"os_proprietary.h"

#if defined(_PYMOL_IOS) || defined(ANDROID)
#define PURE_OPENGL_ES
#define _PYMOL_PURE_OPENGL_ES
#define _PYMOL_CGO_DRAWARRAYS
#define _PYMOL_GL_DRAWARRAYS
#define _PYMOL_CGO_DRAWBUFFERS
#if !defined(OPENGL_ES_1) && !defined(OPENGL_ES_2)
#define OPENGL_ES_1
#endif
#endif

#if !defined(OPENGL_ES_1) && !defined(OPENGL_ES_2)
#define OPENGL_ES_1 1
#endif

#if defined(_PYMOL_PURE_OPENGL_ES) && defined(OPENGL_ES_2)
#define PURE_OPENGL_ES_2 1
#endif

#if defined(_PYMOL_PURE_OPENGL_ES) && !defined(_PYMOL_GL_DRAWARRAYS)
#define _PYMOL_GL_DRAWARRAYS
#endif

#endif