dawn-cmake/src/dawn_native
Corentin Wallez 95fd2821c2 MetalBinding: query the MTLDevice instead of creating it.
With adapters the Metal backend will be in charge of creating the
MTLDevice so we remove this responsibility from the bindings.

BUG=dawn:29

Change-Id: Id7b9e5f6249963e2b87a91242a18119ba8d11c13
Reviewed-on: https://dawn-review.googlesource.com/c/3661
Reviewed-by: Austin Eng <enga@chromium.org>
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
2019-01-07 10:01:11 +00:00
..
d3d12 dawn_native: Add Instance and Adapters 2019-01-04 10:30:40 +00:00
metal MetalBinding: query the MTLDevice instead of creating it. 2019-01-07 10:01:11 +00:00
null OpenGL: Implement the backend connection and adapter. 2019-01-07 09:48:03 +00:00
opengl OpenGL: Implement the backend connection and adapter. 2019-01-07 09:48:03 +00:00
vulkan dawn_native: Add Instance and Adapters 2019-01-04 10:30:40 +00:00
Adapter.cpp dawn_native: Add Instance and Adapters 2019-01-04 10:30:40 +00:00
Adapter.h dawn_native: Add Instance and Adapters 2019-01-04 10:30:40 +00:00
BackendConnection.cpp OpenGL: Implement the backend connection and adapter. 2019-01-07 09:48:03 +00:00
BackendConnection.h OpenGL: Implement the backend connection and adapter. 2019-01-07 09:48:03 +00:00
BindGroup.cpp Temporarily add nullptr checks in frontend 2018-12-10 10:03:08 +00:00
BindGroup.h Remove BufferView and inline offset/size in BindGroup 2018-12-07 12:31:53 +00:00
BindGroupLayout.cpp BindGroupLayout: Fix off-by-one kMaxBindingsPerGroup validation 2018-11-21 09:47:19 +00:00
BindGroupLayout.h Put the reference to DeviceBase in a new ObjectBase 2018-10-15 12:54:30 +00:00
Buffer.cpp Buffer: fix overflows in SetSubData and mapping validation 2018-12-17 17:08:41 +00:00
Buffer.h Remove BufferView and inline offset/size in BindGroup 2018-12-07 12:31:53 +00:00
Builder.cpp Put the reference to DeviceBase in a new ObjectBase 2018-10-15 12:54:30 +00:00
Builder.h Put the reference to DeviceBase in a new ObjectBase 2018-10-15 12:54:30 +00:00
CommandAllocator.cpp dawn_native: Fixup namespace from backend:: to dawn_native:: 2018-07-25 11:27:55 +02:00
CommandAllocator.h dawn_native: Fixup namespace from backend:: to dawn_native:: 2018-07-25 11:27:55 +02:00
CommandBuffer.cpp Validate CommmandBuffers aren't ended mid pass. 2018-12-15 10:34:42 +00:00
CommandBuffer.h Change Copy Operation Interfaces to Match WebGPU IDL 2018-11-28 17:54:13 +00:00
CommandBufferStateTracker.cpp Rename draw commands to match WebGPU IDL 2018-12-10 05:20:19 +00:00
CommandBufferStateTracker.h Rename draw commands to match WebGPU IDL 2018-12-10 05:20:19 +00:00
Commands.cpp Rename draw commands to match WebGPU IDL 2018-12-10 05:20:19 +00:00
Commands.h Implement 'baseVertex' in drawIndexed() on D3D12, Metal and Vulkan 2018-12-13 01:05:26 +00:00
ComputePassEncoder.cpp Rename SetRenderPipeline and SetComputePipeline to SetPipeline 2018-12-21 10:40:26 +00:00
ComputePassEncoder.h Rename SetRenderPipeline and SetComputePipeline to SetPipeline 2018-12-21 10:40:26 +00:00
ComputePipeline.cpp Temporarily add nullptr checks in frontend 2018-12-10 10:03:08 +00:00
ComputePipeline.h Put the reference to DeviceBase in a new ObjectBase 2018-10-15 12:54:30 +00:00
DawnNative.cpp OpenGL: Implement the backend connection and adapter. 2019-01-07 09:48:03 +00:00
Device.cpp Replace DepthStencilState builder via DepthStencilState descriptor. 2019-01-04 04:28:37 +00:00
Device.h dawn_native: Add Instance and Adapters 2019-01-04 10:30:40 +00:00
Error.cpp Vulkan: Handle errors on device creation. 2018-12-03 12:49:56 +00:00
Error.h Vulkan: Print the VkResult value on device creation failure. 2019-01-04 10:18:40 +00:00
ErrorData.cpp Make Dawn error macro more explicit and have an "error type" 2018-09-11 07:55:27 -04:00
ErrorData.h Make Dawn error macro more explicit and have an "error type" 2018-09-11 07:55:27 -04:00
Fence.cpp Check if fence is nullptr in PostHandleQueueSignal 2018-12-14 08:29:38 +00:00
Fence.h Implement timeline fences in Dawn 2018-12-03 16:57:34 +00:00
FenceSignalTracker.cpp Implement timeline fences in Dawn 2018-12-03 16:57:34 +00:00
FenceSignalTracker.h Implement timeline fences in Dawn 2018-12-03 16:57:34 +00:00
Forward.h Replace DepthStencilState builder via DepthStencilState descriptor. 2019-01-04 04:28:37 +00:00
InputState.cpp Put the reference to DeviceBase in a new ObjectBase 2018-10-15 12:54:30 +00:00
InputState.h Put the reference to DeviceBase in a new ObjectBase 2018-10-15 12:54:30 +00:00
Instance.cpp OpenGL: Implement the backend connection and adapter. 2019-01-07 09:48:03 +00:00
Instance.h OpenGL: Implement the backend connection and adapter. 2019-01-07 09:48:03 +00:00
ObjectBase.cpp Put the reference to DeviceBase in a new ObjectBase 2018-10-15 12:54:30 +00:00
ObjectBase.h Put the reference to DeviceBase in a new ObjectBase 2018-10-15 12:54:30 +00:00
PassResourceUsage.h Validate that mapped buffers aren't used in submits. 2018-11-07 10:02:43 +00:00
PerStage.cpp dawn_native: Fixup namespace from backend:: to dawn_native:: 2018-07-25 11:27:55 +02:00
PerStage.h Descriptorize ComputePipeline 2018-09-05 08:32:53 -04:00
Pipeline.cpp Replace DepthStencilState builder via DepthStencilState descriptor. 2019-01-04 04:28:37 +00:00
Pipeline.h Remove "Builders" related with pipeline 2018-12-20 11:00:32 +00:00
PipelineLayout.cpp Put the reference to DeviceBase in a new ObjectBase 2018-10-15 12:54:30 +00:00
PipelineLayout.h Put the reference to DeviceBase in a new ObjectBase 2018-10-15 12:54:30 +00:00
ProgrammablePassEncoder.cpp Validate EndPass isn't called more than once. 2019-01-04 12:01:44 +00:00
ProgrammablePassEncoder.h Put the reference to DeviceBase in a new ObjectBase 2018-10-15 12:54:30 +00:00
Queue.cpp Temporarily add nullptr checks in frontend 2018-12-10 10:03:08 +00:00
Queue.h Implement timeline fences in Dawn 2018-12-03 16:57:34 +00:00
RefCounted.cpp dawn_native: Fixup namespace from backend:: to dawn_native:: 2018-07-25 11:27:55 +02:00
RefCounted.h dawn_native: Fixup namespace from backend:: to dawn_native:: 2018-07-25 11:27:55 +02:00
RenderPassDescriptor.cpp Add render pass color and depth stencil attachment descriptor 2018-12-19 08:21:13 +00:00
RenderPassDescriptor.h Add render pass color and depth stencil attachment descriptor 2018-12-19 08:21:13 +00:00
RenderPassEncoder.cpp Rename SetRenderPipeline and SetComputePipeline to SetPipeline 2018-12-21 10:40:26 +00:00
RenderPassEncoder.h Rename SetRenderPipeline and SetComputePipeline to SetPipeline 2018-12-21 10:40:26 +00:00
RenderPipeline.cpp Replace DepthStencilState builder via DepthStencilState descriptor. 2019-01-04 04:28:37 +00:00
RenderPipeline.h Replace DepthStencilState builder via DepthStencilState descriptor. 2019-01-04 04:28:37 +00:00
Sampler.cpp Complete the sampler object to match WebGPU 2019-01-04 04:56:08 +00:00
Sampler.h Put the reference to DeviceBase in a new ObjectBase 2018-10-15 12:54:30 +00:00
ShaderModule.cpp Roll SPIRV-Tools and temporarily use Vulkan SPIRV validation 2018-11-28 16:54:31 +00:00
ShaderModule.h Put the reference to DeviceBase in a new ObjectBase 2018-10-15 12:54:30 +00:00
SwapChain.cpp Make TextureDescriptor match WebGPU IDL 2018-12-12 09:27:16 +00:00
SwapChain.h Put the reference to DeviceBase in a new ObjectBase 2018-10-15 12:54:30 +00:00
Texture.cpp Make TextureDescriptor match WebGPU IDL 2018-12-12 09:27:16 +00:00
Texture.h Render Pipeline Descriptorization -- Part I 2018-12-10 19:47:22 +00:00
ToBackend.h Replace DepthStencilState builder via DepthStencilState descriptor. 2019-01-04 04:28:37 +00:00
dawn_platform.h Make dawn_native use its own header for Dawn datatypes 2018-07-27 12:56:26 +02:00