/third_party/skia/third_party/externals/angle2/src/gpu_info_util/ |
H A D | SystemInfo_vulkan.cpp | 164 // Fill in data for a given physical device (a.k.a. gpu): in GetSystemInfoVulkanWithICD() 165 GPUDeviceInfo &gpu = info->gpus[i]; in GetSystemInfoVulkanWithICD() local 166 gpu.vendorId = properties.vendorID; in GetSystemInfoVulkanWithICD() 167 gpu.deviceId = properties.deviceID; in GetSystemInfoVulkanWithICD() 175 gpu.driverVendor = "Advanced Micro Devices, Inc"; in GetSystemInfoVulkanWithICD() 176 gpu.driverVersion = FormatString("0x%x", properties.driverVersion); in GetSystemInfoVulkanWithICD() 177 gpu.detailedDriverVersion.major = properties.driverVersion; in GetSystemInfoVulkanWithICD() 180 gpu.driverVendor = "Arm Holdings"; in GetSystemInfoVulkanWithICD() 181 gpu.driverVersion = FormatString("0x%x", properties.driverVersion); in GetSystemInfoVulkanWithICD() 182 gpu in GetSystemInfoVulkanWithICD() [all...] |
H A D | SystemInfo_linux.cpp | 93 GPUDeviceInfo *gpu = &info->gpus[i]; in GetSystemInfo() local 96 if (!gpu->driverVendor.empty()) in GetSystemInfo() 101 if (IsAMD(gpu->vendorId)) in GetSystemInfo() 106 gpu->driverVendor = "AMD (Brahma)"; in GetSystemInfo() 107 gpu->driverVersion = std::move(version); in GetSystemInfo() 111 gpu->driverVendor = "AMD (Catalyst)"; in GetSystemInfo() 112 gpu->driverVersion = std::move(version); in GetSystemInfo() 116 if (IsNVIDIA(gpu->vendorId)) in GetSystemInfo() 121 gpu->driverVendor = "Nvidia"; in GetSystemInfo() 122 gpu in GetSystemInfo() [all...] |
/third_party/mesa3d/src/gallium/drivers/tegra/ |
H A D | tegra_context.c | 44 context->gpu->destroy(context->gpu); in tegra_destroy() 84 context->gpu->draw_vbo(context->gpu, pinfo, drawid_offset, pindirect, draws, num_draws); in tegra_draw_vbo() 95 context->gpu->render_condition(context->gpu, query, condition, mode); in tegra_render_condition() 104 return context->gpu->create_query(context->gpu, query_type, index); in tegra_create_query() 114 return context->gpu->create_batch_query(context->gpu, num_querie in tegra_create_batch_query() [all...] |
H A D | tegra_screen.c | 53 screen->gpu->destroy(screen->gpu); in tegra_screen_destroy() 80 return screen->gpu->get_param(screen->gpu, param); in tegra_screen_get_param() 88 return screen->gpu->get_paramf(screen->gpu, param); in tegra_screen_get_paramf() 97 return screen->gpu->get_shader_param(screen->gpu, shader, param); in tegra_screen_get_shader_param() 108 return screen->gpu->get_video_param(screen->gpu, profil in tegra_screen_get_video_param() [all...] |
/third_party/mesa3d/src/virtio/vulkan/ |
H A D | vn_renderer_virtgpu.c | 25 #include "virtio-gpu/virglrenderer_hw.h" 165 sim_syncobj_create(struct virtgpu *gpu, bool signaled) in sim_syncobj_create() argument 189 int ret = drmIoctl(gpu->fd, DRM_IOCTL_VIRTGPU_EXECBUFFER, &args); in sim_syncobj_create() 210 sim_syncobj_destroy(struct virtgpu *gpu, uint32_t syncobj_handle) in sim_syncobj_destroy() argument 296 sim_syncobj_lookup(struct virtgpu *gpu, uint32_t syncobj_handle) in sim_syncobj_lookup() argument 311 sim_syncobj_reset(struct virtgpu *gpu, uint32_t syncobj_handle) in sim_syncobj_reset() argument 313 struct sim_syncobj *syncobj = sim_syncobj_lookup(gpu, syncobj_handle); in sim_syncobj_reset() 325 sim_syncobj_query(struct virtgpu *gpu, in sim_syncobj_query() argument 329 struct sim_syncobj *syncobj = sim_syncobj_lookup(gpu, syncobj_handle); in sim_syncobj_query() 342 sim_syncobj_signal(struct virtgpu *gpu, in sim_syncobj_signal() argument 358 sim_syncobj_submit(struct virtgpu *gpu, uint32_t syncobj_handle, int sync_fd, uint64_t point, bool cpu) sim_syncobj_submit() argument 407 sim_syncobj_wait(struct virtgpu *gpu, const struct vn_renderer_wait *wait, bool wait_avail) sim_syncobj_wait() argument 454 sim_syncobj_export(struct virtgpu *gpu, uint32_t syncobj_handle) sim_syncobj_export() argument 472 sim_syncobj_import(struct virtgpu *gpu, uint32_t syncobj_handle, int fd) sim_syncobj_import() argument 489 sim_submit_signal_syncs(struct virtgpu *gpu, int sync_fd, struct vn_renderer_sync *const *syncs, const uint64_t *sync_values, uint32_t sync_count, bool cpu) sim_submit_signal_syncs() argument 533 sim_submit(struct virtgpu *gpu, const struct vn_renderer_submit *submit) sim_submit() argument 591 virtgpu_ioctl(struct virtgpu *gpu, unsigned long request, void *args) virtgpu_ioctl() argument 597 virtgpu_ioctl_getparam(struct virtgpu *gpu, uint64_t param) virtgpu_ioctl_getparam() argument 620 virtgpu_ioctl_get_caps(struct virtgpu *gpu, enum virgl_renderer_capset id, uint32_t version, void *capset, size_t capset_size) virtgpu_ioctl_get_caps() argument 642 virtgpu_ioctl_context_init(struct virtgpu *gpu, enum virgl_renderer_capset capset_id) virtgpu_ioctl_context_init() argument 663 virtgpu_ioctl_resource_create_blob(struct virtgpu *gpu, uint32_t blob_mem, uint32_t blob_flags, size_t blob_size, uint64_t blob_id, uint32_t *res_id) virtgpu_ioctl_resource_create_blob() argument 689 virtgpu_ioctl_resource_info(struct virtgpu *gpu, uint32_t gem_handle, struct drm_virtgpu_resource_info *info) virtgpu_ioctl_resource_info() argument 701 virtgpu_ioctl_gem_close(struct virtgpu *gpu, uint32_t gem_handle) virtgpu_ioctl_gem_close() argument 712 virtgpu_ioctl_prime_handle_to_fd(struct virtgpu *gpu, uint32_t gem_handle, bool mappable) virtgpu_ioctl_prime_handle_to_fd() argument 726 virtgpu_ioctl_prime_fd_to_handle(struct virtgpu *gpu, int fd) virtgpu_ioctl_prime_fd_to_handle() argument 737 virtgpu_ioctl_map(struct virtgpu *gpu, uint32_t gem_handle, size_t size) virtgpu_ioctl_map() argument 755 virtgpu_ioctl_syncobj_create(struct virtgpu *gpu, bool signaled) virtgpu_ioctl_syncobj_create() argument 770 virtgpu_ioctl_syncobj_destroy(struct virtgpu *gpu, uint32_t syncobj_handle) virtgpu_ioctl_syncobj_destroy() argument 787 virtgpu_ioctl_syncobj_handle_to_fd(struct virtgpu *gpu, uint32_t syncobj_handle, bool sync_file) virtgpu_ioctl_syncobj_handle_to_fd() argument 809 virtgpu_ioctl_syncobj_fd_to_handle(struct virtgpu *gpu, int fd, uint32_t syncobj_handle) virtgpu_ioctl_syncobj_fd_to_handle() argument 832 virtgpu_ioctl_syncobj_reset(struct virtgpu *gpu, uint32_t syncobj_handle) virtgpu_ioctl_syncobj_reset() argument 847 virtgpu_ioctl_syncobj_query(struct virtgpu *gpu, uint32_t syncobj_handle, uint64_t *point) virtgpu_ioctl_syncobj_query() argument 865 virtgpu_ioctl_syncobj_timeline_signal(struct virtgpu *gpu, uint32_t syncobj_handle, uint64_t point) virtgpu_ioctl_syncobj_timeline_signal() argument 883 virtgpu_ioctl_syncobj_timeline_wait(struct virtgpu *gpu, const struct vn_renderer_wait *wait, bool wait_avail) virtgpu_ioctl_syncobj_timeline_wait() argument 925 virtgpu_ioctl_submit(struct virtgpu *gpu, const struct vn_renderer_submit *submit) virtgpu_ioctl_submit() argument 939 struct virtgpu *gpu = (struct virtgpu *)renderer; virtgpu_sync_write() local 953 struct virtgpu *gpu = (struct virtgpu *)renderer; virtgpu_sync_read() local 967 struct virtgpu *gpu = (struct virtgpu *)renderer; virtgpu_sync_reset() local 984 struct virtgpu *gpu = (struct virtgpu *)renderer; virtgpu_sync_export_syncobj() local 995 struct virtgpu *gpu = (struct virtgpu *)renderer; virtgpu_sync_destroy() local 1009 struct virtgpu *gpu = (struct virtgpu *)renderer; virtgpu_sync_create_from_syncobj() local 1046 struct virtgpu *gpu = (struct virtgpu *)renderer; virtgpu_sync_create() local 1105 struct virtgpu *gpu = (struct virtgpu *)renderer; virtgpu_bo_map() local 1122 struct virtgpu *gpu = (struct virtgpu *)renderer; virtgpu_bo_export_dma_buf() local 1135 struct virtgpu *gpu = (struct virtgpu *)renderer; virtgpu_bo_destroy() local 1182 struct virtgpu *gpu = (struct virtgpu *)renderer; virtgpu_bo_create_from_dma_buf() local 1274 struct virtgpu *gpu = (struct virtgpu *)renderer; virtgpu_bo_create_from_device_memory() local 1303 struct virtgpu *gpu = (struct virtgpu *)renderer; virtgpu_shmem_destroy_now() local 1314 struct virtgpu *gpu = (struct virtgpu *)renderer; virtgpu_shmem_destroy() local 1325 struct virtgpu *gpu = (struct virtgpu *)renderer; virtgpu_shmem_create() local 1366 struct virtgpu *gpu = (struct virtgpu *)renderer; virtgpu_wait() local 1379 struct virtgpu *gpu = (struct virtgpu *)renderer; virtgpu_submit() local 1386 virtgpu_init_renderer_info(struct virtgpu *gpu) virtgpu_init_renderer_info() argument 1447 struct virtgpu *gpu = (struct virtgpu *)renderer; virtgpu_destroy() local 1463 virtgpu_init_shmem_blob_mem(struct virtgpu *gpu) virtgpu_init_shmem_blob_mem() argument 1490 virtgpu_init_context(struct virtgpu *gpu) virtgpu_init_context() argument 1506 virtgpu_init_capset(struct virtgpu *gpu) virtgpu_init_capset() argument 1526 virtgpu_init_params(struct virtgpu *gpu) virtgpu_init_params() argument 1574 virtgpu_open_device(struct virtgpu *gpu, const drmDevicePtr dev) virtgpu_open_device() argument 1661 virtgpu_open(struct virtgpu *gpu) virtgpu_open() argument 1684 virtgpu_init(struct virtgpu *gpu) virtgpu_init() argument 1741 struct virtgpu *gpu = vk_zalloc(alloc, sizeof(*gpu), VN_DEFAULT_ALIGN, vn_renderer_create_virtgpu() local [all...] |
/third_party/skia/src/gpu/vk/ |
H A D | GrVkMemory.cpp | 7 #include "src/gpu/vk/GrVkMemory.h" 16 #include "src/gpu/vk/GrVkGpu.h" 17 #include "src/gpu/vk/GrVkUtil.h" 24 static bool FindMemoryType(GrVkGpu *gpu, uint32_t typeFilter, VkMemoryPropertyFlags properties, uint32_t &typeIndex) in FindMemoryType() argument 26 VkPhysicalDevice physicalDevice = gpu->physicalDevice(); in FindMemoryType() 28 VK_CALL(gpu, GetPhysicalDeviceMemoryProperties(physicalDevice, &memProperties)); in FindMemoryType() 44 bool GrVkMemory::AllocAndBindBufferMemory(GrVkGpu* gpu, argument 53 GrVkMemoryAllocator* allocator = gpu->memoryAllocator(); 57 bool shouldPersistentlyMapCpuToGpu = gpu->vkCaps().shouldPersistentlyMapCpuToGpuBuffers(); 68 if (!gpu 90 ImportAndBindBufferMemory(GrVkGpu* gpu, OH_NativeBuffer *nativeBuffer, VkBuffer buffer, GrVkAlloc* alloc) global() argument 146 FreeBufferMemory(const GrVkGpu* gpu, const GrVkAlloc& alloc) global() argument 162 AllocAndBindImageMemory(GrVkGpu* gpu, VkImage image, GrMemoryless memoryless, GrVkAlloc* alloc, int memorySize) global() argument 231 FreeImageMemory(const GrVkGpu* gpu, const GrVkAlloc& alloc) global() argument 243 MapAlloc(GrVkGpu* gpu, const GrVkAlloc& alloc) global() argument 258 UnmapAlloc(const GrVkGpu* gpu, const GrVkAlloc& alloc) global() argument 290 FlushMappedAlloc(GrVkGpu* gpu, const GrVkAlloc& alloc, VkDeviceSize offset, VkDeviceSize size) global() argument 305 InvalidateMappedAlloc(GrVkGpu* gpu, const GrVkAlloc& alloc, VkDeviceSize offset, VkDeviceSize size) global() argument [all...] |
H A D | GrVkCommandBuffer.h | 12 #include "include/gpu/vk/GrVkTypes.h" 13 #include "src/gpu/GrManagedResource.h" 14 #include "src/gpu/GrRefCnt.h" 15 #include "src/gpu/vk/GrVkGpu.h" 16 #include "src/gpu/vk/GrVkSemaphore.h" 17 #include "src/gpu/vk/GrVkUtil.h" 40 void pipelineBarrier(const GrVkGpu* gpu, 48 void bindInputBuffer(GrVkGpu* gpu, uint32_t binding, sk_sp<const GrBuffer> buffer); 50 void bindIndexBuffer(GrVkGpu* gpu, sk_sp<const GrBuffer> buffer); 52 void bindPipeline(const GrVkGpu* gpu, sk_s [all...] |
H A D | GrVkCommandBuffer.cpp | 8 #include "src/gpu/vk/GrVkCommandBuffer.h" 12 #include "src/gpu/vk/GrVkBuffer.h" 13 #include "src/gpu/vk/GrVkCommandPool.h" 14 #include "src/gpu/vk/GrVkFramebuffer.h" 15 #include "src/gpu/vk/GrVkGpu.h" 16 #include "src/gpu/vk/GrVkImage.h" 17 #include "src/gpu/vk/GrVkImageView.h" 18 #include "src/gpu/vk/GrVkPipeline.h" 19 #include "src/gpu/vk/GrVkPipelineState.h" 20 #include "src/gpu/v 46 freeGPUData(const GrGpu* gpu, VkCommandPool cmdPool) const freeGPUData() argument 80 pipelineBarrier(const GrVkGpu* gpu, const GrManagedResource* resource, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, bool byRegion, BarrierType barrierType, void* barrier) pipelineBarrier() argument 150 submitPipelineBarriers(const GrVkGpu* gpu, bool forSelfDependency) submitPipelineBarriers() argument 181 bindInputBuffer(GrVkGpu* gpu, uint32_t binding, sk_sp<const GrBuffer> buffer) bindInputBuffer() argument [all...] |
H A D | GrVkImage.cpp | 8 #include "src/gpu/vk/GrVkImage.h" 10 #include "src/gpu/vk/GrVkGpu.h" 11 #include "src/gpu/vk/GrVkImageView.h" 12 #include "src/gpu/vk/GrVkMemory.h" 13 #include "src/gpu/vk/GrVkTexture.h" 14 #include "src/gpu/vk/GrVkUtil.h" 19 sk_sp<GrVkImage> GrVkImage::MakeStencil(GrVkGpu* gpu, in MakeStencil() argument 25 return GrVkImage::Make(gpu, in MakeStencil() 37 sk_sp<GrVkImage> GrVkImage::MakeMSAA(GrVkGpu* gpu, in MakeMSAA() argument 51 return GrVkImage::Make(gpu, in MakeMSAA() 63 MakeTexture(GrVkGpu* gpu, SkISize dimensions, VkFormat format, uint32_t mipLevels, GrRenderable renderable, int numSamples, SkBudgeted budgeted, GrProtected isProtected) MakeTexture() argument 93 make_views(GrVkGpu* gpu, const GrVkImageInfo& info, GrAttachment::UsageFlags attachmentUsages, sk_sp<const GrVkImageView>* framebufferView, sk_sp<const GrVkImageView>* textureView) make_views() argument 131 Make(GrVkGpu* gpu, SkISize dimensions, UsageFlags attachmentUsages, int sampleCnt, VkFormat format, uint32_t mipLevels, VkImageUsageFlags vkUsageFlags, GrProtected isProtected, GrMemoryless memoryless, SkBudgeted budgeted) Make() argument 176 MakeWrapped(GrVkGpu* gpu, SkISize dimensions, const GrVkImageInfo& info, sk_sp<GrBackendSurfaceMutableStateImpl> mutableState, UsageFlags attachmentUsages, GrWrapOwnership ownership, GrWrapCacheable cacheable, bool forSecondaryCB) MakeWrapped() argument 209 DestroyAndFreeImageMemory(const GrVkGpu* gpu, const GrVkAlloc& alloc, const VkImage& image) DestroyAndFreeImageMemory() argument 215 GrVkImage(GrVkGpu* gpu, SkISize dimensions, UsageFlags supportedUsages, const GrVkImageInfo& info, sk_sp<GrBackendSurfaceMutableStateImpl> mutableState, sk_sp<const GrVkImageView> framebufferView, sk_sp<const GrVkImageView> textureView, SkBudgeted budgeted) GrVkImage() argument 246 GrVkImage(GrVkGpu* gpu, SkISize dimensions, UsageFlags supportedUsages, const GrVkImageInfo& info, sk_sp<GrBackendSurfaceMutableStateImpl> mutableState, sk_sp<const GrVkImageView> framebufferView, sk_sp<const GrVkImageView> textureView, GrBackendObjectOwnership ownership, GrWrapCacheable cacheable, bool forSecondaryCB) GrVkImage() argument 272 init(GrVkGpu* gpu, bool forSecondaryCB) init() argument 381 setImageLayoutAndQueueIndex(const GrVkGpu* gpu, VkImageLayout newLayout, VkAccessFlags dstAccessMask, VkPipelineStageFlags dstStageMask, bool byRegion, uint32_t newQueueFamilyIndex) setImageLayoutAndQueueIndex() argument 473 InitImageInfo(GrVkGpu* gpu, const ImageDesc& imageDesc, GrVkImageInfo* info) InitImageInfo() argument 555 DestroyImageInfo(const GrVkGpu* gpu, GrVkImageInfo* info) DestroyImageInfo() argument 566 prepareForPresent(GrVkGpu* gpu) prepareForPresent() argument 578 prepareForExternal(GrVkGpu* gpu) prepareForExternal() argument 627 write_input_desc_set(GrVkGpu* gpu, VkImageView view, VkImageLayout layout, VkDescriptorSet descSet) write_input_desc_set() argument 653 inputDescSetForBlending(GrVkGpu* gpu) inputDescSetForBlending() argument 674 inputDescSetForMSAALoad(GrVkGpu* gpu) inputDescSetForMSAALoad() argument 710 setCurrentQueueFamilyToGraphicsQueue(GrVkGpu* gpu) setCurrentQueueFamilyToGraphicsQueue() argument [all...] |
H A D | GrVkMSAALoadManager.cpp | 8 #include "src/gpu/vk/GrVkMSAALoadManager.h" 10 #include "include/gpu/GrDirectContext.h" 12 #include "src/gpu/GrDirectContextPriv.h" 13 #include "src/gpu/GrResourceProvider.h" 14 #include "src/gpu/vk/GrVkBuffer.h" 15 #include "src/gpu/vk/GrVkCommandBuffer.h" 16 #include "src/gpu/vk/GrVkDescriptorSet.h" 17 #include "src/gpu/vk/GrVkGpu.h" 18 #include "src/gpu/vk/GrVkImageView.h" 19 #include "src/gpu/v 31 createMSAALoadProgram(GrVkGpu* gpu) createMSAALoadProgram() argument 116 loadMSAAFromResolve(GrVkGpu* gpu, GrVkCommandBuffer* commandBuffer, const GrVkRenderPass& renderPass, GrAttachment* dst, GrVkImage* src, const SkIRect& rect) loadMSAAFromResolve() argument 217 destroyResources(GrVkGpu* gpu) destroyResources() argument [all...] |
H A D | GrVkBuffer.cpp | 8 #include "src/gpu/vk/GrVkBuffer.h" 10 #include "include/gpu/GrDirectContext.h" 11 #include "src/gpu/GrDirectContextPriv.h" 12 #include "src/gpu/GrResourceProvider.h" 13 #include "src/gpu/vk/GrVkDescriptorSet.h" 14 #include "src/gpu/vk/GrVkGpu.h" 15 #include "src/gpu/vk/GrVkMemory.h" 16 #include "src/gpu/vk/GrVkMemoryReclaimer.h" 17 #include "src/gpu/vk/GrVkUtil.h" 21 GrVkBuffer::GrVkBuffer(GrVkGpu* gpu, in GrVkBuffer() argument 40 make_uniform_desc_set(GrVkGpu* gpu, VkBuffer buffer, size_t size) make_uniform_desc_set() argument 70 Make(GrVkGpu* gpu, size_t size, GrGpuBufferType bufferType, GrAccessPattern accessPattern) global() argument 161 MakeFromOHNativeBuffer(GrVkGpu* gpu, OH_NativeBuffer *nativeBuffer, size_t bufferSize, GrGpuBufferType bufferType, GrAccessPattern accessPattern) global() argument 224 DestroyAndFreeBufferMemory(const GrVkGpu* gpu, const GrVkAlloc& alloc, const VkBuffer& buffer) global() argument 253 GrVkGpu* gpu = this->getVkGpu(); global() local 274 GrVkGpu* gpu = this->getVkGpu(); global() local [all...] |
H A D | GrVkCommandPool.cpp | 8 #include "src/gpu/vk/GrVkCommandPool.h" 11 #include "src/gpu/GrDirectContextPriv.h" 12 #include "src/gpu/vk/GrVkCommandBuffer.h" 13 #include "src/gpu/vk/GrVkGpu.h" 15 GrVkCommandPool* GrVkCommandPool::Create(GrVkGpu* gpu) { in Create() argument 17 if (gpu->protectedContext()) { in Create() 25 gpu->queueIndex(), // queueFamilyIndex in Create() 29 GR_VK_CALL_RESULT(gpu, result, CreateCommandPool(gpu->device(), &cmdPoolInfo, nullptr, &pool)); in Create() 34 GrVkPrimaryCommandBuffer* primaryCmdBuffer = GrVkPrimaryCommandBuffer::Create(gpu, poo in Create() 43 GrVkCommandPool(GrVkGpu* gpu, VkCommandPool commandPool, GrVkPrimaryCommandBuffer* primaryCmdBuffer) GrVkCommandPool() argument 52 findOrCreateSecondaryCommandBuffer( GrVkGpu* gpu) findOrCreateSecondaryCommandBuffer() argument 79 reset(GrVkGpu* gpu) reset() argument [all...] |
/third_party/mesa3d/src/broadcom/common/ |
H A D | v3d_cpu_tiling.h | 32 void *gpu, uint32_t gpu_stride) in v3d_load_utile() 40 "vldm %[gpu], {q0, q1, q2, q3}\n" in v3d_load_utile() 53 : [gpu] "r"(gpu), in v3d_load_utile() 63 "vldm %[gpu], {q0, q1, q2, q3};\n" in v3d_load_utile() 78 : [gpu] "r"(gpu), in v3d_load_utile() 89 "ld1 {v0.2d, v1.2d, v2.2d, v3.2d}, [%[gpu]]\n" in v3d_load_utile() 102 : [gpu] "r"(gpu), in v3d_load_utile() 31 v3d_load_utile(void *cpu, uint32_t cpu_stride, void *gpu, uint32_t gpu_stride) v3d_load_utile() argument 141 v3d_store_utile(void *gpu, uint32_t gpu_stride, void *cpu, uint32_t cpu_stride) v3d_store_utile() argument [all...] |
/third_party/skia/src/gpu/d3d/ |
H A D | GrD3DCpuDescriptorManager.cpp | 8 #include "src/gpu/d3d/GrD3DCpuDescriptorManager.h" 10 #include "src/gpu/d3d/GrD3DGpu.h" 12 GrD3DCpuDescriptorManager::GrD3DCpuDescriptorManager(GrD3DGpu* gpu) in GrD3DCpuDescriptorManager() argument 13 : fRTVDescriptorPool(gpu, D3D12_DESCRIPTOR_HEAP_TYPE_RTV) in GrD3DCpuDescriptorManager() 14 , fDSVDescriptorPool(gpu, D3D12_DESCRIPTOR_HEAP_TYPE_DSV) in GrD3DCpuDescriptorManager() 15 , fShaderViewDescriptorPool(gpu, D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV) in GrD3DCpuDescriptorManager() 16 , fSamplerDescriptorPool(gpu, D3D12_DESCRIPTOR_HEAP_TYPE_SAMPLER) {} in GrD3DCpuDescriptorManager() 19 GrD3DGpu* gpu, ID3D12Resource* textureResource) { in createRenderTargetView() 20 const GrD3DDescriptorHeap::CPUHandle& descriptor = fRTVDescriptorPool.allocateHandle(gpu); in createRenderTargetView() 21 gpu in createRenderTargetView() 18 createRenderTargetView( GrD3DGpu* gpu, ID3D12Resource* textureResource) createRenderTargetView() argument 30 createDepthStencilView( GrD3DGpu* gpu, ID3D12Resource* textureResource) createDepthStencilView() argument 42 createConstantBufferView( GrD3DGpu* gpu, ID3D12Resource* bufferResource, size_t offset, size_t size) createConstantBufferView() argument 53 createShaderResourceView( GrD3DGpu* gpu, ID3D12Resource* resource, unsigned int mostDetailedMip, unsigned int mipLevels) createShaderResourceView() argument 70 createUnorderedAccessView( GrD3DGpu* gpu, ID3D12Resource* resource, unsigned int mipSlice) createUnorderedAccessView() argument 92 createSampler( GrD3DGpu* gpu, D3D12_FILTER filter, float maxLOD, D3D12_TEXTURE_ADDRESS_MODE addressModeU, D3D12_TEXTURE_ADDRESS_MODE addressModeV) createSampler() argument 122 Make( GrD3DGpu* gpu, D3D12_DESCRIPTOR_HEAP_TYPE type, unsigned int numDescriptors) Make() argument 150 HeapPool(GrD3DGpu* gpu, D3D12_DESCRIPTOR_HEAP_TYPE heapType) HeapPool() argument 158 allocateHandle( GrD3DGpu* gpu) allocateHandle() argument [all...] |
H A D | GrD3DTexture.cpp | 8 #include "src/gpu/d3d/GrD3DTexture.h" 10 #include "src/gpu/GrTexture.h" 11 #include "src/gpu/d3d/GrD3DGpu.h" 12 #include "src/gpu/d3d/GrD3DUtil.h" 14 #include "include/gpu/d3d/GrD3DTypes.h" 17 GrD3DTexture::GrD3DTexture(GrD3DGpu* gpu, in GrD3DTexture() argument 24 : GrSurface(gpu, dimensions, info.fProtected) in GrD3DTexture() 26 , INHERITED(gpu, dimensions, info.fProtected, GrTextureType::k2D, mipmapStatus) in GrD3DTexture() 35 GrD3DTexture::GrD3DTexture(GrD3DGpu* gpu, SkISize dimensions, const GrD3DTextureResourceInfo& info, in GrD3DTexture() argument 40 : GrSurface(gpu, dimension in GrD3DTexture() 52 GrD3DTexture(GrD3DGpu* gpu, SkISize dimensions, const GrD3DTextureResourceInfo& info, sk_sp<GrD3DResourceState> state, const GrD3DDescriptorHeap::CPUHandle& shaderResourceView, GrMipmapStatus mipmapStatus) GrD3DTexture() argument 65 MakeNewTexture(GrD3DGpu* gpu, SkBudgeted budgeted, SkISize dimensions, const D3D12_RESOURCE_DESC& desc, GrProtected isProtected, GrMipmapStatus mipmapStatus) MakeNewTexture() argument 89 MakeWrappedTexture(GrD3DGpu* gpu, SkISize dimensions, GrWrapCacheable cacheable, GrIOType ioType, const GrD3DTextureResourceInfo& info, sk_sp<GrD3DResourceState> state) MakeWrappedTexture() argument 111 MakeAliasingTexture(GrD3DGpu* gpu, sk_sp<GrD3DTexture> originalTexture, const D3D12_RESOURCE_DESC& newDesc, D3D12_RESOURCE_STATES resourceState) MakeAliasingTexture() argument 136 GrD3DGpu* gpu = this->getD3DGpu(); onRelease() local 144 GrD3DGpu* gpu = this->getD3DGpu(); onAbandon() local [all...] |
H A D | GrD3DDescriptorTableManager.cpp | 8 #include "src/gpu/d3d/GrD3DDescriptorTableManager.h" 10 #include "src/gpu/d3d/GrD3DGpu.h" 12 GrD3DDescriptorTableManager::GrD3DDescriptorTableManager(GrD3DGpu* gpu) in GrD3DDescriptorTableManager() argument 13 : fShaderViewDescriptorPool(gpu, D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV) in GrD3DDescriptorTableManager() 14 , fSamplerDescriptorPool(gpu, D3D12_DESCRIPTOR_HEAP_TYPE_SAMPLER) {} in GrD3DDescriptorTableManager() 17 GrD3DDescriptorTableManager::createShaderViewTable(GrD3DGpu* gpu, unsigned int size) { in createShaderViewTable() argument 18 sk_sp<GrD3DDescriptorTable> table = fShaderViewDescriptorPool.allocateTable(gpu, size); in createShaderViewTable() 23 GrD3DGpu* gpu, unsigned int size) { in createSamplerTable() 24 sk_sp<GrD3DDescriptorTable> table = fSamplerDescriptorPool.allocateTable(gpu, size); in createSamplerTable() 28 void GrD3DDescriptorTableManager::prepForSubmit(GrD3DGpu* gpu) { in prepForSubmit() argument 22 createSamplerTable( GrD3DGpu* gpu, unsigned int size) createSamplerTable() argument 52 Make( GrD3DGpu* gpu, D3D12_DESCRIPTOR_HEAP_TYPE type, unsigned int descriptorCount) Make() argument 81 HeapPool(GrD3DGpu* gpu, D3D12_DESCRIPTOR_HEAP_TYPE heapType) HeapPool() argument 88 allocateTable( GrD3DGpu* gpu, unsigned int count) allocateTable() argument 121 prepForSubmit(GrD3DGpu* gpu) prepForSubmit() argument [all...] |
H A D | GrD3DTextureRenderTarget.cpp | 8 #include "src/gpu/d3d/GrD3DTextureRenderTarget.h" 10 #include "src/gpu/GrTexture.h" 11 #include "src/gpu/d3d/GrD3DGpu.h" 14 GrD3DGpu* gpu, in GrD3DTextureRenderTarget() 25 : GrSurface(gpu, dimensions, info.fProtected) in GrD3DTextureRenderTarget() 27 , GrD3DTexture(gpu, dimensions, info, state, shaderResourceView, mipmapStatus) in GrD3DTextureRenderTarget() 28 , GrD3DRenderTarget(gpu, in GrD3DTextureRenderTarget() 41 GrD3DGpu* gpu, in GrD3DTextureRenderTarget() 49 : GrSurface(gpu, dimensions, info.fProtected) in GrD3DTextureRenderTarget() 51 , GrD3DTexture(gpu, dimension in GrD3DTextureRenderTarget() 13 GrD3DTextureRenderTarget( GrD3DGpu* gpu, SkBudgeted budgeted, SkISize dimensions, const GrD3DTextureResourceInfo& info, sk_sp<GrD3DResourceState> state, const GrD3DDescriptorHeap::CPUHandle& shaderResourceView, const GrD3DTextureResourceInfo& msaaInfo, sk_sp<GrD3DResourceState> msaaState, const GrD3DDescriptorHeap::CPUHandle& colorRenderTargetView, const GrD3DDescriptorHeap::CPUHandle& resolveRenderTargetView, GrMipmapStatus mipmapStatus) GrD3DTextureRenderTarget() argument 40 GrD3DTextureRenderTarget( GrD3DGpu* gpu, SkBudgeted budgeted, SkISize dimensions, const GrD3DTextureResourceInfo& info, sk_sp<GrD3DResourceState> state, const GrD3DDescriptorHeap::CPUHandle& shaderResourceView, const GrD3DDescriptorHeap::CPUHandle& renderTargetView, GrMipmapStatus mipmapStatus) GrD3DTextureRenderTarget() argument 56 GrD3DTextureRenderTarget( GrD3DGpu* gpu, SkISize dimensions, const GrD3DTextureResourceInfo& info, sk_sp<GrD3DResourceState> state, const GrD3DDescriptorHeap::CPUHandle& shaderResourceView, const GrD3DTextureResourceInfo& msaaInfo, sk_sp<GrD3DResourceState> msaaState, const GrD3DDescriptorHeap::CPUHandle& colorRenderTargetView, const GrD3DDescriptorHeap::CPUHandle& resolveRenderTargetView, GrMipmapStatus mipmapStatus, GrWrapCacheable cacheable) GrD3DTextureRenderTarget() argument 83 GrD3DTextureRenderTarget( GrD3DGpu* gpu, SkISize dimensions, const GrD3DTextureResourceInfo& info, sk_sp<GrD3DResourceState> state, const GrD3DDescriptorHeap::CPUHandle& shaderResourceView, const GrD3DDescriptorHeap::CPUHandle& renderTargetView, GrMipmapStatus mipmapStatus, GrWrapCacheable cacheable) GrD3DTextureRenderTarget() argument 99 MakeNewTextureRenderTarget( GrD3DGpu* gpu, SkBudgeted budgeted, SkISize dimensions, int sampleCnt, const D3D12_RESOURCE_DESC& resourceDesc, GrProtected isProtected, GrMipmapStatus mipmapStatus) MakeNewTextureRenderTarget() argument 155 MakeWrappedTextureRenderTarget( GrD3DGpu* gpu, SkISize dimensions, int sampleCnt, GrWrapCacheable cacheable, const GrD3DTextureResourceInfo& info, sk_sp<GrD3DResourceState> state) MakeWrappedTextureRenderTarget() argument [all...] |
H A D | GrD3DRenderTarget.cpp | 8 #include "src/gpu/d3d/GrD3DRenderTarget.h" 10 #include "include/gpu/GrBackendSurface.h" 11 #include "include/gpu/d3d/GrD3DTypes.h" 12 #include "src/gpu/GrRenderTarget.h" 13 #include "src/gpu/d3d/GrD3DGpu.h" 14 #include "src/gpu/d3d/GrD3DResourceProvider.h" 15 #include "src/gpu/d3d/GrD3DTextureResource.h" 16 #include "src/gpu/d3d/GrD3DUtil.h" 20 GrD3DRenderTarget::GrD3DRenderTarget(GrD3DGpu* gpu, in GrD3DRenderTarget() argument 29 : GrSurface(gpu, dimension in GrD3DRenderTarget() 43 GrD3DRenderTarget(GrD3DGpu* gpu, SkISize dimensions, const GrD3DTextureResourceInfo& info, sk_sp<GrD3DResourceState> state, const GrD3DTextureResourceInfo& msaaInfo, sk_sp<GrD3DResourceState> msaaState, const GrD3DDescriptorHeap::CPUHandle& colorRenderTargetView, const GrD3DDescriptorHeap::CPUHandle& resolveRenderTargetView) GrD3DRenderTarget() argument 64 GrD3DRenderTarget(GrD3DGpu* gpu, SkISize dimensions, const GrD3DTextureResourceInfo& info, sk_sp<GrD3DResourceState> state, const GrD3DDescriptorHeap::CPUHandle& renderTargetView, Wrapped) GrD3DRenderTarget() argument 80 GrD3DRenderTarget(GrD3DGpu* gpu, SkISize dimensions, const GrD3DTextureResourceInfo& info, sk_sp<GrD3DResourceState> state, const GrD3DDescriptorHeap::CPUHandle& renderTargetView) GrD3DRenderTarget() argument 91 MakeWrappedRenderTarget( GrD3DGpu* gpu, SkISize dimensions, int sampleCnt, const GrD3DTextureResourceInfo& info, sk_sp<GrD3DResourceState> state) MakeWrappedRenderTarget() argument 153 GrD3DGpu* gpu = this->getD3DGpu(); releaseInternalObjects() local [all...] |
H A D | GrD3DPipelineState.cpp | 8 #include "src/gpu/d3d/GrD3DPipelineState.h" 11 #include "src/gpu/GrFragmentProcessor.h" 12 #include "src/gpu/GrGeometryProcessor.h" 13 #include "src/gpu/GrProgramInfo.h" 14 #include "src/gpu/GrStencilSettings.h" 15 #include "src/gpu/GrXferProcessor.h" 16 #include "src/gpu/d3d/GrD3DBuffer.h" 17 #include "src/gpu/d3d/GrD3DGpu.h" 18 #include "src/gpu/d3d/GrD3DPipeline.h" 19 #include "src/gpu/d3 46 setAndBindConstants(GrD3DGpu* gpu, const GrRenderTarget* renderTarget, const GrProgramInfo& programInfo) setAndBindConstants() argument 93 setAndBindTextures(GrD3DGpu* gpu, const GrGeometryProcessor& geomProc, const GrSurfaceProxy* const geomProcTextures[], const GrPipeline& pipeline) setAndBindTextures() argument 153 bindBuffers(GrD3DGpu* gpu, sk_sp<const GrBuffer> indexBuffer, sk_sp<const GrBuffer> instanceBuffer, sk_sp<const GrBuffer> vertexBuffer, GrD3DDirectCommandList* commandList) bindBuffers() argument [all...] |
/third_party/libdrm/etnaviv/ |
H A D | etnaviv_gpu.c | 49 struct etna_gpu *gpu; in etna_gpu_new() local 51 gpu = calloc(1, sizeof(*gpu)); in etna_gpu_new() 52 if (!gpu) { in etna_gpu_new() 57 gpu->dev = dev; in etna_gpu_new() 58 gpu->core = core; in etna_gpu_new() 60 gpu->model = get_param(dev, core, ETNAVIV_PARAM_GPU_MODEL); in etna_gpu_new() 61 gpu->revision = get_param(dev, core, ETNAVIV_PARAM_GPU_REVISION); in etna_gpu_new() 63 if (!gpu->model) in etna_gpu_new() 66 INFO_MSG(" GPU model: 0x%x (rev %x)", gpu in etna_gpu_new() 76 etna_gpu_del(struct etna_gpu *gpu) etna_gpu_del() argument 81 etna_gpu_get_param(struct etna_gpu *gpu, enum etna_param_id param, uint64_t *value) etna_gpu_get_param() argument [all...] |
/third_party/mesa3d/src/etnaviv/drm/ |
H A D | etnaviv_gpu.c | 49 struct etna_gpu *gpu; in etna_gpu_new() local 51 gpu = calloc(1, sizeof(*gpu)); in etna_gpu_new() 52 if (!gpu) { in etna_gpu_new() 57 gpu->dev = dev; in etna_gpu_new() 58 gpu->core = core; in etna_gpu_new() 60 gpu->model = get_param(dev, core, ETNAVIV_PARAM_GPU_MODEL); in etna_gpu_new() 61 gpu->revision = get_param(dev, core, ETNAVIV_PARAM_GPU_REVISION); in etna_gpu_new() 63 if (!gpu->model) in etna_gpu_new() 66 DEBUG_MSG(" GPU model: 0x%x (rev %x)", gpu in etna_gpu_new() 76 etna_gpu_del(struct etna_gpu *gpu) etna_gpu_del() argument 81 etna_gpu_get_param(struct etna_gpu *gpu, enum etna_param_id param, uint64_t *value) etna_gpu_get_param() argument [all...] |
/third_party/skia/src/gpu/mock/ |
H A D | GrMockTexture.h | 10 #include "include/gpu/mock/GrMockTypes.h" 11 #include "src/gpu/GrAttachment.h" 12 #include "src/gpu/GrRenderTarget.h" 13 #include "src/gpu/GrTexture.h" 14 #include "src/gpu/mock/GrMockGpu.h" 18 GrMockTexture(GrMockGpu* gpu, in GrMockTexture() argument 24 : GrMockTexture(gpu, dimensions, isProtected, mipmapStatus, info) { in GrMockTexture() 28 GrMockTexture(GrMockGpu* gpu, in GrMockTexture() argument 35 : GrMockTexture(gpu, dimensions, isProtected, mipmapStatus, info) { in GrMockTexture() 56 GrMockTexture(GrMockGpu* gpu, cons argument 82 GrMockRenderTarget(GrMockGpu* gpu, SkBudgeted budgeted, SkISize dimensions, int sampleCnt, GrProtected isProtected, const GrMockRenderTargetInfo& info) GrMockRenderTarget() argument 95 GrMockRenderTarget(GrMockGpu* gpu, Wrapped, SkISize dimensions, int sampleCnt, GrProtected isProtected, const GrMockRenderTargetInfo& info) GrMockRenderTarget() argument 137 GrMockRenderTarget(GrMockGpu* gpu, SkISize dimensions, int sampleCnt, GrProtected isProtected, const GrMockRenderTargetInfo& info) GrMockRenderTarget() argument 155 GrMockTextureRenderTarget(GrMockGpu* gpu, SkBudgeted budgeted, SkISize dimensions, int sampleCnt, GrProtected isProtected, GrMipmapStatus mipmapStatus, const GrMockTextureInfo& texInfo, const GrMockRenderTargetInfo& rtInfo) GrMockTextureRenderTarget() argument 170 GrMockTextureRenderTarget(GrMockGpu* gpu, SkISize dimensions, int sampleCnt, GrProtected isProtected, GrMipmapStatus mipmapStatus, const GrMockTextureInfo& texInfo, const GrMockRenderTargetInfo& rtInfo, GrWrapCacheable cacheable) GrMockTextureRenderTarget() argument [all...] |
/third_party/skia/tests/ |
H A D | VkWrapTests.cpp | 14 #include "include/gpu/GrBackendSurface.h" 15 #include "include/gpu/GrDirectContext.h" 16 #include "include/gpu/vk/GrVkTypes.h" 17 #include "include/gpu/vk/GrVkVulkan.h" 18 #include "src/gpu/GrDirectContextPriv.h" 19 #include "src/gpu/GrRenderTarget.h" 20 #include "src/gpu/GrTexture.h" 21 #include "src/gpu/vk/GrVkCaps.h" 22 #include "src/gpu/vk/GrVkGpu.h" 23 #include "src/gpu/v 35 GrGpu* gpu = dContext->priv().getGpu(); wrap_tex_test() local 96 GrGpu* gpu = dContext->priv().getGpu(); wrap_rt_test() local 141 GrGpu* gpu = dContext->priv().getGpu(); wrap_trt_test() local [all...] |
/third_party/skia/src/gpu/gl/ |
H A D | GrGLAttachment.cpp | 8 #include "src/gpu/gl/GrGLAttachment.h" 11 #include "src/gpu/gl/GrGLGpu.h" 13 #define GL_CALL(X) GR_GL_CALL(gpu->glInterface(), X) 17 if (gpu->glCaps().skipErrorChecks()) { \ 18 GR_GL_CALL(gpu->glInterface(), call); \ 21 gpu->clearErrorsAndCheckForOOM(); \ 22 GR_GL_CALL_NOERRCHECK(gpu->glInterface(), call); \ 23 return gpu->getErrorAndCheckForOOM(); \ 27 static bool renderbuffer_storage_msaa(GrGLGpu* gpu, in renderbuffer_storage_msaa() argument 32 SkASSERT(GrGLCaps::kNone_MSFBOType != gpu in renderbuffer_storage_msaa() 55 MakeStencil(GrGLGpu* gpu, SkISize dimensions, int sampleCnt, GrGLFormat format) MakeStencil() argument 92 MakeMSAA(GrGLGpu* gpu, SkISize dimensions, int sampleCnt, GrGLFormat format) MakeMSAA() argument [all...] |
H A D | GrGLVertexArray.cpp | 8 #include "src/gpu/GrCpuBuffer.h" 9 #include "src/gpu/gl/GrGLBuffer.h" 10 #include "src/gpu/gl/GrGLGpu.h" 11 #include "src/gpu/gl/GrGLVertexArray.h" 79 void GrGLAttribArrayState::set(GrGLGpu* gpu, in set() argument 88 SkASSERT(0 == divisor || gpu->caps()->drawInstancedSupport()); in set() 114 gpu->bindBuffer(GrGpuBufferType::kVertex, vertexBuffer); in set() 117 GR_GL_CALL(gpu->glInterface(), VertexAttribPointer(index, in set() 124 SkASSERT(gpu->caps()->shaderCaps()->integerSupport()); in set() 126 GR_GL_CALL(gpu in set() 144 enableVertexArrays(const GrGLGpu* gpu, int enabledCount, GrPrimitiveRestart enablePrimitiveRestart) enableVertexArrays() argument 187 bind(GrGLGpu* gpu) bind() argument 195 bindWithIndexBuffer(GrGLGpu* gpu, const GrBuffer* ibuff) bindWithIndexBuffer() argument [all...] |