Searched refs:gl_context (Results 1 - 18 of 18) sorted by relevance

/external/mesa3d/src/glsl/
H A Dprogram.h27 link_shaders(const struct gl_context *ctx, struct gl_shader_program *prog);
H A Dglsl_parser_extras.h43 struct gl_context;
46 _mesa_glsl_parse_state(const struct gl_context *ctx, GLenum target,
H A Dglsl_compiler.cpp42 initialize_context(struct gl_context *ctx, gl_api api)
150 compile_shader(struct gl_context *ctx, struct gl_shader *shader)
223 struct gl_context local_ctx;
224 struct gl_context *ctx = &local_ctx;
H A Dmain.cpp49 compile_shader(const struct gl_context *ctx, struct gl_shader *shader)
H A Dbuiltin_function.cpp35 struct gl_context fakeCtx;
H A Dglsl_parser_extras.cpp30 #include "main/core.h" /* for struct gl_context */
39 _mesa_glsl_parse_state::_mesa_glsl_parse_state(const struct gl_context *ctx,
H A Dlinker.cpp766 const struct gl_context *ctx,
1529 link_shaders(const struct gl_context *ctx, struct gl_shader_program *prog)
/external/mesa3d/src/mesa/program/
H A Dir_to_mesa.h31 void _mesa_glsl_compile_shader(struct gl_context *ctx, struct gl_shader *sh);
32 void _mesa_glsl_link_shader(struct gl_context *ctx, struct gl_shader_program *prog);
33 GLboolean _mesa_ir_compile_shader(struct gl_context *ctx, struct gl_shader *shader);
34 GLboolean _mesa_ir_link_shader(struct gl_context *ctx, struct gl_shader_program *prog);
H A Dprog_statevars.h129 _mesa_load_state_parameters(struct gl_context *ctx,
142 _mesa_load_tracked_matrices(struct gl_context *ctx);
/external/mesa3d/src/mesa/main/
H A Ddebug.h42 struct gl_context;
51 extern void _mesa_init_debug( struct gl_context *ctx );
85 _mesa_print_texture(struct gl_context *ctx, const struct gl_texture_image *img);
H A Dversion.h31 struct gl_context;
57 _mesa_compute_version(struct gl_context *ctx);
H A Dimports.h577 struct gl_context;
580 _mesa_warning( struct gl_context *gc, const char *fmtString, ... ) PRINTFLIKE(2, 3);
583 _mesa_problem( const struct gl_context *ctx, const char *fmtString, ... ) PRINTFLIKE(2, 3);
586 _mesa_error( struct gl_context *ctx, GLenum error, const char *fmtString, ... ) PRINTFLIKE(3, 4);
589 _mesa_debug( const struct gl_context *ctx, const char *fmtString, ... ) PRINTFLIKE(2, 3);
H A Dmtypes.h118 struct gl_context;
2371 // GLboolean (*AllocStorage)(struct gl_context *ctx, struct gl_renderbuffer *rb,
2377 // void (*Lock)(struct gl_context *ctx, struct gl_renderbuffer *rb);
2378 // void (*Unlock)(struct gl_context *ctx, struct gl_renderbuffer *rb);
2384 // void *(*GetPointer)(struct gl_context *ctx, struct gl_renderbuffer *rb,
2390 // void (*GetRow)(struct gl_context *ctx, struct gl_renderbuffer *rb, GLuint count,
2396 // void (*GetValues)(struct gl_context *ctx, struct gl_renderbuffer *rb, GLuint count,
2402 // void (*PutRow)(struct gl_context *ctx, struct gl_renderbuffer *rb, GLuint count,
2410 // void (*PutRowRGB)(struct gl_context *ctx, struct gl_renderbuffer *rb, GLuint count,
2417 // void (*PutMonoRow)(struct gl_context *ct
3075 struct gl_context struct
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/quartz/
H A DSDL_QuartzGL.m140 gl_context = [ [ NSOpenGLContext alloc ] initWithFormat:fmt
145 if (gl_context == nil) {
158 [ gl_context setValues: &value forParameter: NSOpenGLCPSwapInterval ];
179 CGLContextObj ctx = QZ_GetCGLContextObj(gl_context);
192 [ gl_context clearDrawable ];
193 [ gl_context release ];
202 if ( gl_context != NULL ) {
275 [ gl_context getValues: &val forParameter: NSOpenGLCPSwapInterval ];
286 [ gl_context makeCurrentContext ];
291 [ gl_context flushBuffe
[all...]
H A DSDL_QuartzVideo.h95 NSOpenGLContext *gl_context; /* OpenGL rendering context */ member in struct:SDL_PrivateVideoData
135 #define gl_context (this->hidden->gl_context) macro
H A DSDL_QuartzVideo.m848 [ gl_context setView: window_view ];
849 //[ gl_context setFullScreen ];
850 [ gl_context update ];
859 ctx = QZ_GetCGLContextObj (gl_context);
870 [ gl_context makeCurrentContext];
874 [ gl_context flushBuffer ];
1084 [ gl_context setView: window_view ];
1086 [ gl_context makeCurrentContext];
1228 NSOpenGLContext *glctx = gl_context;
/external/mesa3d/src/glsl/glcpp/
H A Dglcpp.c37 _mesa_reference_shader(struct gl_context *ctx, struct gl_shader **ptr,
/external/mesa3d/src/pixelflinger2/
H A Dshader.cpp49 static void InitializeGLContext(struct gl_context *ctx)
81 const gl_context * ctx;
83 ctx = hieralloc_zero(NULL, gl_context);
84 // ctx = (const gl_context*)calloc(1,sizeof(gl_context));
85 InitializeGLContext(const_cast<gl_context *>(ctx));
91 hieralloc_free(const_cast<gl_context *>(ctx));
92 // free(const_cast<gl_context *>(ctx));
135 extern void link_shaders(const struct gl_context *ctx, struct gl_shader_program *prog);
137 extern "C" void compile_shader(const struct gl_context *ct
[all...]

Completed in 486 milliseconds