/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/va/ |
H A D | va_picture.c | 36 vlVaBeginPicture(VADriverContextP ctx, VAContextID context, VASurfaceID render_target) argument 38 if (!ctx) 45 vlVaRenderPicture(VADriverContextP ctx, VAContextID context, VABufferID *buffers, int num_buffers) argument 47 if (!ctx) 54 vlVaEndPicture(VADriverContextP ctx, VAContextID context) argument 56 if (!ctx)
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/ |
H A D | api_misc.c | 36 struct vg_context *ctx = vg_current_context(); local 40 vg_set_error(ctx, VG_ILLEGAL_ARGUMENT_ERROR); 47 vg_set_error(ctx, VG_ILLEGAL_ARGUMENT_ERROR); 53 vg_set_error(ctx, VG_ILLEGAL_ARGUMENT_ERROR); 64 struct vg_context *ctx = vg_current_context(); local 69 if (!ctx)
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i915/ |
H A D | i830_context.c | 59 struct gl_context *ctx = &intel->ctx; local 72 intel_init_texture_formats(ctx); 77 intelInitSpanFuncs(ctx); 78 intelInitTriFuncs(ctx); 81 _tnl_destroy_pipeline(ctx); 82 _tnl_install_pipeline(ctx, intel_pipeline); 87 intel->ctx.Const.MaxTextureUnits = I830_TEX_UNITS; 88 intel->ctx.Const.MaxTextureImageUnits = I830_TEX_UNITS; 89 intel->ctx [all...] |
H A D | intel_pixel_draw.c | 42 intelDrawPixels(struct gl_context * ctx, argument 51 _swrast_DrawPixels(ctx, x, y, width, height, format, type, 56 _mesa_meta_DrawPixels(ctx, x, y, width, height, format, type,
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/ |
H A D | gen6_clip_state.c | 38 struct gl_context *ctx = &intel->ctx; local 50 if (!ctx->Transform.DepthClamp) 54 if (ctx->Light.ProvokingVertex == GL_FIRST_VERTEX_CONVENTION) { 67 userclip = ctx->Transform.ClipPlanesEnabled;
|
H A D | gen6_scissor_state.c | 38 struct gl_context *ctx = &intel->ctx; local 39 const bool render_to_fbo = _mesa_is_user_fbo(ctx->DrawBuffer); 55 if (ctx->DrawBuffer->_Xmin == ctx->DrawBuffer->_Xmax || 56 ctx->DrawBuffer->_Ymin == ctx->DrawBuffer->_Ymax) { 69 scissor->xmin = ctx->DrawBuffer->_Xmin; 70 scissor->xmax = ctx->DrawBuffer->_Xmax - 1; 71 scissor->ymin = ctx [all...] |
H A D | intel_pixel_draw.c | 42 intelDrawPixels(struct gl_context * ctx, argument 51 _swrast_DrawPixels(ctx, x, y, width, height, format, type, 56 _mesa_meta_DrawPixels(ctx, x, y, width, height, format, type,
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/intel/ |
H A D | intel_pixel_draw.c | 42 intelDrawPixels(struct gl_context * ctx, argument 51 _swrast_DrawPixels(ctx, x, y, width, height, format, type, 56 _mesa_meta_DrawPixels(ctx, x, y, width, height, format, type,
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/r200/ |
H A D | r200_ioctl.c | 57 static void r200Clear( struct gl_context *ctx, GLbitfield mask ) argument 59 r200ContextPtr rmesa = R200_CONTEXT(ctx); 72 radeonFlush( ctx ); 80 _swrast_Clear( ctx, swmask ); 86 radeonUserClear(ctx, hwmask);
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
H A D | api_arrayelt.h | 41 extern GLboolean _ae_create_context( struct gl_context *ctx ); 42 extern void _ae_destroy_context( struct gl_context *ctx ); 43 extern void _ae_invalidate_state( struct gl_context *ctx, GLuint new_state ); 48 extern void _ae_map_vbos( struct gl_context *ctx ); 49 extern void _ae_unmap_vbos( struct gl_context *ctx ); 60 _ae_create_context( struct gl_context *ctx ) 66 _ae_destroy_context( struct gl_context *ctx ) 71 _ae_invalidate_state( struct gl_context *ctx, GLuint new_state ) argument
|
H A D | arrayobj.h | 50 _mesa_new_array_object( struct gl_context *ctx, GLuint name ); 53 _mesa_delete_array_object( struct gl_context *ctx, struct gl_array_object *obj ); 56 _mesa_reference_array_object_(struct gl_context *ctx, 61 _mesa_reference_array_object(struct gl_context *ctx, argument 66 _mesa_reference_array_object_(ctx, ptr, arrayObj); 71 _mesa_initialize_array_object( struct gl_context *ctx, 76 _mesa_update_array_object_max_element(struct gl_context *ctx,
|
H A D | bufferobj.h | 61 _mesa_init_buffer_objects( struct gl_context *ctx ); 64 _mesa_free_buffer_objects( struct gl_context *ctx ); 67 _mesa_update_default_objects_buffer_objects(struct gl_context *ctx); 71 _mesa_lookup_bufferobj(struct gl_context *ctx, GLuint buffer); 74 _mesa_initialize_buffer_object( struct gl_context *ctx, 79 _mesa_reference_buffer_object_(struct gl_context *ctx, 84 _mesa_reference_buffer_object(struct gl_context *ctx, argument 89 _mesa_reference_buffer_object_(ctx, ptr, bufObj); 93 _mesa_total_buffer_object_memory(struct gl_context *ctx); 170 _mesa_init_bufferobj_dispatch(struct gl_context *ctx, [all...] |
H A D | depth.c | 44 GET_CURRENT_CONTEXT(ctx); 45 ASSERT_OUTSIDE_BEGIN_END(ctx); 48 _mesa_debug(ctx, "glClearDepth(%f)\n", depth); 52 if (ctx->Depth.Clear == depth) 55 FLUSH_VERTICES(ctx, _NEW_DEPTH); 56 ctx->Depth.Clear = depth; 70 GET_CURRENT_CONTEXT(ctx); 71 ASSERT_OUTSIDE_BEGIN_END(ctx); 74 _mesa_debug(ctx, "glDepthFunc %s\n", _mesa_lookup_enum_by_nr(func)); 87 _mesa_error( ctx, GL_INVALID_ENU 166 _mesa_init_depth(struct gl_context *ctx) argument [all...] |
H A D | dlist.h | 53 extern void _mesa_compile_error( struct gl_context *ctx, GLenum error, const char *s ); 55 extern void *_mesa_dlist_alloc(struct gl_context *ctx, GLuint opcode, GLuint sz); 57 extern GLint _mesa_dlist_alloc_opcode( struct gl_context *ctx, GLuint sz, 62 extern void _mesa_delete_list(struct gl_context *ctx, struct gl_display_list *dlist); 80 _mesa_delete_list(struct gl_context *ctx, struct gl_display_list *dlist) argument 99 extern void _mesa_init_display_list( struct gl_context * ctx ); 101 extern void _mesa_free_display_list_data(struct gl_context *ctx);
|
H A D | feedback.h | 40 _mesa_feedback_vertex( struct gl_context *ctx, 47 _mesa_feedback_token( struct gl_context *ctx, GLfloat token ) argument 49 if (ctx->Feedback.Count < ctx->Feedback.BufferSize) { 50 ctx->Feedback.Buffer[ctx->Feedback.Count] = token; 52 ctx->Feedback.Count++; 57 _mesa_update_hitflag( struct gl_context *ctx, GLfloat z ); 68 _mesa_feedback_vertex( struct gl_context *ctx, argument 79 _mesa_feedback_token( struct gl_context *ctx, GLfloa argument 86 _mesa_update_hitflag( struct gl_context *ctx, GLfloat z ) argument [all...] |
H A D | pixel.h | 50 _mesa_update_pixel( struct gl_context *ctx, GLuint newstate ); 64 _mesa_update_pixel(struct gl_context *ctx, GLuint newstate) argument 77 _mesa_init_pixel( struct gl_context * ctx );
|
H A D | queryobj.h | 38 _mesa_lookup_query_object(struct gl_context *ctx, GLuint id) argument 41 _mesa_HashLookup(ctx->Query.QueryObjects, id); 54 _mesa_lookup_query_object(struct gl_context *ctx, GLuint id) argument 72 _mesa_init_queryobj(struct gl_context *ctx); 75 _mesa_free_queryobj_data(struct gl_context *ctx);
|
H A D | samplerobj.h | 32 _mesa_get_samplerobj(struct gl_context *ctx, GLuint unit) argument 34 if (ctx->Texture.Unit[unit].Sampler) 35 return ctx->Texture.Unit[unit].Sampler; 36 else if (ctx->Texture.Unit[unit]._Current) 37 return &ctx->Texture.Unit[unit]._Current->Sampler; 52 _mesa_reference_sampler_object_(struct gl_context *ctx, 57 _mesa_reference_sampler_object(struct gl_context *ctx, argument 62 _mesa_reference_sampler_object_(ctx, ptr, samp); 70 _mesa_new_sampler_object(struct gl_context *ctx, GLuint name); 73 _mesa_delete_sampler_object(struct gl_context *ctx, [all...] |
H A D | 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, argument 70 if (x == ctx->Scissor.X && 71 y == ctx->Scissor.Y && 72 width == ctx->Scissor.Width && 73 height == ctx 92 _mesa_init_scissor(struct gl_context *ctx) argument [all...] |
H A D | transformfeedback.h | 37 _mesa_init_transform_feedback(struct gl_context *ctx); 40 _mesa_free_transform_feedback(struct gl_context *ctx); 45 _mesa_validate_transform_feedback_buffers(struct gl_context *ctx); 64 _mesa_bind_buffer_range_transform_feedback(struct gl_context *ctx, 71 _mesa_bind_buffer_base_transform_feedback(struct gl_context *ctx, 93 _mesa_lookup_transform_feedback_object(struct gl_context *ctx, GLuint name); 116 _mesa_validate_primitive_mode(struct gl_context *ctx, GLenum mode) argument 122 _mesa_validate_transform_feedback_buffers(struct gl_context *ctx) argument
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/tests/ |
H A D | enum_strings.cpp | 36 _mesa_warning( struct gl_context *ctx, const char *fmtString, ... ) argument 38 (void) ctx;
|
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/ |
H A D | 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 [all...] |
H A D | st_atom_rasterizer.c | 60 struct gl_context *ctx = st->ctx; local 62 const struct gl_vertex_program *vertProg = ctx->VertexProgram._Current; 63 const struct gl_fragment_program *fragProg = ctx->FragmentProgram._Current; 71 raster->front_ccw = (ctx->Polygon.FrontFace == GL_CCW); 79 if (st_fb_orientation(ctx->DrawBuffer) == Y_0_BOTTOM) { 87 if (ctx->Light.ShadeModel == GL_FLAT) 90 if (ctx->Light.ProvokingVertex == GL_FIRST_VERTEX_CONVENTION_EXT) 94 raster->light_twoside = ctx->VertexProgram._TwoSideEnabled; 98 ctx [all...] |
H A D | st_atom_scissor.c | 47 const struct gl_context *ctx = st->ctx; local 48 const struct gl_framebuffer *fb = ctx->DrawBuffer; 56 if (ctx->Scissor.Enabled) { 58 GLint xmax = MAX2(0, ctx->Scissor.X + ctx->Scissor.Width); 59 GLint ymax = MAX2(0, ctx->Scissor.Y + ctx->Scissor.Height); 61 if (ctx->Scissor.X > (GLint)scissor.minx) 62 scissor.minx = ctx [all...] |
H A D | st_atom_stipple.c | 67 const struct gl_context *ctx = st->ctx; local 69 assert(sz == sizeof(ctx->PolygonStipple)); 71 if (memcmp(st->state.poly_stipple, ctx->PolygonStipple, sz)) { 75 memcpy(st->state.poly_stipple, ctx->PolygonStipple, sz); 77 invert_stipple(newStipple.stipple, ctx->PolygonStipple, 78 ctx->DrawBuffer->Height);
|