Searched refs:cb (Results 1 - 25 of 536) sorted by relevance

1234567891011>>

/xsrc/external/mit/xf86-video-openchrome/dist/src/
H A Dvia_dmabuffer.h40 void (*flushFunc) (struct _ViaCommandBuffer * cb);
47 (cb)->waitFlags |= (flags)
51 if (cb->flushFunc && (cb->pos > (cb->bufSize-(size)))) { \
52 cb->flushFunc(cb); \
59 if (cb->mode == 2 && (paraType) == cb->rindex) \
61 if (cb
[all...]
/xsrc/external/mit/ctwm/dist/
H A Dctwm_test.h16 #define TEST_POSTPARSE(cb) do { \
18 ctwm_test_postparse = (cb); \
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/svga/
H A Dsvga_pipe_constants.c47 const struct pipe_constant_buffer *cb)
51 struct pipe_resource *buf = cb ? cb->buffer : NULL;
54 if (cb) {
55 buffer_size = cb->buffer_size;
56 if (cb->user_buffer) {
58 (void *) cb->user_buffer,
59 cb->buffer_size,
77 svga->curr.constbufs[shader][index].buffer_offset = cb ? cb
45 svga_set_constant_buffer(struct pipe_context * pipe,enum pipe_shader_type shader,uint index,const struct pipe_constant_buffer * cb) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/compiler/nir/
H A Dnir_inline_helpers.h5 _nir_foreach_dest(nir_instr *instr, nir_foreach_dest_cb cb, void *state) argument
9 return cb(&nir_instr_as_alu(instr)->dest.dest, state);
11 return cb(&nir_instr_as_deref(instr)->dest, state);
15 return cb(&intrin->dest, state);
19 return cb(&nir_instr_as_tex(instr)->dest, state);
21 return cb(&nir_instr_as_phi(instr)->dest, state);
24 if (!cb(&entry->dest, state))
45 _nir_visit_src(nir_src *src, nir_foreach_src_cb cb, void *state) argument
47 if (!cb(src, state))
50 return cb(sr
56 nir_foreach_src_cb cb; member in struct:__anon8bf80b0d0108
71 nir_foreach_dest(nir_instr * instr,nir_foreach_dest_cb cb,void * state) argument
77 nir_foreach_src(nir_instr * instr,nir_foreach_src_cb cb,void * state) argument
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/vulkan/util/
H A Dvk_debug_report.c53 struct vk_debug_report_callback *cb = local in function:vk_create_debug_report_callback
58 if (!cb)
61 cb->flags = pCreateInfo->flags;
62 cb->callback = pCreateInfo->pfnCallback;
63 cb->data = pCreateInfo->pUserData;
66 list_addtail(&cb->link, &instance->callbacks);
69 *pCallback = (VkDebugReportCallbackEXT)(uintptr_t)cb;
114 list_for_each_entry(struct vk_debug_report_callback, cb,
116 if (cb->flags & flags)
117 cb
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/svga/
H A Dsvga_pipe_constants.c48 const struct pipe_constant_buffer *cb)
52 struct pipe_resource *buf = cb ? cb->buffer : NULL;
55 if (cb) {
56 buffer_size = cb->buffer_size;
57 if (cb->user_buffer) {
59 (void *) cb->user_buffer,
60 cb->buffer_size,
83 svga->curr.constbufs[shader][index].buffer_offset = cb ? cb
45 svga_set_constant_buffer(struct pipe_context * pipe,enum pipe_shader_type shader,uint index,bool take_ownership,const struct pipe_constant_buffer * cb) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/vulkan/util/
H A Dvk_debug_report.c53 struct vk_debug_report_callback *cb = local in function:VK_DEFINE_NONDISP_HANDLE_CASTS
58 if (!cb)
61 vk_object_base_init(NULL, &cb->base,
64 cb->flags = pCreateInfo->flags;
65 cb->callback = pCreateInfo->pfnCallback;
66 cb->data = pCreateInfo->pUserData;
69 list_addtail(&cb->link, &instance->debug_report.callbacks);
72 *pCallback = vk_debug_report_callback_to_handle(cb);
119 list_for_each_entry(struct vk_debug_report_callback, cb,
121 if (cb
[all...]
/xsrc/external/mit/xf86-video-openchrome/dist/src/xvmc/
H A DviaLowLevelPro.c78 void (*flushFunc) (struct _ViaCommandBuffer * cb,
233 #define WAITFLAGS(cb, flags) \
234 (cb)->waitFlags |= (flags)
235 #define BEGIN_RING_AGP(cb, xl, size) \
237 if ((cb)->pos > ((cb)->bufSize-(size))) { \
238 cb->flushFunc(cb, xl); \
241 #define OUT_RING_AGP(cb, val) do{ \
242 (cb)
503 finish_header_agp(ViaCommandBuffer * cb) argument
842 pciFlush(ViaCommandBuffer * cb,XvMCLowLevel * xl) argument
876 agpFlush(ViaCommandBuffer * cb,XvMCLowLevel * xl) argument
975 ViaCommandBuffer *cb = xl->videoBuf; local in function:uploadHQVShadow
1038 ViaCommandBuffer *cb = &xl->agpBuf; local in function:viaMpegSetSurfaceStride
1081 ViaCommandBuffer *cb = &xl->agpBuf; local in function:viaMpegSetFB
1098 ViaCommandBuffer *cb = &xl->agpBuf; local in function:viaMpegBeginPicture
1192 ViaCommandBuffer *cb = &xl->agpBuf; local in function:viaMpegReset
1232 ViaCommandBuffer *cb = &xl->agpBuf; local in function:viaMpegWriteSlice
1287 ViaCommandBuffer *cb = xl->videoBuf; local in function:viaVideoSubPictureOffLocked
1306 ViaCommandBuffer *cb = xl->videoBuf; local in function:viaVideoSubPictureLocked
1333 ViaCommandBuffer *cb = &xl->agpBuf; local in function:viaBlit
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/etnaviv/
H A Detnaviv_uniforms.h39 struct pipe_constant_buffer *cb, uint32_t *uniforms,
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/etnaviv/
H A Detnaviv_uniforms.h39 struct pipe_constant_buffer *cb);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/asahi/
H A Dagx_uniforms.c34 struct pipe_constant_buffer *cb)
36 if (cb->buffer) {
37 struct agx_bo *bo = agx_resource(cb->buffer)->bo;
40 return bo->ptr.gpu + cb->buffer_offset;
43 ((uint8_t *) cb->user_buffer) + cb->buffer_offset,
44 cb->buffer_size - cb->buffer_offset, 64);
62 struct pipe_constant_buffer *cb = &st->cb[ local in function:agx_push_location_direct
33 agx_const_buffer_ptr(struct agx_batch * batch,struct pipe_constant_buffer * cb) argument
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r300/compiler/
H A Dradeon_dataflow.h50 void rc_for_all_reads_chan(struct rc_instruction * inst, rc_read_write_chan_fn cb, void * userdata);
51 void rc_for_all_writes_chan(struct rc_instruction * inst, rc_read_write_chan_fn cb, void * userdata);
55 void rc_for_all_reads_mask(struct rc_instruction * inst, rc_read_write_mask_fn cb, void * userdata);
56 void rc_for_all_writes_mask(struct rc_instruction * inst, rc_read_write_mask_fn cb, void * userdata);
60 void rc_for_all_reads_src(struct rc_instruction * inst, rc_read_src_fn cb,
67 rc_pair_read_arg_fn cb, void * userdata);
71 void rc_remap_registers(struct rc_instruction * inst, rc_remap_register_fn cb, void * userdata);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r300/compiler/
H A Dradeon_dataflow.h50 void rc_for_all_reads_chan(struct rc_instruction * inst, rc_read_write_chan_fn cb, void * userdata);
51 void rc_for_all_writes_chan(struct rc_instruction * inst, rc_read_write_chan_fn cb, void * userdata);
55 void rc_for_all_reads_mask(struct rc_instruction * inst, rc_read_write_mask_fn cb, void * userdata);
56 void rc_for_all_writes_mask(struct rc_instruction * inst, rc_read_write_mask_fn cb, void * userdata);
60 void rc_for_all_reads_src(struct rc_instruction * inst, rc_read_src_fn cb,
67 rc_pair_read_arg_fn cb, void * userdata);
71 void rc_remap_registers(struct rc_instruction * inst, rc_remap_register_fn cb, void * userdata);
/xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/
H A Dst_debug.c134 struct pipe_debug_callback cb; local in function:st_update_debug_callback
135 memset(&cb, 0, sizeof(cb));
136 cb.async = !_mesa_get_debug_state_int(st->ctx, GL_DEBUG_OUTPUT_SYNCHRONOUS);
137 cb.debug_message = st_debug_message;
138 cb.data = st;
139 pipe->set_debug_callback(pipe, &cb);
H A Dst_atom_constbuf.c112 struct pipe_constant_buffer cb; local in function:st_upload_constants
117 cb.buffer = NULL;
118 cb.user_buffer = NULL;
119 cb.buffer_offset = 0;
120 cb.buffer_size = paramBytes;
130 &cb.buffer_offset, &cb.buffer, (void**)&ptr);
143 pipe->set_constant_buffer(pipe, shader_type, 0, true, &cb);
174 cb.user_buffer = params->ParameterValues;
182 pipe->set_constant_buffer(pipe, shader_type, 0, false, &cb);
262 struct pipe_constant_buffer cb = { 0 }; local in function:st_bind_ubos
[all...]
/xsrc/external/mit/libX11/dist/modules/im/ximcp/
H A DimCallbk.c266 XICCallback* cb = &ic->core.geometry_callback; local in function:_XimGeometryCallback
270 if (cb && cb->callback) {
271 (*cb->callback)((XIC)ic, cb->client_data, (XPointer)NULL);
289 XICCallback* cb = &ic->core.string_conversion_callback; /* check HM */ local in function:_XimStrConversionCallback
294 if (cb && cb->callback) {
305 (*cb->callback)((XIC)ic, cb
374 XICCallback* cb = &ic->core.preedit_attr.start_callback; local in function:_XimPreeditStartCallback
423 XICCallback* cb = &ic->core.preedit_attr.done_callback; local in function:_XimPreeditDoneCallback
570 XICCallback* cb = &ic->core.preedit_attr.draw_callback; local in function:_XimPreeditDrawCallback
601 XICCallback* cb = &ic->core.preedit_attr.caret_callback; local in function:_XimPreeditCaretCallback
653 XICCallback* cb = &ic->core.status_attr.start_callback; local in function:_XimStatusStartCallback
676 XICCallback* cb = &ic->core.status_attr.done_callback; local in function:_XimStatusDoneCallback
699 XICCallback* cb = &ic->core.status_attr.draw_callback; local in function:_XimStatusDrawCallback
731 XICCallback *cb = &ic->core.preedit_attr.state_notify_callback; local in function:_XimPreeditStateNotifyCallback
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r600/
H A Dr600_pipe.h417 struct pipe_constant_buffer cb[PIPE_MAX_CONSTANT_BUFFERS]; member in struct:r600_constbuf_state
435 struct r600_command_buffer *cb; member in struct:r600_cso_state
618 struct r600_command_buffer *cb)
620 assert(cs->current.cdw + cb->num_dw <= cs->current.max_dw);
621 memcpy(cs->current.buf + cs->current.cdw, cb->buf, 4 * cb->num_dw);
622 cs->current.cdw += cb->num_dw;
661 struct r600_command_buffer *cb)
663 state->cb = cb;
617 r600_emit_command_buffer(struct radeon_cmdbuf * cs,struct r600_command_buffer * cb) argument
659 r600_set_cso_state_with_cb(struct r600_context * rctx,struct r600_cso_state * state,void * cso,struct r600_command_buffer * cb) argument
886 r600_store_value(struct r600_command_buffer * cb,unsigned value) argument
891 r600_store_array(struct r600_command_buffer * cb,unsigned num,unsigned * ptr) argument
898 r600_store_config_reg_seq(struct r600_command_buffer * cb,unsigned reg,unsigned num) argument
910 r600_store_context_reg_seq(struct r600_command_buffer * cb,unsigned reg,unsigned num) argument
922 r600_store_ctl_const_seq(struct r600_command_buffer * cb,unsigned reg,unsigned num) argument
930 r600_store_loop_const_seq(struct r600_command_buffer * cb,unsigned reg,unsigned num) argument
942 eg_store_loop_const_seq(struct r600_command_buffer * cb,unsigned reg,unsigned num) argument
950 r600_store_config_reg(struct r600_command_buffer * cb,unsigned reg,unsigned value) argument
956 r600_store_context_reg(struct r600_command_buffer * cb,unsigned reg,unsigned value) argument
962 r600_store_ctl_const(struct r600_command_buffer * cb,unsigned reg,unsigned value) argument
968 r600_store_loop_const(struct r600_command_buffer * cb,unsigned reg,unsigned value) argument
974 eg_store_loop_const(struct r600_command_buffer * cb,unsigned reg,unsigned value) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r600/
H A Dr600_pipe.h422 struct pipe_constant_buffer cb[PIPE_MAX_CONSTANT_BUFFERS]; member in struct:r600_constbuf_state
440 struct r600_command_buffer *cb; member in struct:r600_cso_state
624 struct r600_command_buffer *cb)
626 assert(cs->current.cdw + cb->num_dw <= cs->current.max_dw);
627 memcpy(cs->current.buf + cs->current.cdw, cb->buf, 4 * cb->num_dw);
628 cs->current.cdw += cb->num_dw;
667 struct r600_command_buffer *cb)
669 state->cb = cb;
623 r600_emit_command_buffer(struct radeon_cmdbuf * cs,struct r600_command_buffer * cb) argument
665 r600_set_cso_state_with_cb(struct r600_context * rctx,struct r600_cso_state * state,void * cso,struct r600_command_buffer * cb) argument
892 r600_store_value(struct r600_command_buffer * cb,unsigned value) argument
897 r600_store_array(struct r600_command_buffer * cb,unsigned num,unsigned * ptr) argument
904 r600_store_config_reg_seq(struct r600_command_buffer * cb,unsigned reg,unsigned num) argument
916 r600_store_context_reg_seq(struct r600_command_buffer * cb,unsigned reg,unsigned num) argument
928 r600_store_ctl_const_seq(struct r600_command_buffer * cb,unsigned reg,unsigned num) argument
936 r600_store_loop_const_seq(struct r600_command_buffer * cb,unsigned reg,unsigned num) argument
948 eg_store_loop_const_seq(struct r600_command_buffer * cb,unsigned reg,unsigned num) argument
956 r600_store_config_reg(struct r600_command_buffer * cb,unsigned reg,unsigned value) argument
962 r600_store_context_reg(struct r600_command_buffer * cb,unsigned reg,unsigned value) argument
968 r600_store_ctl_const(struct r600_command_buffer * cb,unsigned reg,unsigned value) argument
974 r600_store_loop_const(struct r600_command_buffer * cb,unsigned reg,unsigned value) argument
980 eg_store_loop_const(struct r600_command_buffer * cb,unsigned reg,unsigned value) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/frontends/clover/core/
H A Dqueue.cpp53 struct pipe_debug_callback cb; local in function:command_queue::command_queue
54 memset(&cb, 0, sizeof(cb));
55 cb.debug_message = &debug_notify_callback;
56 cb.data = this;
58 pipe->set_debug_callback(pipe, &cb);
79 struct pipe_debug_callback cb; local in function:command_queue::command_queue
80 memset(&cb, 0, sizeof(cb));
81 cb
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/clover/core/core/
H A Dqueue.cpp53 struct pipe_debug_callback cb; local in function:command_queue::command_queue
54 memset(&cb, 0, sizeof(cb));
55 cb.debug_message = &debug_notify_callback;
56 cb.data = this;
58 pipe->set_debug_callback(pipe, &cb);
/xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/
H A Dst_atom_constbuf.c94 struct pipe_constant_buffer cb; local in function:st_upload_constants
107 cb.buffer = NULL;
108 cb.user_buffer = params->ParameterValues;
109 cb.buffer_offset = 0;
110 cb.buffer_size = paramBytes;
119 cso_set_constant_buffer(st->cso_context, shader_type, 0, &cb);
120 pipe_resource_reference(&cb.buffer, NULL);
202 struct pipe_constant_buffer cb = { 0 }; local in function:st_bind_ubos
215 cb.buffer = st_obj->buffer;
217 if (cb
[all...]
/xsrc/external/mit/libXmu/dist/src/
H A DCloseHook.c117 CallbackRec *cb; local in function:XmuAddCloseDisplayHook
120 cb = malloc (sizeof (CallbackRec));
121 if (!cb) return ((XPointer) NULL);
127 free (cb);
139 cb->func = func;
140 cb->arg = arg;
141 cb->next = NULL;
143 de->end->next = cb;
145 de->start = cb;
147 de->end = cb;
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/vc4/
H A Dvc4_uniforms.c192 struct vc4_constbuf_stateobj *cb,
197 const uint32_t *gallium_uniforms = cb->cb[0].user_buffer;
259 if (!cb->cb[0].buffer) {
261 cb->cb[0].buffer_size, 16,
262 cb->cb[0].user_buffer,
263 &cb
191 vc4_write_uniforms(struct vc4_context * vc4,struct vc4_compiled_shader * shader,struct vc4_constbuf_stateobj * cb,struct vc4_texture_stateobj * texstate) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/vc4/
H A Dvc4_uniforms.c192 struct vc4_constbuf_stateobj *cb,
197 const uint32_t *gallium_uniforms = cb->cb[0].user_buffer;
259 if (!cb->cb[0].buffer) {
261 cb->cb[0].buffer_size, 16,
262 cb->cb[0].user_buffer,
263 &cb
191 vc4_write_uniforms(struct vc4_context * vc4,struct vc4_compiled_shader * shader,struct vc4_constbuf_stateobj * cb,struct vc4_texture_stateobj * texstate) argument
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/softpipe/
H A Dsp_state_surface.c57 struct pipe_surface *cb = i < fb->nr_cbufs ? fb->cbufs[i] : NULL; local in function:softpipe_set_framebuffer_state
60 if (sp->framebuffer.cbufs[i] != cb) {
65 pipe_surface_reference(&sp->framebuffer.cbufs[i], cb);
68 sp_tile_cache_set_surface(sp->cbuf_cache[i], cb);

Completed in 18 milliseconds

1234567891011>>