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

<<11121314151617181920>>

  /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);
188 struct gl_context *ctx; local
252 ctx = &rmesa->radeon.glCtx;
254 driContextSetFlags(ctx, flags);
258 _swrast_CreateContext( ctx );
259 _vbo_CreateContext( ctx );
260 _tnl_CreateContext( ctx );
261 _swsetup_CreateContext( ctx );
262 _ae_create_context( ctx );
    [all...]
  /external/mesa3d/src/mesa/state_tracker/
st_atom_pixeltransfer.c 44 load_color_map_texture(struct gl_context *ctx, struct pipe_resource *pt)
46 struct st_context *st = st_context(ctx);
49 const GLuint rSize = ctx->PixelMaps.RtoR.Size;
50 const GLuint gSize = ctx->PixelMaps.GtoG.Size;
51 const GLuint bSize = ctx->PixelMaps.BtoB.Size;
52 const GLuint aSize = ctx->PixelMaps.AtoA.Size;
72 rgba[0] = ctx->PixelMaps.RtoR.Map[j * rSize / texSize];
73 rgba[1] = ctx->PixelMaps.GtoG.Map[i * gSize / texSize];
74 rgba[2] = ctx->PixelMaps.BtoB.Map[j * bSize / texSize];
75 rgba[3] = ctx->PixelMaps.AtoA.Map[i * aSize / texSize]
90 struct gl_context *ctx = st->ctx; local
    [all...]
