/third_party/skia/third_party/externals/dawn/src/tests/unittests/native/ |
D | DestroyObjectTests.cpp | 55 AcquireRef(new TextureMock(&mDevice, TextureBase::TextureState::OwnedInternal)); in GetTexture() 64 mPipelineLayout = AcquireRef(new PipelineLayoutMock(&mDevice)); in GetPipelineLayout() 125 .WillOnce(Return(ByMove(AcquireRef(bindGroupMock)))); in TEST_F() 150 .WillOnce(Return(ByMove(AcquireRef(bindGroupLayoutMock)))); in TEST_F() 191 .WillOnce(Return(ByMove(AcquireRef(bufferMock)))); in TEST_F() 208 .WillOnce(Return(ByMove(AcquireRef(bufferMock)))); in TEST_F() 234 .WillOnce(Return(ByMove(AcquireRef(commandBufferMock)))); in TEST_F() 271 .WillOnce(Return(ByMove(AcquireRef(computePipelineMock)))); in TEST_F() 315 .WillOnce(Return(ByMove(AcquireRef(pipelineLayoutMock)))); in TEST_F() 341 .WillOnce(Return(ByMove(AcquireRef(querySetMock)))); in TEST_F() [all …]
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/null/ |
D | DeviceNull.cpp | 100 Ref<Device> device = AcquireRef(new Device(adapter, descriptor)); in Create() 115 return AcquireRef(new BindGroup(this, descriptor)); in CreateBindGroupImpl() 120 return AcquireRef(new BindGroupLayout(this, descriptor, pipelineCompatibilityToken)); in CreateBindGroupLayoutImpl() 124 return AcquireRef(new Buffer(this, descriptor)); in CreateBufferImpl() 129 return AcquireRef(new CommandBuffer(encoder, descriptor)); in CreateCommandBuffer() 133 return AcquireRef(new ComputePipeline(this, descriptor)); in CreateUninitializedComputePipelineImpl() 137 return AcquireRef(new PipelineLayout(this, descriptor)); in CreatePipelineLayoutImpl() 141 return AcquireRef(new QuerySet(this, descriptor)); in CreateQuerySetImpl() 145 return AcquireRef(new RenderPipeline(this, descriptor)); in CreateUninitializedRenderPipelineImpl() 148 return AcquireRef(new Sampler(this, descriptor)); in CreateSamplerImpl() [all …]
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/ |
D | DeviceGL.cpp | 41 Ref<Device> device = AcquireRef(new Device(adapter, descriptor, functions)); in Create() 123 return AcquireRef(new BindGroupLayout(this, descriptor, pipelineCompatibilityToken)); in CreateBindGroupLayoutImpl() 126 return AcquireRef(new Buffer(this, descriptor)); in CreateBufferImpl() 131 return AcquireRef(new CommandBuffer(encoder, descriptor)); in CreateCommandBuffer() 139 return AcquireRef(new PipelineLayout(this, descriptor)); in CreatePipelineLayoutImpl() 143 return AcquireRef(new QuerySet(this, descriptor)); in CreateQuerySetImpl() 150 return AcquireRef(new Sampler(this, descriptor)); in CreateSamplerImpl() 159 return AcquireRef(new SwapChain(this, descriptor)); in CreateSwapChainImpl() 168 return AcquireRef(new Texture(this, descriptor)); in CreateTextureImpl() 173 return AcquireRef(new TextureView(texture, descriptor)); in CreateTextureViewImpl()
|
D | BindGroupLayoutGL.cpp | 30 return AcquireRef(mBindGroupAllocator.Allocate(device, descriptor)); in AllocateBindGroup()
|
D | ComputePipelineGL.cpp | 25 return AcquireRef(new ComputePipeline(device, descriptor)); in CreateUninitialized()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
D | AsyncTask.cpp | 13 Ref<WaitableTask> waitableTask = AcquireRef(new WaitableTask()); in PostTask() 60 Ref<WaitableTask> waitableTask = AcquireRef(static_cast<WaitableTask*>(task)); in DoWaitableTask()
|
D | CopyTextureForBrowserHelper.cpp | 357 Ref<CommandEncoder> encoder = AcquireRef(device->APICreateCommandEncoder(&encoderDesc)); in DoCopyTextureForBrowser() 383 AcquireRef(encoder->APIBeginRenderPass(&renderPassDesc)); in DoCopyTextureForBrowser() 396 Ref<CommandBufferBase> commandBuffer = AcquireRef(encoder->APIFinish()); in DoCopyTextureForBrowser()
|
D | QueryHelper.cpp | 177 Ref<ComputePassEncoder> pass = AcquireRef(encoder->APIBeginComputePass(&passDesc)); in EncodeConvertTimestampsToNanoseconds()
|
D | ExternalTexture.cpp | 86 AcquireRef(new ExternalTextureBase(device, descriptor)); in Create()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/metal/ |
D | BindGroupLayoutMTL.mm | 26 return AcquireRef(new BindGroupLayout(device, descriptor, pipelineCompatibilityToken)); 38 return AcquireRef(mBindGroupAllocator.Allocate(device, descriptor));
|
D | SwapChainMTL.mm | 31 return AcquireRef(new OldSwapChain(device, descriptor)); 71 Ref<SwapChain> swapchain = AcquireRef(new SwapChain(device, surface, descriptor)); 140 // TODO(dawn:723): change to not use AcquireRef for reentrant object creation.
|
D | PipelineLayoutMTL.mm | 26 return AcquireRef(new PipelineLayout(device, descriptor));
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/ |
D | BindGroupLayoutD3D12.cpp | 64 return AcquireRef(new BindGroupLayout(device, descriptor, pipelineCompatibilityToken)); in Create() 144 Ref<BindGroup> bindGroup = AcquireRef<BindGroup>( in AllocateBindGroup()
|
D | QuerySetD3D12.cpp | 39 Ref<QuerySet> querySet = AcquireRef(new QuerySet(device, descriptor)); in Create()
|
D | ComputePipelineD3D12.cpp | 30 return AcquireRef(new ComputePipeline(device, descriptor)); in CreateUninitialized()
|
D | SamplerD3D12.cpp | 37 return AcquireRef(new Sampler(device, descriptor)); in Create()
|
D | SwapChainD3D12.cpp | 79 return AcquireRef(new OldSwapChain(device, descriptor)); in Create() 139 Ref<SwapChain> swapchain = AcquireRef(new SwapChain(device, surface, descriptor)); in Create()
|
D | D3D11on12Util.cpp | 158 AcquireRef(new D3D11on12ResourceCacheEntry(dxgiKeyedMutex, std::move(d3d11on12Device))); in GetOrCreateD3D11on12Resource()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
D | BindGroupLayoutVk.cpp | 86 AcquireRef(new BindGroupLayout(device, descriptor, pipelineCompatibilityToken)); in Create() 185 return AcquireRef( in AllocateBindGroup()
|
D | PipelineLayoutVk.cpp | 30 Ref<PipelineLayout> layout = AcquireRef(new PipelineLayout(device, descriptor)); in Create()
|
D | QuerySetVk.cpp | 71 Ref<QuerySet> queryset = AcquireRef(new QuerySet(device, descriptor)); in Create()
|
D | ComputePipelineVk.cpp | 31 return AcquireRef(new ComputePipeline(device, descriptor)); in CreateUninitialized()
|
D | SamplerVk.cpp | 61 Ref<Sampler> sampler = AcquireRef(new Sampler(device, descriptor)); in Create()
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/native/mocks/ |
D | ShaderModuleMock.cpp | 37 return AcquireRef(mock); in Create()
|
/third_party/skia/third_party/externals/dawn/src/common/ |
D | RefCounted.h | 63 Ref<T> AcquireRef(T* pointee) { in AcquireRef() function
|