Home
last modified time | relevance | path

Searched refs:InternalErrorType (Results 1 – 13 of 13) sorted by relevance

/third_party/skia/third_party/externals/dawn/src/dawn_native/
DError.cpp28 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 …]
DError.h27 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 …]
DErrorData.h34 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;
DErrorData.cpp23 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()
DTintUtils.cpp28 tlDevice->HandleError(InternalErrorType::Validation, diagnostics.str().c_str()); in TintICEReporter()
DDevice.h62 void HandleError(InternalErrorType type, const char* message);
86 if (error->GetType() == InternalErrorType::Validation) { in ConsumedError()
109 if (error->GetType() == InternalErrorType::Validation) { in ConsumedError()
DDevice.cpp406 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()
DEncodingContext.h64 if (error->GetType() == InternalErrorType::Validation) { in ConsumedError()
DEncodingContext.cpp81 ASSERT(error->GetType() == InternalErrorType::Validation); in HandleError()
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
DSwapChainGL.cpp39 GetDevice()->HandleError(InternalErrorType::Internal, error); in GetNextTextureImpl()
/third_party/skia/third_party/externals/dawn/src/dawn_native/metal/
DSwapChainMTL.mm51 GetDevice()->HandleError(InternalErrorType::Internal, error);
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DSwapChainD3D12.cpp101 device->HandleError(InternalErrorType::Internal, error); in GetNextTextureImpl()
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DSwapChainVk.cpp61 GetDevice()->HandleError(InternalErrorType::Internal, error); in GetNextTextureImpl()