Searched refs:InternalErrorType (Results 1 – 13 of 13) sorted by relevance
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
D | Error.cpp | 28 ASSERT(errorData->GetType() == InternalErrorType::DeviceLost || in IgnoreErrors() 29 errorData->GetType() == InternalErrorType::Internal); in IgnoreErrors() 33 wgpu::ErrorType ToWGPUErrorType(InternalErrorType type) { in ToWGPUErrorType() 35 case InternalErrorType::Validation: in ToWGPUErrorType() 37 case InternalErrorType::OutOfMemory: in ToWGPUErrorType() 42 case InternalErrorType::Internal: in ToWGPUErrorType() 43 case InternalErrorType::DeviceLost: in ToWGPUErrorType() 51 InternalErrorType FromWGPUErrorType(wgpu::ErrorType type) { in FromWGPUErrorType() 54 return InternalErrorType::Validation; in FromWGPUErrorType() 56 return InternalErrorType::OutOfMemory; in FromWGPUErrorType() [all …]
|
D | Error.h | 27 enum class InternalErrorType : uint32_t { enum 77 #define DAWN_VALIDATION_ERROR(MESSAGE) DAWN_MAKE_ERROR(InternalErrorType::Validation, MESSAGE) 82 DAWN_MAKE_ERROR(InternalErrorType::Validation, absl::StrFormat(__VA_ARGS__)) 86 return DAWN_MAKE_ERROR(InternalErrorType::Validation, absl::StrFormat(__VA_ARGS__)); \ 93 #define DAWN_DEVICE_LOST_ERROR(MESSAGE) DAWN_MAKE_ERROR(InternalErrorType::DeviceLost, MESSAGE) 97 #define DAWN_INTERNAL_ERROR(MESSAGE) DAWN_MAKE_ERROR(InternalErrorType::Internal, MESSAGE) 100 DAWN_MAKE_ERROR(InternalErrorType::Internal, absl::StrFormat(__VA_ARGS__)) 103 DAWN_MAKE_ERROR(InternalErrorType::Internal, std::string("Unimplemented: ") + MESSAGE) 108 #define DAWN_OUT_OF_MEMORY_ERROR(MESSAGE) DAWN_MAKE_ERROR(InternalErrorType::OutOfMemory, MESSAGE) 192 wgpu::ErrorType ToWGPUErrorType(InternalErrorType type); [all …]
|
D | ErrorData.h | 34 enum class InternalErrorType : uint32_t; 38 static DAWN_NO_DISCARD std::unique_ptr<ErrorData> Create(InternalErrorType type, 43 ErrorData(InternalErrorType type, std::string message); 54 InternalErrorType GetType() const; 63 InternalErrorType mType;
|
D | ErrorData.cpp | 23 std::unique_ptr<ErrorData> ErrorData::Create(InternalErrorType type, in Create() 33 ErrorData::ErrorData(InternalErrorType type, std::string message) in ErrorData() 54 InternalErrorType ErrorData::GetType() const { in GetType() 86 if (mContexts.empty() || mType != InternalErrorType::Validation) { in GetFormattedMessage()
|
D | TintUtils.cpp | 28 tlDevice->HandleError(InternalErrorType::Validation, diagnostics.str().c_str()); in TintICEReporter()
|
D | Device.h | 62 void HandleError(InternalErrorType type, const char* message); 86 if (error->GetType() == InternalErrorType::Validation) { in ConsumedError() 109 if (error->GetType() == InternalErrorType::Validation) { in ConsumedError()
|
D | Device.cpp | 406 void DeviceBase::HandleError(InternalErrorType type, const char* message) { in HandleError() 407 if (type == InternalErrorType::DeviceLost) { in HandleError() 420 } else if (type == InternalErrorType::Internal) { in HandleError() 440 type = InternalErrorType::DeviceLost; in HandleError() 443 if (type == InternalErrorType::DeviceLost) { in HandleError() 567 HandleError(InternalErrorType::Internal, "Device lost for testing"); in APILoseForTesting() 1217 HandleError(InternalErrorType::Validation, in APIInjectError()
|
D | EncodingContext.h | 64 if (error->GetType() == InternalErrorType::Validation) { in ConsumedError()
|
D | EncodingContext.cpp | 81 ASSERT(error->GetType() == InternalErrorType::Validation); in HandleError()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/ |
D | SwapChainGL.cpp | 39 GetDevice()->HandleError(InternalErrorType::Internal, error); in GetNextTextureImpl()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/metal/ |
D | SwapChainMTL.mm | 51 GetDevice()->HandleError(InternalErrorType::Internal, error);
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/ |
D | SwapChainD3D12.cpp | 101 device->HandleError(InternalErrorType::Internal, error); in GetNextTextureImpl()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
D | SwapChainVk.cpp | 61 GetDevice()->HandleError(InternalErrorType::Internal, error); in GetNextTextureImpl()
|