HomeSort by relevance Sort by last modified time
    Searched full:ctx (Results 276 - 300 of 4417) sorted by null

<<11121314151617181920>>

  /external/mesa3d/src/mesa/swrast_setup/
ss_context.c 50 _swsetup_CreateContext( struct gl_context *ctx )
57 ctx->swsetup_context = swsetup;
60 _swsetup_trifuncs_init( ctx );
62 _tnl_init_vertices( ctx, ctx->Const.MaxArrayLockSize + 12,
70 _swsetup_DestroyContext( struct gl_context *ctx )
72 SScontext *swsetup = SWSETUP_CONTEXT(ctx);
76 ctx->swsetup_context = 0;
79 _tnl_free_vertices( ctx );
83 _swsetup_RenderPrimitive( struct gl_context *ctx, GLenum mode
    [all...]
  /external/chromium_org/third_party/mesa/src/src/gallium/tests/graw/
occlusion-query.c 91 handle = info.ctx->create_vertex_elements_state(info.ctx, 2, ve);
92 info.ctx->bind_vertex_elements_state(info.ctx, handle);
97 vbuf.buffer = pipe_buffer_create_with_data(info.ctx,
103 info.ctx->set_vertex_buffers(info.ctx, 1, &vbuf);
121 handle = graw_parse_vertex_shader(info->ctx, text);
126 info->ctx->bind_vs_state(info->ctx, handle)
    [all...]
  /external/mesa3d/src/gallium/tests/graw/
occlusion-query.c 91 handle = info.ctx->create_vertex_elements_state(info.ctx, 2, ve);
92 info.ctx->bind_vertex_elements_state(info.ctx, handle);
97 vbuf.buffer = pipe_buffer_create_with_data(info.ctx,
103 info.ctx->set_vertex_buffers(info.ctx, 1, &vbuf);
121 handle = graw_parse_vertex_shader(info->ctx, text);
126 info->ctx->bind_vs_state(info->ctx, handle)
    [all...]
  /external/chromium_org/third_party/openssl/openssl/crypto/evp/
bio_ok.c 179 BIO_OK_CTX *ctx; local
181 ctx=(BIO_OK_CTX *)OPENSSL_malloc(sizeof(BIO_OK_CTX));
182 if (ctx == NULL) return(0);
184 ctx->buf_len=0;
185 ctx->buf_off=0;
186 ctx->buf_len_save=0;
187 ctx->buf_off_save=0;
188 ctx->cont=1;
189 ctx->finished=0;
190 ctx->blockout= 0
216 BIO_OK_CTX *ctx; local
301 BIO_OK_CTX *ctx; local
365 BIO_OK_CTX *ctx; local
481 BIO_OK_CTX *ctx; local
514 BIO_OK_CTX *ctx; local
558 BIO_OK_CTX *ctx; local
585 BIO_OK_CTX *ctx; local
    [all...]
  /external/openssl/crypto/evp/
bio_ok.c 179 BIO_OK_CTX *ctx; local
181 ctx=(BIO_OK_CTX *)OPENSSL_malloc(sizeof(BIO_OK_CTX));
182 if (ctx == NULL) return(0);
184 ctx->buf_len=0;
185 ctx->buf_off=0;
186 ctx->buf_len_save=0;
187 ctx->buf_off_save=0;
188 ctx->cont=1;
189 ctx->finished=0;
190 ctx->blockout= 0
216 BIO_OK_CTX *ctx; local
301 BIO_OK_CTX *ctx; local
365 BIO_OK_CTX *ctx; local
481 BIO_OK_CTX *ctx; local
514 BIO_OK_CTX *ctx; local
558 BIO_OK_CTX *ctx; local
585 BIO_OK_CTX *ctx; local
    [all...]
  /external/chromium_org/third_party/mesa/src/src/mesa/swrast/
s_copypix.c 99 copy_rgba_pixels(struct gl_context *ctx, GLint srcx, GLint srcy,
104 const GLboolean zoom = ctx->Pixel.ZoomX != 1.0F || ctx->Pixel.ZoomY != 1.0F;
106 GLuint transferOps = ctx->_ImageTransferState;
109 if (!ctx->ReadBuffer->_ColorReadBuffer) {
114 if (ctx->DrawBuffer == ctx->ReadBuffer) {
116 ctx->Pixel.ZoomX, ctx->Pixel.ZoomY);
137 _swrast_span_default_attribs(ctx, &span)
    [all...]
  /external/mesa3d/src/mesa/swrast/
s_copypix.c 99 copy_rgba_pixels(struct gl_context *ctx, GLint srcx, GLint srcy,
104 const GLboolean zoom = ctx->Pixel.ZoomX != 1.0F || ctx->Pixel.ZoomY != 1.0F;
106 GLuint transferOps = ctx->_ImageTransferState;
109 if (!ctx->ReadBuffer->_ColorReadBuffer) {
114 if (ctx->DrawBuffer == ctx->ReadBuffer) {
116 ctx->Pixel.ZoomX, ctx->Pixel.ZoomY);
137 _swrast_span_default_attribs(ctx, &span)
    [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...]
uniforms.c 133 GET_CURRENT_CONTEXT(ctx);
134 _mesa_uniform(ctx, ctx->Shader.ActiveProgram, location, 1, &v0, GL_FLOAT);
140 GET_CURRENT_CONTEXT(ctx);
144 _mesa_uniform(ctx, ctx->Shader.ActiveProgram, location, 1, v, GL_FLOAT_VEC2);
150 GET_CURRENT_CONTEXT(ctx);
155 _mesa_uniform(ctx, ctx->Shader.ActiveProgram, location, 1, v, GL_FLOAT_VEC3);
162 GET_CURRENT_CONTEXT(ctx);
    [all...]
texparam.c 56 validate_texture_wrap_mode(struct gl_context * ctx, GLenum target, GLenum wrap)
58 const struct gl_extensions * const e = & ctx->Extensions;
59 const bool is_desktop_gl = _mesa_is_desktop_gl(ctx);
67 supported = (ctx->API == API_OPENGL)
106 _mesa_error( ctx, GL_INVALID_ENUM, "glTexParameter(param=0x%x)", wrap );
120 get_texobj(struct gl_context *ctx, GLenum target, GLboolean get)
124 if (ctx->Texture.CurrentUnit >= ctx->Const.MaxCombinedTextureImageUnits) {
125 _mesa_error(ctx, GL_INVALID_OPERATION,
130 texUnit = _mesa_get_current_tex_unit(ctx);
    [all...]
nvprogram.c 64 GET_CURRENT_CONTEXT(ctx);
65 ASSERT_OUTSIDE_BEGIN_END(ctx);
68 _mesa_error(ctx, GL_INVALID_ENUM, "glExecuteProgramNV");
72 FLUSH_VERTICES(ctx, _NEW_PROGRAM);
74 vprog = gl_vertex_program(_mesa_lookup_program(ctx, id));
77 _mesa_error(ctx, GL_INVALID_OPERATION, "glExecuteProgramNV");
81 _mesa_problem(ctx, "glExecuteProgramNV() not supported");
96 GET_CURRENT_CONTEXT(ctx);
97 ASSERT_OUTSIDE_BEGIN_END_WITH_RETVAL(ctx, GL_FALSE);
100 _mesa_error(ctx, GL_INVALID_VALUE, "glAreProgramsResidentNV(n)")
    [all...]
texgen.c 51 get_texgen(struct gl_context *ctx, struct gl_texture_unit *texUnit,
54 if (ctx->API == API_OPENGLES) {
79 GET_CURRENT_CONTEXT(ctx);
80 ASSERT_OUTSIDE_BEGIN_END(ctx);
83 _mesa_debug(ctx, "glTexGen %s %s %.1f(%s)...\n",
89 if (ctx->Texture.CurrentUnit >= ctx->Const.MaxTextureCoordUnits) {
90 _mesa_error(ctx, GL_INVALID_OPERATION, "glTexGen(current unit)");
94 texUnit = _mesa_get_current_tex_unit(ctx);
96 texgen = get_texgen(ctx, texUnit, coord)
    [all...]
  /external/e2fsprogs/e2fsck/
pass3.c 44 static void check_root(e2fsck_t ctx);
45 static int check_directory(e2fsck_t ctx, ext2_ino_t ino,
47 static void fix_dotdot(e2fsck_t ctx, ext2_ino_t ino, ext2_ino_t parent);
52 void e2fsck_pass3(e2fsck_t ctx)
54 ext2_filsys fs = ctx->fs;
63 init_resource_track(&rtrack, ctx->fs->io);
70 if (!(ctx->options & E2F_OPT_PREEN))
71 fix_problem(ctx, PR_3_PASS_HEADER, &pctx);
80 fix_problem(ctx, PR_3_ALLOCATE_IBITMAP_ERROR, &pctx);
81 ctx->flags |= E2F_FLAG_ABORT
597 e2fsck_t ctx; member in struct:fix_dotdot_struct
683 e2fsck_t ctx; member in struct:expand_dir_struct
698 e2fsck_t ctx; local
    [all...]
  /external/mesa3d/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...]
uniforms.c 133 GET_CURRENT_CONTEXT(ctx);
134 _mesa_uniform(ctx, ctx->Shader.ActiveProgram, location, 1, &v0, GL_FLOAT);
140 GET_CURRENT_CONTEXT(ctx);
144 _mesa_uniform(ctx, ctx->Shader.ActiveProgram, location, 1, v, GL_FLOAT_VEC2);
150 GET_CURRENT_CONTEXT(ctx);
155 _mesa_uniform(ctx, ctx->Shader.ActiveProgram, location, 1, v, GL_FLOAT_VEC3);
162 GET_CURRENT_CONTEXT(ctx);
    [all...]
texparam.c 56 validate_texture_wrap_mode(struct gl_context * ctx, GLenum target, GLenum wrap)
58 const struct gl_extensions * const e = & ctx->Extensions;
59 const bool is_desktop_gl = _mesa_is_desktop_gl(ctx);
67 supported = (ctx->API == API_OPENGL)
106 _mesa_error( ctx, GL_INVALID_ENUM, "glTexParameter(param=0x%x)", wrap );
120 get_texobj(struct gl_context *ctx, GLenum target, GLboolean get)
124 if (ctx->Texture.CurrentUnit >= ctx->Const.MaxCombinedTextureImageUnits) {
125 _mesa_error(ctx, GL_INVALID_OPERATION,
130 texUnit = _mesa_get_current_tex_unit(ctx);
    [all...]
nvprogram.c 64 GET_CURRENT_CONTEXT(ctx);
65 ASSERT_OUTSIDE_BEGIN_END(ctx);
68 _mesa_error(ctx, GL_INVALID_ENUM, "glExecuteProgramNV");
72 FLUSH_VERTICES(ctx, _NEW_PROGRAM);
74 vprog = gl_vertex_program(_mesa_lookup_program(ctx, id));
77 _mesa_error(ctx, GL_INVALID_OPERATION, "glExecuteProgramNV");
81 _mesa_problem(ctx, "glExecuteProgramNV() not supported");
96 GET_CURRENT_CONTEXT(ctx);
97 ASSERT_OUTSIDE_BEGIN_END_WITH_RETVAL(ctx, GL_FALSE);
100 _mesa_error(ctx, GL_INVALID_VALUE, "glAreProgramsResidentNV(n)")
    [all...]
  /external/chromium_org/third_party/mesa/src/src/mesa/drivers/common/
meta.c 347 static void meta_glsl_blit_cleanup(struct gl_context *ctx, struct blit_state *blit);
348 static void cleanup_temp_texture(struct gl_context *ctx, struct temp_texture *tex);
349 static void meta_glsl_clear_cleanup(struct gl_context *ctx, struct clear_state *clear);
350 static void meta_glsl_generate_mipmap_cleanup(struct gl_context *ctx,
354 compile_shader_with_debug(struct gl_context *ctx, GLenum target, const GLcharARB *source)
381 _mesa_problem(ctx,
393 link_program_with_debug(struct gl_context *ctx, GLuint program)
413 _mesa_problem(ctx, "meta program link failed:\n%s", info);
425 _mesa_meta_init(struct gl_context *ctx)
427 ASSERT(!ctx->Meta)
    [all...]
  /external/mesa3d/src/mesa/drivers/common/
meta.c 347 static void meta_glsl_blit_cleanup(struct gl_context *ctx, struct blit_state *blit);
348 static void cleanup_temp_texture(struct gl_context *ctx, struct temp_texture *tex);
349 static void meta_glsl_clear_cleanup(struct gl_context *ctx, struct clear_state *clear);
350 static void meta_glsl_generate_mipmap_cleanup(struct gl_context *ctx,
354 compile_shader_with_debug(struct gl_context *ctx, GLenum target, const GLcharARB *source)
381 _mesa_problem(ctx,
393 link_program_with_debug(struct gl_context *ctx, GLuint program)
413 _mesa_problem(ctx, "meta program link failed:\n%s", info);
425 _mesa_meta_init(struct gl_context *ctx)
427 ASSERT(!ctx->Meta)
    [all...]
  /external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/nouveau/
nv04_state_raster.c 116 nv04_defer_control(struct gl_context *ctx, int emit)
118 context_dirty(ctx, CONTROL);
122 nv04_emit_control(struct gl_context *ctx, int emit)
124 struct nv04_context *nv04 = to_nv04_context(ctx);
125 int cull = ctx->Polygon.CullFaceMode;
126 int front = ctx->Polygon.FrontFace;
134 if (ctx->Color.DitherFlag)
138 if (!ctx->Polygon.CullFlag)
148 if (ctx->Depth.Test)
150 if (ctx->Depth.Mask
    [all...]
  /external/mesa3d/src/mesa/drivers/dri/nouveau/
nv04_state_raster.c 116 nv04_defer_control(struct gl_context *ctx, int emit)
118 context_dirty(ctx, CONTROL);
122 nv04_emit_control(struct gl_context *ctx, int emit)
124 struct nv04_context *nv04 = to_nv04_context(ctx);
125 int cull = ctx->Polygon.CullFaceMode;
126 int front = ctx->Polygon.FrontFace;
134 if (ctx->Color.DitherFlag)
138 if (!ctx->Polygon.CullFlag)
148 if (ctx->Depth.Test)
150 if (ctx->Depth.Mask
    [all...]
  /system/core/libmincrypt/
sha.c 38 static void SHA1_Transform(SHA_CTX* ctx) {
41 uint8_t* p = ctx->buf;
56 A = ctx->state[0];
57 B = ctx->state[1];
58 C = ctx->state[2];
59 D = ctx->state[3];
60 E = ctx->state[4];
81 ctx->state[0] += A;
82 ctx->state[1] += B;
83 ctx->state[2] += C
150 SHA_CTX ctx; local
    [all...]
  /external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/r200/
r200_context.c 72 static const GLubyte *r200GetString( struct gl_context *ctx, GLenum name )
74 r200ContextPtr rmesa = R200_CONTEXT(ctx);
151 R200_STATECHANGE( rmesa, ctx );
153 rmesa->hw.ctx.cmd[CTX_RB3D_COLORPITCH] |= R200_COLOR_TILE_ENABLE;
155 else rmesa->hw.ctx.cmd[CTX_RB3D_COLORPITCH] &= ~R200_COLOR_TILE_ENABLE;
211 struct gl_context *ctx; local
292 ctx = rmesa->radeon.glCtx;
295 _swrast_CreateContext( ctx );
296 _vbo_CreateContext( ctx );
297 _tnl_CreateContext( ctx );
    [all...]
  /external/mesa3d/src/mesa/drivers/dri/r200/
r200_context.c 72 static const GLubyte *r200GetString( struct gl_context *ctx, GLenum name )
74 r200ContextPtr rmesa = R200_CONTEXT(ctx);
151 R200_STATECHANGE( rmesa, ctx );
153 rmesa->hw.ctx.cmd[CTX_RB3D_COLORPITCH] |= R200_COLOR_TILE_ENABLE;
155 else rmesa->hw.ctx.cmd[CTX_RB3D_COLORPITCH] &= ~R200_COLOR_TILE_ENABLE;
211 struct gl_context *ctx; local
292 ctx = rmesa->radeon.glCtx;
295 _swrast_CreateContext( ctx );
296 _vbo_CreateContext( ctx );
297 _tnl_CreateContext( ctx );
    [all...]
  /hardware/qcom/display/msm8974/libhwcomposer/
hwc.cpp 76 hwc_context_t* ctx = (hwc_context_t*)(dev); local
77 if(!ctx) {
81 ctx->proc = procs;
85 init_uevent_thread(ctx);
86 init_vsync_thread(ctx);
90 static void reset(hwc_context_t *ctx, int numDisplays,
105 if(ctx->mFBUpdate[i])
106 ctx->mFBUpdate[i]->reset();
107 if(ctx->mMDPComp[i])
108 ctx->mMDPComp[i]->reset()
154 hwc_context_t* ctx = (hwc_context_t*)(dev); local
177 hwc_context_t* ctx = (hwc_context_t*)(dev); local
213 hwc_context_t* ctx = (hwc_context_t*)(dev); local
247 hwc_context_t* ctx = (hwc_context_t*)(dev); local
295 hwc_context_t* ctx = (hwc_context_t*)(dev); local
321 hwc_context_t* ctx = (hwc_context_t*)(dev); local
377 hwc_context_t* ctx = (hwc_context_t*)(dev); local
557 hwc_context_t* ctx = (hwc_context_t*)(dev); local
587 hwc_context_t* ctx = (hwc_context_t*)(dev); local
615 hwc_context_t* ctx = (hwc_context_t*)(dev); local
666 hwc_context_t* ctx = (hwc_context_t*)(dev); local
    [all...]

Completed in 1437 milliseconds

<<11121314151617181920>>