mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
eglglessink: Add some more comments
This commit is contained in:
parent
6b8188f9f6
commit
823f490fe8
1 changed files with 8 additions and 5 deletions
|
@ -124,8 +124,10 @@ struct _GstEglGlesRenderContext
|
||||||
EGLNativeWindowType window, used_window;
|
EGLNativeWindowType window, used_window;
|
||||||
EGLSurface surface;
|
EGLSurface surface;
|
||||||
gboolean buffer_preserved;
|
gboolean buffer_preserved;
|
||||||
GLuint fragshader[2], vertshader[2], glslprogram[2];
|
GLuint fragshader[2]; /* frame, border */
|
||||||
GLuint texture[3];
|
GLuint vertshader[2]; /* frame, border */
|
||||||
|
GLuint glslprogram[2]; /* frame, border */
|
||||||
|
GLuint texture[3]; /* RGB/Y, U/UV, V */
|
||||||
EGLint surface_width;
|
EGLint surface_width;
|
||||||
EGLint surface_height;
|
EGLint surface_height;
|
||||||
EGLint pixel_aspect_ratio;
|
EGLint pixel_aspect_ratio;
|
||||||
|
@ -133,9 +135,10 @@ struct _GstEglGlesRenderContext
|
||||||
gint n_textures;
|
gint n_textures;
|
||||||
|
|
||||||
/* shader vars */
|
/* shader vars */
|
||||||
GLuint position_loc[2], texpos_loc;
|
GLuint position_loc[2]; /* frame, border */
|
||||||
GLuint tex_scale_loc[3];
|
GLuint texpos_loc; /* frame */
|
||||||
GLuint tex_loc[3];
|
GLuint tex_scale_loc[3]; /* RGB/Y, U/UV, V */
|
||||||
|
GLuint tex_loc[3]; /* RGB/Y, U/UV, V */
|
||||||
coord5 position_array[12]; /* 4 x Frame, 4 x Border1, 4 x Border2 */
|
coord5 position_array[12]; /* 4 x Frame, 4 x Border1, 4 x Border2 */
|
||||||
unsigned short index_array[4];
|
unsigned short index_array[4];
|
||||||
unsigned int position_buffer, index_buffer;
|
unsigned int position_buffer, index_buffer;
|
||||||
|
|
Loading…
Reference in a new issue