HomeSort by relevance Sort by last modified time
    Searched refs:ctx (Results 26 - 50 of 4941) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/mesa3d/src/mesa/main/
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, GLbitfield varying_inputs);
46 _mesa_set_vp_override(struct gl_context *ctx, GLboolean flag);
50 _mesa_ati_fragment_shader_enabled(const struct gl_context *ctx)
52 return ctx->ATIFragmentShader.Enabled &&
53 ctx->ATIFragmentShader.Current->Instructions[0];
60 _mesa_need_secondary_color(const struct gl_context *ctx)
62 if (ctx->Light.Enabled &&
63 ctx->Light.Model.ColorControl == GL_SEPARATE_SPECULAR_COLOR
    [all...]
barrier.c 36 _mesa_texture_barrier(struct gl_context *ctx)
50 GET_CURRENT_CONTEXT(ctx);
52 if (!ctx->Extensions.NV_texture_barrier) {
53 _mesa_error(ctx, GL_INVALID_OPERATION,
58 ctx->Driver.TextureBarrier(ctx);
64 GET_CURRENT_CONTEXT(ctx);
66 if (ctx->Driver.MemoryBarrier)
67 ctx->Driver.MemoryBarrier(ctx, barriers)
    [all...]
multisample.c 42 GET_CURRENT_CONTEXT(ctx);
46 if (ctx->Multisample.SampleCoverageInvert == invert &&
47 ctx->Multisample.SampleCoverageValue == value)
50 FLUSH_VERTICES(ctx, ctx->DriverFlags.NewSampleMask ? 0 : _NEW_MULTISAMPLE);
51 ctx->NewDriverState |= ctx->DriverFlags.NewSampleMask;
52 ctx->Multisample.SampleCoverageValue = value;
53 ctx->Multisample.SampleCoverageInvert = invert;
59 * \param ctx the GL context
    [all...]
drawpix.c 50 GET_CURRENT_CONTEXT(ctx);
52 FLUSH_VERTICES(ctx, 0);
55 _mesa_debug(ctx, "glDrawPixels(%d, %d, %s, %s, %p) // to %s at %d, %d\n",
60 _mesa_enum_to_string(ctx->DrawBuffer->ColorDrawBuffer[0]),
61 IROUND(ctx->Current.RasterPos[0]),
62 IROUND(ctx->Current.RasterPos[1]));
66 _mesa_error( ctx, GL_INVALID_VALUE, "glDrawPixels(width or height < 0)" );
73 _mesa_set_vp_override(ctx, GL_TRUE);
76 if (!_mesa_valid_to_render(ctx, "glDrawPixels")) {
93 _mesa_error(ctx, GL_INVALID_OPERATION, "glDrawPixels(integer format)")
    [all...]
depth.c 44 GET_CURRENT_CONTEXT(ctx);
47 _mesa_debug(ctx, "glClearDepth(%f)\n", depth);
49 ctx->Depth.Clear = CLAMP( depth, 0.0, 1.0 );
61 depth_func(struct gl_context *ctx, GLenum func, bool no_error)
63 if (ctx->Depth.Func == func)
78 _mesa_error(ctx, GL_INVALID_ENUM, "glDepth.Func");
83 FLUSH_VERTICES(ctx, ctx->DriverFlags.NewDepth ? 0 : _NEW_DEPTH);
84 ctx->NewDriverState |= ctx->DriverFlags.NewDepth
    [all...]
state.c 60 * Update the ctx->*Program._Current pointers to point to the
73 update_program(struct gl_context *ctx)
76 ctx->_Shader->CurrentProgram[MESA_SHADER_VERTEX];
78 ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_CTRL];
80 ctx->_Shader->CurrentProgram[MESA_SHADER_TESS_EVAL];
82 ctx->_Shader->CurrentProgram[MESA_SHADER_GEOMETRY];
84 ctx->_Shader->CurrentProgram[MESA_SHADER_FRAGMENT];
86 ctx->_Shader->CurrentProgram[MESA_SHADER_COMPUTE];
87 const struct gl_program *prevVP = ctx->VertexProgram._Current;
88 const struct gl_program *prevFP = ctx->FragmentProgram._Current
    [all...]
enable.c 46 if (!ctx->Extensions.EXTNAME) { \
52 update_derived_primitive_restart_state(struct gl_context *ctx)
56 ctx->Array._PrimitiveRestart = ctx->Array.PrimitiveRestart
57 || ctx->Array.PrimitiveRestartFixedIndex;
64 client_state(struct gl_context *ctx, GLenum cap, GLboolean state)
66 struct gl_vertex_array_object *vao = ctx->Array.VAO;
88 var = &vao->VertexAttrib[VERT_ATTRIB_TEX(ctx->Array.ActiveTexture)].Enabled;
89 flag = VERT_BIT_TEX(ctx->Array.ActiveTexture);
107 FLUSH_VERTICES(ctx, _NEW_PROGRAM)
    [all...]
  /external/mesa3d/src/gallium/drivers/freedreno/
freedreno_state.h 35 static inline bool fd_depth_enabled(struct fd_context *ctx)
37 return ctx->zsa && ctx->zsa->depth.enabled;
40 static inline bool fd_stencil_enabled(struct fd_context *ctx)
42 return ctx->zsa && ctx->zsa->stencil[0].enabled;
45 static inline bool fd_logicop_enabled(struct fd_context *ctx)
47 return ctx->blend && ctx->blend->logicop_enable;
50 static inline bool fd_blend_enabled(struct fd_context *ctx, unsigned n
    [all...]
  /external/mesa3d/src/mesa/drivers/dri/i915/
intel_extensions.h 33 intelInitExtensions(struct gl_context *ctx);
36 intelInitExtensionsES1(struct gl_context *ctx);
39 intelInitExtensionsES2(struct gl_context *ctx);
  /external/tensorflow/tensorflow/core/kernels/
training_op_helpers.cc 23 void MaybeForwardRefInputToRefOutput(OpKernelContext* ctx, int input,
25 if (ctx->input_dtype(input) != DT_RESOURCE) {
26 ctx->forward_ref_input_to_ref_output(input, output);
  /device/generic/goldfish-opengl/shared/OpenglCodecCommon/
auto_goldfish_dma_context.cpp 19 goldfish_dma_context ctx; local
21 ctx.mapped_addr = 0;
22 ctx.size = 0;
23 ctx.fd = -1;
25 return ctx;
28 void destroy(goldfish_dma_context *ctx) {
29 if (ctx->mapped_addr) {
30 goldfish_dma_unmap(ctx);
32 if (ctx->fd > 0) {
33 goldfish_dma_free(ctx);
    [all...]
  /external/emma/core/java12/com/vladium/jcd/cls/
AbstractClassDefVisitor.java 22 public Object visit (final ClassDef cls, final Object ctx)
24 visit (cls.getConstants (), ctx); local
25 visit (cls.getInterfaces (), ctx); local
26 visit (cls.getFields (), ctx); local
27 visit (cls.getMethods (), ctx); local
28 visit (cls.getAttributes (), ctx); local
30 return ctx;
33 public Object visit (final IAttributeCollection attributes, final Object ctx)
35 return ctx;
38 public Object visit (final IConstantCollection constants, final Object ctx)
    [all...]
  /external/wpa_supplicant_8/hs20/server/
hs20_spp_server.c 33 void debug_print(struct hs20_svc *ctx, int print, const char *fmt, ...)
37 if (ctx->debug_log == NULL)
40 write_timestamp(ctx->debug_log);
42 vfprintf(ctx->debug_log, fmt, ap);
45 fprintf(ctx->debug_log, "\n");
49 void debug_dump_node(struct hs20_svc *ctx, const char *title, xml_node_t *node)
53 if (ctx->debug_log == NULL)
55 str = xml_node_to_str(ctx->xml, node);
59 write_timestamp(ctx->debug_log);
60 fprintf(ctx->debug_log, "%s: '%s'\n", title, str)
157 struct hs20_svc ctx; local
    [all...]
  /external/epid-sdk/epid/member/src/
context.c 54 EpidStatus EpidMemberInit(MemberParams const* params, MemberCtx* ctx) {
57 if (!params || !ctx) {
60 memset(ctx, 0, sizeof(*ctx));
65 ctx->hash_alg = kSha512;
67 ctx->hash_alg = kSha256;
69 ctx->sig_rl = NULL;
70 ctx->precomp_ready = false;
71 ctx->is_initially_provisioned = false;
72 ctx->is_provisioned = false
    [all...]
  /external/mesa3d/src/gallium/state_trackers/nine/
nine_queue.c 83 nine_queue_wait_flush(struct nine_queue_pool* ctx)
85 struct nine_cmdbuf *cmdbuf = &ctx->pool[ctx->tail];
88 mtx_lock(&ctx->mutex_push);
92 cnd_wait(&ctx->event_push, &ctx->mutex_push);
95 mtx_unlock(&ctx->mutex_push);
98 ctx->cur_instr = 0;
105 nine_queue_get(struct nine_queue_pool* ctx)
107 struct nine_cmdbuf *cmdbuf = &ctx->pool[ctx->tail]
231 struct nine_queue_pool *ctx; local
    [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/libxkbcommon/xkbcommon/test/
log.c 49 log_fn(struct xkb_context *ctx, enum xkb_log_level level,
54 darray_char *ls = xkb_context_get_user_data(ctx);
70 struct xkb_context *ctx; local
77 ctx = test_get_context(0);
78 assert(ctx);
81 xkb_context_set_user_data(ctx, &log_string);
82 xkb_context_set_log_fn(ctx, log_fn);
84 log_warn(ctx, "first warning: %d\n", 87);
85 log_info(ctx, "first info\n");
86 log_dbg(ctx, "first debug: %s\n", "hello")
    [all...]
  /external/mesa3d/src/mesa/drivers/dri/nouveau/
nouveau_span.c 37 renderbuffer_map_unmap(struct gl_context *ctx, struct gl_renderbuffer *rb,
43 nouveau_bo_map(s->bo, NOUVEAU_BO_RDWR, context_client(ctx));
47 framebuffer_map_unmap(struct gl_context *ctx, struct gl_framebuffer *fb, GLboolean map)
52 renderbuffer_map_unmap(ctx, fb->_ColorDrawBuffers[i], map);
54 renderbuffer_map_unmap(ctx, fb->_ColorReadBuffer, map);
57 renderbuffer_map_unmap(ctx, fb->Attachment[BUFFER_DEPTH].Renderbuffer, map);
61 span_map_unmap(struct gl_context *ctx, GLboolean map)
65 framebuffer_map_unmap(ctx, ctx->DrawBuffer, map);
67 if (ctx->ReadBuffer != ctx->DrawBuffer
    [all...]
  /external/tensorflow/tensorflow/compiler/tf2xla/kernels/
sendrecv_ops.cc 31 explicit SendOp(OpKernelConstruction* ctx);
32 void Compile(XlaOpKernelContext* ctx) override;
40 SendOp::SendOp(OpKernelConstruction* ctx) : XlaOpKernel(ctx) {
41 OP_REQUIRES_OK(ctx, ctx->GetAttr("tensor_name", &tensor_name_));
44 void SendOp::Compile(XlaOpKernelContext* ctx) {
45 XlaCompiler* compiler = ctx->compiler();
47 OP_REQUIRES_OK(ctx, compiler->GetChannelHandle(tensor_name_, &channel));
48 xla::Send(ctx->Input(0), channel)
    [all...]
  /external/boringssl/src/decrepit/bio/
base64_bio.c 92 BIO_B64_CTX *ctx; local
94 ctx = OPENSSL_malloc(sizeof(*ctx));
95 if (ctx == NULL) {
99 OPENSSL_memset(ctx, 0, sizeof(*ctx));
101 ctx->cont = 1;
102 ctx->start = 1;
105 bio->ptr = (char *)ctx;
122 BIO_B64_CTX *ctx; local
322 BIO_B64_CTX *ctx; local
432 BIO_B64_CTX *ctx; local
    [all...]
  /external/deqp/modules/gles31/functional/
es31fNegativeTextureApiTests.cpp 91 void activetexture (NegativeTestContext& ctx)
93 ctx.beginSection("GL_INVALID_ENUM is generated if texture is not one of GL_TEXTUREi, where i ranges from 0 to (GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS - 1).");
94 ctx.glActiveTexture(-1);
95 ctx.expectError(GL_INVALID_ENUM);
96 int numMaxTextureUnits = ctx.getInteger(GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS);
97 ctx.glActiveTexture(GL_TEXTURE0 + numMaxTextureUnits);
98 ctx.expectError(GL_INVALID_ENUM);
99 ctx.endSection();
104 void bindtexture (NegativeTestContext& ctx)
107 ctx.glGenTextures(5, texture)
    [all...]
es31fNegativeShaderApiTests.cpp 91 void create_shader (NegativeTestContext& ctx)
93 ctx.beginSection("GL_INVALID_ENUM is generated if shaderType is not an accepted value.");
94 ctx.glCreateShader(-1);
95 ctx.expectError(GL_INVALID_ENUM);
96 ctx.endSection();
99 void shader_source (NegativeTestContext& ctx)
102 const GLuint notAShader = ctx.glCreateShader(GL_VERTEX_SHADER);
103 ctx.glDeleteShader(notAShader);
105 ctx.beginSection("GL_INVALID_VALUE is generated if shader is not a value generated by OpenGL.");
106 ctx.glShaderSource(notAShader, 0, 0, 0)
    [all...]
  /art/runtime/interpreter/
interpreter_switch_impl1.cc 27 void ExecuteSwitchImplCpp<false, true>(SwitchImplContext* ctx);
interpreter_switch_impl3.cc 27 void ExecuteSwitchImplCpp<true, true>(SwitchImplContext* ctx);
  /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...]

Completed in 7618 milliseconds

12 3 4 5 6 7 8 91011>>