Home
last modified time | relevance | path

Searched refs:ConsumedError (Results 1 – 25 of 51) sorted by relevance

123

/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/
DRenderPassEncoder.cpp50 if (mTopLevelEncoder->ConsumedError(ValidateCanRecordCommands())) { in Draw()
66 if (mTopLevelEncoder->ConsumedError(ValidateCanRecordCommands())) { in DrawIndexed()
79 if (mTopLevelEncoder->ConsumedError(ValidateCanRecordCommands()) || in DrawIndirect()
80 mTopLevelEncoder->ConsumedError(GetDevice()->ValidateObject(indirectBuffer))) { in DrawIndirect()
97 if (mTopLevelEncoder->ConsumedError(ValidateCanRecordCommands()) || in DrawIndexedIndirect()
98 mTopLevelEncoder->ConsumedError(GetDevice()->ValidateObject(indirectBuffer))) { in DrawIndexedIndirect()
115 if (mTopLevelEncoder->ConsumedError(ValidateCanRecordCommands()) || in SetPipeline()
116 mTopLevelEncoder->ConsumedError(GetDevice()->ValidateObject(pipeline))) { in SetPipeline()
126 if (mTopLevelEncoder->ConsumedError(ValidateCanRecordCommands())) { in SetStencilReference()
136 if (mTopLevelEncoder->ConsumedError(ValidateCanRecordCommands())) { in SetBlendColor()
[all …]
DProgrammablePassEncoder.cpp42 if (mTopLevelEncoder->ConsumedError(ValidateCanRecordCommands())) { in EndPass()
51 if (mTopLevelEncoder->ConsumedError(ValidateCanRecordCommands())) { in InsertDebugMarker()
64 if (mTopLevelEncoder->ConsumedError(ValidateCanRecordCommands())) { in PopDebugGroup()
72 if (mTopLevelEncoder->ConsumedError(ValidateCanRecordCommands())) { in PushDebugGroup()
89 if (mTopLevelEncoder->ConsumedError(ValidateCanRecordCommands()) || in SetBindGroup()
90 mTopLevelEncoder->ConsumedError(GetDevice()->ValidateObject(group))) { in SetBindGroup()
DComputePassEncoder.cpp43 if (mTopLevelEncoder->ConsumedError(ValidateCanRecordCommands())) { in Dispatch()
55 if (mTopLevelEncoder->ConsumedError(ValidateCanRecordCommands()) || in DispatchIndirect()
56 mTopLevelEncoder->ConsumedError(GetDevice()->ValidateObject(indirectBuffer))) { in DispatchIndirect()
73 if (mTopLevelEncoder->ConsumedError(ValidateCanRecordCommands()) || in SetPipeline()
74 mTopLevelEncoder->ConsumedError(GetDevice()->ValidateObject(pipeline))) { in SetPipeline()
DDevice.cpp257 if (ConsumedError(CreateBindGroupInternal(&result, descriptor))) { in CreateBindGroup()
267 if (ConsumedError(CreateBindGroupLayoutInternal(&result, descriptor))) { in CreateBindGroupLayout()
276 if (ConsumedError(CreateBufferInternal(&result, descriptor))) { in CreateBuffer()
288 if (ConsumedError(CreateBufferInternal(&buffer, descriptor)) || in CreateBufferMapped()
289 ConsumedError(buffer->MapAtCreation(&data))) { in CreateBufferMapped()
341 if (ConsumedError(CreateComputePipelineInternal(&result, descriptor))) { in CreateComputePipeline()
351 if (ConsumedError(CreatePipelineLayoutInternal(&result, descriptor))) { in CreatePipelineLayout()
360 if (ConsumedError(CreateQueueInternal(&result))) { in CreateQueue()
372 if (ConsumedError(CreateSamplerInternal(&result, descriptor))) { in CreateSampler()
382 if (ConsumedError(CreateRenderPipelineInternal(&result, descriptor))) { in CreateRenderPipeline()
[all …]
DBuffer.cpp222 if (GetDevice()->ConsumedError(ValidateSetSubData(start, count))) { in SetSubData()
227 if (GetDevice()->ConsumedError(SetSubDataImpl(start, count, data))) { in SetSubData()
233 if (GetDevice()->ConsumedError(ValidateMap(dawn::BufferUsageBit::MapRead))) { in MapReadAsync()
271 if (GetDevice()->ConsumedError(ValidateMap(dawn::BufferUsageBit::MapWrite))) { in MapWriteAsync()
294 if (GetDevice()->ConsumedError(ValidateDestroy())) { in Destroy()
325 if (GetDevice()->ConsumedError(ValidateUnmap())) { in Unmap()
331 GetDevice()->ConsumedError(CopyFromStagingBuffer()); in Unmap()
DCommandEncoder.cpp666 if (ConsumedError(ValidateCanRecordTopLevelCommands())) { in BeginComputePass()
670 if (ConsumedError(ValidateComputePassDescriptor(device, descriptor))) { in BeginComputePass()
684 if (ConsumedError(ValidateCanRecordTopLevelCommands())) { in BeginRenderPass()
691 if (ConsumedError( in BeginRenderPass()
743 if (ConsumedError(ValidateCanRecordTopLevelCommands())) { in CopyBufferToBuffer()
747 if (ConsumedError(GetDevice()->ValidateObject(source))) { in CopyBufferToBuffer()
751 if (ConsumedError(GetDevice()->ValidateObject(destination))) { in CopyBufferToBuffer()
767 if (ConsumedError(ValidateCanRecordTopLevelCommands())) { in CopyBufferToTexture()
771 if (ConsumedError(GetDevice()->ValidateObject(source->buffer))) { in CopyBufferToTexture()
775 if (ConsumedError(GetDevice()->ValidateObject(destination->texture))) { in CopyBufferToTexture()
[all …]
DQueue.cpp32 if (GetDevice()->ConsumedError(ValidateSubmit(commandCount, commands))) { in Submit()
41 if (GetDevice()->ConsumedError(ValidateSignal(fence, signalValue))) { in Signal()
51 if (GetDevice()->ConsumedError(ValidateCreateFence(descriptor))) { in CreateFence()
DSwapChain.cpp87 if (GetDevice()->ConsumedError(ValidateConfigure(format, allowedUsage, width, height))) { in Configure()
103 if (GetDevice()->ConsumedError(ValidateGetNextTexture())) { in GetNextTexture()
125 if (GetDevice()->ConsumedError(ValidatePresent(texture))) { in Present()
DInstance.cpp119 return !ConsumedError(DiscoverAdaptersInternal(options)); in DiscoverAdapters()
233 bool InstanceBase::ConsumedError(MaybeError maybeError) { in ConsumedError() function in dawn_native::InstanceBase
DAdapter.cpp44 if (mInstance->ConsumedError(CreateDeviceInternal(&result, descriptor))) { in CreateDevice()
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DSwapChain.cpp39 GetDevice()->ConsumedError( in APIConfigure()
44 GetDevice()->ConsumedError( in APIGetCurrentTextureView()
50 GetDevice()->ConsumedError( in APIPresent()
159 if (GetDevice()->ConsumedError(ValidateConfigure(format, allowedUsage, width, height))) { in APIConfigure()
175 if (GetDevice()->ConsumedError(ValidateGetCurrentTextureView())) { in APIGetCurrentTextureView()
208 if (GetDevice()->ConsumedError(ValidatePresent())) { in APIPresent()
213 if (GetDevice()->ConsumedError(OnBeforePresent(mCurrentTextureView.Get()))) { in APIPresent()
308 GetDevice()->ConsumedError( in APIConfigure()
313 if (GetDevice()->ConsumedError(ValidateGetCurrentTextureView())) { in APIGetCurrentTextureView()
325 if (GetDevice()->ConsumedError(GetCurrentTextureViewImpl(), &view)) { in APIGetCurrentTextureView()
[all …]
DEncodingContext.h50 inline bool ConsumedError(MaybeError maybeError) { in ConsumedError() function
59 inline bool ConsumedError(MaybeError maybeError, in ConsumedError() function
104 return !ConsumedError(encodeFunction(&mPendingCommands)); in TryEncode()
116 return !ConsumedError(encodeFunction(&mPendingCommands), formatStr, args...); in TryEncode()
DQueue.cpp209 if (GetDevice()->ConsumedError(ValidateOnSubmittedWorkDone(signalValue, &status))) { in APIOnSubmittedWorkDone()
257 GetDevice()->ConsumedError(WriteBuffer(buffer, bufferOffset, data, size)); in APIWriteBuffer()
300 GetDevice()->ConsumedError( in APIWriteTexture()
371 GetDevice()->ConsumedError( in APICopyTextureForBrowser()
495 if (device->ConsumedError(device->ValidateIsAlive())) { in SubmitInternal()
502 device->ConsumedError(ValidateSubmit(commandCount, commands))) { in SubmitInternal()
507 if (device->ConsumedError(SubmitImpl(commandCount, commands))) { in SubmitInternal()
DDevice.cpp521 if (ConsumedError(ValidateErrorFilter(filter))) { in APIPushErrorScope()
914 if (ConsumedError(CreateBindGroup(descriptor), &result, "calling %s.CreateBindGroup(%s).", in APICreateBindGroup()
923 if (ConsumedError(CreateBindGroupLayout(descriptor), &result, in APICreateBindGroupLayout()
931 if (ConsumedError(CreateBuffer(descriptor), &result, "calling %s.CreateBuffer(%s).", this, in APICreateBuffer()
952 if (ConsumedError(CreateComputePipeline(descriptor), &result, in APICreateComputePipeline()
978 if (ConsumedError(CreatePipelineLayout(descriptor), &result, in APICreatePipelineLayout()
986 if (ConsumedError(CreateQuerySet(descriptor), &result, "calling %s.CreateQuerySet(%s).", in APICreateQuerySet()
994 if (ConsumedError(CreateSampler(descriptor), &result, "calling %s.CreateSampler(%s).", this, in APICreateSampler()
1020 if (ConsumedError(CreateRenderBundleEncoder(descriptor), &result, in APICreateRenderBundleEncoder()
1032 if (ConsumedError(CreateRenderPipeline(descriptor), &result, in APICreateRenderPipeline()
[all …]
DInstance.cpp128 return !ConsumedError(DiscoverAdaptersInternal(options)); in DiscoverAdapters()
246 bool InstanceBase::ConsumedError(MaybeError maybeError) { in ConsumedError() function in dawn_native::InstanceBase
305 if (ConsumedError(ValidateSurfaceDescriptor(this, descriptor))) { in APICreateSurface()
DBuffer.cpp327 if (GetDevice()->ConsumedError(ValidateMapAsync(mode, offset, size, &status), in APIMapAsync()
345 if (GetDevice()->ConsumedError(MapAsyncImpl(mode, offset, size))) { in APIMapAsync()
400 if (GetDevice()->ConsumedError(ValidateUnmap(), "calling %s.Unmap().", this)) { in APIUnmap()
423 GetDevice()->ConsumedError(CopyFromStagingBuffer()); in UnmapInternal()
DDevice.h64 bool ConsumedError(MaybeError maybeError) { in ConsumedError() function
73 bool ConsumedError(ResultOrError<T> resultOrError, T* result) { in ConsumedError() function
83 bool ConsumedError(MaybeError maybeError, const char* formatStr, const Args&... args) { in ConsumedError() function
103 bool ConsumedError(ResultOrError<T> resultOrError, in ConsumedError() function
DAdapter.cpp142 if (mInstance->ConsumedError(CreateDeviceInternal(&result, descriptor))) { in CreateDevice()
197 mInstance->ConsumedError(ResetInternalDeviceForTestingImpl()); in ResetInternalDeviceForTesting()
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DD3D12Backend.cpp132 if (backendDevice->ConsumedError( in Create()
137 if (backendDevice->ConsumedError( in Create()
144 if (backendDevice->ConsumedError( in Create()
154 if (backendDevice->ConsumedError(ValidateD3D12VideoTextureCanBeShared( in Create()
DBackendD3D12.cpp157 GetInstance()->ConsumedError(result.AcquireError()); in DiscoverDefaultAdapters()
189 GetInstance()->ConsumedError(adapter.AcquireError()); in DiscoverAdapters()
202 if (instance->ConsumedError(backend->Initialize())) { in Connect()
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DBackendD3D12.cpp109 if (GetInstance()->ConsumedError(adapter->Initialize())) { in DiscoverDefaultAdapters()
122 if (instance->ConsumedError(backend->Initialize())) { in Connect()
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
DDeviceGL.cpp208 if (ConsumedError(ValidateTextureDescriptor(this, textureDescriptor))) { in CreateTextureWrappingEGLImage()
211 if (ConsumedError(ValidateEGLImageCanBeWrapped(textureDescriptor, image))) { in CreateTextureWrappingEGLImage()
228 ConsumedError(DAWN_FORMAT_VALIDATION_ERROR( in CreateTextureWrappingEGLImage()
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DBackendVk.cpp402 GetInstance()->ConsumedError(result.AcquireError()); in DiscoverDefaultAdapters()
422 if (mVulkanInstances[icd] == nullptr && instance->ConsumedError([&]() -> MaybeError { in DiscoverAdapters()
434 if (instance->ConsumedError(adapter->Initialize())) { in DiscoverAdapters()
DDeviceVk.cpp770 return !ConsumedError([&]() -> MaybeError { in SignalAndExportExternalTexture()
799 if (ConsumedError(ValidateTextureDescriptor(this, textureDescriptor))) { in CreateTextureWrappingVulkanImage()
802 if (ConsumedError(ValidateVulkanImageCanBeWrapped(this, textureDescriptor), in CreateTextureWrappingVulkanImage()
817 if (ConsumedError(Texture::CreateFromExternal(this, descriptor, textureDescriptor, in CreateTextureWrappingVulkanImage()
820 ConsumedError(ImportExternalImage(descriptor, memoryHandle, result->GetHandle(), in CreateTextureWrappingVulkanImage()
823 ConsumedError(result->BindExternalMemory(descriptor, signalSemaphore, allocation, in CreateTextureWrappingVulkanImage()
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DBackendVk.cpp88 if (GetInstance()->ConsumedError(adapter->Initialize())) { in DiscoverDefaultAdapters()
218 if (instance->ConsumedError(backend->Initialize())) { in Connect()

123