Home
last modified time | relevance | path

Searched refs:res_handle (Results 1 – 8 of 8) sorted by relevance

/hardware/google/gfxstream/host/include/gfxstream/
Dvirtio-gpu-gfxstream-renderer.h156 VG_EXPORT void stream_renderer_resource_unref(uint32_t res_handle);
182 VG_EXPORT int stream_renderer_resource_attach_iov(int res_handle, struct iovec* iov, int num_iovs);
183 VG_EXPORT void stream_renderer_resource_detach_iov(int res_handle, struct iovec** iov,
185 VG_EXPORT void stream_renderer_ctx_attach_resource(int ctx_id, int res_handle);
186 VG_EXPORT void stream_renderer_ctx_detach_resource(int ctx_id, int res_handle);
204 VG_EXPORT int stream_renderer_create_blob(uint32_t ctx_id, uint32_t res_handle,
209 VG_EXPORT int stream_renderer_export_blob(uint32_t res_handle,
212 VG_EXPORT int stream_renderer_resource_map(uint32_t res_handle, void** hvaOut, uint64_t* sizeOut);
213 VG_EXPORT int stream_renderer_resource_unmap(uint32_t res_handle);
225 VG_EXPORT int stream_renderer_resource_map_info(uint32_t res_handle, uint32_t* map_info);
[all …]
Dvirtio-gpu-gfxstream-renderer-unstable.h73 VG_EXPORT void stream_renderer_flush(uint32_t res_handle);
87 VG_EXPORT int stream_renderer_platform_import_resource(int res_handle, int res_info,
89 VG_EXPORT int stream_renderer_platform_resource_info(int res_handle, int* width, int* height,
106 VG_EXPORT int stream_renderer_resource_get_info(int res_handle,
/hardware/google/gfxstream/host/
Dvirtio-gpu-gfxstream-renderer.cpp1639 void flushResource(uint32_t res_handle) { in flushResource() argument
1642 res_handle, [this, taskId](std::shared_future<void> waitForGpu) { in flushResource()
1648 int createRingBlob(PipeResEntry& entry, uint32_t res_handle, in createRingBlob() argument
1652 std::string name = "shared-memory-" + std::to_string(res_handle); in createRingBlob()
1681 int createBlob(uint32_t ctx_id, uint32_t res_handle, in createBlob() argument
1684 stream_renderer_debug("ctx:%u res:%u blob-id:%u blob-size:%u", ctx_id, res_handle, in createBlob()
1693 int ret = createRingBlob(e, res_handle, create_blob, handle); in createBlob()
1741 mResources[res_handle] = e; in createBlob()
1745 int resourceMap(uint32_t res_handle, void** hvaOut, uint64_t* sizeOut) { in resourceMap() argument
1748 auto it = mResources.find(res_handle); in resourceMap()
[all …]
/hardware/google/gfxstream/guest/include/
Dvirtgpu_drm.h105 __u32 res_handle; /* returned by kernel */ member
112 __u32 res_handle; member
170 __u32 res_handle; member
/hardware/google/gfxstream/guest/platform/include/
Dvirtgpu_drm.h107 __u32 res_handle; /* returned by kernel */ member
114 __u32 res_handle; member
173 __u32 res_handle; member
/hardware/google/gfxstream/guest/mesa/include/drm-uapi/
Dvirtgpu_drm.h106 __u32 res_handle; /* returned by kernel */ member
113 __u32 res_handle; member
171 __u32 res_handle; member
/hardware/google/gfxstream/guest/platform/linux/
DLinuxVirtGpuDevice.cpp176 mDeviceHandle, create.bo_handle, create.res_handle, static_cast<uint64_t>(create.size)); in createResource()
195 create.res_handle, blobCreate.size); in createBlob()
217 return std::make_shared<LinuxVirtGpuResource>(mDeviceHandle, blobHandle, info.res_handle, in importBlob()
/hardware/google/gfxstream/guest/android/
DGrallocMinigbm.cpp159 return res_create.res_handle; in createColorBuffer()
193 return info.res_handle; in getHostHandle()