Home
last modified time | relevance | path

Searched refs:device (Results 126 - 150 of 2791) sorted by relevance

12345678910>>...112

/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
H A DStorageTextureValidationTests.cpp26 mDefaultVSModule = utils::CreateShaderModule(device, R"(
30 mDefaultFSModule = utils::CreateShaderModule(device, R"(
104 return device.CreateTexture(&descriptor); in CreateTexture()
119 wgpu::ShaderModule vsModule = utils::CreateShaderModule(device, R"( in TEST_F()
131 ASSERT_DEVICE_ERROR(device.CreateRenderPipeline(&descriptor)); in TEST_F()
136 wgpu::ShaderModule fsModule = utils::CreateShaderModule(device, R"( in TEST_F()
147 device.CreateRenderPipeline(&descriptor); in TEST_F()
156 wgpu::ShaderModule csModule = utils::CreateShaderModule(device, R"( in TEST_F()
168 device.CreateComputePipeline(&descriptor); in TEST_F()
176 ASSERT_DEVICE_ERROR(utils::CreateShaderModule(device, in TEST_F()
[all...]
H A DSamplerValidationTests.cpp27 { device.CreateSampler(); } in TEST_F()
31 ASSERT_DEVICE_ERROR(device.CreateSampler(&samplerDesc)); in TEST_F()
36 ASSERT_DEVICE_ERROR(device.CreateSampler(&samplerDesc)); in TEST_F()
41 device.CreateSampler(&samplerDesc); in TEST_F()
47 device.CreateSampler(&samplerDesc); in TEST_F()
59 device.CreateSampler(&kValidAnisoSamplerDesc); in TEST_F()
64 ASSERT_DEVICE_ERROR(device.CreateSampler(&samplerDesc)); in TEST_F()
71 ASSERT_DEVICE_ERROR(device.CreateSampler(&samplerDesc)); in TEST_F()
76 ASSERT_DEVICE_ERROR(device.CreateSampler(&samplerDesc)); in TEST_F()
81 ASSERT_DEVICE_ERROR(device in TEST_F()
[all...]
H A DRenderPipelineValidationTests.cpp29 vsModule = utils::CreateShaderModule(device, R"(
34 fsModule = utils::CreateShaderModule(device, R"(
39 fsModuleUint = utils::CreateShaderModule(device, R"(
66 device.CreateRenderPipeline(&descriptor); in TEST_F()
78 device.CreateRenderPipeline(&descriptor); in TEST_F()
88 device.CreateRenderPipeline(&descriptor); in TEST_F()
97 ASSERT_DEVICE_ERROR(device.CreateRenderPipeline(&descriptor)); in TEST_F()
107 device.CreateRenderPipeline(&descriptor); in TEST_F()
116 ASSERT_DEVICE_ERROR(device.CreateRenderPipeline(&descriptor)); in TEST_F()
131 device in TEST_F()
[all...]
/third_party/mesa3d/src/freedreno/vulkan/
H A Dtu_drm.c128 struct tu_device *device = container_of(vk_device, struct tu_device, vk); in tu_device_check_status() local
129 struct tu_physical_device *physical_device = device->physical_device; in tu_device_check_status()
134 return vk_device_set_lost(&device->vk, "error getting GPU fault count: %d", ret); in tu_device_check_status()
137 return vk_device_set_lost(&device->vk, "GPU faulted or hung"); in tu_device_check_status()
392 /* Our BO structs are stored in a sparse array in the physical device, in tu_bo_finish()
439 struct tu_device *device = container_of(vk_device, struct tu_device, vk); in tu_timeline_sync_init() local
443 assert(device->fd >= 0); in tu_timeline_sync_init()
445 int err = drmSyncobjCreate(device->fd, flags, &sync->syncobj); in tu_timeline_sync_init()
448 return vk_error(device, VK_ERROR_DEVICE_LOST); in tu_timeline_sync_init()
488 drm_syncobj_wait(struct tu_device *device, in drm_syncobj_wait() argument
623 tu_drm_device_init(struct tu_physical_device *device, struct tu_instance *instance, drmDevicePtr drm_device) tu_drm_device_init() argument
1195 tu_syncobj_to_fd(struct tu_device *device, struct vk_sync *sync) tu_syncobj_to_fd() argument
[all...]
H A Dtu_kgsl.c218 struct tu_physical_device *device = &instance->physical_devices[0]; in tu_enumerate_devices() local
228 "failed to open device %s", path); in tu_enumerate_devices()
242 mesa_logi("Found compatible device '%s'.", path); in tu_enumerate_devices()
244 device->instance = instance; in tu_enumerate_devices()
245 device->master_fd = -1; in tu_enumerate_devices()
246 device->local_fd = fd; in tu_enumerate_devices()
248 device->dev_id.gpu_id = in tu_enumerate_devices()
252 device->dev_id.chip_id = info.chip_id; in tu_enumerate_devices()
253 device->gmem_size = env_var_as_unsigned("TU_GMEM", info.gmem_sizebytes); in tu_enumerate_devices()
254 device in tu_enumerate_devices()
572 tu_CreateSemaphore(VkDevice device, const VkSemaphoreCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkSemaphore *pSemaphore) tu_CreateSemaphore() argument
614 tu_CreateFence(VkDevice device, const VkFenceCreateInfo *info, const VkAllocationCallbacks *pAllocator, VkFence *pFence) tu_CreateFence() argument
696 tu_syncobj_to_fd(struct tu_device *device, struct vk_sync *sync) tu_syncobj_to_fd() argument
727 struct tu_device *device = container_of(vk_device, struct tu_device, vk); tu_device_check_status() local
[all...]
/third_party/mesa3d/src/intel/vulkan/
H A Danv_allocator.c147 struct anv_device *device, in anv_state_table_init()
152 table->device = device; in anv_state_table_init()
160 return vk_error(device, VK_ERROR_INITIALIZATION_FAILED); in anv_state_table_init()
164 result = vk_error(device, VK_ERROR_INITIALIZATION_FAILED); in anv_state_table_init()
198 return vk_error(table->device, VK_ERROR_OUT_OF_HOST_MEMORY); in anv_state_table_expand_range()
202 return vk_error(table->device, VK_ERROR_OUT_OF_HOST_MEMORY); in anv_state_table_expand_range()
215 return vk_errorf(table->device, VK_ERROR_OUT_OF_HOST_MEMORY, in anv_state_table_expand_range()
370 struct anv_device *device, in anv_block_pool_init()
377 if (device in anv_block_pool_init()
146 anv_state_table_init(struct anv_state_table *table, struct anv_device *device, uint32_t initial_entries) anv_state_table_init() argument
369 anv_block_pool_init(struct anv_block_pool *pool, struct anv_device *device, const char *name, uint64_t start_address, uint32_t initial_size) anv_block_pool_init() argument
837 anv_state_pool_init(struct anv_state_pool *pool, struct anv_device *device, const char *name, uint64_t base_address, int32_t start_offset, uint32_t block_size) anv_state_pool_init() argument
1333 anv_bo_pool_init(struct anv_bo_pool *pool, struct anv_device *device, const char *name) anv_bo_pool_init() argument
1423 anv_scratch_pool_init(struct anv_device *device, struct anv_scratch_pool *pool) anv_scratch_pool_init() argument
1429 anv_scratch_pool_finish(struct anv_device *device, struct anv_scratch_pool *pool) anv_scratch_pool_finish() argument
1447 anv_scratch_pool_alloc(struct anv_device *device, struct anv_scratch_pool *pool, gl_shader_stage stage, unsigned per_thread_scratch) anv_scratch_pool_alloc() argument
1512 anv_scratch_pool_get_surf(struct anv_device *device, struct anv_scratch_pool *pool, unsigned per_thread_scratch) anv_scratch_pool_get_surf() argument
1556 anv_bo_cache_init(struct anv_bo_cache *cache, struct anv_device *device) anv_bo_cache_init() argument
1584 anv_bo_alloc_flags_to_bo_flags(struct anv_device *device, enum anv_bo_alloc_flags alloc_flags) anv_bo_alloc_flags_to_bo_flags() argument
1612 anv_bo_finish(struct anv_device *device, struct anv_bo *bo) anv_bo_finish() argument
1625 anv_bo_vma_alloc_or_close(struct anv_device *device, struct anv_bo *bo, enum anv_bo_alloc_flags alloc_flags, uint64_t explicit_address) anv_bo_vma_alloc_or_close() argument
1662 anv_device_alloc_bo(struct anv_device *device, const char *name, uint64_t size, enum anv_bo_alloc_flags alloc_flags, uint64_t explicit_address, struct anv_bo **bo_out) anv_device_alloc_bo() argument
1803 anv_device_map_bo(struct anv_device *device, struct anv_bo *bo, uint64_t offset, size_t size, uint32_t gem_flags, void **map_out) anv_device_map_bo() argument
1826 anv_device_unmap_bo(struct anv_device *device, struct anv_bo *bo, void *map, size_t map_size) anv_device_unmap_bo() argument
1836 anv_device_import_bo_from_host_ptr(struct anv_device *device, void *host_ptr, uint32_t size, enum anv_bo_alloc_flags alloc_flags, uint64_t client_address, struct anv_bo **bo_out) anv_device_import_bo_from_host_ptr() argument
1926 anv_device_import_bo(struct anv_device *device, int fd, enum anv_bo_alloc_flags alloc_flags, uint64_t client_address, struct anv_bo **bo_out) anv_device_import_bo() argument
2054 anv_device_export_bo(struct anv_device *device, struct anv_bo *bo, int *fd_out) anv_device_export_bo() argument
2075 anv_device_get_bo_tiling(struct anv_device *device, struct anv_bo *bo, enum isl_tiling *tiling_out) anv_device_get_bo_tiling() argument
2091 anv_device_set_bo_tiling(struct anv_device *device, struct anv_bo *bo, uint32_t row_pitch_B, enum isl_tiling tiling) anv_device_set_bo_tiling() argument
2125 anv_device_release_bo(struct anv_device *device, struct anv_bo *bo) anv_device_release_bo() argument
[all...]
H A Danv_gem_stubs.c31 anv_gem_create(struct anv_device *device, uint64_t size) in anv_gem_create() argument
43 anv_gem_close(struct anv_device *device, uint32_t gem_handle) in anv_gem_close() argument
49 anv_gem_create_regions(struct anv_device *device, uint64_t anv_bo_size, in anv_gem_create_regions() argument
57 anv_gem_mmap(struct anv_device *device, uint32_t gem_handle, in anv_gem_mmap() argument
71 anv_gem_munmap(struct anv_device *device, void *p, uint64_t size) in anv_gem_munmap() argument
77 anv_gem_userptr(struct anv_device *device, void *mem, size_t size) in anv_gem_userptr() argument
89 anv_gem_busy(struct anv_device *device, uint32_t gem_handle) in anv_gem_busy() argument
95 anv_gem_wait(struct anv_device *device, uint32_t gem_handle, int64_t *timeout_ns) in anv_gem_wait() argument
101 anv_gem_execbuffer(struct anv_device *device, in anv_gem_execbuffer() argument
108 anv_gem_set_tiling(struct anv_device *device, in anv_gem_set_tiling() argument
115 anv_gem_get_tiling(struct anv_device *device, uint32_t gem_handle) anv_gem_get_tiling() argument
121 anv_gem_set_caching(struct anv_device *device, uint32_t gem_handle, uint32_t caching) anv_gem_set_caching() argument
128 anv_gem_set_domain(struct anv_device *device, uint32_t gem_handle, uint32_t read_domains, uint32_t write_domain) anv_gem_set_domain() argument
141 anv_gem_create_context(struct anv_device *device) anv_gem_create_context() argument
147 anv_gem_destroy_context(struct anv_device *device, int context) anv_gem_destroy_context() argument
172 anv_gem_handle_to_fd(struct anv_device *device, uint32_t gem_handle) anv_gem_handle_to_fd() argument
178 anv_gem_fd_to_handle(struct anv_device *device, int fd) anv_gem_fd_to_handle() argument
[all...]
H A Danv_image.c94 image_binding_grow(const struct anv_device *device, in image_binding_grow() argument
135 return vk_errorf(device, in image_binding_grow()
146 return vk_errorf(device, in image_binding_grow()
156 return vk_errorf(device, VK_ERROR_UNKNOWN, in image_binding_grow()
159 return vk_errorf(device, in image_binding_grow()
309 add_surface(struct anv_device *device, in add_surface() argument
318 return image_binding_grow(device, image, binding, offset, in add_surface()
644 add_aux_state_tracking_buffer(struct anv_device *device, in add_aux_state_tracking_buffer() argument
648 assert(image && device); in add_aux_state_tracking_buffer()
653 const unsigned clear_color_state_size = device in add_aux_state_tracking_buffer()
701 add_aux_surface_if_supported(struct anv_device *device, struct anv_image *image, uint32_t plane, struct anv_format_plane plane_format, const VkImageFormatListCreateInfo *fmt_list, uint64_t offset, uint32_t stride, isl_surf_usage_flags_t isl_extra_usage_flags) add_aux_surface_if_supported() argument
885 add_shadow_surface(struct anv_device *device, struct anv_image *image, uint32_t plane, struct anv_format_plane plane_format, uint32_t stride, VkImageUsageFlags vk_plane_usage) add_shadow_surface() argument
927 add_primary_surface(struct anv_device *device, struct anv_image *image, uint32_t plane, struct anv_format_plane plane_format, uint64_t offset, uint32_t stride, isl_tiling_flags_t isl_tiling_flags, isl_surf_usage_flags_t isl_usage) add_primary_surface() argument
1027 check_memory_bindings(const struct anv_device *device, const struct anv_image *image) check_memory_bindings() argument
1141 check_drm_format_mod(const struct anv_device *device, const struct anv_image *image) check_drm_format_mod() argument
1200 add_all_surfaces_implicit_layout( struct anv_device *device, struct anv_image *image, const VkImageFormatListCreateInfo *format_list_info, uint32_t stride, isl_tiling_flags_t isl_tiling_flags, isl_surf_usage_flags_t isl_extra_usage_flags) add_all_surfaces_implicit_layout() argument
1264 add_all_surfaces_explicit_layout( struct anv_device *device, struct anv_image *image, const VkImageFormatListCreateInfo *format_list_info, const VkImageDrmFormatModifierExplicitCreateInfoEXT *drm_info, isl_tiling_flags_t isl_tiling_flags, isl_surf_usage_flags_t isl_extra_usage_flags) add_all_surfaces_explicit_layout() argument
1362 choose_drm_format_mod(const struct anv_physical_device *device, uint32_t modifier_count, const uint64_t *modifiers) choose_drm_format_mod() argument
1402 alloc_private_binding(struct anv_device *device, struct anv_image *image, const VkImageCreateInfo *create_info) alloc_private_binding() argument
1426 anv_image_init(struct anv_device *device, struct anv_image *image, const struct anv_image_create_info *create_info) anv_image_init() argument
1533 struct anv_device *device = anv_image_finish() local
1561 anv_image_init_from_create_info(struct anv_device *device, struct anv_image *image, const VkImageCreateInfo *pCreateInfo) anv_image_init_from_create_info() argument
1651 resolve_ahw_image(struct anv_device *device, struct anv_image *image, struct anv_device_memory *mem) resolve_ahw_image() argument
1705 anv_image_get_memory_requirements(struct anv_device *device, struct anv_image *image, VkImageAspectFlags aspects, VkMemoryRequirements2 *pMemoryRequirements) anv_image_get_memory_requirements() argument
1822 anv_GetImageSparseMemoryRequirements( VkDevice device, VkImage image, uint32_t* pSparseMemoryRequirementCount, VkSparseImageMemoryRequirements* pSparseMemoryRequirements) anv_GetImageSparseMemoryRequirements() argument
1831 anv_GetImageSparseMemoryRequirements2( VkDevice device, const VkImageSparseMemoryRequirementsInfo2* pInfo, uint32_t* pSparseMemoryRequirementCount, VkSparseImageMemoryRequirements2* pSparseMemoryRequirements) anv_GetImageSparseMemoryRequirements2() argument
1840 anv_GetDeviceImageSparseMemoryRequirementsKHR( VkDevice device, const VkDeviceImageMemoryRequirements* pInfo, uint32_t* pSparseMemoryRequirementCount, VkSparseImageMemoryRequirements2* pSparseMemoryRequirements) anv_GetDeviceImageSparseMemoryRequirementsKHR() argument
1995 anv_GetImageSubresourceLayout( VkDevice device, VkImage _image, const VkImageSubresource* subresource, VkSubresourceLayout* layout) anv_GetImageSubresourceLayout() argument
2443 alloc_surface_state(struct anv_device *device) alloc_surface_state() argument
2465 anv_image_fill_surface_state(struct anv_device *device, const struct anv_image *image, VkImageAspectFlagBits aspect, const struct isl_view *view_in, isl_surf_usage_flags_t view_usage, enum isl_aux_usage aux_usage, const union isl_color_value *clear_color, enum anv_image_view_state_flags flags, struct anv_surface_state *state_inout, struct brw_image_param *image_param_out) anv_image_fill_surface_state() argument
[all...]
H A Danv_acceleration_structure.c28 VkDevice device, in anv_GetAccelerationStructureBuildSizesKHR()
75 ANV_FROM_HANDLE(anv_device, device, _device); in anv_CreateAccelerationStructureKHR()
79 accel = vk_zalloc2(&device->vk.alloc, pAllocator, sizeof(*accel), 8, in anv_CreateAccelerationStructureKHR()
82 return vk_error(device, VK_ERROR_OUT_OF_HOST_MEMORY); in anv_CreateAccelerationStructureKHR()
84 vk_object_base_init(&device->vk, &accel->base, in anv_CreateAccelerationStructureKHR()
101 ANV_FROM_HANDLE(anv_device, device, _device); in anv_DestroyAccelerationStructureKHR()
108 vk_free2(&device->vk.alloc, pAllocator, accel); in anv_DestroyAccelerationStructureKHR()
113 VkDevice device, in anv_GetAccelerationStructureDeviceAddressKHR()
127 VkDevice device, in anv_GetDeviceAccelerationStructureCompatibilityKHR()
142 ANV_FROM_HANDLE(anv_device, device, _devic in anv_BuildAccelerationStructuresKHR()
27 anv_GetAccelerationStructureBuildSizesKHR( VkDevice device, VkAccelerationStructureBuildTypeKHR buildType, const VkAccelerationStructureBuildGeometryInfoKHR* pBuildInfo, const uint32_t* pMaxPrimitiveCounts, VkAccelerationStructureBuildSizesInfoKHR* pSizeInfo) anv_GetAccelerationStructureBuildSizesKHR() argument
112 anv_GetAccelerationStructureDeviceAddressKHR( VkDevice device, const VkAccelerationStructureDeviceAddressInfoKHR* pInfo) anv_GetAccelerationStructureDeviceAddressKHR() argument
126 anv_GetDeviceAccelerationStructureCompatibilityKHR( VkDevice device, const VkAccelerationStructureVersionInfoKHR* pVersionInfo, VkAccelerationStructureCompatibilityKHR* pCompatibility) anv_GetDeviceAccelerationStructureCompatibilityKHR() argument
[all...]
/third_party/mesa3d/src/amd/vulkan/
H A Dradv_meta.c421 struct radv_device *device = _device; in meta_alloc() local
422 return device->vk.alloc.pfnAllocation(device->vk.alloc.pUserData, size, alignment, in meta_alloc()
430 struct radv_device *device = _device; in meta_realloc() local
431 return device->vk.alloc.pfnReallocation(device->vk.alloc.pUserData, original, size, alignment, in meta_realloc()
438 struct radv_device *device = _device; in meta_free() local
439 device->vk.alloc.pfnFree(device->vk.alloc.pUserData, data); in meta_free()
473 radv_load_meta_pipeline(struct radv_device *device) in radv_load_meta_pipeline() argument
506 radv_store_meta_pipeline(struct radv_device *device) radv_store_meta_pipeline() argument
549 radv_device_init_meta(struct radv_device *device) radv_device_init_meta() argument
682 radv_device_finish_meta(struct radv_device *device) radv_device_finish_meta() argument
[all...]
H A Dradv_meta_resolve_fs.c67 create_layout(struct radv_device *device) in create_layout() argument
85 result = radv_CreateDescriptorSetLayout(radv_device_to_handle(device), &ds_create_info, in create_layout()
86 &device->meta_state.alloc, in create_layout()
87 &device->meta_state.resolve_fragment.ds_layout); in create_layout()
94 .pSetLayouts = &device->meta_state.resolve_fragment.ds_layout, in create_layout()
99 result = radv_CreatePipelineLayout(radv_device_to_handle(device), &pl_create_info, in create_layout()
100 &device->meta_state.alloc, in create_layout()
101 &device->meta_state.resolve_fragment.p_layout); in create_layout()
116 create_resolve_pipeline(struct radv_device *device, int samples_log2, VkFormat format) in create_resolve_pipeline() argument
118 mtx_lock(&device in create_resolve_pipeline()
348 create_depth_stencil_resolve_pipeline(struct radv_device *device, int samples_log2, int index, VkResolveModeFlagBits resolve_mode) create_depth_stencil_resolve_pipeline() argument
522 radv_device_init_meta_resolve_fragment_state(struct radv_device *device, bool on_demand) radv_device_init_meta_resolve_fragment_state() argument
576 radv_device_finish_meta_resolve_fragment_state(struct radv_device *device) radv_device_finish_meta_resolve_fragment_state() argument
616 struct radv_device *device = cmd_buffer->device; radv_get_resolve_pipeline() local
641 struct radv_device *device = cmd_buffer->device; emit_resolve() local
705 struct radv_device *device = cmd_buffer->device; emit_depth_stencil_resolve() local
[all...]
/third_party/mesa3d/src/gallium/frontends/vdpau/
H A Dpresentation.c40 vlVdpPresentationQueueCreate(VdpDevice device, in vlVdpPresentationQueueCreate() argument
50 vlVdpDevice *dev = vlGetDataHTAB(device); in vlVdpPresentationQueueCreate()
58 if (dev != pqt->device) in vlVdpPresentationQueueCreate()
65 DeviceReference(&pq->device, dev); in vlVdpPresentationQueueCreate()
86 DeviceReference(&pq->device, NULL); in vlVdpPresentationQueueCreate()
103 mtx_lock(&pq->device->mutex); in vlVdpPresentationQueueDestroy()
105 mtx_unlock(&pq->device->mutex); in vlVdpPresentationQueueDestroy()
108 DeviceReference(&pq->device, NULL); in vlVdpPresentationQueueDestroy()
136 mtx_lock(&pq->device->mutex); in vlVdpPresentationQueueSetBackgroundColor()
138 mtx_unlock(&pq->device in vlVdpPresentationQueueSetBackgroundColor()
[all...]
/third_party/mesa3d/src/broadcom/vulkan/
H A Dv3dv_queue.c36 v3dv_clif_dump(struct v3dv_device *device, in v3dv_clif_dump() argument
45 struct clif_dump *clif = clif_dump_init(&device->devinfo, in v3dv_clif_dump()
56 bool ok = v3dv_bo_map(device, bo, bo->size); in v3dv_clif_dump()
77 if (queue->device->pdevice->caps.multisync) { in queue_wait_idle()
78 int ret = drmSyncobjWait(queue->device->pdevice->render_fd, in queue_wait_idle()
98 VkResult result = vk_sync_wait_many(&queue->device->vk, in queue_wait_idle()
110 int ret = drmSyncobjWait(queue->device->pdevice->render_fd, in queue_wait_idle()
138 v3dv_bo_wait(job->device, info->pool->bo, PIPE_TIMEOUT_INFINITE); in handle_reset_query_cpu_job()
156 VkResult result = vk_sync_wait_many(&job->device->vk, wait_count, waits, in handle_reset_query_cpu_job()
163 v3dv_reset_query_pools(job->device, inf in handle_reset_query_cpu_job()
468 struct v3dv_device *device = queue->device; process_waits() local
530 struct v3dv_device *device = queue->device; process_signals() local
570 multisync_free(struct v3dv_device *device, struct drm_v3d_multi_sync *ms) multisync_free() argument
584 struct v3dv_device *device = queue->device; set_in_syncs() local
648 struct v3dv_device *device = queue->device; set_out_syncs() local
692 set_multisync(struct drm_v3d_multi_sync *ms, struct v3dv_submit_sync_info *sync_info, struct drm_v3d_extension *next, struct v3dv_device *device, struct v3dv_job *job, enum v3dv_queue_type queue_sync, enum v3d_queue wait_stage, bool signal_syncs) set_multisync() argument
742 struct v3dv_device *device = queue->device; handle_cl_job() local
879 struct v3dv_device *device = queue->device; handle_tfu_job() local
922 struct v3dv_device *device = queue->device; handle_csd_job() local
1032 struct v3dv_device *device = queue->device; queue_create_noop_job() local
[all...]
/third_party/skia/third_party/externals/dawn/src/utils/
H A DBackendBinding.cpp28 BackendBinding* CreateD3D12Binding(GLFWwindow* window, WGPUDevice device);
31 BackendBinding* CreateMetalBinding(GLFWwindow* window, WGPUDevice device);
34 BackendBinding* CreateNullBinding(GLFWwindow* window, WGPUDevice device);
37 BackendBinding* CreateOpenGLBinding(GLFWwindow* window, WGPUDevice device);
40 BackendBinding* CreateVulkanBinding(GLFWwindow* window, WGPUDevice device);
43 BackendBinding::BackendBinding(GLFWwindow* window, WGPUDevice device) in BackendBinding() argument
44 : mWindow(window), mDevice(device) { in BackendBinding()
72 BackendBinding* CreateBinding(wgpu::BackendType type, GLFWwindow* window, WGPUDevice device) { in CreateBinding() argument
76 return CreateD3D12Binding(window, device); in CreateBinding()
81 return CreateMetalBinding(window, device); in CreateBinding()
[all...]
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
H A DvkPlatform.cpp149 VkDevice device, in DeviceDriver()
156 #define GET_PROC_ADDR(NAME) m_vk.getDeviceProcAddr(device, NAME) in DeviceDriver()
166 VkResult DeviceDriver::createShaderModule (VkDevice device, in createShaderModule() argument
172 DE_UNREF(device); in createShaderModule()
184 VkDevice device, in DeviceDriverSC()
190 : DeviceDriver(platformInterface, instance, device, usedApiVersion) in DeviceDriverSC()
201 m_resourceInterface->initDevice(*this, device); in DeviceDriverSC()
208 void DeviceDriverSC::destroyDeviceHandler (VkDevice device, in destroyDeviceHandler() argument
212 m_resourceInterface->unregisterDeviceFeatures(device); in destroyDeviceHandler()
215 VkResult DeviceDriverSC::createDescriptorSetLayoutHandlerNorm (VkDevice device, in createDescriptorSetLayoutHandlerNorm() argument
147 DeviceDriver(const PlatformInterface& platformInterface, VkInstance instance, VkDevice device, uint32_t usedApiVersion) DeviceDriver() argument
182 DeviceDriverSC(const PlatformInterface& platformInterface, VkInstance instance, VkDevice device, const tcu::CommandLine& cmdLine, de::SharedPtr<vk::ResourceInterface> resourceInterface, const VkPhysicalDeviceVulkanSC10Properties& physicalDeviceVulkanSC10Properties, const VkPhysicalDeviceProperties& physicalDeviceProperties, const uint32_t usedApiVersion) DeviceDriverSC() argument
226 createDescriptorSetLayoutHandlerStat(VkDevice device, const VkDescriptorSetLayoutCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkDescriptorSetLayout* pSetLayout) const createDescriptorSetLayoutHandlerStat() argument
253 destroyDescriptorSetLayoutHandler(VkDevice device, VkDescriptorSetLayout descriptorSetLayout, const VkAllocationCallbacks* pAllocator) const destroyDescriptorSetLayoutHandler() argument
270 allocateDescriptorSetsHandlerStat(VkDevice device, const VkDescriptorSetAllocateInfo* pAllocateInfo, VkDescriptorSet* pDescriptorSets) const allocateDescriptorSetsHandlerStat() argument
284 freeDescriptorSetsHandlerStat(VkDevice device, VkDescriptorPool descriptorPool, uint32_t descriptorSetCount, const VkDescriptorSet* pDescriptorSets) const freeDescriptorSetsHandlerStat() argument
299 resetDescriptorPoolHandlerStat(VkDevice device, VkDescriptorPool descriptorPool, VkDescriptorPoolResetFlags flags) const resetDescriptorPoolHandlerStat() argument
321 createImageViewHandler(VkDevice device, const VkImageViewCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkImageView* pView) const createImageViewHandler() argument
359 destroyImageViewHandler(VkDevice device, VkImageView imageView, const VkAllocationCallbacks* pAllocator) const destroyImageViewHandler() argument
377 createQueryPoolHandler(VkDevice device, const VkQueryPoolCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkQueryPool* pQueryPool) const createQueryPoolHandler() argument
405 createPipelineLayoutHandlerNorm(VkDevice device, const VkPipelineLayoutCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkPipelineLayout* pPipelineLayout) const createPipelineLayoutHandlerNorm() argument
416 createPipelineLayoutHandlerStat(VkDevice device, const VkPipelineLayoutCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkPipelineLayout* pPipelineLayout) const createPipelineLayoutHandlerStat() argument
428 createGraphicsPipelinesHandlerNorm(VkDevice device, VkPipelineCache pipelineCache, deUint32 createInfoCount, const VkGraphicsPipelineCreateInfo* pCreateInfos, const VkAllocationCallbacks* pAllocator, VkPipeline* pPipelines) const createGraphicsPipelinesHandlerNorm() argument
439 createGraphicsPipelinesHandlerStat(VkDevice device, VkPipelineCache pipelineCache, deUint32 createInfoCount, const VkGraphicsPipelineCreateInfo* pCreateInfos, const VkAllocationCallbacks* pAllocator, VkPipeline* pPipelines) const createGraphicsPipelinesHandlerStat() argument
461 createComputePipelinesHandlerNorm(VkDevice device, VkPipelineCache pipelineCache, deUint32 createInfoCount, const VkComputePipelineCreateInfo* pCreateInfos, const VkAllocationCallbacks* pAllocator, VkPipeline* pPipelines) const createComputePipelinesHandlerNorm() argument
472 createComputePipelinesHandlerStat(VkDevice device, VkPipelineCache pipelineCache, deUint32 createInfoCount, const VkComputePipelineCreateInfo* pCreateInfos, const VkAllocationCallbacks* pAllocator, VkPipeline* pPipelines) const createComputePipelinesHandlerStat() argument
494 destroyPipelineHandler(VkDevice device, VkPipeline pipeline, const VkAllocationCallbacks* pAllocator) const destroyPipelineHandler() argument
520 createFramebufferHandlerNorm(VkDevice device, const VkFramebufferCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkFramebuffer* pFramebuffer) const createFramebufferHandlerNorm() argument
531 createFramebufferHandlerStat(VkDevice device, const VkFramebufferCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkFramebuffer* pFramebuffer) const createFramebufferHandlerStat() argument
546 createRenderPassHandlerNorm(VkDevice device, const VkRenderPassCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkRenderPass* pRenderPass) const createRenderPassHandlerNorm() argument
562 createRenderPassHandlerStat(VkDevice device, const VkRenderPassCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkRenderPass* pRenderPass) const createRenderPassHandlerStat() argument
586 createRenderPass2HandlerNorm(VkDevice device, const VkRenderPassCreateInfo2* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkRenderPass* pRenderPass) const createRenderPass2HandlerNorm() argument
602 createRenderPass2HandlerStat(VkDevice device, const VkRenderPassCreateInfo2* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkRenderPass* pRenderPass) const createRenderPass2HandlerStat() argument
626 destroyRenderPassHandler(VkDevice device, VkRenderPass renderPass, const VkAllocationCallbacks* pAllocator) const destroyRenderPassHandler() argument
654 createSamplerHandlerNorm(VkDevice device, const VkSamplerCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSampler* pSampler) const createSamplerHandlerNorm() argument
665 createSamplerHandlerStat(VkDevice device, const VkSamplerCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSampler* pSampler) const createSamplerHandlerStat() argument
677 createSamplerYcbcrConversionHandlerNorm(VkDevice device, const VkSamplerYcbcrConversionCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSamplerYcbcrConversion* pYcbcrConversion) const createSamplerYcbcrConversionHandlerNorm() argument
688 createSamplerYcbcrConversionHandlerStat(VkDevice device, const VkSamplerYcbcrConversionCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSamplerYcbcrConversion* pYcbcrConversion) const createSamplerYcbcrConversionHandlerStat() argument
700 getDescriptorSetLayoutSupportHandler(VkDevice device, const VkDescriptorSetLayoutCreateInfo* pCreateInfo, VkDescriptorSetLayoutSupport* pSupport) const getDescriptorSetLayoutSupportHandler() argument
712 createShaderModule(VkDevice device, const VkShaderModuleCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkShaderModule* pShaderModule) const createShaderModule() argument
721 createCommandPoolHandlerNorm(VkDevice device, const VkCommandPoolCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkCommandPool* pCommandPool) const createCommandPoolHandlerNorm() argument
753 resetCommandPoolHandlerNorm(VkDevice device, VkCommandPool commandPool, VkCommandPoolResetFlags flags) const resetCommandPoolHandlerNorm() argument
760 createCommandPoolHandlerStat(VkDevice device, const VkCommandPoolCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkCommandPool* pCommandPool) const createCommandPoolHandlerStat() argument
783 resetCommandPoolHandlerStat(VkDevice device, VkCommandPool commandPool, VkCommandPoolResetFlags flags) const resetCommandPoolHandlerStat() argument
790 allocateCommandBuffersHandler(VkDevice device, const VkCommandBufferAllocateInfo* pAllocateInfo, VkCommandBuffer* pCommandBuffers) const allocateCommandBuffersHandler() argument
801 freeCommandBuffersHandler(VkDevice device, VkCommandPool commandPool, deUint32 commandBufferCount, const VkCommandBuffer* pCommandBuffers) const freeCommandBuffersHandler() argument
[all...]
/third_party/mesa3d/src/gallium/frontends/nine/
H A Dbuffer9.c64 info->screen = pParams->device->screen; in NineBuffer9_ctor()
75 * If the device is full software vertex processing, in NineBuffer9_ctor()
87 pParams->device->params.BehaviorFlags & D3DCREATE_SOFTWARE_VERTEXPROCESSING) { in NineBuffer9_ctor()
141 pParams->device->buffer_upload; in NineBuffer9_ctor()
177 list_add(&This->managed.list2, &pParams->device->managed_buffers); in NineBuffer9_ctor()
206 nine_upload_release_buffer(This->base.base.device->buffer_upload, This->buf); in NineBuffer9_dtor()
222 struct NineDevice9 *device, in NineBuffer9_RebindIfRequired()
230 for (i = 0; i < device->caps.MaxStreams; i++) { in NineBuffer9_RebindIfRequired()
231 if (device->state.stream[i] == (struct NineVertexBuffer9 *)This) in NineBuffer9_RebindIfRequired()
232 nine_context_set_stream_source_apply(device, in NineBuffer9_RebindIfRequired()
221 NineBuffer9_RebindIfRequired( struct NineBuffer9 *This, struct NineDevice9 *device, struct pipe_resource *resource, unsigned offset ) NineBuffer9_RebindIfRequired() argument
250 struct NineDevice9 *device = This->base.base.device; NineBuffer9_Lock() local
505 struct NineDevice9 *device = This->base.base.device; NineBuffer9_Unlock() local
568 struct NineDevice9 *device = This->base.base.device; NineBuffer9_Upload() local
[all...]
H A Dnine_state.c68 struct NineDevice9 *device; member
109 if (instr->func(ctx->device, instr)) { in nine_csmt_worker()
164 ctx->device = This; in nine_csmt_create()
189 nine_csmt_process( struct NineDevice9 *device ) in nine_csmt_process()
192 struct csmt_context *ctx = device->csmt_ctx; in nine_csmt_process()
194 if (!device->csmt_active) in nine_csmt_process()
200 DBG("device=%p\n", device); in nine_csmt_process()
214 nine_csmt_flush( struct NineDevice9* device ) in nine_csmt_flush()
216 if (!device in nine_csmt_flush()
227 nine_csmt_destroy( struct NineDevice9 *device, struct csmt_context *ctx ) nine_csmt_destroy() argument
345 check_multisample(struct NineDevice9 *device) check_multisample() argument
367 prepare_blend(struct NineDevice9 *device) prepare_blend() argument
374 prepare_dsa(struct NineDevice9 *device) prepare_dsa() argument
381 prepare_rasterizer(struct NineDevice9 *device) prepare_rasterizer() argument
388 prepare_vs_constants_userbuf_swvp(struct NineDevice9 *device) prepare_vs_constants_userbuf_swvp() argument
459 prepare_vs_constants_userbuf(struct NineDevice9 *device) prepare_vs_constants_userbuf() argument
552 prepare_ps_constants_userbuf(struct NineDevice9 *device) prepare_ps_constants_userbuf() argument
640 prepare_vs(struct NineDevice9 *device, uint8_t shader_changed) prepare_vs() argument
677 prepare_ps(struct NineDevice9 *device, uint8_t shader_changed) prepare_ps() argument
712 update_framebuffer(struct NineDevice9 *device, bool is_clear) update_framebuffer() argument
782 update_viewport(struct NineDevice9 *device) update_viewport() argument
835 update_vertex_elements(struct NineDevice9 *device) update_vertex_elements() argument
920 update_vertex_buffers(struct NineDevice9 *device) update_vertex_buffers() argument
989 update_textures_and_samplers(struct NineDevice9 *device) update_textures_and_samplers() argument
1094 commit_blend(struct NineDevice9 *device) commit_blend() argument
1102 commit_dsa(struct NineDevice9 *device) commit_dsa() argument
1110 commit_scissor(struct NineDevice9 *device) commit_scissor() argument
1119 commit_rasterizer(struct NineDevice9 *device) commit_rasterizer() argument
1127 commit_vs_constants(struct NineDevice9 *device) commit_vs_constants() argument
1147 commit_ps_constants(struct NineDevice9 *device) commit_ps_constants() argument
1159 commit_vs(struct NineDevice9 *device) commit_vs() argument
1168 commit_ps(struct NineDevice9 *device) commit_ps() argument
1211 nine_update_state(struct NineDevice9 *device) nine_update_state() argument
1491 nine_context_set_texture(struct NineDevice9 *device, DWORD Stage, struct NineBaseTexture9 *tex) nine_context_set_texture() argument
1574 nine_context_set_stream_source(struct NineDevice9 *device, UINT StreamNumber, struct NineVertexBuffer9 *pVBuf9, UINT OffsetInBytes, UINT Stride) nine_context_set_stream_source() argument
1625 nine_context_set_indices(struct NineDevice9 *device, struct NineIndexBuffer9 *idxbuf) nine_context_set_indices() argument
1934 nine_context_light_enable_stateblock(struct NineDevice9 *device, const uint16_t active_light[NINE_MAX_LIGHTS_ACTIVE], unsigned int num_lights_active) nine_context_light_enable_stateblock() argument
2026 nine_context_apply_stateblock(struct NineDevice9 *device, const struct nine_state *src) nine_context_apply_stateblock() argument
2202 nine_update_state_framebuffer_clear(struct NineDevice9 *device) nine_update_state_framebuffer_clear() argument
2611 nine_context_create_query(struct NineDevice9 *device, unsigned query_type) nine_context_create_query() argument
2647 nine_context_get_query_result(struct NineDevice9 *device, struct pipe_query *query, unsigned *counter, boolean flush, boolean wait, union pipe_query_result *result) nine_context_get_query_result() argument
2840 nine_state_restore_non_cso(struct NineDevice9 *device) nine_state_restore_non_cso() argument
2853 nine_state_set_defaults(struct NineDevice9 *device, const D3DCAPS9 *caps, boolean is_reset) nine_state_set_defaults() argument
2930 nine_device_state_clear(struct NineDevice9 *device) nine_device_state_clear() argument
2954 nine_context_clear(struct NineDevice9 *device) nine_context_clear() argument
3008 nine_context_update_state(struct NineDevice9 *device) nine_context_update_state() argument
3014 nine_state_init_sw(struct NineDevice9 *device) nine_state_init_sw() argument
3043 update_vertex_elements_sw(struct NineDevice9 *device) update_vertex_elements_sw() argument
3119 update_vertex_buffers_sw(struct NineDevice9 *device, int start_vertice, int num_vertices) update_vertex_buffers_sw() argument
3177 update_vs_constants_sw(struct NineDevice9 *device) update_vs_constants_sw() argument
3283 nine_state_prepare_draw_sw(struct NineDevice9 *device, struct NineVertexDeclaration9 *vdecl_out, int start_vertice, int num_vertices, struct pipe_stream_output_info *so) nine_state_prepare_draw_sw() argument
3302 nine_state_after_draw_sw(struct NineDevice9 *device) nine_state_after_draw_sw() argument
3319 nine_state_destroy_sw(struct NineDevice9 *device) nine_state_destroy_sw() argument
[all...]
/third_party/mesa3d/src/amd/vulkan/radix_sort/
H A Dradv_radix_sort.c86 radv_create_radix_sort_u64(VkDevice device, VkAllocationCallbacks const *ac, VkPipelineCache pc) in radv_create_radix_sort_u64() argument
97 return radix_sort_vk_create(device, ac, pc, spv, spv_sizes, target_config); in radv_create_radix_sort_u64()
104 RADV_FROM_HANDLE(radv_device, device, _device); in vkCreateShaderModule()
105 return device->vk.dispatch_table.CreateShaderModule(_device, pCreateInfo, pAllocator, in vkCreateShaderModule()
113 RADV_FROM_HANDLE(radv_device, device, _device); in vkDestroyShaderModule()
114 device->vk.dispatch_table.DestroyShaderModule(_device, shaderModule, pAllocator); in vkDestroyShaderModule()
121 RADV_FROM_HANDLE(radv_device, device, _device); in vkCreatePipelineLayout()
122 return device->vk.dispatch_table.CreatePipelineLayout(_device, pCreateInfo, pAllocator, in vkCreatePipelineLayout()
130 RADV_FROM_HANDLE(radv_device, device, _device); in vkDestroyPipelineLayout()
131 device in vkDestroyPipelineLayout()
[all...]
/third_party/libinput/test/
H A Dtest-pad.c43 struct libinput_device *device = dev->libinput_device; in START_TEST() local
45 ck_assert(libinput_device_has_capability(device, in START_TEST()
54 struct libinput_device *device = dev->libinput_device; in START_TEST() local
56 ck_assert(!libinput_device_has_capability(device, in START_TEST()
130 struct libinput_device *device = dev->libinput_device; in START_TEST() local
145 nb = libinput_device_tablet_pad_get_num_buttons(device); in START_TEST()
158 struct libinput_device *device = dev->libinput_device; in START_TEST() local
172 ck_assert_int_eq(libinput_device_tablet_pad_get_num_buttons(device), in START_TEST()
392 struct libinput_device *device = dev->libinput_device; in START_TEST() local
395 nrings = libinput_device_tablet_pad_get_num_rings(device); in START_TEST()
492 struct libinput_device *device = dev->libinput_device; START_TEST() local
585 struct libinput_device *device = dev->libinput_device; START_TEST() local
618 struct libinput_device *device = dev->libinput_device; START_TEST() local
702 struct libinput_device *device = dev->libinput_device; START_TEST() local
727 struct libinput_device *device = dev->libinput_device; START_TEST() local
748 struct libinput_device *device = dev->libinput_device; START_TEST() local
765 struct libinput_device *device = dev->libinput_device; START_TEST() local
786 struct libinput_device *device = dev->libinput_device; START_TEST() local
845 struct libinput_device *device = dev->libinput_device; START_TEST() local
902 struct libinput_device *device = dev->libinput_device; START_TEST() local
[all...]
H A Dtest-pointer.c100 disable_button_scrolling(struct litest_device *device) in disable_button_scrolling() argument
102 struct libinput_device *dev = device->libinput_device; in disable_button_scrolling()
278 /* device is now on some x/y value */ in START_TEST()
433 /* Enable all tested buttons on the device */ in START_TEST()
457 /* "Disconnect" device */ in START_TEST()
460 /* Mark all released buttons until device is removed */ in START_TEST()
501 struct libinput_device *device = dev->libinput_device; in START_TEST() local
504 ck_assert(!libinput_device_has_capability(device, in START_TEST()
509 libinput_device_pointer_has_button(device, code)); in START_TEST()
1012 struct libinput_device *device in START_TEST() local
1074 struct libinput_device *device = dev->libinput_device; START_TEST() local
1436 struct libinput_device *device = dev->libinput_device; START_TEST() local
1457 struct litest_device *device = litest_current_device(); START_TEST() local
1499 struct libinput_device *device = dev->libinput_device; START_TEST() local
1581 struct libinput_device *device = dev->libinput_device; litest_enable_scroll_button_lock() local
2094 struct libinput_device *device = dev->libinput_device; START_TEST() local
2124 struct libinput_device *device = dev->libinput_device; START_TEST() local
2141 struct libinput_device *device = dev->libinput_device; START_TEST() local
2184 struct libinput_device *device = dev->libinput_device; START_TEST() local
2201 struct libinput_device *device = dev->libinput_device; START_TEST() local
2229 struct libinput_device *device = dev->libinput_device; START_TEST() local
2278 struct libinput_device *device = dev->libinput_device; START_TEST() local
2322 struct libinput_device *device = dev->libinput_device; START_TEST() local
2352 struct libinput_device *device = dev->libinput_device; START_TEST() local
2416 struct libinput_device *device = dev->libinput_device; START_TEST() local
2442 struct libinput_device *device = dev->libinput_device; START_TEST() local
2471 struct libinput_device *device = dev->libinput_device; START_TEST() local
2491 struct litest_device *device = litest_current_device(); START_TEST() local
2533 struct litest_device *device = litest_current_device(); START_TEST() local
2589 struct litest_device *device = litest_current_device(); START_TEST() local
2623 struct litest_device *device = litest_current_device(); START_TEST() local
2672 struct litest_device *device = litest_current_device(); START_TEST() local
2737 struct litest_device *device = litest_current_device(); START_TEST() local
2804 struct libinput_device *device = dev->libinput_device; START_TEST() local
2839 struct libinput_device *device = dev->libinput_device; START_TEST() local
2869 struct libinput_device *device = dev->libinput_device; START_TEST() local
2896 struct libinput_device *device = dev->libinput_device; START_TEST() local
2915 struct libinput_device *device = dev->libinput_device; START_TEST() local
2939 struct libinput_device *device = dev->libinput_device; START_TEST() local
3014 struct libinput_device *device = dev->libinput_device; START_TEST() local
3064 struct libinput_device *device = dev->libinput_device; START_TEST() local
3095 struct libinput_device *device = dev->libinput_device; START_TEST() local
3511 struct libinput_device *device = dev->libinput_device; START_TEST() local
3585 struct libinput_device *device = dev->libinput_device; START_TEST() local
3645 struct libinput_device *device = dev->libinput_device; START_TEST() local
[all...]
/third_party/mesa3d/src/imagination/vulkan/
H A Dpvr_pass.c159 struct pvr_device *device, in pvr_pds_unitex_state_program_create_and_upload()
177 staging_buffer = vk_alloc2(&device->vk.alloc, in pvr_pds_unitex_state_program_create_and_upload()
183 return vk_error(device, VK_ERROR_OUT_OF_HOST_MEMORY); in pvr_pds_unitex_state_program_create_and_upload()
188 result = pvr_gpu_upload_pds(device, in pvr_pds_unitex_state_program_create_and_upload()
198 vk_free2(&device->vk.alloc, allocator, staging_buffer); in pvr_pds_unitex_state_program_create_and_upload()
202 vk_free2(&device->vk.alloc, allocator, staging_buffer); in pvr_pds_unitex_state_program_create_and_upload()
208 pvr_load_op_create(struct pvr_device *device, in pvr_load_op_create() argument
213 const struct pvr_device_info *dev_info = &device->pdevice->dev_info; in pvr_load_op_create()
218 load_op = vk_zalloc2(&device->vk.alloc, in pvr_load_op_create()
224 return vk_error(device, VK_ERROR_OUT_OF_HOST_MEMOR in pvr_load_op_create()
158 pvr_pds_unitex_state_program_create_and_upload( struct pvr_device *device, const VkAllocationCallbacks *allocator, uint32_t texture_kicks, uint32_t uniform_kicks, struct pvr_pds_upload *const pds_upload_out) pvr_pds_unitex_state_program_create_and_upload() argument
288 pvr_load_op_destroy(struct pvr_device *device, const VkAllocationCallbacks *allocator, struct pvr_load_op *load_op) pvr_load_op_destroy() argument
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/
H A DvktSynchronizationBasicFenceTests.cpp59 const VkDevice device = getSyncDevice(videoDevice, context); in basicOneFenceCase() local
62 const Unique<VkCommandPool> cmdPool (createCommandPool(vk, device, VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT, queueFamilyIndex)); in basicOneFenceCase()
63 const Unique<VkCommandBuffer> cmdBuffer (makeCommandBuffer(vk, device, *cmdPool)); in basicOneFenceCase()
72 const Unique<VkFence> fence (createFence(vk, device, &fenceInfo)); in basicOneFenceCase()
87 if (VK_NOT_READY != vk.getFenceStatus(device, *fence)) in basicOneFenceCase()
90 if (VK_TIMEOUT != vk.waitForFences(device, 1u, &fence.get(), VK_TRUE, SHORT_FENCE_WAIT)) in basicOneFenceCase()
93 if (VK_NOT_READY != vk.getFenceStatus(device, *fence)) in basicOneFenceCase()
101 if (VK_SUCCESS != vk.waitForFences(device, 1u, &fence.get(), DE_TRUE, LONG_FENCE_WAIT)) in basicOneFenceCase()
104 if (VK_SUCCESS != vk.getFenceStatus(device, *fence)) in basicOneFenceCase()
107 if (VK_SUCCESS != vk.resetFences(device, in basicOneFenceCase()
136 const VkDevice device = getSyncDevice(videoDevice, context); basicSignaledCase() local
175 const VkDevice device = getSyncDevice(videoDevice, context); basicMultiFenceCase() local
249 const VkDevice device = getSyncDevice(videoDevice, context); emptySubmitCase() local
279 const VkDevice device = getSyncDevice(videoDevice, context); basicMultiFenceWaitAllFalseCase() local
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
H A DSwapChain9.cpp99 IDirect3DDevice9 *device = mRenderer->getDevice(); in reset() local
101 if (device == nullptr) in reset()
108 device->EvictManagedResources(); in reset()
134 result = device->CreateTexture(backbufferWidth, backbufferHeight, 1, D3DUSAGE_RENDERTARGET, in reset()
174 result = device->StretchRect(oldRenderTarget, &rect, mRenderTarget, &rect, D3DTEXF_NONE); in reset()
218 result = device->CreateAdditionalSwapChain(&presentParameters, &mSwapChain); in reset()
246 result = device->CreateDepthStencilSurface( in reset()
285 IDirect3DDevice9 *device = mRenderer->getDevice(); in swapRect() local
288 device->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE); in swapRect()
289 device in swapRect()
438 IDirect3DDevice9 *device = mRenderer->getDevice(); recreate() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/synchronization/
H A DvktSynchronizationBasicFenceTests.cpp59 const VkDevice device = getSyncDevice(videoDevice, context); in basicOneFenceCase() local
62 const Unique<VkCommandPool> cmdPool (createCommandPool(vk, device, VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT, queueFamilyIndex)); in basicOneFenceCase()
63 const Unique<VkCommandBuffer> cmdBuffer (makeCommandBuffer(vk, device, *cmdPool)); in basicOneFenceCase()
72 const Unique<VkFence> fence (createFence(vk, device, &fenceInfo)); in basicOneFenceCase()
87 if (VK_NOT_READY != vk.getFenceStatus(device, *fence)) in basicOneFenceCase()
90 if (VK_TIMEOUT != vk.waitForFences(device, 1u, &fence.get(), VK_TRUE, SHORT_FENCE_WAIT)) in basicOneFenceCase()
93 if (VK_NOT_READY != vk.getFenceStatus(device, *fence)) in basicOneFenceCase()
101 if (VK_SUCCESS != vk.waitForFences(device, 1u, &fence.get(), DE_TRUE, LONG_FENCE_WAIT)) in basicOneFenceCase()
104 if (VK_SUCCESS != vk.getFenceStatus(device, *fence)) in basicOneFenceCase()
107 if (VK_SUCCESS != vk.resetFences(device, in basicOneFenceCase()
136 const VkDevice device = getSyncDevice(videoDevice, context); basicSignaledCase() local
175 const VkDevice device = getSyncDevice(videoDevice, context); basicMultiFenceCase() local
249 const VkDevice device = getSyncDevice(videoDevice, context); emptySubmitCase() local
279 const VkDevice device = getSyncDevice(videoDevice, context); basicMultiFenceWaitAllFalseCase() local
[all...]
/third_party/backends/backend/
H A Dumax.c59 . - sane_open() : open a particular scanner-device and attach_scanner(devicename,&dev)
75 . - sane_close() : close opened scanner-device, do_cancel, free buffer and handle
76 - sane_exit() : terminate use of backend, free devicename and device-struture
214 static int umax_handle_bad_sense_error = 0; /* default: handle bad sense error code as device busy */
353 DBG(DBG_inquiry,"peripheral device type........: %d\n", get_inquiry_periph_devtype(inquiry_block)); in umax_print_inquiry()
1019 DBG(DBG_sense, "-> power on, reset or bus device reset\n"); in sense_handler()
1087 if (scanner->device->inquiry_analog_gamma) in umax_set_rgb_bind()
1094 if (scanner->device->inquiry_highlight) in umax_set_rgb_bind()
1101 if (scanner->device->inquiry_shadow) in umax_set_rgb_bind()
1111 if (scanner->device in umax_set_rgb_bind()
[all...]

Completed in 31 milliseconds

12345678910>>...112