/external/mesa3d/src/mesa/main/ |
polygon.c | 56 GET_CURRENT_CONTEXT(ctx); 57 ASSERT_OUTSIDE_BEGIN_END(ctx); 60 _mesa_debug(ctx, "glCullFace %s\n", _mesa_lookup_enum_by_nr(mode)); 63 _mesa_error( ctx, GL_INVALID_ENUM, "glCullFace" ); 67 if (ctx->Polygon.CullFaceMode == mode) 70 FLUSH_VERTICES(ctx, _NEW_POLYGON); 71 ctx->Polygon.CullFaceMode = mode; 73 if (ctx->Driver.CullFace) 74 ctx->Driver.CullFace( ctx, mode ) [all...] |
state.h | 32 _mesa_update_state(struct gl_context *ctx); 38 _mesa_update_state_locked(struct gl_context *ctx); 42 _mesa_set_varying_vp_inputs(struct gl_context *ctx, GLbitfield64 varying_inputs); 46 _mesa_set_vp_override(struct gl_context *ctx, GLboolean flag); 53 _mesa_need_secondary_color(const struct gl_context *ctx) 55 if (ctx->Light.Enabled && 56 ctx->Light.Model.ColorControl == GL_SEPARATE_SPECULAR_COLOR) 59 if (ctx->Fog.ColorSumEnabled) 62 if (ctx->VertexProgram._Current && 63 (ctx->VertexProgram._Current != ctx->VertexProgram._TnlProgram) & [all...] |
scissor.c | 38 GET_CURRENT_CONTEXT(ctx); 39 ASSERT_OUTSIDE_BEGIN_END(ctx); 42 _mesa_debug(ctx, "glScissor %d %d %d %d\n", x, y, width, height); 45 _mesa_error( ctx, GL_INVALID_VALUE, "glScissor" ); 49 _mesa_set_scissor(ctx, x, y, width, height); 67 _mesa_set_scissor(struct gl_context *ctx, 70 if (x == ctx->Scissor.X && 71 y == ctx->Scissor.Y && 72 width == ctx->Scissor.Width && 73 height == ctx->Scissor.Height [all...] |
hint.c | 39 GET_CURRENT_CONTEXT(ctx); 40 ASSERT_OUTSIDE_BEGIN_END(ctx); 43 _mesa_debug(ctx, "glHint %s %s\n", 48 _mesa_error(ctx, GL_INVALID_ENUM, "glHint(mode)"); 54 if (ctx->API != API_OPENGL && ctx->API != API_OPENGLES) 56 if (ctx->Hint.Fog == mode) 58 FLUSH_VERTICES(ctx, _NEW_HINT); 59 ctx->Hint.Fog = mode; 62 if (!_mesa_is_desktop_gl(ctx) && ctx->API != API_OPENGLES [all...] |
stencil.c | 59 validate_stencil_op(struct gl_context *ctx, GLenum op) 78 validate_stencil_func(struct gl_context *ctx, GLenum func) 110 GET_CURRENT_CONTEXT(ctx); 111 ASSERT_OUTSIDE_BEGIN_END(ctx); 113 if (ctx->Stencil.Clear == (GLuint) s) 116 FLUSH_VERTICES(ctx, _NEW_STENCIL); 117 ctx->Stencil.Clear = (GLuint) s; 138 GET_CURRENT_CONTEXT(ctx); 139 const GLint stencilMax = (1 << ctx->DrawBuffer->Visual.stencilBits) - 1; 140 ASSERT_OUTSIDE_BEGIN_END(ctx); [all...] |
/external/chromium_org/native_client_sdk/src/libraries/ppapi_simple/ |
ps_context_2d.cc | 25 PSContext2D_t* ctx = (PSContext2D_t*) malloc(sizeof(PSContext2D_t)); local 26 memset(ctx, 0, sizeof(PSContext2D_t)); 28 ctx->format = format; 29 return ctx; 32 void PSContext2DFree(PSContext2D_t* ctx) { 33 if (ctx->graphic_2d) { 34 PSInterfaceCore()->ReleaseResource(ctx->graphic_2d); 35 ctx->graphic_2d = 0; 37 if (ctx->image) { 38 PSInterfaceCore()->ReleaseResource(ctx->image) [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/ |
s_points.h | 33 _swrast_choose_point( struct gl_context *ctx ); 36 _swrast_add_spec_terms_point( struct gl_context *ctx,
|
/external/chromium_org/third_party/mesa/src/src/mesa/swrast_setup/ |
ss_triangle.h | 35 void _swsetup_trifuncs_init( struct gl_context *ctx ); 36 void _swsetup_choose_trifuncs( struct gl_context *ctx );
|
ss_vb.h | 34 void _swsetup_vb_init( struct gl_context *ctx ); 35 void _swsetup_choose_rastersetup_func( struct gl_context *ctx );
|
/external/elfutils/libasm/ |
disasm_end.c | 37 disasm_end (DisasmCtx_t *ctx) 39 free (ctx);
|
/external/mesa3d/src/mesa/swrast/ |
s_points.h | 33 _swrast_choose_point( struct gl_context *ctx ); 36 _swrast_add_spec_terms_point( struct gl_context *ctx,
|
/external/mesa3d/src/mesa/swrast_setup/ |
ss_triangle.h | 35 void _swsetup_trifuncs_init( struct gl_context *ctx ); 36 void _swsetup_choose_trifuncs( struct gl_context *ctx );
|
ss_vb.h | 34 void _swsetup_vb_init( struct gl_context *ctx ); 35 void _swsetup_choose_rastersetup_func( struct gl_context *ctx );
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/ |
radeon_span.c | 55 radeon_renderbuffer_map(struct gl_context *ctx, struct gl_renderbuffer *rb) 64 ctx->Driver.MapRenderbuffer(ctx, rb, 0, 0, rb->Width, rb->Height, 75 radeon_renderbuffer_unmap(struct gl_context *ctx, struct gl_renderbuffer *rb) 81 ctx->Driver.UnmapRenderbuffer(ctx, rb); 88 radeon_map_framebuffer(struct gl_context *ctx, struct gl_framebuffer *fb) 94 __func__, ctx, fb); 98 radeon_renderbuffer_map(ctx, fb->Attachment[i].Renderbuffer); 100 radeon_check_front_buffer_rendering(ctx); [all...] |
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
radeon_span.c | 55 radeon_renderbuffer_map(struct gl_context *ctx, struct gl_renderbuffer *rb) 64 ctx->Driver.MapRenderbuffer(ctx, rb, 0, 0, rb->Width, rb->Height, 75 radeon_renderbuffer_unmap(struct gl_context *ctx, struct gl_renderbuffer *rb) 81 ctx->Driver.UnmapRenderbuffer(ctx, rb); 88 radeon_map_framebuffer(struct gl_context *ctx, struct gl_framebuffer *fb) 94 __func__, ctx, fb); 98 radeon_renderbuffer_map(ctx, fb->Attachment[i].Renderbuffer); 100 radeon_check_front_buffer_rendering(ctx); [all...] |
/external/chromium/chrome/browser/resources/shared/css/ |
tree.css.js | 8 var ctx = document.getCSSCanvasContext('2d', 'tree-triangle', a + 1, a2 + 2); variable 10 ctx.fillStyle = '#000'; 11 ctx.translate(.5, .5); 13 ctx.beginPath(); 14 ctx.moveTo(0, 0); 15 ctx.lineTo(0, 1); 16 ctx.lineTo(a2, 1 + a2); 17 ctx.lineTo(a, 1); 18 ctx.lineTo(a, 0); 19 ctx.closePath() [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
scissor.c | 38 GET_CURRENT_CONTEXT(ctx); 39 ASSERT_OUTSIDE_BEGIN_END(ctx); 42 _mesa_debug(ctx, "glScissor %d %d %d %d\n", x, y, width, height); 45 _mesa_error( ctx, GL_INVALID_VALUE, "glScissor" ); 49 _mesa_set_scissor(ctx, x, y, width, height); 67 _mesa_set_scissor(struct gl_context *ctx, 70 if (x == ctx->Scissor.X && 71 y == ctx->Scissor.Y && 72 width == ctx->Scissor.Width && 73 height == ctx->Scissor.Height [all...] |
hint.c | 39 GET_CURRENT_CONTEXT(ctx); 40 ASSERT_OUTSIDE_BEGIN_END(ctx); 43 _mesa_debug(ctx, "glHint %s %s\n", 48 _mesa_error(ctx, GL_INVALID_ENUM, "glHint(mode)"); 54 if (ctx->API != API_OPENGL && ctx->API != API_OPENGLES) 56 if (ctx->Hint.Fog == mode) 58 FLUSH_VERTICES(ctx, _NEW_HINT); 59 ctx->Hint.Fog = mode; 62 if (!_mesa_is_desktop_gl(ctx) && ctx->API != API_OPENGLES [all...] |
stencil.c | 59 validate_stencil_op(struct gl_context *ctx, GLenum op) 78 validate_stencil_func(struct gl_context *ctx, GLenum func) 110 GET_CURRENT_CONTEXT(ctx); 111 ASSERT_OUTSIDE_BEGIN_END(ctx); 113 if (ctx->Stencil.Clear == (GLuint) s) 116 FLUSH_VERTICES(ctx, _NEW_STENCIL); 117 ctx->Stencil.Clear = (GLuint) s; 138 GET_CURRENT_CONTEXT(ctx); 139 const GLint stencilMax = (1 << ctx->DrawBuffer->Visual.stencilBits) - 1; 140 ASSERT_OUTSIDE_BEGIN_END(ctx); [all...] |
/external/chromium_org/third_party/mesa/src/src/glsl/ |
standalone_scaffolding.cpp | 37 _mesa_reference_shader(struct gl_context *ctx, struct gl_shader **ptr, 40 (void) ctx; 51 _mesa_new_shader(struct gl_context *ctx, GLuint name, GLenum type) 55 (void) ctx; 67 void initialize_context_to_defaults(struct gl_context *ctx, gl_api api) 69 memset(ctx, 0, sizeof(*ctx)); 71 ctx->API = api; 73 ctx->Extensions.dummy_false = false; 74 ctx->Extensions.dummy_true = true [all...] |
/external/mesa3d/src/glsl/ |
standalone_scaffolding.cpp | 37 _mesa_reference_shader(struct gl_context *ctx, struct gl_shader **ptr, 40 (void) ctx; 51 _mesa_new_shader(struct gl_context *ctx, GLuint name, GLenum type) 55 (void) ctx; 67 void initialize_context_to_defaults(struct gl_context *ctx, gl_api api) 69 memset(ctx, 0, sizeof(*ctx)); 71 ctx->API = api; 73 ctx->Extensions.dummy_false = false; 74 ctx->Extensions.dummy_true = true [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/tgsi/ |
tgsi_transform.c | 41 emit_instruction(struct tgsi_transform_context *ctx, 44 uint ti = ctx->ti; 47 ctx->tokens_out + ti, 48 ctx->header, 49 ctx->max_tokens_out - ti); 50 ctx->ti = ti; 55 emit_declaration(struct tgsi_transform_context *ctx, 58 uint ti = ctx->ti; 61 ctx->tokens_out + ti, 62 ctx->header [all...] |
/external/mesa3d/src/gallium/auxiliary/tgsi/ |
tgsi_transform.c | 41 emit_instruction(struct tgsi_transform_context *ctx, 44 uint ti = ctx->ti; 47 ctx->tokens_out + ti, 48 ctx->header, 49 ctx->max_tokens_out - ti); 50 ctx->ti = ti; 55 emit_declaration(struct tgsi_transform_context *ctx, 58 uint ti = ctx->ti; 61 ctx->tokens_out + ti, 62 ctx->header [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/common/ |
driverfuncs.c | 216 * Call the ctx->Driver.* state functions with current values to initialize 221 _mesa_init_driver_state(struct gl_context *ctx) 223 ctx->Driver.AlphaFunc(ctx, ctx->Color.AlphaFunc, ctx->Color.AlphaRef); 225 ctx->Driver.BlendColor(ctx, ctx->Color.BlendColor); 227 ctx->Driver.BlendEquationSeparate(ctx [all...] |
/external/mesa3d/src/mesa/drivers/common/ |
driverfuncs.c | 216 * Call the ctx->Driver.* state functions with current values to initialize 221 _mesa_init_driver_state(struct gl_context *ctx) 223 ctx->Driver.AlphaFunc(ctx, ctx->Color.AlphaFunc, ctx->Color.AlphaRef); 225 ctx->Driver.BlendColor(ctx, ctx->Color.BlendColor); 227 ctx->Driver.BlendEquationSeparate(ctx [all...] |