/external/mesa3d/src/mesa/main/ |
viewport.c | 48 GET_CURRENT_CONTEXT(ctx); 49 ASSERT_OUTSIDE_BEGIN_END_AND_FLUSH(ctx); 50 _mesa_set_viewport(ctx, x, y, width, height); 58 * \param ctx GL context. 64 _mesa_set_viewport(struct gl_context *ctx, GLint x, GLint y, 68 _mesa_debug(ctx, "glViewport %d %d %d %d\n", x, y, width, height); 71 _mesa_error(ctx, GL_INVALID_VALUE, 77 width = MIN2(width, (GLsizei) ctx->Const.MaxViewportWidth); 78 height = MIN2(height, (GLsizei) ctx->Const.MaxViewportHeight); 80 ctx->Viewport.X = x [all...] |
matrix.c | 70 GET_CURRENT_CONTEXT(ctx); 71 ASSERT_OUTSIDE_BEGIN_END_AND_FLUSH(ctx); 79 _mesa_error( ctx, GL_INVALID_VALUE, "glFrustum" ); 83 _math_matrix_frustum( ctx->CurrentStack->Top, 87 ctx->NewState |= ctx->CurrentStack->DirtyFlag; 112 GET_CURRENT_CONTEXT(ctx); 113 ASSERT_OUTSIDE_BEGIN_END_AND_FLUSH(ctx); 116 _mesa_debug(ctx, "glOrtho(%f, %f, %f, %f, %f, %f)\n", 123 _mesa_error( ctx, GL_INVALID_VALUE, "glOrtho" ) [all...] |
enable.c | 46 if (!ctx->Extensions.EXTNAME) { \ 55 client_state(struct gl_context *ctx, GLenum cap, GLboolean state) 57 struct gl_array_object *arrayObj = ctx->Array.ArrayObj; 79 var = &arrayObj->VertexAttrib[VERT_ATTRIB_TEX(ctx->Array.ActiveTexture)].Enabled; 80 flag = VERT_BIT_TEX(ctx->Array.ActiveTexture); 131 if (!ctx->Extensions.NV_primitive_restart) { 134 var = &ctx->Array.PrimitiveRestart; 145 FLUSH_VERTICES(ctx, _NEW_ARRAY); 147 _ae_invalidate_state(ctx, _NEW_ARRAY); 158 if (ctx->Driver.Enable) [all...] |
pixel.c | 53 GET_CURRENT_CONTEXT(ctx); 55 ASSERT_OUTSIDE_BEGIN_END(ctx); 57 if (ctx->Pixel.ZoomX == xfactor && 58 ctx->Pixel.ZoomY == yfactor) 61 FLUSH_VERTICES(ctx, _NEW_PIXEL); 62 ctx->Pixel.ZoomX = xfactor; 63 ctx->Pixel.ZoomY = yfactor; 76 get_pixelmap(struct gl_context *ctx, GLenum map) 80 return &ctx->PixelMaps.ItoI; 82 return &ctx->PixelMaps.StoS [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/ |
LPdir_unix.c | 65 const char *LP_find_file(LP_DIR_CTX **ctx, const char *directory) 69 if (ctx == NULL || directory == NULL) 76 if (*ctx == NULL) 78 *ctx = (LP_DIR_CTX *)malloc(sizeof(LP_DIR_CTX)); 79 if (*ctx == NULL) 84 memset(*ctx, '\0', sizeof(LP_DIR_CTX)); 86 (*ctx)->dir = opendir(directory); 87 if ((*ctx)->dir == NULL) 90 free(*ctx); 91 *ctx = NULL [all...] |
/external/openssl/crypto/ |
LPdir_unix.c | 65 const char *LP_find_file(LP_DIR_CTX **ctx, const char *directory) 69 if (ctx == NULL || directory == NULL) 76 if (*ctx == NULL) 78 *ctx = (LP_DIR_CTX *)malloc(sizeof(LP_DIR_CTX)); 79 if (*ctx == NULL) 84 memset(*ctx, '\0', sizeof(LP_DIR_CTX)); 86 (*ctx)->dir = opendir(directory); 87 if ((*ctx)->dir == NULL) 90 free(*ctx); 91 *ctx = NULL [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
matrix.c | 70 GET_CURRENT_CONTEXT(ctx); 71 ASSERT_OUTSIDE_BEGIN_END_AND_FLUSH(ctx); 79 _mesa_error( ctx, GL_INVALID_VALUE, "glFrustum" ); 83 _math_matrix_frustum( ctx->CurrentStack->Top, 87 ctx->NewState |= ctx->CurrentStack->DirtyFlag; 112 GET_CURRENT_CONTEXT(ctx); 113 ASSERT_OUTSIDE_BEGIN_END_AND_FLUSH(ctx); 116 _mesa_debug(ctx, "glOrtho(%f, %f, %f, %f, %f, %f)\n", 123 _mesa_error( ctx, GL_INVALID_VALUE, "glOrtho" ) [all...] |
enable.c | 46 if (!ctx->Extensions.EXTNAME) { \ 55 client_state(struct gl_context *ctx, GLenum cap, GLboolean state) 57 struct gl_array_object *arrayObj = ctx->Array.ArrayObj; 79 var = &arrayObj->VertexAttrib[VERT_ATTRIB_TEX(ctx->Array.ActiveTexture)].Enabled; 80 flag = VERT_BIT_TEX(ctx->Array.ActiveTexture); 131 if (!ctx->Extensions.NV_primitive_restart) { 134 var = &ctx->Array.PrimitiveRestart; 145 FLUSH_VERTICES(ctx, _NEW_ARRAY); 147 _ae_invalidate_state(ctx, _NEW_ARRAY); 158 if (ctx->Driver.Enable) [all...] |
pixel.c | 53 GET_CURRENT_CONTEXT(ctx); 55 ASSERT_OUTSIDE_BEGIN_END(ctx); 57 if (ctx->Pixel.ZoomX == xfactor && 58 ctx->Pixel.ZoomY == yfactor) 61 FLUSH_VERTICES(ctx, _NEW_PIXEL); 62 ctx->Pixel.ZoomX = xfactor; 63 ctx->Pixel.ZoomY = yfactor; 76 get_pixelmap(struct gl_context *ctx, GLenum map) 80 return &ctx->PixelMaps.ItoI; 82 return &ctx->PixelMaps.StoS [all...] |
/device/generic/goldfish/opengl/system/GLESv2_enc/ |
gl2_client_proc.h | 12 typedef void (gl2_APIENTRY *glActiveTexture_client_proc_t) (void * ctx, GLenum); 13 typedef void (gl2_APIENTRY *glAttachShader_client_proc_t) (void * ctx, GLuint, GLuint); 14 typedef void (gl2_APIENTRY *glBindAttribLocation_client_proc_t) (void * ctx, GLuint, GLuint, const GLchar*); 15 typedef void (gl2_APIENTRY *glBindBuffer_client_proc_t) (void * ctx, GLenum, GLuint); 16 typedef void (gl2_APIENTRY *glBindFramebuffer_client_proc_t) (void * ctx, GLenum, GLuint); 17 typedef void (gl2_APIENTRY *glBindRenderbuffer_client_proc_t) (void * ctx, GLenum, GLuint); 18 typedef void (gl2_APIENTRY *glBindTexture_client_proc_t) (void * ctx, GLenum, GLuint); 19 typedef void (gl2_APIENTRY *glBlendColor_client_proc_t) (void * ctx, GLclampf, GLclampf, GLclampf, GLclampf); 20 typedef void (gl2_APIENTRY *glBlendEquation_client_proc_t) (void * ctx, GLenum); 21 typedef void (gl2_APIENTRY *glBlendEquationSeparate_client_proc_t) (void * ctx, GLenum, GLenum) [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/nouveau/ |
nv10_driver.h | 41 nv10_use_viewport_zclear(struct gl_context *ctx); 44 nv10_transform_depth(struct gl_context *ctx, float z); 48 nv10_vbo_init(struct gl_context *ctx); 51 nv10_vbo_destroy(struct gl_context *ctx); 54 nv10_swtnl_init(struct gl_context *ctx); 57 nv10_swtnl_destroy(struct gl_context *ctx); 61 nv10_emit_framebuffer(struct gl_context *ctx, int emit); 64 nv10_emit_render_mode(struct gl_context *ctx, int emit); 67 nv10_emit_scissor(struct gl_context *ctx, int emit); 70 nv10_emit_viewport(struct gl_context *ctx, int emit) [all...] |
nv20_state_polygon.c | 34 nv20_emit_point_mode(struct gl_context *ctx, int emit) 36 struct nouveau_pushbuf *push = context_push(ctx); 39 if (context_chipset(ctx) >= 0x25) 40 PUSH_DATAf(push, ctx->Point.Size); 42 PUSH_DATA (push, (uint32_t)(ctx->Point.Size * 8));
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
nv10_driver.h | 41 nv10_use_viewport_zclear(struct gl_context *ctx); 44 nv10_transform_depth(struct gl_context *ctx, float z); 48 nv10_vbo_init(struct gl_context *ctx); 51 nv10_vbo_destroy(struct gl_context *ctx); 54 nv10_swtnl_init(struct gl_context *ctx); 57 nv10_swtnl_destroy(struct gl_context *ctx); 61 nv10_emit_framebuffer(struct gl_context *ctx, int emit); 64 nv10_emit_render_mode(struct gl_context *ctx, int emit); 67 nv10_emit_scissor(struct gl_context *ctx, int emit); 70 nv10_emit_viewport(struct gl_context *ctx, int emit) [all...] |
nv20_state_polygon.c | 34 nv20_emit_point_mode(struct gl_context *ctx, int emit) 36 struct nouveau_pushbuf *push = context_push(ctx); 39 if (context_chipset(ctx) >= 0x25) 40 PUSH_DATAf(push, ctx->Point.Size); 42 PUSH_DATA (push, (uint32_t)(ctx->Point.Size * 8));
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/ |
radeon_swtcl.h | 42 extern void radeonInitSwtcl( struct gl_context *ctx ); 44 extern void radeonChooseRenderState( struct gl_context *ctx ); 45 extern void radeonChooseVertexState( struct gl_context *ctx ); 47 extern void radeonCheckTexSizes( struct gl_context *ctx ); 49 extern void radeonBuildVertices( struct gl_context *ctx, GLuint start, GLuint count, 55 extern void radeon_emit_indexed_verts( struct gl_context *ctx, 59 extern void radeon_translate_vertex( struct gl_context *ctx, 63 extern void radeon_print_vertex( struct gl_context *ctx, const radeonVertex *v ); 65 extern void r100_swtcl_flush(struct gl_context *ctx, uint32_t current_offset);
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
radeon_swtcl.h | 42 extern void radeonInitSwtcl( struct gl_context *ctx ); 44 extern void radeonChooseRenderState( struct gl_context *ctx ); 45 extern void radeonChooseVertexState( struct gl_context *ctx ); 47 extern void radeonCheckTexSizes( struct gl_context *ctx ); 49 extern void radeonBuildVertices( struct gl_context *ctx, GLuint start, GLuint count, 55 extern void radeon_emit_indexed_verts( struct gl_context *ctx, 59 extern void radeon_translate_vertex( struct gl_context *ctx, 63 extern void radeon_print_vertex( struct gl_context *ctx, const radeonVertex *v ); 65 extern void r100_swtcl_flush(struct gl_context *ctx, uint32_t current_offset);
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/tgsi/ |
tgsi_iterate.c | 34 struct tgsi_iterate_context *ctx ) 41 ctx->processor = parse.FullHeader.Processor; 43 if (ctx->prolog) 44 if (!ctx->prolog( ctx )) 52 if (ctx->iterate_instruction) 53 if (!ctx->iterate_instruction( ctx, &parse.FullToken.FullInstruction )) 58 if (ctx->iterate_declaration) 59 if (!ctx->iterate_declaration( ctx, &parse.FullToken.FullDeclaration ) [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/intel/ |
intel_span.h | 34 extern void intelInitSpanFuncs(struct gl_context * ctx); 36 extern void intelSpanRenderFinish(struct gl_context * ctx); 37 extern void intelSpanRenderStart(struct gl_context * ctx); 39 void intel_map_vertex_shader_textures(struct gl_context *ctx); 40 void intel_unmap_vertex_shader_textures(struct gl_context *ctx);
|
/external/chromium_org/third_party/mesa/src/src/mesa/swrast_setup/ |
swrast_setup.h | 44 _swsetup_CreateContext( struct gl_context *ctx ); 47 _swsetup_DestroyContext( struct gl_context *ctx ); 50 _swsetup_InvalidateState( struct gl_context *ctx, GLuint new_state ); 53 _swsetup_Wakeup( struct gl_context *ctx ); 59 _swsetup_Translate( struct gl_context *ctx, const void *vertex, SWvertex *dest );
|
/external/mesa3d/src/gallium/auxiliary/tgsi/ |
tgsi_iterate.c | 34 struct tgsi_iterate_context *ctx ) 41 ctx->processor = parse.FullHeader.Processor; 43 if (ctx->prolog) 44 if (!ctx->prolog( ctx )) 52 if (ctx->iterate_instruction) 53 if (!ctx->iterate_instruction( ctx, &parse.FullToken.FullInstruction )) 58 if (ctx->iterate_declaration) 59 if (!ctx->iterate_declaration( ctx, &parse.FullToken.FullDeclaration ) [all...] |
/external/mesa3d/src/mesa/drivers/dri/intel/ |
intel_span.h | 34 extern void intelInitSpanFuncs(struct gl_context * ctx); 36 extern void intelSpanRenderFinish(struct gl_context * ctx); 37 extern void intelSpanRenderStart(struct gl_context * ctx); 39 void intel_map_vertex_shader_textures(struct gl_context *ctx); 40 void intel_unmap_vertex_shader_textures(struct gl_context *ctx);
|
/external/mesa3d/src/mesa/swrast_setup/ |
swrast_setup.h | 44 _swsetup_CreateContext( struct gl_context *ctx ); 47 _swsetup_DestroyContext( struct gl_context *ctx ); 50 _swsetup_InvalidateState( struct gl_context *ctx, GLuint new_state ); 53 _swsetup_Wakeup( struct gl_context *ctx ); 59 _swsetup_Translate( struct gl_context *ctx, const void *vertex, SWvertex *dest );
|
/external/wpa_supplicant_8/src/utils/ |
edit.h | 12 int edit_init(void (*cmd_cb)(void *ctx, char *cmd), 13 void (*eof_cb)(void *ctx), 14 char ** (*completion_cb)(void *ctx, const char *cmd, int pos), 15 void *ctx, const char *history_file, const char *ps); 17 int (*filter_cb)(void *ctx, const char *cmd));
|
/external/chromium_org/third_party/openssl/openssl/crypto/cmac/ |
cmac.c | 99 CMAC_CTX *ctx; local 100 ctx = OPENSSL_malloc(sizeof(CMAC_CTX)); 101 if (!ctx) 103 EVP_CIPHER_CTX_init(&ctx->cctx); 104 ctx->nlast_block = -1; 105 return ctx; 108 void CMAC_CTX_cleanup(CMAC_CTX *ctx) 111 if (FIPS_mode() && !ctx->cctx.engine) 113 FIPS_cmac_ctx_cleanup(ctx); 117 EVP_CIPHER_CTX_cleanup(&ctx->cctx) [all...] |
/external/openssl/crypto/cmac/ |
cmac.c | 99 CMAC_CTX *ctx; local 100 ctx = OPENSSL_malloc(sizeof(CMAC_CTX)); 101 if (!ctx) 103 EVP_CIPHER_CTX_init(&ctx->cctx); 104 ctx->nlast_block = -1; 105 return ctx; 108 void CMAC_CTX_cleanup(CMAC_CTX *ctx) 111 if (FIPS_mode() && !ctx->cctx.engine) 113 FIPS_cmac_ctx_cleanup(ctx); 117 EVP_CIPHER_CTX_cleanup(&ctx->cctx) [all...] |