Home
last modified time | relevance | path

Searched refs:cmd_size (Results 1 – 25 of 38) sorted by relevance

12

/external/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_cmd_buffer.c270 uint32_t cmd_size = sizeof(*cmd) + extra_size; in cmd_buf_entry_alloc_size() local
272 cmd_size, in cmd_buf_entry_alloc_size()
336 uint32_t cmd_size = pass->attachment_count * sizeof(struct lvp_attachment_state); in lvp_CmdBeginRenderPass() local
338 cmd = cmd_buf_entry_alloc_size(cmd_buffer, cmd_size, LVP_CMD_BEGIN_RENDER_PASS); in lvp_CmdBeginRenderPass()
380 …uint32_t cmd_size = bindingCount * sizeof(struct lvp_buffer *) + bindingCount * sizeof(VkDeviceSiz… in lvp_CmdBindVertexBuffers() local
382 cmd = cmd_buf_entry_alloc_size(cmd_buffer, cmd_size, LVP_CMD_BIND_VERTEX_BUFFERS); in lvp_CmdBindVertexBuffers()
436 …uint32_t cmd_size = descriptorSetCount * sizeof(struct lvp_descriptor_set *) + dynamicOffsetCount … in lvp_CmdBindDescriptorSets() local
438 cmd = cmd_buf_entry_alloc_size(cmd_buffer, cmd_size, LVP_CMD_BIND_DESCRIPTOR_SETS); in lvp_CmdBindDescriptorSets()
825 uint32_t cmd_size = commandBufferCount * sizeof(struct lvp_cmd_buffer *); in lvp_CmdExecuteCommands() local
827 cmd = cmd_buf_entry_alloc_size(cmd_buffer, cmd_size, LVP_CMD_EXECUTE_COMMANDS); in lvp_CmdExecuteCommands()
[all …]
/external/mesa3d/src/mesa/main/
Dglthread_bufferobj.c281 int cmd_size = sizeof(struct marshal_cmd_BufferData) + (copy_data ? size : 0); in _mesa_marshal_BufferData_merged() local
283 if (unlikely(size < 0 || size > INT_MAX || cmd_size < 0 || in _mesa_marshal_BufferData_merged()
284 cmd_size > MARSHAL_MAX_CMD_SIZE || in _mesa_marshal_BufferData_merged()
299 cmd_size); in _mesa_marshal_BufferData_merged()
393 size_t cmd_size = sizeof(struct marshal_cmd_BufferSubData) + size; in _mesa_marshal_BufferSubData_merged() local
420 if (unlikely(size < 0 || size > INT_MAX || cmd_size < 0 || in _mesa_marshal_BufferSubData_merged()
421 cmd_size > MARSHAL_MAX_CMD_SIZE || !data || in _mesa_marshal_BufferSubData_merged()
436 cmd_size); in _mesa_marshal_BufferSubData_merged()
Dglthread_draw.c304 int cmd_size = sizeof(struct marshal_cmd_DrawArraysInstancedBaseInstance) + in draw_arrays_async() local
309 cmd_size); in draw_arrays_async()
414 int cmd_size = sizeof(struct marshal_cmd_MultiDrawArrays) + in multi_draw_arrays_async() local
419 cmd_size); in multi_draw_arrays_async()
575 int cmd_size = sizeof(struct marshal_cmd_DrawElementsInstancedBaseVertexBaseInstance) + in draw_elements_async() local
579 …glthread_allocate_command(ctx, DISPATCH_CMD_DrawElementsInstancedBaseVertexBaseInstance, cmd_size); in draw_elements_async()
782 int cmd_size = sizeof(struct marshal_cmd_MultiDrawElementsBaseVertex) + in multi_draw_elements_async() local
786 cmd = _mesa_glthread_allocate_command(ctx, DISPATCH_CMD_MultiDrawElementsBaseVertex, cmd_size); in multi_draw_elements_async()
Dglthread_marshal.h48 uint16_t cmd_size; member
72 cmd_base->cmd_size = aligned_size; in _mesa_glthread_allocate_command()
Dglthread.c60 pos += cmd->cmd_size; in glthread_unmarshal_batch()
/external/minigbm/
Dvirtgpu_cross_domain.c100 static int cross_domain_submit_cmd(struct driver *drv, uint32_t *cmd, uint32_t cmd_size, bool wait) in cross_domain_submit_cmd() argument
108 exec.size = cmd_size; in cross_domain_submit_cmd()
164 cmd_get_reqs.hdr.cmd_size = sizeof(struct CrossDomainGetImageRequirements); in cross_domain_metadata_query()
179 ret = cross_domain_submit_cmd(drv, (uint32_t *)&cmd_get_reqs, cmd_get_reqs.hdr.cmd_size, in cross_domain_metadata_query()
314 cmd_init.hdr.cmd_size = sizeof(struct CrossDomainInit); in cross_domain_init()
316 ret = cross_domain_submit_cmd(drv, (uint32_t *)&cmd_init, cmd_init.hdr.cmd_size, false); in cross_domain_init()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_ioctl.h101 rmesa->hw.ATOM.cmd_size * 4)
107 if (memcmp(atom->cmd, atom->lastcmd, atom->cmd_size*4)) { in R200_DB_STATECHANGE()
Dr200_state_init.c227 return (FLAG) ? atom->cmd_size + (ADD) : 0; \
234 …on.TclFallback && !_mesa_arb_vertex_program_enabled(ctx) && (FLAG)) ? atom->cmd_size + (ADD) : 0; \
241 return (!rmesa->radeon.TclFallback && (FLAG)) ? atom->cmd_size + (ADD) : 0; \
249 …eon.TclFallback && _mesa_arb_vertex_program_enabled(ctx) && (FLAG)) ? atom->cmd_size + (ADD) : 0; \
332 return atom->cmd_size; in check_rrb()
340 return atom->cmd_size; in check_polygon_stipple()
430 if (atom->cmd_size == CTX_STATE_SIZE_NEWDRM) in check_always_ctx()
520 if (atom->cmd_size == CTX_STATE_SIZE_NEWDRM) { in ctx_emit_cs()
530 uint32_t dwords = atom->cmd_size + 2; in get_tex_mm_size()
574 if (!r200->state.texture.unit[i].unitneeded && !(dwords <= atom->cmd_size)) in tex_emit_mm()
[all …]
Dradeon_queryobj.h43 radeon->query.queryobj.cmd_size = (SZ); in radeon_init_query_stateobj()
Dradeon_common.c396 fprintf(stderr, " emit %s %d/%d\n", state->name, dwords, state->cmd_size); in radeon_print_state_atom()
399 if (dwords > state->cmd_size) in radeon_print_state_atom()
400 dwords = state->cmd_size; in radeon_print_state_atom()
Dradeon_queryobj.c201 return atom->cmd_size; in radeon_check_query_active()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_ioctl.h110 rmesa->hw.ATOM.cmd_size * 4)
115 if (memcmp(atom->cmd, atom->lastcmd, atom->cmd_size*4)) { in RADEON_DB_STATECHANGE()
Dradeon_queryobj.h43 radeon->query.queryobj.cmd_size = (SZ); in radeon_init_query_stateobj()
Dradeon_common.c396 fprintf(stderr, " emit %s %d/%d\n", state->name, dwords, state->cmd_size); in radeon_print_state_atom()
399 if (dwords > state->cmd_size) in radeon_print_state_atom()
400 dwords = state->cmd_size; in radeon_print_state_atom()
Dradeon_queryobj.c201 return atom->cmd_size; in radeon_check_query_active()
Dradeon_state_init.c191 return FLAG ? atom->cmd_size + (ADD) : 0; \
198 return (!rmesa->radeon.TclFallback && (FLAG)) ? atom->cmd_size + (ADD) : 0; \
459 uint32_t dwords = atom->cmd_size; in tex_emit_cs()
522 rmesa->hw.ATOM.cmd_size = SZ; \ in radeonInitState()
/external/autotest/client/site_tests/firmware_Cr50VirtualNVRam/
Dfirmware_Cr50VirtualNVRam.py85 cmd_size = format(35 + size, 'x') + ' '
94 '00 00 00 ' + cmd_size + # commandSize
/external/minigbm/external/
Dvirtgpu_cross_domain_protocol.h40 uint16_t cmd_size; member
Dvirtgpu_drm.h206 __u32 cmd_size; member
/external/iw/
Diw.c84 static int cmd_size; variable
91 _cmd = (const struct cmd *)((char *)_cmd + cmd_size))
502 cmd_size = abs((long)&__section_set - (long)&__section_get); in main()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dhsw_queryobj.c413 uint32_t cmd_size = devinfo->gen >= 8 ? 4 : 3; in store_query_result_reg() local
417 BEGIN_BATCH(dwords * cmd_size); in store_query_result_reg()
421 (cmd_size - 2)); in store_query_result_reg()
/external/crosvm/rutabaga_gfx/src/cross_domain/
Dcross_domain_protocol.rs52 pub cmd_size: u16, field
/external/curl/lib/
Dkrb5.c607 size_t cmd_size = 0; in do_sec_send() local
627 &cmd_buffer, &cmd_size); in do_sec_send()
632 if(cmd_size > 0) { in do_sec_send()
640 socket_write(conn, fd, cmd_buffer, cmd_size); in do_sec_send()
/external/kernel-headers/original/uapi/drm/
Dvirtgpu_drm.h171 __u32 cmd_size; member
/external/mesa3d/include/drm-uapi/
Dvirtgpu_drm.h171 __u32 cmd_size; member

12