Home
last modified time | relevance | path

Searched refs:AcquireRef (Results 1 – 25 of 62) sorted by relevance

123

/third_party/skia/third_party/externals/dawn/src/tests/unittests/native/
DDestroyObjectTests.cpp55 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/
DDeviceNull.cpp100 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/
DDeviceGL.cpp41 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()
DBindGroupLayoutGL.cpp30 return AcquireRef(mBindGroupAllocator.Allocate(device, descriptor)); in AllocateBindGroup()
DComputePipelineGL.cpp25 return AcquireRef(new ComputePipeline(device, descriptor)); in CreateUninitialized()
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DAsyncTask.cpp13 Ref<WaitableTask> waitableTask = AcquireRef(new WaitableTask()); in PostTask()
60 Ref<WaitableTask> waitableTask = AcquireRef(static_cast<WaitableTask*>(task)); in DoWaitableTask()
DCopyTextureForBrowserHelper.cpp357 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()
DQueryHelper.cpp177 Ref<ComputePassEncoder> pass = AcquireRef(encoder->APIBeginComputePass(&passDesc)); in EncodeConvertTimestampsToNanoseconds()
DExternalTexture.cpp86 AcquireRef(new ExternalTextureBase(device, descriptor)); in Create()
/third_party/skia/third_party/externals/dawn/src/dawn_native/metal/
DBindGroupLayoutMTL.mm26 return AcquireRef(new BindGroupLayout(device, descriptor, pipelineCompatibilityToken));
38 return AcquireRef(mBindGroupAllocator.Allocate(device, descriptor));
DSwapChainMTL.mm31 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.
DPipelineLayoutMTL.mm26 return AcquireRef(new PipelineLayout(device, descriptor));
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DBindGroupLayoutD3D12.cpp64 return AcquireRef(new BindGroupLayout(device, descriptor, pipelineCompatibilityToken)); in Create()
144 Ref<BindGroup> bindGroup = AcquireRef<BindGroup>( in AllocateBindGroup()
DQuerySetD3D12.cpp39 Ref<QuerySet> querySet = AcquireRef(new QuerySet(device, descriptor)); in Create()
DComputePipelineD3D12.cpp30 return AcquireRef(new ComputePipeline(device, descriptor)); in CreateUninitialized()
DSamplerD3D12.cpp37 return AcquireRef(new Sampler(device, descriptor)); in Create()
DSwapChainD3D12.cpp79 return AcquireRef(new OldSwapChain(device, descriptor)); in Create()
139 Ref<SwapChain> swapchain = AcquireRef(new SwapChain(device, surface, descriptor)); in Create()
DD3D11on12Util.cpp158 AcquireRef(new D3D11on12ResourceCacheEntry(dxgiKeyedMutex, std::move(d3d11on12Device))); in GetOrCreateD3D11on12Resource()
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DBindGroupLayoutVk.cpp86 AcquireRef(new BindGroupLayout(device, descriptor, pipelineCompatibilityToken)); in Create()
185 return AcquireRef( in AllocateBindGroup()
DPipelineLayoutVk.cpp30 Ref<PipelineLayout> layout = AcquireRef(new PipelineLayout(device, descriptor)); in Create()
DQuerySetVk.cpp71 Ref<QuerySet> queryset = AcquireRef(new QuerySet(device, descriptor)); in Create()
DComputePipelineVk.cpp31 return AcquireRef(new ComputePipeline(device, descriptor)); in CreateUninitialized()
DSamplerVk.cpp61 Ref<Sampler> sampler = AcquireRef(new Sampler(device, descriptor)); in Create()
/third_party/skia/third_party/externals/dawn/src/tests/unittests/native/mocks/
DShaderModuleMock.cpp37 return AcquireRef(mock); in Create()
/third_party/skia/third_party/externals/dawn/src/common/
DRefCounted.h63 Ref<T> AcquireRef(T* pointee) { in AcquireRef() function

123