Home
last modified time | relevance | path

Searched refs:magma_buffer_t (Results 1 – 15 of 15) sorted by relevance

/hardware/google/gfxstream/host/magma/magma_dec/
Dmagma_server_proc.h24 …eate_buffer_server_proc_t) (magma_connection_t, uint64_t, uint64_t*, magma_buffer_t*, magma_buffer…
25 …agma_APIENTRY *magma_connection_release_buffer_server_proc_t) (magma_connection_t, magma_buffer_t);
26 …uffer_server_proc_t) (magma_connection_t, magma_handle_t, uint64_t*, magma_buffer_t*, magma_buffer…
30 …gma_connection_perform_buffer_op_server_proc_t) (magma_connection_t, magma_buffer_t, uint32_t, uin…
31 …_connection_map_buffer_server_proc_t) (magma_connection_t, uint64_t, magma_buffer_t, uint64_t, uin…
32 …ENTRY *magma_connection_unmap_buffer_server_proc_t) (magma_connection_t, uint64_t, magma_buffer_t);
40 typedef magma_status_t (magma_APIENTRY *magma_buffer_clean_cache_server_proc_t) (magma_buffer_t, ui…
41 …tus_t (magma_APIENTRY *magma_buffer_set_cache_policy_server_proc_t) (magma_buffer_t, magma_cache_p…
42 …tus_t (magma_APIENTRY *magma_buffer_get_cache_policy_server_proc_t) (magma_buffer_t, magma_cache_p…
43 typedef magma_status_t (magma_APIENTRY *magma_buffer_set_name_server_proc_t) (magma_buffer_t, const…
[all …]
Dmagma_dec.cpp261 …ction, var_size, (uint64_t*)(outptr_size_out.get()), size_size_out, (magma_buffer_t*)(outptr_buffe… in decode()
262 …uffer(var_connection, var_size, (uint64_t*)(outptr_size_out.get()), (magma_buffer_t*)(outptr_buffe… in decode()
277 magma_buffer_t var_buffer = Unpack<magma_buffer_t,uint64_t>(ptr + 8 + 8); in decode()
308 …r_buffer_handle, (uint64_t*)(outptr_size_out.get()), size_size_out, (magma_buffer_t*)(outptr_buffe… in decode()
309 …_connection, var_buffer_handle, (uint64_t*)(outptr_size_out.get()), (magma_buffer_t*)(outptr_buffe… in decode()
395 magma_buffer_t var_buffer = Unpack<magma_buffer_t,uint64_t>(ptr + 8 + 8); in decode()
420 magma_buffer_t var_buffer = Unpack<magma_buffer_t,uint64_t>(ptr + 8 + 8 + 8); in decode()
445 magma_buffer_t var_buffer = Unpack<magma_buffer_t,uint64_t>(ptr + 8 + 8 + 8); in decode()
629 magma_buffer_t var_buffer = Unpack<magma_buffer_t,uint64_t>(ptr + 8); in decode()
652 magma_buffer_t var_buffer = Unpack<magma_buffer_t,uint64_t>(ptr + 8); in decode()
[all …]
/hardware/google/gfxstream/guest/magma/magma_enc/
Dmagma_client_proc.h24 …client_proc_t) (void * ctx, magma_connection_t, uint64_t, uint64_t*, magma_buffer_t*, magma_buffer…
25 …Y *magma_connection_release_buffer_client_proc_t) (void * ctx, magma_connection_t, magma_buffer_t);
26 …_proc_t) (void * ctx, magma_connection_t, magma_handle_t, uint64_t*, magma_buffer_t*, magma_buffer…
30 …on_perform_buffer_op_client_proc_t) (void * ctx, magma_connection_t, magma_buffer_t, uint32_t, uin…
31 …map_buffer_client_proc_t) (void * ctx, magma_connection_t, uint64_t, magma_buffer_t, uint64_t, uin…
32 …_connection_unmap_buffer_client_proc_t) (void * ctx, magma_connection_t, uint64_t, magma_buffer_t);
40 …magma_APIENTRY *magma_buffer_clean_cache_client_proc_t) (void * ctx, magma_buffer_t, uint64_t, uin…
41 …_APIENTRY *magma_buffer_set_cache_policy_client_proc_t) (void * ctx, magma_buffer_t, magma_cache_p…
42 …_APIENTRY *magma_buffer_get_cache_policy_client_proc_t) (void * ctx, magma_buffer_t, magma_cache_p…
43 …_t (magma_APIENTRY *magma_buffer_set_name_client_proc_t) (void * ctx, magma_buffer_t, const char*);
[all …]
Dmagma_entry.cpp17 …er(magma_connection_t connection, uint64_t size, uint64_t* size_out, magma_buffer_t* buffer_out, m…
18 void magma_connection_release_buffer(magma_connection_t connection, magma_buffer_t buffer);
19 …tion_t connection, magma_handle_t buffer_handle, uint64_t* size_out, magma_buffer_t* buffer_out, m…
23 …magma_status_t magma_connection_perform_buffer_op(magma_connection_t connection, magma_buffer_t bu…
24 …connection_map_buffer(magma_connection_t connection, uint64_t hw_va, magma_buffer_t buffer, uint64…
25 …void magma_connection_unmap_buffer(magma_connection_t connection, uint64_t hw_va, magma_buffer_t b…
33 …magma_status_t magma_buffer_clean_cache(magma_buffer_t buffer, uint64_t offset, uint64_t size, mag…
34 magma_status_t magma_buffer_set_cache_policy(magma_buffer_t buffer, magma_cache_policy_t policy);
35 …magma_status_t magma_buffer_get_cache_policy(magma_buffer_t buffer, magma_cache_policy_t* cache_po…
36 magma_status_t magma_buffer_set_name(magma_buffer_t buffer, const char* name);
[all …]
Dmagma_enc.cpp403 … , magma_connection_t connection, uint64_t size, uint64_t* size_out, magma_buffer_t* buffer_out, m… in magma_connection_create_buffer_enc()
414 const unsigned int __size_buffer_out = sizeof(magma_buffer_t); in magma_connection_create_buffer_enc()
458 void magma_connection_release_buffer_enc(void *self , magma_connection_t connection, magma_buffer_t in magma_connection_release_buffer_enc()
486 …tion_t connection, magma_handle_t buffer_handle, uint64_t* size_out, magma_buffer_t* buffer_out, m… in magma_connection_import_buffer_enc()
497 const unsigned int __size_buffer_out = sizeof(magma_buffer_t); in magma_connection_import_buffer_enc()
670 …on_perform_buffer_op_enc(void *self , magma_connection_t connection, magma_buffer_t buffer, uint32… in magma_connection_perform_buffer_op_enc()
716 …ffer_enc(void *self , magma_connection_t connection, uint64_t hw_va, magma_buffer_t buffer, uint64… in magma_connection_map_buffer_enc()
763 …unmap_buffer_enc(void *self , magma_connection_t connection, uint64_t hw_va, magma_buffer_t buffer) in magma_connection_unmap_buffer_enc()
1122 magma_status_t magma_buffer_clean_cache_enc(void *self , magma_buffer_t buffer, uint64_t offset, ui… in magma_buffer_clean_cache_enc()
1167 magma_status_t magma_buffer_set_cache_policy_enc(void *self , magma_buffer_t buffer, magma_cache_po… in magma_buffer_set_cache_policy_enc()
[all …]
/hardware/google/gfxstream/third-party/fuchsia/magma/include/lib/magma/
Dmagma.h133 magma_buffer_t* buffer_out,
143 magma_buffer_t buffer);
158 magma_buffer_t* buffer_out,
207 magma_buffer_t buffer,
225 magma_buffer_t buffer,
239 magma_buffer_t buffer);
313 magma_buffer_t buffer,
324 magma_buffer_t buffer,
333 magma_buffer_t buffer,
342 magma_buffer_t buffer,
[all …]
Dmagma_common_defs.h211 typedef uint64_t magma_buffer_t; typedef
/hardware/google/gfxstream/codegen/magma/
Dmagma.in10 …r, magma_connection_t connection, uint64_t size, uint64_t* size_out, magma_buffer_t* buffer_out, m…
11 MAGMA(void, magma_connection_release_buffer, magma_connection_t connection, magma_buffer_t buffer)
12 …tion_t connection, magma_handle_t buffer_handle, uint64_t* size_out, magma_buffer_t* buffer_out, m…
16 …, magma_connection_perform_buffer_op, magma_connection_t connection, magma_buffer_t buffer, uint32…
17 …onnection_map_buffer, magma_connection_t connection, uint64_t hw_va, magma_buffer_t buffer, uint64…
18 …agma_connection_unmap_buffer, magma_connection_t connection, uint64_t hw_va, magma_buffer_t buffer)
26 MAGMA(magma_status_t, magma_buffer_clean_cache, magma_buffer_t buffer, uint64_t offset, uint64_t si…
27 MAGMA(magma_status_t, magma_buffer_set_cache_policy, magma_buffer_t buffer, magma_cache_policy_t po…
28 MAGMA(magma_status_t, magma_buffer_get_cache_policy, magma_buffer_t buffer, magma_cache_policy_t* c…
29 MAGMA(magma_status_t, magma_buffer_set_name, magma_buffer_t buffer, const char* name)
[all …]
Dmagma.types3 magma_buffer_t 64 %lu false
20 magma_buffer_t* 64 %p true
Dmagma.attrib38 len buffer_out sizeof(magma_buffer_t)
46 len buffer_out sizeof(magma_buffer_t)
156 len image_out sizeof(magma_buffer_t)
/hardware/google/gfxstream/host/magma/
DDecoder.h44 …er(magma_connection_t connection, uint64_t size, uint64_t* size_out, magma_buffer_t* buffer_out, m…
45 …virtual void magma_connection_release_buffer(magma_connection_t connection, magma_buffer_t buffer);
46 …tion_t connection, magma_handle_t buffer_handle, uint64_t* size_out, magma_buffer_t* buffer_out, m…
50 …_t magma_connection_perform_buffer_op(magma_connection_t connection, magma_buffer_t buffer, uint32…
51 …connection_map_buffer(magma_connection_t connection, uint64_t hw_va, magma_buffer_t buffer, uint64…
52 …agma_connection_unmap_buffer(magma_connection_t connection, uint64_t hw_va, magma_buffer_t buffer);
58 …virtual magma_status_t magma_buffer_clean_cache(magma_buffer_t buffer, uint64_t offset, uint64_t s…
59 …virtual magma_status_t magma_buffer_set_cache_policy(magma_buffer_t buffer, magma_cache_policy_t p…
60 …virtual magma_status_t magma_buffer_get_cache_policy(magma_buffer_t buffer, magma_cache_policy_t* …
61 virtual magma_status_t magma_buffer_set_name(magma_buffer_t buffer, const char* name);
[all …]
DIntelDrmDecoder.h37 …er(magma_connection_t connection, uint64_t size, uint64_t* size_out, magma_buffer_t* buffer_out, m…
38 …void magma_connection_release_buffer(magma_connection_t connection, magma_buffer_t buffer) overrid…
41 …magma_status_t magma_buffer_get_info(magma_buffer_t buffer, magma_buffer_info_t* info_out) overrid…
42 …magma_status_t magma_buffer_get_handle(magma_buffer_t buffer, magma_handle_t* handle_out) override;
43 …magma_status_t magma_buffer_export(magma_buffer_t buffer, magma_handle_t* buffer_handle_out) overr…
50 …connection_map_buffer(magma_connection_t connection, uint64_t hw_va, magma_buffer_t buffer, uint64…
51 …nnection_unmap_buffer(magma_connection_t connection, uint64_t hw_va, magma_buffer_t buffer) overri…
55 MonotonicMap<magma_buffer_t, DrmBuffer> mBuffers;
59 std::unordered_map<uint32_t, magma_buffer_t> mGemHandleToBuffer;
DDecoder.cpp137 magma_buffer_t* buffer_out, in magma_connection_create_buffer()
144 magma_buffer_t buffer) { in magma_connection_release_buffer()
151 magma_buffer_t* buffer_out, in magma_connection_import_buffer()
178 magma_buffer_t buffer, uint32_t options, in magma_connection_perform_buffer_op()
185 magma_buffer_t buffer, uint64_t offset, in magma_connection_map_buffer()
192 magma_buffer_t buffer) { in magma_connection_unmap_buffer()
230 magma_status_t Decoder::magma_buffer_clean_cache(magma_buffer_t buffer, uint64_t offset, in magma_buffer_clean_cache()
236 magma_status_t Decoder::magma_buffer_set_cache_policy(magma_buffer_t buffer, in magma_buffer_set_cache_policy()
242 magma_status_t Decoder::magma_buffer_get_cache_policy(magma_buffer_t buffer, in magma_buffer_get_cache_policy()
248 magma_status_t Decoder::magma_buffer_set_name(magma_buffer_t buffer, const char* name) { in magma_buffer_set_name()
[all …]
DIntelDrmDecoder.cpp346 magma_buffer_t* buffer_out, in magma_connection_create_buffer()
369 magma_buffer_t buffer) { in magma_connection_release_buffer()
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()
465 uint64_t hw_va, magma_buffer_t buffer, in magma_connection_map_buffer()
473 magma_buffer_t buffer) { in magma_connection_unmap_buffer()
/hardware/google/gfxstream/guest/magma/
Dmagma.cpp50 magma_status_t get_fd_for_buffer(magma_buffer_t buffer, int* fd_out);
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,
66 magma_buffer_t* buffer_out,
69 magma_buffer_t buffer);
89 std::unordered_map<magma_buffer_t, BufferInfo> buffer_info_;
147 magma_status_t MagmaClientContext::get_fd_for_buffer(magma_buffer_t buffer, int* fd_out) { in get_fd_for_buffer()
235 magma_status_t MagmaClientContext::magma_buffer_get_handle(void* self, magma_buffer_t buffer, in magma_buffer_get_handle()
262 magma_status_t MagmaClientContext::magma_buffer_export(void* self, magma_buffer_t buffer, in magma_buffer_export()
323 magma_buffer_t* buffer_out, in magma_connection_create_buffer()
[all …]