Home
last modified time | relevance | path

Searched refs:magma_status_t (Results 1 – 17 of 17) sorted by relevance

/hardware/google/gfxstream/host/magma/magma_dec/
Dmagma_server_proc.h15 typedef magma_status_t (magma_APIENTRY *magma_device_import_server_proc_t) (magma_handle_t, magma_d…
17 typedef magma_status_t (magma_APIENTRY *magma_device_query_server_proc_t) (magma_device_t, uint64_t…
18 typedef magma_status_t (magma_APIENTRY *magma_device_query_fudge_server_proc_t) (magma_device_t, ui…
19 typedef magma_status_t (magma_APIENTRY *magma_device_create_connection_server_proc_t) (magma_device…
21 typedef magma_status_t (magma_APIENTRY *magma_connection_get_error_server_proc_t) (magma_connection…
22 typedef magma_status_t (magma_APIENTRY *magma_connection_create_context_server_proc_t) (magma_conne…
24 typedef magma_status_t (magma_APIENTRY *magma_connection_create_buffer_server_proc_t) (magma_connec…
26 typedef magma_status_t (magma_APIENTRY *magma_connection_import_buffer_server_proc_t) (magma_connec…
27 typedef magma_status_t (magma_APIENTRY *magma_connection_create_semaphore_server_proc_t) (magma_con…
29 typedef magma_status_t (magma_APIENTRY *magma_connection_import_semaphore_server_proc_t) (magma_con…
[all …]
Dmagma_dec.cpp51 totalTmpSize += sizeof(magma_status_t); in decode()
56 …*(magma_status_t *)(&tmpBuf[0 + size_device_out]) = this->magma_device_import(var_device_channe… in decode()
91 totalTmpSize += sizeof(magma_status_t); in decode()
97 …*(magma_status_t *)(&tmpBuf[0 + size_result_buffer_out + size_result_out]) = this->magma_device… in decode()
125 totalTmpSize += sizeof(magma_status_t); in decode()
134 …*(magma_status_t *)(&tmpBuf[0 + size_result_buffer_mapping_id_inout + size_result_buffer_size_inou… in decode()
155 totalTmpSize += sizeof(magma_status_t); in decode()
160 …*(magma_status_t *)(&tmpBuf[0 + size_connection_out]) = this->magma_device_create_connection(va… in decode()
190 size_t totalTmpSize = sizeof(magma_status_t); in decode()
194 *(magma_status_t *)(&tmpBuf[0]) = this->magma_connection_get_error(var_connection); in decode()
[all …]
/hardware/google/gfxstream/guest/magma/magma_enc/
Dmagma_client_proc.h15 typedef magma_status_t (magma_APIENTRY *magma_device_import_client_proc_t) (void * ctx, magma_handl…
17 typedef magma_status_t (magma_APIENTRY *magma_device_query_client_proc_t) (void * ctx, magma_device…
18 typedef magma_status_t (magma_APIENTRY *magma_device_query_fudge_client_proc_t) (void * ctx, magma_…
19 typedef magma_status_t (magma_APIENTRY *magma_device_create_connection_client_proc_t) (void * ctx, …
21 typedef magma_status_t (magma_APIENTRY *magma_connection_get_error_client_proc_t) (void * ctx, magm…
22 typedef magma_status_t (magma_APIENTRY *magma_connection_create_context_client_proc_t) (void * ctx,…
24 typedef magma_status_t (magma_APIENTRY *magma_connection_create_buffer_client_proc_t) (void * ctx, …
26 typedef magma_status_t (magma_APIENTRY *magma_connection_import_buffer_client_proc_t) (void * ctx, …
27 typedef magma_status_t (magma_APIENTRY *magma_connection_create_semaphore_client_proc_t) (void * ct…
29 typedef magma_status_t (magma_APIENTRY *magma_connection_import_semaphore_client_proc_t) (void * ct…
[all …]
Dmagma_entry.cpp8 magma_status_t magma_device_import(magma_handle_t device_channel, magma_device_t* device_out);
10magma_status_t magma_device_query(magma_device_t device, uint64_t id, magma_handle_t* result_buffe…
11magma_status_t magma_device_query_fudge(magma_device_t device, uint64_t id, magma_bool_t host_allo…
12magma_status_t magma_device_create_connection(magma_device_t device, magma_connection_t* connectio…
14 magma_status_t magma_connection_get_error(magma_connection_t connection);
15magma_status_t magma_connection_create_context(magma_connection_t connection, uint32_t* context_id…
17magma_status_t magma_connection_create_buffer(magma_connection_t connection, uint64_t size, uint64…
19magma_status_t magma_connection_import_buffer(magma_connection_t connection, magma_handle_t buffer…
20magma_status_t magma_connection_create_semaphore(magma_connection_t connection, magma_semaphore_t*…
22magma_status_t magma_connection_import_semaphore(magma_connection_t connection, magma_handle_t sem…
[all …]
Dmagma_enc.cpp32 magma_status_t magma_device_import_enc(void *self , magma_handle_t device_channel, magma_device_t* … in magma_device_import_enc()
62 magma_status_t retval; in magma_device_import_enc()
105 magma_status_t magma_device_query_enc(void *self , magma_device_t device, uint64_t id, magma_handle… in magma_device_query_enc()
140 magma_status_t retval; in magma_device_query_enc()
156 magma_status_t magma_device_query_fudge_enc(void *self , magma_device_t device, uint64_t id, magma_… in magma_device_query_fudge_enc()
198 magma_status_t retval; in magma_device_query_fudge_enc()
214 magma_status_t magma_device_create_connection_enc(void *self , magma_device_t device, magma_connect… in magma_device_create_connection_enc()
244 magma_status_t retval; in magma_device_create_connection_enc()
287 magma_status_t magma_connection_get_error_enc(void *self , magma_connection_t connection) in magma_connection_get_error_enc()
313 magma_status_t retval; in magma_connection_get_error_enc()
[all …]
Dmagma_stubs.cpp18 MAGMA_EXPORT magma_status_t magma_connection_import_semaphore2( in magma_connection_import_semaphore2()
/hardware/google/gfxstream/third-party/fuchsia/magma/include/lib/magma/
Dmagma.h52 MAGMA_EXPORT magma_status_t magma_device_import(
72 MAGMA_EXPORT magma_status_t magma_device_query(
83 MAGMA_EXPORT magma_status_t magma_device_create_connection(
100 MAGMA_EXPORT magma_status_t magma_connection_get_error(
108 MAGMA_EXPORT magma_status_t magma_connection_create_context(
129 MAGMA_EXPORT magma_status_t magma_connection_create_buffer(
154 MAGMA_EXPORT magma_status_t magma_connection_import_buffer(
167 MAGMA_EXPORT magma_status_t magma_connection_create_semaphore(
190 MAGMA_EXPORT magma_status_t magma_connection_import_semaphore2(
205 MAGMA_EXPORT magma_status_t magma_connection_perform_buffer_op(
[all …]
Dmagma_sysmem.h94 MAGMA_EXPORT magma_status_t
112 MAGMA_EXPORT magma_status_t
131 MAGMA_EXPORT magma_status_t magma_collection_info_get_plane_info_with_size(
141 MAGMA_EXPORT magma_status_t
150 MAGMA_EXPORT magma_status_t magma_collection_info_get_format_modifier(
159 MAGMA_EXPORT magma_status_t magma_collection_info_get_color_space(
167 MAGMA_EXPORT magma_status_t magma_collection_info_get_coherency_domain(
176 MAGMA_EXPORT magma_status_t magma_collection_info_get_buffer_count(
185 MAGMA_EXPORT magma_status_t magma_collection_info_get_is_secure(
195 MAGMA_EXPORT magma_status_t magma_sysmem_connection_import_buffer_collection(
[all …]
Dmagma_common_defs.h62 typedef int32_t magma_status_t; typedef
65 #define MAGMA_STATUS_OK ((magma_status_t)(0))
66 #define MAGMA_STATUS_INTERNAL_ERROR ((magma_status_t)(-1))
67 #define MAGMA_STATUS_INVALID_ARGS ((magma_status_t)(-2))
68 #define MAGMA_STATUS_ACCESS_DENIED ((magma_status_t)(-3))
69 #define MAGMA_STATUS_MEMORY_ERROR ((magma_status_t)(-4))
70 #define MAGMA_STATUS_CONTEXT_KILLED ((magma_status_t)(-5))
71 #define MAGMA_STATUS_CONNECTION_LOST ((magma_status_t)(-6))
72 #define MAGMA_STATUS_TIMED_OUT ((magma_status_t)(-7))
73 #define MAGMA_STATUS_UNIMPLEMENTED ((magma_status_t)(-8))
[all …]
/hardware/google/gfxstream/codegen/magma/
Dmagma.in1 MAGMA(magma_status_t, magma_device_import, magma_handle_t device_channel, magma_device_t* device_ou…
3 MAGMA(magma_status_t, magma_device_query, magma_device_t device, uint64_t id, magma_handle_t* resul…
4 MAGMA(magma_status_t, magma_device_query_fudge, magma_device_t device, uint64_t id, magma_bool_t ho…
5 MAGMA(magma_status_t, magma_device_create_connection, magma_device_t device, magma_connection_t* co…
7 MAGMA(magma_status_t, magma_connection_get_error, magma_connection_t connection)
8 MAGMA(magma_status_t, magma_connection_create_context, magma_connection_t connection, uint32_t* con…
10 MAGMA(magma_status_t, magma_connection_create_buffer, magma_connection_t connection, uint64_t size,…
12 MAGMA(magma_status_t, magma_connection_import_buffer, magma_connection_t connection, magma_handle_t…
13 MAGMA(magma_status_t, magma_connection_create_semaphore, magma_connection_t connection, magma_semap…
15 MAGMA(magma_status_t, magma_connection_import_semaphore, magma_connection_t connection, magma_handl…
[all …]
Dmagma.types11 magma_status_t 32 %d false
/hardware/google/gfxstream/host/magma/
DDecoder.h35 …virtual magma_status_t magma_device_import(magma_handle_t device_channel, magma_device_t* device_o…
37 …virtual magma_status_t magma_device_query(magma_device_t device, uint64_t id, magma_handle_t* resu…
38 …virtual magma_status_t magma_device_query_fudge(magma_device_t device, uint64_t id, magma_bool_t h…
39 …virtual magma_status_t magma_device_create_connection(magma_device_t device, magma_connection_t* c…
41 virtual magma_status_t magma_connection_get_error(magma_connection_t connection);
42 …virtual magma_status_t magma_connection_create_context(magma_connection_t connection, uint32_t* co…
44 …virtual magma_status_t magma_connection_create_buffer(magma_connection_t connection, uint64_t size…
46 …virtual magma_status_t magma_connection_import_buffer(magma_connection_t connection, magma_handle_…
47 …virtual magma_status_t magma_connection_create_semaphore(magma_connection_t magma_connection, magm…
49 …virtual magma_status_t magma_connection_import_semaphore(magma_connection_t connection, magma_hand…
[all …]
DDecoder.cpp97 magma_status_t Decoder::magma_device_import(magma_handle_t device_channel, in magma_device_import()
105 magma_status_t Decoder::magma_device_query(magma_device_t device, uint64_t id, in magma_device_query()
112 magma_status_t Decoder::magma_device_create_connection(magma_device_t device, in magma_device_create_connection()
120 magma_status_t Decoder::magma_connection_get_error(magma_connection_t connection) { in magma_connection_get_error()
125 magma_status_t Decoder::magma_connection_create_context(magma_connection_t connection, in magma_connection_create_context()
135 magma_status_t Decoder::magma_connection_create_buffer(magma_connection_t connection, uint64_t size, in magma_connection_create_buffer()
148 magma_status_t Decoder::magma_connection_import_buffer(magma_connection_t connection, in magma_connection_import_buffer()
157 magma_status_t Decoder::magma_connection_create_semaphore(magma_connection_t magma_connection, in magma_connection_create_semaphore()
169 magma_status_t Decoder::magma_connection_import_semaphore(magma_connection_t connection, in magma_connection_import_semaphore()
177 magma_status_t Decoder::magma_connection_perform_buffer_op(magma_connection_t connection, in magma_connection_perform_buffer_op()
[all …]
DIntelDrmDecoder.h32magma_status_t magma_device_import(magma_handle_t device_channel, magma_device_t* device_out) over…
34magma_status_t magma_device_query_fudge(magma_device_t device, uint64_t id, magma_bool_t host_allo…
35magma_status_t magma_device_create_connection(magma_device_t device, magma_connection_t* connectio…
37magma_status_t magma_connection_create_buffer(magma_connection_t connection, uint64_t size, uint64…
39magma_status_t magma_connection_create_semaphore(magma_connection_t magma_connection, magma_semaph…
41magma_status_t magma_buffer_get_info(magma_buffer_t buffer, magma_buffer_info_t* info_out) overrid…
42magma_status_t magma_buffer_get_handle(magma_buffer_t buffer, magma_handle_t* handle_out) override;
43magma_status_t magma_buffer_export(magma_buffer_t buffer, magma_handle_t* buffer_handle_out) overr…
46magma_status_t magma_poll(magma_poll_item_t* items, uint32_t count, uint64_t timeout_ns) override;
47 magma_status_t magma_connection_get_error(magma_connection_t connection) override;
[all …]
DIntelDrmDecoder.cpp73 magma_status_t IntelDrmDecoder::magma_device_import(magma_handle_t device_channel, in magma_device_import()
155 magma_status_t IntelDrmDecoder::magma_device_query_fudge(magma_device_t device, uint64_t id, in magma_device_query_fudge()
326 magma_status_t IntelDrmDecoder::magma_device_create_connection(magma_device_t device, in magma_device_create_connection()
344 magma_status_t IntelDrmDecoder::magma_connection_create_buffer(magma_connection_t connection, in magma_connection_create_buffer()
382 magma_status_t IntelDrmDecoder::magma_connection_create_semaphore( in magma_connection_create_semaphore()
396 magma_status_t IntelDrmDecoder::magma_buffer_get_info(magma_buffer_t buffer, in magma_buffer_get_info()
407 magma_status_t IntelDrmDecoder::magma_buffer_get_handle(magma_buffer_t buffer, in magma_buffer_get_handle()
417 magma_status_t IntelDrmDecoder::magma_buffer_export(magma_buffer_t buffer, in magma_buffer_export()
432 magma_status_t IntelDrmDecoder::magma_poll(magma_poll_item_t* items, uint32_t count, in magma_poll()
438 magma_status_t IntelDrmDecoder::magma_connection_get_error(magma_connection_t connection) { in magma_connection_get_error()
[all …]
/hardware/google/gfxstream/guest/magma/
Dmagma.cpp50 magma_status_t get_fd_for_buffer(magma_buffer_t buffer, int* fd_out);
54 static magma_status_t magma_device_import(void* self, magma_handle_t device_channel,
56 static magma_status_t magma_device_query(void* self, magma_device_t device, uint64_t id,
58 static magma_status_t magma_buffer_get_handle(void* self, magma_buffer_t buffer,
60 static magma_status_t magma_buffer_export(void* self, magma_buffer_t buffer,
62 static magma_status_t magma_poll(void* self, magma_poll_item_t* items, uint32_t count,
64 static magma_status_t magma_connection_create_buffer(void* self, magma_connection_t connection,
132 magma_status_t MagmaClientContext::magma_device_import(void* self, magma_handle_t device_channel, in magma_device_import()
138 magma_status_t status = context->magma_device_import_enc_(self, placeholder, device_out); in magma_device_import()
147 magma_status_t MagmaClientContext::get_fd_for_buffer(magma_buffer_t buffer, int* fd_out) { in get_fd_for_buffer()
[all …]
/hardware/google/gfxstream/guest/platform/fuchsia/
DFuchsiaVirtGpuDevice.cpp51 magma_status_t status = magma_device_query(device_, query_id, &buffer, nullptr); in FuchsiaVirtGpuDevice()
135 magma_status_t status = magma_device_import(device_channel, &magma_device); in createPlatformVirtGpuDevice()