st_atom_scissor.c 48 const struct gl_context *ctx = st->ctx; local
49 const struct gl_framebuffer *fb = ctx->DrawBuffer;
56 for (i = 0 ; i < ctx->Const.MaxViewports; i++) {
62 if (ctx->Scissor.EnableFlags & (1 << i)) {
64 GLint xmax = MAX2(0, ctx->Scissor.ScissorArray[i].X + ctx->Scissor.ScissorArray[i].Width);
65 GLint ymax = MAX2(0, ctx->Scissor.ScissorArray[i].Y + ctx->Scissor.ScissorArray[i].Height);
67 if (ctx->Scissor.ScissorArray[i].X > (GLint)scissor[i].minx
106 const struct gl_context *ctx = st->ctx; local
    [all...]
st_cb_bitmap_shader.c 55 struct tgsi_bitmap_transform *ctx = tgsi_bitmap_transform(tctx); local
57 unsigned tgsi_tex_target = ctx->tex_target == PIPE_TEXTURE_2D
62 if (ctx->first_instruction_emitted) {
67 ctx->first_instruction_emitted = true;
70 if (ctx->info.file_max[TGSI_FILE_TEMPORARY] == -1) {
75 semantic = ctx->use_texcoord ? TGSI_SEMANTIC_TEXCOORD :
77 for (i = 0; i < ctx->info.num_inputs; i++) {
78 if (ctx->info.input_semantic_name[i] == semantic &&
79 ctx->info.input_semantic_index[i] == 0) {
86 texcoord_index = ctx->info.num_inputs
134 struct tgsi_bitmap_transform ctx; local
    [all...]
st_draw.c 133 setup_primitive_restart(struct gl_context *ctx,
137 if (ctx->Array._PrimitiveRestart) {
138 info->restart_index = _mesa_primitive_restart_index(ctx, ib->type);
158 translate_prim(const struct gl_context *ctx, unsigned prim)
176 st_draw_vbo(struct gl_context *ctx,
187 struct st_context *st = st_context(ctx);
190 const struct gl_vertex_array **arrays = ctx->Array._DrawArrays;
194 assert(ctx->NewState == 0x0);
200 if ((st->dirty | ctx->NewDriverState) & ST_PIPELINE_RENDER_STATE_MASK ||
215 vbo_get_minmax_indices(ctx, prims, ib, &min_index, &max_index
367 struct gl_context *ctx = st->ctx; local
    [all...]
  /external/mesa3d/src/mesa/vbo/
vbo_context.h 88 static inline struct vbo_context *vbo_context(struct gl_context *ctx)
90 return ctx->vbo_context;
99 get_program_mode( struct gl_context *ctx )
101 if (!ctx->VertexProgram._Current)
103 else if (ctx->VertexProgram._Current == ctx->VertexProgram._TnlProgram)
124 struct gl_context *ctx = vbo->exec.ctx; local
126 if (ctx->Array.DrawMethod != method) {
129 ctx->Array._DrawArrays = vbo->exec.array.inputs
    [all...]
vbo_exec_eval.c 70 struct gl_context *ctx = exec->ctx; local
80 if (ctx->Eval.Map1Color4)
81 set_active_eval1( exec, VBO_ATTRIB_COLOR0, 4, &ctx->EvalMap.Map1Color4 );
83 if (ctx->Eval.Map2Color4)
84 set_active_eval2( exec, VBO_ATTRIB_COLOR0, 4, &ctx->EvalMap.Map2Color4 );
86 if (ctx->Eval.Map1TextureCoord4)
87 set_active_eval1( exec, VBO_ATTRIB_TEX0, 4, &ctx->EvalMap.Map1Texture4 );
88 else if (ctx->Eval.Map1TextureCoord3)
89 set_active_eval1( exec, VBO_ATTRIB_TEX0, 3, &ctx->EvalMap.Map1Texture3 )
    [all...]
  /external/oj-libjdwp/make/src/classes/build/tools/jdwpgen/
Context.java 53 Context ctx; local
55 ctx = new Context(level, level);
57 ctx = new Context(whereJava + "." + level, whereC + "_" + level);
59 ctx.state = state;
60 ctx.inEvent = inEvent;
61 return ctx;
65 Context ctx = new Context(whereJava, whereC); local
66 ctx.state = state;
67 ctx.inEvent = inEvent;
68 return ctx;
72 Context ctx = cloneContext(); local
78 Context ctx = cloneContext(); local
84 Context ctx = cloneContext(); local
    [all...]
  /external/skia/experimental/tools/
coreGraphicsPdf2png.cpp 47 CGContextRef ctx = CGBitmapContextCreate(bitmap.get(), w, h, 8, w * 4, cs, info); local
48 ASSERT(ctx);
49 CGContextDrawPDFPage(ctx, page);
51 CGImageRef image = CGBitmapContextCreateImage(ctx);
72 CGContextRelease(ctx);
  /external/skia/src/core/
SkRasterPipeline.h 126 void append(StockStage stage, const void* ctx) { this->append(stage, const_cast<void*>(ctx)); }
163 void* ctx; member in struct:SkRasterPipeline::StageList
  /external/skia/tests/
PathRendererCacheTests.cpp 31 static void draw_path(GrContext* ctx,
48 GrPathRenderer::DrawPathArgs args{ctx,
77 sk_sp<GrContext> ctx = GrContext::MakeMock(nullptr); local
79 ctx->setResourceCacheLimits(100, 8000000);
80 GrResourceCache* cache = ctx->contextPriv().getResourceCache();
82 sk_sp<GrRenderTargetContext> rtc(ctx->makeDeferredRenderTargetContext(
89 sk_sp<GrPathRenderer> pathRenderer(createPathRenderer(ctx.get()));
96 draw_path(ctx.get(), rtc.get(), path, pathRenderer.get(), aaType, style);
97 ctx->flush();
134 auto createPR = [](GrContext* ctx) {
    [all...]
  /external/skia/tools/sk_app/android/
RasterWindowContext_android.cpp 99 WindowContext* ctx = new RasterWindowContext_android(window, params); local
100 if (!ctx->isValid()) {
101 delete ctx;
104 return ctx;
  /external/skia/tools/sk_app/ios/
RasterWindowContext_ios.cpp 118 WindowContext* ctx = new RasterWindowContext_ios(info, params); local
119 if (!ctx->isValid()) {
120 delete ctx;
123 return ctx;
  /external/skia/tools/sk_app/mac/
RasterWindowContext_mac.cpp 118 WindowContext* ctx = new RasterWindowContext_mac(info, params); local
119 if (!ctx->isValid()) {
120 delete ctx;
123 return ctx;
  /external/skia/tools/sk_app/unix/
RasterWindowContext_unix.cpp 94 WindowContext* ctx = new RasterWindowContext_xlib(info.fDisplay, info.fWindow, info.fWidth, local
96 if (!ctx->isValid()) {
97 delete ctx;
98 ctx = nullptr;
100 return ctx;
  /external/skia/tools/sk_app/win/
RasterWindowContext_win.cpp 91 WindowContext* ctx = new RasterWindowContext_win(wnd, params); local
92 if (!ctx->isValid()) {
93 delete ctx;
94 ctx = nullptr;
96 return ctx;
  /external/skqp/experimental/tools/
coreGraphicsPdf2png.cpp 47 CGContextRef ctx = CGBitmapContextCreate(bitmap.get(), w, h, 8, w * 4, cs, info); local
48 ASSERT(ctx);
49 CGContextDrawPDFPage(ctx, page);
51 CGImageRef image = CGBitmapContextCreateImage(ctx);
72 CGContextRelease(ctx);
  /external/skqp/src/core/
SkRasterPipeline.h 124 void append(StockStage stage, const void* ctx) { this->append(stage, const_cast<void*>(ctx)); }
161 void* ctx; member in struct:SkRasterPipeline::StageList
  /external/skqp/tests/
PathRendererCacheTests.cpp 31 static void draw_path(GrContext* ctx,
48 GrPathRenderer::DrawPathArgs args{ctx,
77 sk_sp<GrContext> ctx = GrContext::MakeMock(nullptr); local
79 ctx->setResourceCacheLimits(100, 8000000);
80 GrResourceCache* cache = ctx->contextPriv().getResourceCache();
82 sk_sp<GrRenderTargetContext> rtc(ctx->makeDeferredRenderTargetContext(
89 sk_sp<GrPathRenderer> pathRenderer(createPathRenderer(ctx.get()));
96 draw_path(ctx.get(), rtc.get(), path, pathRenderer.get(), aaType, style);
97 ctx->flush();
134 auto createPR = [](GrContext* ctx) {
    [all...]
  /external/skqp/tools/sk_app/android/
RasterWindowContext_android.cpp 99 WindowContext* ctx = new RasterWindowContext_android(window, params); local
100 if (!ctx->isValid()) {
101 delete ctx;
104 return ctx;
  /external/skqp/tools/sk_app/ios/
RasterWindowContext_ios.cpp 128 WindowContext* ctx = new RasterWindowContext_ios(info, params); local
129 if (!ctx->isValid()) {
130 delete ctx;
133 return ctx;
  /external/skqp/tools/sk_app/mac/
RasterWindowContext_mac.cpp 128 WindowContext* ctx = new RasterWindowContext_mac(info, params); local
129 if (!ctx->isValid()) {
130 delete ctx;
133 return ctx;
  /external/skqp/tools/sk_app/unix/
RasterWindowContext_unix.cpp 94 WindowContext* ctx = new RasterWindowContext_xlib(info.fDisplay, info.fWindow, info.fWidth, local
96 if (!ctx->isValid()) {
97 delete ctx;
98 ctx = nullptr;
100 return ctx;
  /external/skqp/tools/sk_app/win/
RasterWindowContext_win.cpp 91 WindowContext* ctx = new RasterWindowContext_win(wnd, params); local
92 if (!ctx->isValid()) {
93 delete ctx;
94 ctx = nullptr;
96 return ctx;
  /external/smali/util/src/main/java/org/jf/util/
ExceptionWithContext.java 91 String ctx = ((ExceptionWithContext) cause).context.toString(); local
92 context = new StringBuffer(ctx.length() + 200);
93 context.append(ctx);

Completed in 807 milliseconds

<<11121314151617181920>>