Searched refs:maybeError (Results 1 – 8 of 8) sorted by relevance
50 inline bool ConsumedError(MaybeError maybeError) { in ConsumedError() argument51 if (DAWN_UNLIKELY(maybeError.IsError())) { in ConsumedError()52 HandleError(maybeError.AcquireError()); in ConsumedError()59 inline bool ConsumedError(MaybeError maybeError, in ConsumedError() argument62 if (DAWN_UNLIKELY(maybeError.IsError())) { in ConsumedError()63 std::unique_ptr<ErrorData> error = maybeError.AcquireError(); in ConsumedError()
123 MaybeError maybeError = mComputePipeline->Initialize(); in Run() local125 if (maybeError.IsError()) { in Run()127 errorMessage = maybeError.AcquireError()->GetMessage(); in Run()172 MaybeError maybeError = mRenderPipeline->Initialize(); in Run() local174 if (maybeError.IsError()) { in Run()176 errorMessage = maybeError.AcquireError()->GetMessage(); in Run()
22 void IgnoreErrors(MaybeError maybeError) { in IgnoreErrors() argument23 if (maybeError.IsError()) { in IgnoreErrors()24 std::unique_ptr<ErrorData> errorData = maybeError.AcquireError(); in IgnoreErrors()
64 bool ConsumedError(MaybeError maybeError) { in ConsumedError() argument65 if (DAWN_UNLIKELY(maybeError.IsError())) { in ConsumedError()66 ConsumeError(maybeError.AcquireError()); in ConsumedError()83 bool ConsumedError(MaybeError maybeError, const char* formatStr, const Args&... args) { in ConsumedError() argument84 if (DAWN_UNLIKELY(maybeError.IsError())) { in ConsumedError()85 std::unique_ptr<ErrorData> error = maybeError.AcquireError(); in ConsumedError()
246 bool InstanceBase::ConsumedError(MaybeError maybeError) { in ConsumedError() argument247 if (maybeError.IsError()) { in ConsumedError()248 std::unique_ptr<ErrorData> error = maybeError.AcquireError(); in ConsumedError()
54 bool ConsumedError(MaybeError maybeError);
1339 MaybeError maybeError = computePipeline->Initialize(); in InitializeComputePipelineAsyncImpl() local1340 if (maybeError.IsError()) { in InitializeComputePipelineAsyncImpl()1341 std::unique_ptr<ErrorData> error = maybeError.AcquireError(); in InitializeComputePipelineAsyncImpl()1362 MaybeError maybeError = renderPipeline->Initialize(); in InitializeRenderPipelineAsyncImpl() local1363 if (maybeError.IsError()) { in InitializeRenderPipelineAsyncImpl()1364 std::unique_ptr<ErrorData> error = maybeError.AcquireError(); in InitializeRenderPipelineAsyncImpl()
190 void IgnoreErrors(MaybeError maybeError);