blob: 750289492b050e0acca1ccc7d6d2bfa5f3d0b793 [file] [log] [blame]
// Generated Code - DO NOT EDIT !!
// generated by 'emugen'
#ifndef __magma_client_context_t_h
#define __magma_client_context_t_h
#include "magma_client_proc.h"
#include "magma_types.h"
struct magma_client_context_t {
magma_device_import_client_proc_t magma_device_import;
magma_device_release_client_proc_t magma_device_release;
magma_device_query_client_proc_t magma_device_query;
magma_device_create_connection_client_proc_t magma_device_create_connection;
magma_connection_release_client_proc_t magma_connection_release;
magma_connection_get_error_client_proc_t magma_connection_get_error;
magma_connection_create_context_client_proc_t magma_connection_create_context;
magma_connection_release_context_client_proc_t magma_connection_release_context;
magma_connection_create_buffer_client_proc_t magma_connection_create_buffer;
magma_connection_release_buffer_client_proc_t magma_connection_release_buffer;
magma_connection_import_buffer_client_proc_t magma_connection_import_buffer;
magma_connection_create_semaphore_client_proc_t magma_connection_create_semaphore;
magma_connection_release_semaphore_client_proc_t magma_connection_release_semaphore;
magma_connection_import_semaphore_client_proc_t magma_connection_import_semaphore;
magma_connection_perform_buffer_op_client_proc_t magma_connection_perform_buffer_op;
magma_connection_map_buffer_client_proc_t magma_connection_map_buffer;
magma_connection_unmap_buffer_client_proc_t magma_connection_unmap_buffer;
magma_connection_execute_command_client_proc_t magma_connection_execute_command;
magma_connection_execute_command_fudge_client_proc_t magma_connection_execute_command_fudge;
magma_connection_execute_immediate_commands_client_proc_t magma_connection_execute_immediate_commands;
magma_connection_execute_immediate_commands_fudge_client_proc_t magma_connection_execute_immediate_commands_fudge;
magma_connection_flush_client_proc_t magma_connection_flush;
magma_connection_get_notification_channel_handle_client_proc_t magma_connection_get_notification_channel_handle;
magma_connection_read_notification_channel_client_proc_t magma_connection_read_notification_channel;
magma_buffer_clean_cache_client_proc_t magma_buffer_clean_cache;
magma_buffer_set_cache_policy_client_proc_t magma_buffer_set_cache_policy;
magma_buffer_get_cache_policy_client_proc_t magma_buffer_get_cache_policy;
magma_buffer_set_name_client_proc_t magma_buffer_set_name;
magma_buffer_set_name_fudge_client_proc_t magma_buffer_set_name_fudge;
magma_buffer_get_info_client_proc_t magma_buffer_get_info;
magma_buffer_get_handle_client_proc_t magma_buffer_get_handle;
magma_buffer_export_client_proc_t magma_buffer_export;
magma_semaphore_signal_client_proc_t magma_semaphore_signal;
magma_semaphore_reset_client_proc_t magma_semaphore_reset;
magma_semaphore_export_client_proc_t magma_semaphore_export;
magma_poll_client_proc_t magma_poll;
magma_initialize_tracing_client_proc_t magma_initialize_tracing;
magma_initialize_logging_client_proc_t magma_initialize_logging;
magma_connection_enable_performance_counter_access_client_proc_t magma_connection_enable_performance_counter_access;
magma_connection_enable_performance_counters_client_proc_t magma_connection_enable_performance_counters;
magma_connection_create_performance_counter_buffer_pool_client_proc_t magma_connection_create_performance_counter_buffer_pool;
magma_connection_release_performance_counter_buffer_pool_client_proc_t magma_connection_release_performance_counter_buffer_pool;
magma_connection_add_performance_counter_buffer_offsets_to_pool_client_proc_t magma_connection_add_performance_counter_buffer_offsets_to_pool;
magma_connection_remove_performance_counter_buffer_from_pool_client_proc_t magma_connection_remove_performance_counter_buffer_from_pool;
magma_connection_dump_performance_counters_client_proc_t magma_connection_dump_performance_counters;
magma_connection_clear_performance_counters_client_proc_t magma_connection_clear_performance_counters;
magma_connection_read_performance_counter_completion_client_proc_t magma_connection_read_performance_counter_completion;
magma_virt_connection_create_image_client_proc_t magma_virt_connection_create_image;
magma_virt_connection_get_image_info_client_proc_t magma_virt_connection_get_image_info;
virtual ~magma_client_context_t() {}
typedef magma_client_context_t *CONTEXT_ACCESSOR_TYPE(void);
static void setContextAccessor(CONTEXT_ACCESSOR_TYPE *f);
int initDispatchByName( void *(*getProc)(const char *name, void *userData), void *userData);
virtual void setError(unsigned int error){ (void)error; }
virtual unsigned int getError(){ return 0; }
};
#endif