/external/mesa3d/src/gallium/tests/graw/ |
fs-write-z.c | 90 handle = info.ctx->create_vertex_elements_state(info.ctx, 2, ve); 91 info.ctx->bind_vertex_elements_state(info.ctx, handle); 96 vbuf.buffer = pipe_buffer_create_with_data(info.ctx, 102 info.ctx->set_vertex_buffers(info.ctx, 1, &vbuf); 120 handle = graw_parse_vertex_shader(info.ctx, text); 121 info.ctx->bind_vs_state(info.ctx, handle) [all...] |
quad-tex.c | 53 handle = info.ctx->create_vertex_elements_state(info.ctx, 2, ve); 54 info.ctx->bind_vertex_elements_state(info.ctx, handle); 59 vbuf.buffer = pipe_buffer_create_with_data(info.ctx, 65 info.ctx->set_vertex_buffers(info.ctx, 1, &vbuf); 81 handle = graw_parse_vertex_shader(info.ctx, text); 82 info.ctx->bind_vs_state(info.ctx, handle) [all...] |
tri-gs.c | 26 static struct pipe_context *ctx = NULL; variable in typeref:struct:pipe_context 72 ctx->set_viewport_state( ctx, &vp ); 88 handle = ctx->create_vertex_elements_state(ctx, 2, ve); 89 ctx->bind_vertex_elements_state(ctx, handle); 94 vbuf.buffer = pipe_buffer_create_with_data(ctx, 100 ctx->set_vertex_buffers(ctx, 1, &vbuf) [all...] |
/external/mesa3d/src/mesa/tnl/ |
t_vb_normals.c | 50 run_normal_stage(struct gl_context *ctx, struct tnl_pipeline_stage *stage) 53 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; 62 if (_math_matrix_is_general_scale(ctx->ModelviewMatrixStack.Top)) 67 store->NormalTransform( ctx->ModelviewMatrixStack.Top, 68 ctx->_ModelViewInvScale, 92 validate_normal_stage(struct gl_context *ctx, struct tnl_pipeline_stage *stage) 96 if (ctx->VertexProgram._Current || 97 (!ctx->Light.Enabled && 98 !(ctx->Texture._GenFlags & TEXGEN_NEED_NORMALS))) { 103 if (ctx->_NeedEyeCoords) [all...] |
t_rasterpos.c | 81 * \param ctx GL context. 87 userclip_point( struct gl_context *ctx, const GLfloat v[] ) 91 for (p = 0; p < ctx->Const.MaxClipPlanes; p++) { 92 if (ctx->Transform.ClipPlanesEnabled & (1 << p)) { 93 GLfloat dot = v[0] * ctx->Transform._ClipUserPlane[p][0] 94 + v[1] * ctx->Transform._ClipUserPlane[p][1] 95 + v[2] * ctx->Transform._ClipUserPlane[p][2] 96 + v[3] * ctx->Transform._ClipUserPlane[p][3]; 109 * \param ctx the context 116 shade_rastpos(struct gl_context *ctx, [all...] |
/external/chromium_org/chrome/common/extensions/docs/examples/api/downloads/download_manager/ |
background.js | 17 function drawLine(ctx, x1, y1, x2, y2) { 18 ctx.beginPath(); 19 ctx.moveTo(x1, y1); 20 ctx.lineTo(x2, y2); 21 ctx.stroke(); 26 function drawProgressArc(ctx, startAngle, endAngle) { 27 var center = ctx.canvas.width/2; 28 ctx.lineWidth = Math.round(ctx.canvas.width*0.1); 29 ctx.beginPath() [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/tests/graw/ |
quad-tex.c | 53 handle = info.ctx->create_vertex_elements_state(info.ctx, 2, ve); 54 info.ctx->bind_vertex_elements_state(info.ctx, handle); 59 vbuf.buffer = pipe_buffer_create_with_data(info.ctx, 65 info.ctx->set_vertex_buffers(info.ctx, 1, &vbuf); 81 handle = graw_parse_vertex_shader(info.ctx, text); 82 info.ctx->bind_vs_state(info.ctx, handle) [all...] |
tri-gs.c | 26 static struct pipe_context *ctx = NULL; variable in typeref:struct:pipe_context 72 ctx->set_viewport_state( ctx, &vp ); 88 handle = ctx->create_vertex_elements_state(ctx, 2, ve); 89 ctx->bind_vertex_elements_state(ctx, handle); 94 vbuf.buffer = pipe_buffer_create_with_data(ctx, 100 ctx->set_vertex_buffers(ctx, 1, &vbuf) [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/ |
st_atom_depth.c | 100 struct gl_context *ctx = st->ctx; local 105 if (ctx->Depth.Test && ctx->DrawBuffer->Visual.depthBits > 0) { 107 dsa->depth.writemask = ctx->Depth.Mask; 108 dsa->depth.func = st_compare_func_to_pipe(ctx->Depth.Func); 111 if (ctx->Stencil.Enabled && ctx->DrawBuffer->Visual.stencilBits > 0) { 113 dsa->stencil[0].func = st_compare_func_to_pipe(ctx->Stencil.Function[0]); 114 dsa->stencil[0].fail_op = gl_stencil_op_to_pipe(ctx->Stencil.FailFunc[0]) [all...] |
/external/compiler-rt/lib/tsan/rtl/ |
tsan_md5.cc | 42 static void *body(MD5_CTX *ctx, void *data, ulong_t size) { 49 a = ctx->a; 50 b = ctx->b; 51 c = ctx->c; 52 d = ctx->d; 136 ctx->a = a; 137 ctx->b = b; 138 ctx->c = c; 139 ctx->d = d; 144 void MD5_Init(MD5_CTX *ctx) { 239 MD5_CTX ctx; local [all...] |
/external/mesa3d/src/mesa/state_tracker/ |
st_atom_depth.c | 100 struct gl_context *ctx = st->ctx; local 105 if (ctx->Depth.Test && ctx->DrawBuffer->Visual.depthBits > 0) { 107 dsa->depth.writemask = ctx->Depth.Mask; 108 dsa->depth.func = st_compare_func_to_pipe(ctx->Depth.Func); 111 if (ctx->Stencil.Enabled && ctx->DrawBuffer->Visual.stencilBits > 0) { 113 dsa->stencil[0].func = st_compare_func_to_pipe(ctx->Stencil.Function[0]); 114 dsa->stencil[0].fail_op = gl_stencil_op_to_pipe(ctx->Stencil.FailFunc[0]) [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/bn/ |
bn_ctx.c | 156 static void ctxdbg(BN_CTX *ctx) 159 BN_POOL_ITEM *item = ctx->pool.head; 160 BN_STACK *stack = &ctx->stack; 161 fprintf(stderr,"(%08x): ", (unsigned int)ctx); 162 while(bnidx < ctx->used) 181 #define CTXDBG_ENTRY(str, ctx) do { \ 184 ctxdbg(ctx); \ 186 #define CTXDBG_EXIT(ctx) do { \ 188 ctxdbg(ctx); \ 190 #define CTXDBG_RET(ctx,ret [all...] |
/external/openssl/crypto/bn/ |
bn_ctx.c | 156 static void ctxdbg(BN_CTX *ctx) 159 BN_POOL_ITEM *item = ctx->pool.head; 160 BN_STACK *stack = &ctx->stack; 161 fprintf(stderr,"(%08x): ", (unsigned int)ctx); 162 while(bnidx < ctx->used) 181 #define CTXDBG_ENTRY(str, ctx) do { \ 184 ctxdbg(ctx); \ 186 #define CTXDBG_EXIT(ctx) do { \ 188 ctxdbg(ctx); \ 190 #define CTXDBG_RET(ctx,ret [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/ |
vg_manager.c | 46 vg_context_update_color_rb(struct vg_context *ctx, struct pipe_resource *pt) 48 struct st_renderbuffer *strb = ctx->draw_buffer->strb; 49 struct pipe_context *pipe = ctx->pipe; 84 vg_manager_flush_frontbuffer(struct vg_context *ctx) 86 struct st_framebuffer *stfb = ctx->draw_buffer; 105 vg_manager_validate_framebuffer(struct vg_context *ctx) 107 struct st_framebuffer *stfb = ctx->draw_buffer; 128 if (vg_context_update_color_rb(ctx, pt) || 137 if (ctx->draw_stamp != stfb->stamp) { 138 ctx->state.dirty |= FRAMEBUFFER_DIRTY 147 struct vg_context *ctx = (struct vg_context *) stctxi; local 156 struct vg_context *ctx = (struct vg_context *) stctxi; local 170 struct vg_context *ctx; local 270 struct vg_context *ctx = (struct vg_context *) stctxi; local 340 struct vg_context *ctx = (struct vg_context *) stctxi; local 352 struct vg_context *ctx = vg_current_context(); local [all...] |
/external/mesa3d/src/gallium/state_trackers/vega/ |
vg_manager.c | 46 vg_context_update_color_rb(struct vg_context *ctx, struct pipe_resource *pt) 48 struct st_renderbuffer *strb = ctx->draw_buffer->strb; 49 struct pipe_context *pipe = ctx->pipe; 84 vg_manager_flush_frontbuffer(struct vg_context *ctx) 86 struct st_framebuffer *stfb = ctx->draw_buffer; 105 vg_manager_validate_framebuffer(struct vg_context *ctx) 107 struct st_framebuffer *stfb = ctx->draw_buffer; 128 if (vg_context_update_color_rb(ctx, pt) || 137 if (ctx->draw_stamp != stfb->stamp) { 138 ctx->state.dirty |= FRAMEBUFFER_DIRTY 147 struct vg_context *ctx = (struct vg_context *) stctxi; local 156 struct vg_context *ctx = (struct vg_context *) stctxi; local 170 struct vg_context *ctx; local 270 struct vg_context *ctx = (struct vg_context *) stctxi; local 340 struct vg_context *ctx = (struct vg_context *) stctxi; local 352 struct vg_context *ctx = vg_current_context(); local [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i915/ |
i915_state.c | 52 i915_update_stencil(struct gl_context * ctx) 54 struct i915_context *i915 = I915_CONTEXT(ctx); 65 if (ctx->Polygon.FrontFace == GL_CW) { 66 front_ref = ctx->Stencil.Ref[0]; 67 front_mask = ctx->Stencil.ValueMask[0]; 68 front_writemask = ctx->Stencil.WriteMask[0]; 69 front_func = ctx->Stencil.Function[0]; 70 front_fail = ctx->Stencil.FailFunc[0]; 71 front_pass_z_fail = ctx->Stencil.ZFailFunc[0]; 72 front_pass_z_pass = ctx->Stencil.ZPassFunc[0] 1100 struct gl_context *ctx = &i915->intel.ctx; local [all...] |
/external/mesa3d/src/mesa/drivers/dri/i915/ |
i915_state.c | 52 i915_update_stencil(struct gl_context * ctx) 54 struct i915_context *i915 = I915_CONTEXT(ctx); 65 if (ctx->Polygon.FrontFace == GL_CW) { 66 front_ref = ctx->Stencil.Ref[0]; 67 front_mask = ctx->Stencil.ValueMask[0]; 68 front_writemask = ctx->Stencil.WriteMask[0]; 69 front_func = ctx->Stencil.Function[0]; 70 front_fail = ctx->Stencil.FailFunc[0]; 71 front_pass_z_fail = ctx->Stencil.ZFailFunc[0]; 72 front_pass_z_pass = ctx->Stencil.ZPassFunc[0] 1100 struct gl_context *ctx = &i915->intel.ctx; local [all...] |
/device/generic/goldfish/opengl/system/GLESv2_enc/ |
gl2_entry.cpp | 223 #define GET_CONTEXT gl2_client_context_t * ctx = getCurrentContext() 229 ctx->glActiveTexture(ctx, texture); 235 ctx->glAttachShader(ctx, program, shader); 241 ctx->glBindAttribLocation(ctx, program, index, name); 247 ctx->glBindBuffer(ctx, target, buffer); 253 ctx->glBindFramebuffer(ctx, target, framebuffer) [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/tnl/ |
t_rasterpos.c | 81 * \param ctx GL context. 87 userclip_point( struct gl_context *ctx, const GLfloat v[] ) 91 for (p = 0; p < ctx->Const.MaxClipPlanes; p++) { 92 if (ctx->Transform.ClipPlanesEnabled & (1 << p)) { 93 GLfloat dot = v[0] * ctx->Transform._ClipUserPlane[p][0] 94 + v[1] * ctx->Transform._ClipUserPlane[p][1] 95 + v[2] * ctx->Transform._ClipUserPlane[p][2] 96 + v[3] * ctx->Transform._ClipUserPlane[p][3]; 109 * \param ctx the context 116 shade_rastpos(struct gl_context *ctx, [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/program/ |
prog_statevars.c | 51 _mesa_fetch_state(struct gl_context *ctx, const gl_state_index state[], 59 const struct gl_material *mat = &ctx->Light.Material; 87 _mesa_problem(ctx, "Invalid material state in fetch_state"); 98 COPY_4V(value, ctx->Light.Light[ln].Ambient); 101 COPY_4V(value, ctx->Light.Light[ln].Diffuse); 104 COPY_4V(value, ctx->Light.Light[ln].Specular); 107 COPY_4V(value, ctx->Light.Light[ln].EyePosition); 110 value[0] = ctx->Light.Light[ln].ConstantAttenuation; 111 value[1] = ctx->Light.Light[ln].LinearAttenuation; 112 value[2] = ctx->Light.Light[ln].QuadraticAttenuation [all...] |
/external/mesa3d/src/mesa/program/ |
prog_statevars.c | 51 _mesa_fetch_state(struct gl_context *ctx, const gl_state_index state[], 59 const struct gl_material *mat = &ctx->Light.Material; 87 _mesa_problem(ctx, "Invalid material state in fetch_state"); 98 COPY_4V(value, ctx->Light.Light[ln].Ambient); 101 COPY_4V(value, ctx->Light.Light[ln].Diffuse); 104 COPY_4V(value, ctx->Light.Light[ln].Specular); 107 COPY_4V(value, ctx->Light.Light[ln].EyePosition); 110 value[0] = ctx->Light.Light[ln].ConstantAttenuation; 111 value[1] = ctx->Light.Light[ln].LinearAttenuation; 112 value[2] = ctx->Light.Light[ln].QuadraticAttenuation [all...] |
/external/chromium_org/third_party/freetype/src/base/ |
md5.c | 79 (ctx->block[(n)] = \ 85 (ctx->block[(n)]) 92 static void *body(MD5_CTX *ctx, void *data, unsigned long size) 100 a = ctx->a; 101 b = ctx->b; 102 c = ctx->c; 103 d = ctx->d; 191 ctx->a = a; 192 ctx->b = b; 193 ctx->c = c [all...] |
/external/freetype/src/base/ |
md5.c | 79 (ctx->block[(n)] = \ 85 (ctx->block[(n)]) 92 static void *body(MD5_CTX *ctx, void *data, unsigned long size) 100 a = ctx->a; 101 b = ctx->b; 102 c = ctx->c; 103 d = ctx->d; 191 ctx->a = a; 192 ctx->b = b; 193 ctx->c = c [all...] |
/hardware/qcom/display/msm8960/libcopybit/ |
copybit_c2d.cpp | 216 copybit_context_t* ctx = (copybit_context_t*)(ptr); local 221 while(ctx->stop_thread == false) { 222 pthread_mutex_lock(&ctx->wait_cleanup_lock); 223 while(ctx->wait_timestamp == false && !ctx->stop_thread) { 224 pthread_cond_wait(&(ctx->wait_cleanup_cond), 225 &(ctx->wait_cleanup_lock)); 227 if(ctx->wait_timestamp) { 228 if(LINK_c2dWaitTimestamp(ctx->time_stamp)) { 231 ctx->wait_timestamp = false 621 struct copybit_context_t* ctx = (struct copybit_context_t*)dev; local 650 struct copybit_context_t* ctx = (struct copybit_context_t*)dev; local 684 struct copybit_context_t* ctx = (struct copybit_context_t*)dev; local 762 struct copybit_context_t* ctx = (struct copybit_context_t*)dev; local 855 struct copybit_context_t* ctx = (struct copybit_context_t*)dev; local 1073 struct copybit_context_t* ctx = (struct copybit_context_t*)dev; local 1371 struct copybit_context_t* ctx = (struct copybit_context_t*)dev; local 1389 struct copybit_context_t* ctx = (struct copybit_context_t*)dev; local 1448 struct copybit_context_t* ctx = (struct copybit_context_t*)dev; local 1464 struct copybit_context_t *ctx; local [all...] |
/hardware/qcom/display/msm8x26/libcopybit/ |
copybit_c2d.cpp | 216 copybit_context_t* ctx = (copybit_context_t*)(ptr); local 221 while(ctx->stop_thread == false) { 222 pthread_mutex_lock(&ctx->wait_cleanup_lock); 223 while(ctx->wait_timestamp == false && !ctx->stop_thread) { 224 pthread_cond_wait(&(ctx->wait_cleanup_cond), 225 &(ctx->wait_cleanup_lock)); 227 if(ctx->wait_timestamp) { 228 if(LINK_c2dWaitTimestamp(ctx->time_stamp)) { 231 ctx->wait_timestamp = false 621 struct copybit_context_t* ctx = (struct copybit_context_t*)dev; local 650 struct copybit_context_t* ctx = (struct copybit_context_t*)dev; local 684 struct copybit_context_t* ctx = (struct copybit_context_t*)dev; local 762 struct copybit_context_t* ctx = (struct copybit_context_t*)dev; local 855 struct copybit_context_t* ctx = (struct copybit_context_t*)dev; local 1073 struct copybit_context_t* ctx = (struct copybit_context_t*)dev; local 1371 struct copybit_context_t* ctx = (struct copybit_context_t*)dev; local 1389 struct copybit_context_t* ctx = (struct copybit_context_t*)dev; local 1448 struct copybit_context_t* ctx = (struct copybit_context_t*)dev; local 1464 struct copybit_context_t *ctx; local [all...] |