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

<<11121314151617181920>>

  /external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/nouveau/
nouveau_context.c 60 struct gl_context *ctx; local
89 ctx = screen->driver->context_create(screen, visual, share_ctx);
90 if (!ctx) {
95 nctx = to_nouveau_context(ctx);
97 dri_ctx->driverPrivate = ctx;
99 _mesa_compute_version(ctx);
100 if (ctx->Version < major_version * 10 + minor_version) {
106 if (nouveau_bo_new(context_dev(ctx), NOUVEAU_BO_VRAM, 0, 4096,
118 nouveau_context_init(struct gl_context *ctx, struct nouveau_screen *screen,
121 struct nouveau_context *nctx = to_nouveau_context(ctx);
237 struct gl_context *ctx = &nctx->base; local
246 struct gl_context *ctx = dri_ctx->driverPrivate; local
332 struct gl_context *ctx = dri_ctx->driverPrivate; local
352 struct gl_context *ctx = &nctx->base; local
    [all...]
nouveau_vbo_t.c 43 get_array_stride(struct gl_context *ctx, const struct gl_client_array *a)
45 struct nouveau_render_state *render = to_render_state(ctx);
55 vbo_init_arrays(struct gl_context *ctx, const struct _mesa_index_buffer *ib,
58 struct nouveau_render_state *render = to_render_state(ctx);
64 ib->obj, ib->ptr, GL_TRUE, ctx);
70 get_array_stride(ctx, array),
73 array->Ptr, imm, ctx);
78 vbo_deinit_arrays(struct gl_context *ctx, const struct _mesa_index_buffer *ib,
81 struct nouveau_render_state *render = to_render_state(ctx);
103 vbo_choose_render_mode(struct gl_context *ctx, const struct gl_client_array **arrays
    [all...]
  /external/clang/lib/AST/
NSAPI.cpp 16 NSAPI::NSAPI(ASTContext &ctx)
17 : Ctx(ctx), ClassIds(), BOOLId(0), NSIntegerId(0), NSUIntegerId(0),
33 return (ClassIds[K] = &Ctx.Idents.get(ClassName[K]));
43 Sel = Ctx.Selectors.getUnarySelector(&Ctx.Idents.get("stringWithString"));
46 Sel = Ctx.Selectors.getUnarySelector(
47 &Ctx.Idents.get("stringWithUTF8String"));
51 &Ctx.Idents.get("stringWithCString"),
52 &Ctx.Idents.get("encoding"
    [all...]
  /external/mesa3d/src/mesa/drivers/dri/nouveau/
nouveau_context.c 60 struct gl_context *ctx; local
89 ctx = screen->driver->context_create(screen, visual, share_ctx);
90 if (!ctx) {
95 nctx = to_nouveau_context(ctx);
97 dri_ctx->driverPrivate = ctx;
99 _mesa_compute_version(ctx);
100 if (ctx->Version < major_version * 10 + minor_version) {
106 if (nouveau_bo_new(context_dev(ctx), NOUVEAU_BO_VRAM, 0, 4096,
118 nouveau_context_init(struct gl_context *ctx, struct nouveau_screen *screen,
121 struct nouveau_context *nctx = to_nouveau_context(ctx);
237 struct gl_context *ctx = &nctx->base; local
246 struct gl_context *ctx = dri_ctx->driverPrivate; local
332 struct gl_context *ctx = dri_ctx->driverPrivate; local
352 struct gl_context *ctx = &nctx->base; local
    [all...]
nouveau_vbo_t.c 43 get_array_stride(struct gl_context *ctx, const struct gl_client_array *a)
45 struct nouveau_render_state *render = to_render_state(ctx);
55 vbo_init_arrays(struct gl_context *ctx, const struct _mesa_index_buffer *ib,
58 struct nouveau_render_state *render = to_render_state(ctx);
64 ib->obj, ib->ptr, GL_TRUE, ctx);
70 get_array_stride(ctx, array),
73 array->Ptr, imm, ctx);
78 vbo_deinit_arrays(struct gl_context *ctx, const struct _mesa_index_buffer *ib,
81 struct nouveau_render_state *render = to_render_state(ctx);
103 vbo_choose_render_mode(struct gl_context *ctx, const struct gl_client_array **arrays
    [all...]
  /external/chromium_org/third_party/mesa/src/src/mesa/main/
context.h 108 _mesa_initialize_context( struct gl_context *ctx,
123 _mesa_free_context_data( struct gl_context *ctx );
126 _mesa_destroy_context( struct gl_context *ctx );
134 _mesa_check_init_viewport(struct gl_context *ctx, GLuint width, GLuint height);
137 _mesa_make_current( struct gl_context *ctx, struct gl_framebuffer *drawBuffer,
141 _mesa_share_state(struct gl_context *ctx, struct gl_context *ctxToShare);
149 _mesa_init_get_hash(struct gl_context *ctx);
156 _mesa_get_dispatch(struct gl_context *ctx);
160 _mesa_set_mvp_with_dp4( struct gl_context *ctx,
165 _mesa_valid_to_render(struct gl_context *ctx, const char *where)
    [all...]
multisample.c 39 GET_CURRENT_CONTEXT(ctx);
41 ASSERT_OUTSIDE_BEGIN_END_AND_FLUSH( ctx );
43 ctx->Multisample.SampleCoverageValue = (GLfloat) CLAMP(value, 0.0, 1.0);
44 ctx->Multisample.SampleCoverageInvert = invert;
45 ctx->NewState |= _NEW_MULTISAMPLE;
51 * \param ctx the GL context.
54 _mesa_init_multisample(struct gl_context *ctx)
56 ctx->Multisample.Enabled = GL_TRUE;
57 ctx->Multisample.SampleAlphaToCoverage = GL_FALSE;
58 ctx->Multisample.SampleAlphaToOne = GL_FALSE
    [all...]
extensions.c 393 _mesa_enable_sw_extensions(struct gl_context *ctx)
395 /*ctx->Extensions.ARB_copy_buffer = GL_TRUE;*/
396 ctx->Extensions.ARB_depth_clamp = GL_TRUE;
397 ctx->Extensions.ARB_depth_texture = GL_TRUE;
398 ctx->Extensions.ARB_draw_elements_base_vertex = GL_TRUE;
399 ctx->Extensions.ARB_draw_instanced = GL_TRUE;
400 ctx->Extensions.ARB_explicit_attrib_location = GL_TRUE;
401 ctx->Extensions.ARB_fragment_coord_conventions = GL_TRUE;
403 ctx->Extensions.ARB_fragment_program = GL_TRUE;
404 ctx->Extensions.ARB_fragment_program_shadow = GL_TRUE
    [all...]
context.c 162 * \param ctx GL context.
168 _mesa_notifySwapBuffers(struct gl_context *ctx)
171 _mesa_debug(ctx, "SwapBuffers\n");
172 FLUSH_CURRENT( ctx, 0 );
173 if (ctx->Driver.Flush) {
174 ctx->Driver.Flush(ctx);
387 one_time_init( struct gl_context *ctx )
413 _mesa_debug(ctx, "Mesa %s DEBUG build %s %s\n",
424 if (!(api_init_mask & (1 << ctx->API)))
1072 struct gl_context *ctx; local
    [all...]
accum.c 46 GET_CURRENT_CONTEXT(ctx);
47 ASSERT_OUTSIDE_BEGIN_END(ctx);
54 if (TEST_EQ_4V(tmp, ctx->Accum.ClearColor))
57 COPY_4FV( ctx->Accum.ClearColor, tmp );
64 GET_CURRENT_CONTEXT(ctx);
65 ASSERT_OUTSIDE_BEGIN_END_AND_FLUSH(ctx);
76 _mesa_error(ctx, GL_INVALID_ENUM, "glAccum(op)");
80 if (ctx->DrawBuffer->Visual.haveAccumBuffer == 0) {
81 _mesa_error(ctx, GL_INVALID_OPERATION, "glAccum(no accum buffer)");
85 if (ctx->DrawBuffer != ctx->ReadBuffer)
    [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...]
  /external/chromium_org/third_party/mesa/src/src/mesa/tnl/
t_vp_build.c 42 void _tnl_UpdateFixedFunctionProgram( struct gl_context *ctx )
44 const struct gl_vertex_program *prev = ctx->VertexProgram._Current;
46 if (!ctx->VertexProgram._Current ||
47 ctx->VertexProgram._Current == ctx->VertexProgram._TnlProgram) {
48 ctx->VertexProgram._Current
49 = ctx->VertexProgram._TnlProgram
50 = _mesa_get_fixed_func_vertex_program(ctx);
56 if (ctx->VertexProgram._Current != prev && ctx->Driver.BindProgram)
    [all...]
  /external/mesa3d/src/mesa/main/
context.h 108 _mesa_initialize_context( struct gl_context *ctx,
123 _mesa_free_context_data( struct gl_context *ctx );
126 _mesa_destroy_context( struct gl_context *ctx );
134 _mesa_check_init_viewport(struct gl_context *ctx, GLuint width, GLuint height);
137 _mesa_make_current( struct gl_context *ctx, struct gl_framebuffer *drawBuffer,
141 _mesa_share_state(struct gl_context *ctx, struct gl_context *ctxToShare);
149 _mesa_init_get_hash(struct gl_context *ctx);
156 _mesa_get_dispatch(struct gl_context *ctx);
160 _mesa_set_mvp_with_dp4( struct gl_context *ctx,
165 _mesa_valid_to_render(struct gl_context *ctx, const char *where)
    [all...]
multisample.c 39 GET_CURRENT_CONTEXT(ctx);
41 ASSERT_OUTSIDE_BEGIN_END_AND_FLUSH( ctx );
43 ctx->Multisample.SampleCoverageValue = (GLfloat) CLAMP(value, 0.0, 1.0);
44 ctx->Multisample.SampleCoverageInvert = invert;
45 ctx->NewState |= _NEW_MULTISAMPLE;
51 * \param ctx the GL context.
54 _mesa_init_multisample(struct gl_context *ctx)
56 ctx->Multisample.Enabled = GL_TRUE;
57 ctx->Multisample.SampleAlphaToCoverage = GL_FALSE;
58 ctx->Multisample.SampleAlphaToOne = GL_FALSE
    [all...]
extensions.c 393 _mesa_enable_sw_extensions(struct gl_context *ctx)
395 /*ctx->Extensions.ARB_copy_buffer = GL_TRUE;*/
396 ctx->Extensions.ARB_depth_clamp = GL_TRUE;
397 ctx->Extensions.ARB_depth_texture = GL_TRUE;
398 ctx->Extensions.ARB_draw_elements_base_vertex = GL_TRUE;
399 ctx->Extensions.ARB_draw_instanced = GL_TRUE;
400 ctx->Extensions.ARB_explicit_attrib_location = GL_TRUE;
401 ctx->Extensions.ARB_fragment_coord_conventions = GL_TRUE;
403 ctx->Extensions.ARB_fragment_program = GL_TRUE;
404 ctx->Extensions.ARB_fragment_program_shadow = GL_TRUE
    [all...]
context.c 162 * \param ctx GL context.
168 _mesa_notifySwapBuffers(struct gl_context *ctx)
171 _mesa_debug(ctx, "SwapBuffers\n");
172 FLUSH_CURRENT( ctx, 0 );
173 if (ctx->Driver.Flush) {
174 ctx->Driver.Flush(ctx);
387 one_time_init( struct gl_context *ctx )
413 _mesa_debug(ctx, "Mesa %s DEBUG build %s %s\n",
424 if (!(api_init_mask & (1 << ctx->API)))
1072 struct gl_context *ctx; local
    [all...]
accum.c 46 GET_CURRENT_CONTEXT(ctx);
47 ASSERT_OUTSIDE_BEGIN_END(ctx);
54 if (TEST_EQ_4V(tmp, ctx->Accum.ClearColor))
57 COPY_4FV( ctx->Accum.ClearColor, tmp );
64 GET_CURRENT_CONTEXT(ctx);
65 ASSERT_OUTSIDE_BEGIN_END_AND_FLUSH(ctx);
76 _mesa_error(ctx, GL_INVALID_ENUM, "glAccum(op)");
80 if (ctx->DrawBuffer->Visual.haveAccumBuffer == 0) {
81 _mesa_error(ctx, GL_INVALID_OPERATION, "glAccum(no accum buffer)");
85 if (ctx->DrawBuffer != ctx->ReadBuffer)
    [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...]
  /external/mesa3d/src/mesa/tnl/
t_vp_build.c 42 void _tnl_UpdateFixedFunctionProgram( struct gl_context *ctx )
44 const struct gl_vertex_program *prev = ctx->VertexProgram._Current;
46 if (!ctx->VertexProgram._Current ||
47 ctx->VertexProgram._Current == ctx->VertexProgram._TnlProgram) {
48 ctx->VertexProgram._Current
49 = ctx->VertexProgram._TnlProgram
50 = _mesa_get_fixed_func_vertex_program(ctx);
56 if (ctx->VertexProgram._Current != prev && ctx->Driver.BindProgram)
    [all...]
  /external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/
radeon_state.c 60 static void radeonUpdateSpecular( struct gl_context *ctx );
66 static void radeonAlphaFunc( struct gl_context *ctx, GLenum func, GLfloat ref )
68 r100ContextPtr rmesa = R100_CONTEXT(ctx);
69 int pp_misc = rmesa->hw.ctx.cmd[CTX_PP_MISC];
74 RADEON_STATECHANGE( rmesa, ctx );
106 rmesa->hw.ctx.cmd[CTX_PP_MISC] = pp_misc;
109 static void radeonBlendEquationSeparate( struct gl_context *ctx,
112 r100ContextPtr rmesa = R100_CONTEXT(ctx);
113 GLuint b = rmesa->hw.ctx.cmd[CTX_RB3D_BLENDCNTL] & ~RADEON_COMB_FCN_MASK;
129 if (ctx->Color.BlendEnabled
    [all...]
  /external/mesa3d/src/mesa/drivers/dri/radeon/
radeon_state.c 60 static void radeonUpdateSpecular( struct gl_context *ctx );
66 static void radeonAlphaFunc( struct gl_context *ctx, GLenum func, GLfloat ref )
68 r100ContextPtr rmesa = R100_CONTEXT(ctx);
69 int pp_misc = rmesa->hw.ctx.cmd[CTX_PP_MISC];
74 RADEON_STATECHANGE( rmesa, ctx );
106 rmesa->hw.ctx.cmd[CTX_PP_MISC] = pp_misc;
109 static void radeonBlendEquationSeparate( struct gl_context *ctx,
112 r100ContextPtr rmesa = R100_CONTEXT(ctx);
113 GLuint b = rmesa->hw.ctx.cmd[CTX_RB3D_BLENDCNTL] & ~RADEON_COMB_FCN_MASK;
129 if (ctx->Color.BlendEnabled
    [all...]
  /external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
gen6_depthstencil.c 35 struct gl_context *ctx = &brw->intel.ctx; local
40 depth_irb = intel_get_renderbuffer(ctx->DrawBuffer, BUFFER_DEPTH);
48 if (ctx->Stencil._Enabled) {
49 int back = ctx->Stencil._BackFace;
53 intel_translate_compare_func(ctx->Stencil.Function[0]);
55 intel_translate_stencil_op(ctx->Stencil.FailFunc[0]);
57 intel_translate_stencil_op(ctx->Stencil.ZFailFunc[0]);
59 intel_translate_stencil_op(ctx->Stencil.ZPassFunc[0]);
60 ds->ds1.stencil_write_mask = ctx->Stencil.WriteMask[0]
    [all...]
  /external/e2fsprogs/e2fsck/
pass5.c 16 static void check_block_bitmaps(e2fsck_t ctx);
17 static void check_inode_bitmaps(e2fsck_t ctx);
18 static void check_inode_end(e2fsck_t ctx);
19 static void check_block_end(e2fsck_t ctx);
21 void e2fsck_pass5(e2fsck_t ctx)
32 init_resource_track(&rtrack, ctx->fs->io);
35 if (!(ctx->options & E2F_OPT_PREEN))
36 fix_problem(ctx, PR_5_PASS_HEADER, &pctx);
38 if (ctx->progress)
39 if ((ctx->progress)(ctx, 5, 0, ctx->fs->group_desc_count*2)
    [all...]
  /external/mesa3d/src/mesa/drivers/dri/i965/
gen6_depthstencil.c 35 struct gl_context *ctx = &brw->intel.ctx; local
40 depth_irb = intel_get_renderbuffer(ctx->DrawBuffer, BUFFER_DEPTH);
48 if (ctx->Stencil._Enabled) {
49 int back = ctx->Stencil._BackFace;
53 intel_translate_compare_func(ctx->Stencil.Function[0]);
55 intel_translate_stencil_op(ctx->Stencil.FailFunc[0]);
57 intel_translate_stencil_op(ctx->Stencil.ZFailFunc[0]);
59 intel_translate_stencil_op(ctx->Stencil.ZPassFunc[0]);
60 ds->ds1.stencil_write_mask = ctx->Stencil.WriteMask[0]
    [all...]
  /external/chromium_org/third_party/mesa/src/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...]

Completed in 845 milliseconds

<<11121314151617181920>>