1 // Generated Code - DO NOT EDIT !! 2 // generated by 'emugen' 3 #ifndef __magma_server_context_t_h 4 #define __magma_server_context_t_h 5 6 #include "magma_server_proc.h" 7 8 #include "magma_types.h" 9 10 11 struct magma_server_context_t { 12 13 magma_device_import_server_proc_t magma_device_import; 14 magma_device_release_server_proc_t magma_device_release; 15 magma_device_query_server_proc_t magma_device_query; 16 magma_device_query_fudge_server_proc_t magma_device_query_fudge; 17 magma_device_create_connection_server_proc_t magma_device_create_connection; 18 magma_connection_release_server_proc_t magma_connection_release; 19 magma_connection_get_error_server_proc_t magma_connection_get_error; 20 magma_connection_create_context_server_proc_t magma_connection_create_context; 21 magma_connection_release_context_server_proc_t magma_connection_release_context; 22 magma_connection_create_buffer_server_proc_t magma_connection_create_buffer; 23 magma_connection_release_buffer_server_proc_t magma_connection_release_buffer; 24 magma_connection_import_buffer_server_proc_t magma_connection_import_buffer; 25 magma_connection_create_semaphore_server_proc_t magma_connection_create_semaphore; 26 magma_connection_release_semaphore_server_proc_t magma_connection_release_semaphore; 27 magma_connection_import_semaphore_server_proc_t magma_connection_import_semaphore; 28 magma_connection_perform_buffer_op_server_proc_t magma_connection_perform_buffer_op; 29 magma_connection_map_buffer_server_proc_t magma_connection_map_buffer; 30 magma_connection_unmap_buffer_server_proc_t magma_connection_unmap_buffer; 31 magma_connection_execute_command_server_proc_t magma_connection_execute_command; 32 magma_connection_execute_command_fudge_server_proc_t magma_connection_execute_command_fudge; 33 magma_connection_execute_immediate_commands_server_proc_t magma_connection_execute_immediate_commands; 34 magma_connection_execute_immediate_commands_fudge_server_proc_t magma_connection_execute_immediate_commands_fudge; 35 magma_connection_flush_server_proc_t magma_connection_flush; 36 magma_connection_get_notification_channel_handle_server_proc_t magma_connection_get_notification_channel_handle; 37 magma_connection_read_notification_channel_server_proc_t magma_connection_read_notification_channel; 38 magma_buffer_clean_cache_server_proc_t magma_buffer_clean_cache; 39 magma_buffer_set_cache_policy_server_proc_t magma_buffer_set_cache_policy; 40 magma_buffer_get_cache_policy_server_proc_t magma_buffer_get_cache_policy; 41 magma_buffer_set_name_server_proc_t magma_buffer_set_name; 42 magma_buffer_set_name_fudge_server_proc_t magma_buffer_set_name_fudge; 43 magma_buffer_get_info_server_proc_t magma_buffer_get_info; 44 magma_buffer_get_handle_server_proc_t magma_buffer_get_handle; 45 magma_buffer_export_server_proc_t magma_buffer_export; 46 magma_semaphore_signal_server_proc_t magma_semaphore_signal; 47 magma_semaphore_reset_server_proc_t magma_semaphore_reset; 48 magma_semaphore_export_server_proc_t magma_semaphore_export; 49 magma_poll_server_proc_t magma_poll; 50 magma_initialize_tracing_server_proc_t magma_initialize_tracing; 51 magma_initialize_logging_server_proc_t magma_initialize_logging; 52 magma_connection_enable_performance_counter_access_server_proc_t magma_connection_enable_performance_counter_access; 53 magma_connection_enable_performance_counters_server_proc_t magma_connection_enable_performance_counters; 54 magma_connection_create_performance_counter_buffer_pool_server_proc_t magma_connection_create_performance_counter_buffer_pool; 55 magma_connection_release_performance_counter_buffer_pool_server_proc_t magma_connection_release_performance_counter_buffer_pool; 56 magma_connection_add_performance_counter_buffer_offsets_to_pool_server_proc_t magma_connection_add_performance_counter_buffer_offsets_to_pool; 57 magma_connection_remove_performance_counter_buffer_from_pool_server_proc_t magma_connection_remove_performance_counter_buffer_from_pool; 58 magma_connection_dump_performance_counters_server_proc_t magma_connection_dump_performance_counters; 59 magma_connection_clear_performance_counters_server_proc_t magma_connection_clear_performance_counters; 60 magma_connection_read_performance_counter_completion_server_proc_t magma_connection_read_performance_counter_completion; 61 magma_virt_connection_create_image_server_proc_t magma_virt_connection_create_image; 62 magma_virt_connection_get_image_info_server_proc_t magma_virt_connection_get_image_info; ~magma_server_context_tmagma_server_context_t63 virtual ~magma_server_context_t() {} 64 int initDispatchByName( void *(*getProc)(const char *name, void *userData), void *userData); 65 }; 66 67 #endif 68