One-shot warning flags per failure cause; paths with extra causes (DMABuf, D3D, IOSurface) derive and add members. More...
#include <GstHwVideoBuffer.h>
Public Member Functions | |
| void | reset () noexcept |
Public Attributes | |
| std::atomic< bool > | loggedFirstSuccess {false} |
| std::atomic< bool > | loggedNullSample {false} |
| std::atomic< bool > | loggedWrongThread {false} |
| std::atomic< bool > | loggedBadBackend {false} |
| std::atomic< bool > | loggedNullBuffer {false} |
| std::atomic< bool > | loggedTextureCreateFail {false} |
One-shot warning flags per failure cause; paths with extra causes (DMABuf, D3D, IOSurface) derive and add members.
Definition at line 24 of file GstHwVideoBuffer.h.
|
inlinenoexcept |
Re-arms every flag, so a recreated device or scene graph reports its failures again. A deriving struct's reset() calls this and re-arms its own.
Definition at line 35 of file GstHwVideoBuffer.h.
References loggedBadBackend, loggedFirstSuccess, loggedNullBuffer, loggedNullSample, loggedTextureCreateFail, and loggedWrongThread.
| std::atomic<bool> GstHw::MapDiagnostics::loggedBadBackend {false} |
Definition at line 29 of file GstHwVideoBuffer.h.
Referenced by GstHwVideoBuffer::checkMapPreconditions(), and reset().
| std::atomic<bool> GstHw::MapDiagnostics::loggedFirstSuccess {false} |
Definition at line 26 of file GstHwVideoBuffer.h.
Referenced by GstHwFrameTexturesBase::finishMap(), and reset().
| std::atomic<bool> GstHw::MapDiagnostics::loggedNullBuffer {false} |
Definition at line 30 of file GstHwVideoBuffer.h.
Referenced by GstHwVideoBuffer::checkMapPreconditions(), and reset().
| std::atomic<bool> GstHw::MapDiagnostics::loggedNullSample {false} |
Definition at line 27 of file GstHwVideoBuffer.h.
Referenced by GstHwVideoBuffer::checkMapPreconditions(), and reset().
| std::atomic<bool> GstHw::MapDiagnostics::loggedTextureCreateFail {false} |
Definition at line 31 of file GstHwVideoBuffer.h.
Referenced by GstHwFrameTexturesBase::finishMap(), and reset().
| std::atomic<bool> GstHw::MapDiagnostics::loggedWrongThread {false} |
Definition at line 28 of file GstHwVideoBuffer.h.
Referenced by GstHwVideoBuffer::checkMapPreconditions(), and reset().