Lines Matching refs:ctx
114 struct pipe_context *ctx = stapi->pipe;
122 ctx->create_fence_fd(ctx, &fence->pipe_fence, fd, PIPE_FD_TYPE_NATIVE_SYNC);
214 struct pipe_context *ctx = dri_context(_ctx)->st->pipe;
223 if (ctx->fence_server_sync)
224 ctx->fence_server_sync(ctx, fence->pipe_fence);
277 struct gl_context *ctx = st_ctx->ctx;
296 rb = _mesa_lookup_renderbuffer(ctx, renderbuffer);
329 ctx->Shared->HasExternallySharedImages = true;
373 struct gl_context *ctx = st_ctx->ctx;
379 obj = _mesa_lookup_texture(ctx, texture);
394 _mesa_test_texobj_completeness(ctx, obj);
434 ctx->Shared->HasExternallySharedImages = true;