Lines Matching defs:OpenGLContext
173 typedef struct OpenGLContext { struct
174 AVClass *class; ///< class for private options
177 SDL_Window *window;
178 SDL_GLContext glcontext;
180 FFOpenGLFunctions glprocs;
182 int inited; ///< Set to 1 when write_header was successfully called.
183 uint8_t background[4]; ///< Background color
184 int no_window; ///< 0 for create default window
185 char *window_title; ///< Title of the window
188 GLint max_texture_size; ///< Maximum texture size
189 GLint max_viewport_width; ///< Maximum viewport size
190 GLint max_viewport_height; ///< Maximum viewport size
191 int non_pow_2_textures; ///< 1 when non power of 2 textures are supported
192 int unpack_subimage; ///< 1 when GL_EXT_unpack_subimage is available
195 GLuint program; ///< Shader program
196 GLuint vertex_shader; ///< Vertex shader
197 GLuint fragment_shader; ///< Fragment shader for current pix_pmt
198 GLuint texture_name[4]; ///< Textures' IDs
199 GLuint index_buffer; ///< Index buffer
200 GLuint vertex_buffer; ///< Vertex buffer
201 OpenGLVertexInfo vertex[4]; ///< VBO
202 GLint projection_matrix_location; ///< Uniforms' locations
203 GLint model_view_matrix_location;
227 } OpenGLContext; argument