Rev 5371 | Rev 6137 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5371 | Rev 6115 | ||
---|---|---|---|
Line 4... | Line 4... | ||
4 | #define EGL_EGLEXT_PROTOTYPES |
4 | #define EGL_EGLEXT_PROTOTYPES |
5 | #define GL_GLEXT_PROTOTYPES |
5 | #define GL_GLEXT_PROTOTYPES |
Line 6... | Line 6... | ||
6 | 6 | ||
7 | #include "EGL/egl.h" |
7 | #include "EGL/egl.h" |
- | 8 | #include "EGL/eglext.h" |
|
8 | #include "EGL/eglext.h" |
9 | #include "EGL/eglmesaext.h" |
Line 9... | Line 10... | ||
9 | #include "GL/gl.h" |
10 | #include "GL/gl.h" |
10 | 11 | ||
11 | struct bitmap |
12 | struct bitmap |
Line 18... | Line 19... | ||
18 | GLuint handle; |
19 | GLuint handle; |
19 | GLuint name; |
20 | GLuint name; |
20 | EGLImageKHR image; |
21 | EGLImageKHR image; |
21 | }; |
22 | }; |
Line -... | Line 23... | ||
- | 23 | ||
- | 24 | struct planar |
|
- | 25 | { |
|
- | 26 | uint32_t width; |
|
- | 27 | uint32_t height; |
|
- | 28 | GLuint name; |
|
- | 29 | EGLImageKHR planar_image; |
|
- | 30 | EGLImageKHR image[3]; |
|
- | 31 | GLuint offset[3]; |
|
- | 32 | GLuint pitch[3]; |
|
- | 33 | GLuint tex[3]; |
|
- | 34 | }; |
|
22 | 35 | ||
23 | enum |
36 | enum |
24 | { |
37 | { |
25 | TEX_SCREEN = 0, |
38 | TEX_SCREEN = 0, |
26 | TEX_MASK = 1 |
39 | TEX_MASK = 1 |