Home
last modified time | relevance | path

Searched refs:vtbl (Results 1 – 25 of 86) sorted by relevance

1234

/third_party/mesa3d/src/gallium/drivers/iris/
Diris_perf.c48 batch->screen->vtbl.emit_mi_report_perf_count(batch, bo, offset_in_bytes, report_id); in iris_perf_emit_mi_report_perf_count()
66 batch->screen->vtbl.store_register_mem64(batch, reg, bo, offset, false); in iris_perf_store_register_mem()
69 batch->screen->vtbl.store_register_mem32(batch, reg, bo, offset, false); in iris_perf_store_register_mem()
88 perf_cfg->vtbl.bo_alloc = iris_oa_bo_alloc; in iris_perf_init_vtbl()
89 perf_cfg->vtbl.bo_unreference = (bo_unreference_t)iris_bo_unreference; in iris_perf_init_vtbl()
90 perf_cfg->vtbl.bo_map = (bo_map_t)iris_bo_map; in iris_perf_init_vtbl()
91 perf_cfg->vtbl.bo_unmap = (bo_unmap_t)iris_bo_unmap; in iris_perf_init_vtbl()
92 perf_cfg->vtbl.emit_stall_at_pixel_scoreboard = in iris_perf_init_vtbl()
95 perf_cfg->vtbl.emit_mi_report_perf_count = in iris_perf_init_vtbl()
97 perf_cfg->vtbl.batchbuffer_flush = iris_perf_batchbuffer_flush; in iris_perf_init_vtbl()
[all …]
Diris_draw.c206 batch->screen->vtbl.load_register_reg64(batch, CS_GPR(15), MI_PREDICATE_RESULT); in iris_indirect_draw_vbo()
218 … batch->screen->vtbl.upload_render_state(ice, batch, &info, drawid_offset + i, &indirect, draw); in iris_indirect_draw_vbo()
229 batch->screen->vtbl.load_register_reg64(batch, MI_PREDICATE_RESULT, CS_GPR(15)); in iris_indirect_draw_vbo()
250 batch->screen->vtbl.upload_render_state(ice, batch, draw, drawid_offset, indirect, sc); in iris_simple_draw_vbo()
308 batch->screen->vtbl.update_binder_address(batch, &ice->state.binder); in iris_draw_vbo()
420 batch->screen->vtbl.update_binder_address(batch, &ice->state.binder); in iris_launch_grid()
423 batch->screen->vtbl.load_register_mem64(batch, MI_PREDICATE_RESULT, in iris_launch_grid()
430 batch->screen->vtbl.upload_compute_state(ice, batch, grid); in iris_launch_grid()
Diris_context.c71 batch->screen->vtbl.init_render_context(batch); in iris_lost_context_state()
73 batch->screen->vtbl.init_compute_context(batch); in iris_lost_context_state()
89 batch->screen->vtbl.lost_genx_state(ice, batch); in iris_lost_context_state()
231 screen->vtbl.destroy_state(ice); in iris_destroy_context()
377 screen->vtbl.init_render_context(&ice->batches[IRIS_BATCH_RENDER]); in iris_create_context()
378 screen->vtbl.init_compute_context(&ice->batches[IRIS_BATCH_COMPUTE]); in iris_create_context()
Diris_query.c141 batch->screen->vtbl.store_data_imm64(batch, bo, offset, true); in mark_available()
210 batch->screen->vtbl.store_register_mem64(batch, in write_value()
217 batch->screen->vtbl.store_register_mem64(batch, in write_value()
237 batch->screen->vtbl.store_register_mem64(batch, reg, bo, offset, false); in write_value()
263 batch->screen->vtbl.store_register_mem64(batch, SO_NUM_PRIMS_WRITTEN(s), in write_overflow_values()
265 batch->screen->vtbl.store_register_mem64(batch, SO_PRIM_STORAGE_NEEDED(s), in write_overflow_values()
681 batch->screen->vtbl.copy_mem_mem(batch, dst_bo, offset, in iris_get_query_result_resource()
697 batch->screen->vtbl.store_data_imm32(batch, dst_bo, offset, q->result); in iris_get_query_result_resource()
699 batch->screen->vtbl.store_data_imm64(batch, dst_bo, offset, q->result); in iris_get_query_result_resource()
Diris_pipe_control.c80 batch->screen->vtbl.emit_raw_pipe_control(batch, reason, flags, NULL, 0, 0); in iris_emit_pipe_control_flush()
97 batch->screen->vtbl.emit_raw_pipe_control(batch, reason, flags, bo, offset, imm); in iris_emit_pipe_control_write()
/third_party/ffmpeg/libavdevice/
Ddshow_filter.c155 IBaseFilterVtbl *vtbl = this->vtbl; in ff_dshow_filter_Setup() local
156 SETVTBL(vtbl, filter, QueryInterface); in ff_dshow_filter_Setup()
157 SETVTBL(vtbl, filter, AddRef); in ff_dshow_filter_Setup()
158 SETVTBL(vtbl, filter, Release); in ff_dshow_filter_Setup()
159 SETVTBL(vtbl, filter, GetClassID); in ff_dshow_filter_Setup()
160 SETVTBL(vtbl, filter, Stop); in ff_dshow_filter_Setup()
161 SETVTBL(vtbl, filter, Pause); in ff_dshow_filter_Setup()
162 SETVTBL(vtbl, filter, Run); in ff_dshow_filter_Setup()
163 SETVTBL(vtbl, filter, GetState); in ff_dshow_filter_Setup()
164 SETVTBL(vtbl, filter, SetSyncSource); in ff_dshow_filter_Setup()
[all …]
Ddshow_pin.c191 IPinVtbl *vtbl = this->vtbl; in ff_dshow_pin_Setup() local
213 SETVTBL(vtbl, pin, QueryInterface); in ff_dshow_pin_Setup()
214 SETVTBL(vtbl, pin, AddRef); in ff_dshow_pin_Setup()
215 SETVTBL(vtbl, pin, Release); in ff_dshow_pin_Setup()
216 SETVTBL(vtbl, pin, Connect); in ff_dshow_pin_Setup()
217 SETVTBL(vtbl, pin, ReceiveConnection); in ff_dshow_pin_Setup()
218 SETVTBL(vtbl, pin, Disconnect); in ff_dshow_pin_Setup()
219 SETVTBL(vtbl, pin, ConnectedTo); in ff_dshow_pin_Setup()
220 SETVTBL(vtbl, pin, ConnectionMediaType); in ff_dshow_pin_Setup()
221 SETVTBL(vtbl, pin, QueryPinInfo); in ff_dshow_pin_Setup()
[all …]
Ddshow_enummediatypes.c82 IEnumMediaTypesVtbl *vtbl = this->vtbl; in ff_dshow_enummediatypes_Setup() local
83 SETVTBL(vtbl, enummediatypes, QueryInterface); in ff_dshow_enummediatypes_Setup()
84 SETVTBL(vtbl, enummediatypes, AddRef); in ff_dshow_enummediatypes_Setup()
85 SETVTBL(vtbl, enummediatypes, Release); in ff_dshow_enummediatypes_Setup()
86 SETVTBL(vtbl, enummediatypes, Next); in ff_dshow_enummediatypes_Setup()
87 SETVTBL(vtbl, enummediatypes, Skip); in ff_dshow_enummediatypes_Setup()
88 SETVTBL(vtbl, enummediatypes, Reset); in ff_dshow_enummediatypes_Setup()
89 SETVTBL(vtbl, enummediatypes, Clone); in ff_dshow_enummediatypes_Setup()
Ddshow_enumpins.c77 IEnumPinsVtbl *vtbl = this->vtbl; in ff_dshow_enumpins_Setup() local
78 SETVTBL(vtbl, enumpins, QueryInterface); in ff_dshow_enumpins_Setup()
79 SETVTBL(vtbl, enumpins, AddRef); in ff_dshow_enumpins_Setup()
80 SETVTBL(vtbl, enumpins, Release); in ff_dshow_enumpins_Setup()
81 SETVTBL(vtbl, enumpins, Next); in ff_dshow_enumpins_Setup()
82 SETVTBL(vtbl, enumpins, Skip); in ff_dshow_enumpins_Setup()
83 SETVTBL(vtbl, enumpins, Reset); in ff_dshow_enumpins_Setup()
84 SETVTBL(vtbl, enumpins, Clone); in ff_dshow_enumpins_Setup()
Ddshow_capture.h119 if (this->vtbl) \
120 CoTaskMemFree(this->vtbl); \
128 void *vtbl = CoTaskMemAlloc(sizeof(*this->vtbl)); \
130 if (!this || !vtbl) \
133 ZeroMemory(vtbl, sizeof(*this->vtbl)); \
135 this->vtbl = vtbl; \
146 #define SETVTBL(vtbl, prefix, fn) \ argument
147 do { (vtbl)->fn = (void *) ff_dshow_##prefix##_##fn; } while(0)
162 IPinVtbl *vtbl; member
208 IEnumPinsVtbl *vtbl; member
[all …]
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_transfer_helper.c35 const struct u_transfer_vtbl *vtbl; member
60 if (helper->vtbl->get_internal_format) { in handle_transfer()
62 helper->vtbl->get_internal_format(prsc); in handle_transfer()
113 prsc = helper->vtbl->resource_create(pscreen, &t); in u_transfer_helper_resource_create()
120 stencil = helper->vtbl->resource_create(pscreen, &t); in u_transfer_helper_resource_create()
123 helper->vtbl->resource_destroy(pscreen, prsc); in u_transfer_helper_resource_create()
127 helper->vtbl->set_stencil(prsc, stencil); in u_transfer_helper_resource_create()
133 prsc = helper->vtbl->resource_create(pscreen, &t); in u_transfer_helper_resource_create()
140 prsc = helper->vtbl->resource_create(pscreen, templ); in u_transfer_helper_resource_create()
154 if (helper->vtbl->get_stencil) { in u_transfer_helper_resource_destroy()
[all …]
/third_party/mesa3d/src/gallium/auxiliary/pipebuffer/
Dpb_buffer.h139 const struct pb_vtbl *vtbl; member
195 return buf->vtbl->map(buf, flags, flush_ctx); in pb_map()
206 buf->vtbl->unmap(buf); in pb_unmap()
222 assert(buf->vtbl->get_base_buffer); in pb_get_base_buffer()
223 buf->vtbl->get_base_buffer(buf, base_buf, offset); in pb_get_base_buffer()
236 assert(buf->vtbl->validate); in pb_validate()
237 return buf->vtbl->validate(buf, vl, flags); in pb_validate()
247 assert(buf->vtbl->fence); in pb_fence()
248 buf->vtbl->fence(buf, fence); in pb_fence()
259 buf->vtbl->destroy(winsys, buf); in pb_destroy()
/third_party/mesa3d/src/intel/perf/
Dintel_perf_query.c718 perf->vtbl.store_register_mem(ctx->ctx, obj->pipeline_stats.bo, in snapshot_statistics_registers()
739 perf_cfg->vtbl.emit_mi_report_perf_count(perf_ctx->ctx, query->oa.bo, in snapshot_query_layout()
749 perf_cfg->vtbl.store_register_mem(perf_ctx->ctx, query->oa.bo, in snapshot_query_layout()
804 perf_cfg->vtbl.emit_stall_at_pixel_scoreboard(perf_ctx->ctx); in intel_perf_begin_query()
848 perf_cfg->vtbl.bo_unreference(query->oa.bo); in intel_perf_begin_query()
852 query->oa.bo = perf_cfg->vtbl.bo_alloc(perf_ctx->bufmgr, in intel_perf_begin_query()
857 void *map = perf_cfg->vtbl.bo_map(perf_ctx->ctx, query->oa.bo, MAP_WRITE); in intel_perf_begin_query()
859 perf_cfg->vtbl.bo_unmap(query->oa.bo); in intel_perf_begin_query()
895 perf_cfg->vtbl.bo_unreference(query->pipeline_stats.bo); in intel_perf_begin_query()
900 perf_cfg->vtbl.bo_alloc(perf_ctx->bufmgr, in intel_perf_begin_query()
[all …]
/third_party/ffmpeg/libavcodec/arm/
Dsbcdsp_neon.S548 vtbl.8 d16, {d4, d5}, d0
549 vtbl.8 d17, {d4, d5}, d1
550 vtbl.8 d18, {d20, d21}, d0
551 vtbl.8 d19, {d20, d21}, d1
567 vtbl.8 d16, {d4, d5}, d0
568 vtbl.8 d17, {d4, d5}, d1
569 vtbl.8 d18, {d20, d21}, d0
570 vtbl.8 d19, {d20, d21}, d1
583 vtbl.8 d16, {d4, d5}, d0
584 vtbl.8 d17, {d4, d5}, d1
[all …]
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_monitor.c144 screen->vtbl.emit_mi_report_perf_count(batch, bo, offset_in_bytes, report_id); in crocus_monitor_emit_mi_report_perf_count()
162 ice->vtbl.store_register_mem32(batch, GEN9_RPSTAT0, bo, bo_offset, false);
171 ice->vtbl.store_register_mem64(batch, reg, bo, offset, false);
189 perf_cfg->vtbl.bo_alloc = crocus_oa_bo_alloc; in crocus_monitor_init_metrics()
190 perf_cfg->vtbl.bo_unreference = (bo_unreference_t)crocus_bo_unreference; in crocus_monitor_init_metrics()
191 perf_cfg->vtbl.bo_map = (bo_map_t)crocus_bo_map; in crocus_monitor_init_metrics()
192 perf_cfg->vtbl.bo_unmap = (bo_unmap_t)crocus_bo_unmap; in crocus_monitor_init_metrics()
194 perf_cfg->vtbl.emit_mi_report_perf_count = in crocus_monitor_init_metrics()
196 perf_cfg->vtbl.batchbuffer_flush = crocus_monitor_batchbuffer_flush; in crocus_monitor_init_metrics()
197 perf_cfg->vtbl.batch_references = (batch_references_t)crocus_batch_references; in crocus_monitor_init_metrics()
[all …]
Dcrocus_query.c163 screen->vtbl.store_data_imm64(batch, bo, offset, true); in mark_available()
224 screen->vtbl.store_register_mem64(batch, in write_value()
233 screen->vtbl.store_register_mem64(batch, in write_value()
263 screen->vtbl.store_register_mem64(batch, reg, bo, offset, false); in write_value()
291 screen->vtbl.store_register_mem64(batch, SO_NUM_PRIMS_WRITTEN(s), in write_overflow_values()
293 screen->vtbl.store_register_mem64(batch, SO_PRIM_STORAGE_NEEDED(s), in write_overflow_values()
733 screen->vtbl.copy_mem_mem(batch, dst_bo, offset, in crocus_get_query_result_resource()
749 screen->vtbl.store_data_imm32(batch, dst_bo, offset, q->result); in crocus_get_query_result_resource()
751 screen->vtbl.store_data_imm64(batch, dst_bo, offset, q->result); in crocus_get_query_result_resource()
845 screen->vtbl.load_register_mem64(batch, MI_PREDICATE_SRC0, bo, in set_predicate_for_result()
[all …]
Dcrocus_context.c89 screen->vtbl.init_render_context(batch); in crocus_lost_context_state()
91 screen->vtbl.init_compute_context(batch); in crocus_lost_context_state()
99 screen->vtbl.lost_genx_state(ice, batch); in crocus_lost_context_state()
196 screen->vtbl.destroy_state(ice); in crocus_destroy_context()
318 screen->vtbl.init_render_context(&ice->batches[CROCUS_BATCH_RENDER]); in crocus_create_context()
320 screen->vtbl.init_compute_context(&ice->batches[CROCUS_BATCH_COMPUTE]); in crocus_create_context()
Dcrocus_draw.c282 screen->vtbl.load_register_reg64(batch, CS_GPR(15), MI_PREDICATE_RESULT); in crocus_indirect_draw_vbo()
296 screen->vtbl.upload_render_state(ice, batch, &info, drawid_offset + i, &indirect, draws); in crocus_indirect_draw_vbo()
307 screen->vtbl.load_register_reg64(batch, MI_PREDICATE_RESULT, CS_GPR(15)); in crocus_indirect_draw_vbo()
332 screen->vtbl.upload_render_state(ice, batch, draw, drawid_offset, indirect, sc); in crocus_simple_draw_vbo()
345 uint32_t val = screen->vtbl.get_so_offset(indirect->count_from_stream_output); in crocus_draw_vbo_get_vertex_count()
514 screen->vtbl.emit_compute_predicate(batch); in crocus_launch_grid()
520 screen->vtbl.upload_compute_state(ice, batch, grid); in crocus_launch_grid()
Dcrocus_pipe_control.c83 batch->screen->vtbl.emit_raw_pipe_control(batch, reason, flags, NULL, 0, 0); in crocus_emit_pipe_control_flush()
100 batch->screen->vtbl.emit_raw_pipe_control(batch, reason, flags, bo, offset, imm); in crocus_emit_pipe_control_write()
194 batch->screen->vtbl.load_register_mem32(batch, GEN7_3DPRIM_START_INSTANCE, in crocus_emit_end_of_pipe_sync()
Dcrocus_blit.c271 crocus_blorp_surf_for_resource(struct crocus_vtable *vtbl, in crocus_blorp_surf_for_resource() argument
404 if (!screen->vtbl.blit_blt(batch, info)) { in crocus_blit()
586 crocus_blorp_surf_for_resource(&screen->vtbl, &screen->isl_dev, &src_surf, in crocus_blit()
589 crocus_blorp_surf_for_resource(&screen->vtbl, &screen->isl_dev, &dst_surf, in crocus_blit()
692 if (screen->vtbl.copy_region_blt(batch, dst_res, in crocus_copy_region()
729 crocus_blorp_surf_for_resource(&screen->vtbl, &screen->isl_dev, &src_surf, in crocus_copy_region()
731 crocus_blorp_surf_for_resource(&screen->vtbl, &screen->isl_dev, &dst_surf, in crocus_copy_region()
Dcrocus_blt.c414 screen->vtbl.blit_blt = crocus_blit_blt; in genX()
415 screen->vtbl.copy_region_blt = crocus_copy_region_blt; in genX()
417 screen->vtbl.blit_blt = NULL; in genX()
418 screen->vtbl.copy_region_blt = NULL; in genX()
/third_party/mesa3d/src/egl/drivers/dri2/
Degl_dri2.c1240 if (dri2_dpy->vtbl && dri2_dpy->vtbl->close_screen_notify) in dri2_display_destroy()
1241 dri2_dpy->vtbl->close_screen_notify(disp); in dri2_display_destroy()
1723 return dri2_dpy->vtbl->destroy_surface(disp, surf); in dri2_destroy_surface()
1818 old_dri2_dpy->vtbl->set_shared_buffer_mode) { in dri2_make_current()
1819 old_dri2_dpy->vtbl->set_shared_buffer_mode(old_disp, old_dsurf, false); in dri2_make_current()
1828 ddraw = (dsurf) ? dri2_dpy->vtbl->get_dri_drawable(dsurf) : NULL; in dri2_make_current()
1829 rdraw = (rsurf) ? dri2_dpy->vtbl->get_dri_drawable(rsurf) : NULL; in dri2_make_current()
1856 ddraw = (old_dsurf) ? dri2_dpy->vtbl->get_dri_drawable(old_dsurf) : NULL; in dri2_make_current()
1857 rdraw = (old_rsurf) ? dri2_dpy->vtbl->get_dri_drawable(old_rsurf) : NULL; in dri2_make_current()
1863 old_dri2_dpy->vtbl->set_shared_buffer_mode) { in dri2_make_current()
[all …]
/third_party/vulkan-loader/tests/framework/shim/
Dwindows_shim.cpp211 IDXGIAdapter1Vtbl *vtbl = new IDXGIAdapter1Vtbl(); in create_IDXGIAdapter1() local
212 vtbl->GetDesc1 = ShimGetDesc1; in create_IDXGIAdapter1()
213 vtbl->Release = ShimRelease; in create_IDXGIAdapter1()
215 adapter->lpVtbl = vtbl; in create_IDXGIAdapter1()
267 IDXGIFactory1Vtbl *vtbl = new IDXGIFactory1Vtbl(); in create_IDXGIFactory1() local
268 vtbl->EnumAdapters1 = ShimEnumAdapters1_1; in create_IDXGIFactory1()
269 vtbl->Release = ShimIDXGIFactory1Release; in create_IDXGIFactory1()
271 factory->lpVtbl = vtbl; in create_IDXGIFactory1()
276 IDXGIFactory6Vtbl *vtbl = new IDXGIFactory6Vtbl(); in create_IDXGIFactory6() local
277 vtbl->EnumAdapters1 = ShimEnumAdapters1_6; in create_IDXGIFactory6()
[all …]
/third_party/mesa3d/src/gallium/drivers/panfrost/
Dpan_assemble.c98 screen->vtbl.compile_shader(s, &inputs, &binary, &state->info); in panfrost_shader_compile()
112 screen->vtbl.prepare_shader(state, desc_pool, upload); in panfrost_shader_compile()
/third_party/mesa3d/include/android_stub/hardware/
Dhwvulkan.h51 const void* vtbl; member

1234