#include <backend_sdl.h>
|
| | CGraphicsBackend_SDL_GL (TTranslateFunc &&TranslateFunc) |
| |
| int | Init (const char *pName, int *pScreen, int *pWidth, int *pHeight, int *pRefreshRate, int *pFsaaSamples, int Flags, int *pDesktopWidth, int *pDesktopHeight, int *pCurrentWidth, int *pCurrentHeight, class IStorage *pStorage) override |
| |
| int | Shutdown () override |
| |
| uint64_t | TextureMemoryUsage () const override |
| |
| uint64_t | BufferMemoryUsage () const override |
| |
| uint64_t | StreamedMemoryUsage () const override |
| |
| uint64_t | StagingMemoryUsage () const override |
| |
| const TTwGraphicsGpuList & | GetGpus () const override |
| |
| int | GetNumScreens () const override |
| |
| const char * | GetScreenName (int Screen) const override |
| |
| void | GetVideoModes (CVideoMode *pModes, int MaxModes, int *pNumModes, float HiDPIScale, int MaxWindowWidth, int MaxWindowHeight, int ScreenId) override |
| |
| void | GetCurrentVideoMode (CVideoMode &CurMode, float HiDPIScale, int MaxWindowWidth, int MaxWindowHeight, int ScreenId) override |
| |
| void | Minimize () override |
| |
| void | Maximize () override |
| |
| void | SetWindowParams (int FullscreenMode, bool IsBorderless) override |
| |
| bool | SetWindowScreen (int Index) override |
| |
| bool | UpdateDisplayMode (int Index) override |
| |
| int | GetWindowScreen () override |
| |
| int | WindowActive () override |
| |
| int | WindowOpen () override |
| |
| void | SetWindowGrab (bool Grab) override |
| |
| bool | ResizeWindow (int w, int h, int RefreshRate) override |
| |
| void | GetViewportSize (int &w, int &h) override |
| |
| void | NotifyWindow () override |
| |
| bool | IsScreenKeyboardShown () override |
| |
| void | WindowDestroyNtf (uint32_t WindowId) override |
| |
| void | WindowCreateNtf (uint32_t WindowId) override |
| |
| bool | GetDriverVersion (EGraphicsDriverAgeType DriverAgeType, int &Major, int &Minor, int &Patch, const char *&pName, EBackendType BackendType) override |
| |
| bool | IsConfigModernAPI () override |
| |
| bool | UseTrianglesAsQuad () override |
| |
| bool | HasTileBuffering () override |
| |
| bool | HasQuadBuffering () override |
| |
| bool | HasTextBuffering () override |
| |
| bool | HasQuadContainerBuffering () override |
| |
| bool | Uses2DTextureArrays () override |
| |
| bool | HasTextureArraysSupport () override |
| |
| const char * | GetErrorString () override |
| |
| const char * | GetVendorString () override |
| |
| const char * | GetVersionString () override |
| |
| const char * | GetRendererString () override |
| |
| TGLBackendReadPresentedImageData & | GetReadPresentedImageDataFuncUnsafe () override |
| |
| std::optional< int > | ShowMessageBox (const IGraphics::CMessageBox &MessageBox) override |
| |
| | CGraphicsBackend_Threaded (TTranslateFunc &&TranslateFunc) |
| |
| void | RunBuffer (CCommandBuffer *pBuffer) override |
| |
| void | RunBufferSingleThreadedUnsafe (CCommandBuffer *pBuffer) override |
| |
| bool | IsIdle () const override |
| |
| void | WaitForIdle () override |
| |
| void | ProcessError (const SGfxErrorContainer &Error) |
| |
| bool | GetWarning (std::vector< std::string > &WarningStrings) override |
| |
| virtual | ~IGraphicsBackend ()=default |
| |
◆ CGraphicsBackend_SDL_GL()
| CGraphicsBackend_SDL_GL::CGraphicsBackend_SDL_GL |
( |
TTranslateFunc && |
TranslateFunc | ) |
|
◆ BufferMemoryUsage()
| uint64_t CGraphicsBackend_SDL_GL::BufferMemoryUsage |
( |
| ) |
const |
|
overridevirtual |
◆ ClampDriverVersion()
◆ DetectBackend()
◆ GetCurrentVideoMode()
| void CGraphicsBackend_SDL_GL::GetCurrentVideoMode |
( |
CVideoMode & |
CurMode, |
|
|
float |
HiDPIScale, |
|
|
int |
MaxWindowWidth, |
|
|
int |
MaxWindowHeight, |
|
|
int |
ScreenId |
|
) |
| |
|
overridevirtual |
◆ GetDriverVersion()
◆ GetErrorString()
| const char * CGraphicsBackend_SDL_GL::GetErrorString |
( |
| ) |
|
|
inlineoverridevirtual |
◆ GetGpus()
◆ GetNumScreens()
| int CGraphicsBackend_SDL_GL::GetNumScreens |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ GetReadPresentedImageDataFuncUnsafe()
◆ GetRendererString()
| const char * CGraphicsBackend_SDL_GL::GetRendererString |
( |
| ) |
|
|
inlineoverridevirtual |
◆ GetScreenName()
| const char * CGraphicsBackend_SDL_GL::GetScreenName |
( |
int |
Screen | ) |
const |
|
overridevirtual |
◆ GetVendorString()
| const char * CGraphicsBackend_SDL_GL::GetVendorString |
( |
| ) |
|
|
inlineoverridevirtual |
◆ GetVersionString()
| const char * CGraphicsBackend_SDL_GL::GetVersionString |
( |
| ) |
|
|
inlineoverridevirtual |
◆ GetVideoModes()
| void CGraphicsBackend_SDL_GL::GetVideoModes |
( |
CVideoMode * |
pModes, |
|
|
int |
MaxModes, |
|
|
int * |
pNumModes, |
|
|
float |
HiDPIScale, |
|
|
int |
MaxWindowWidth, |
|
|
int |
MaxWindowHeight, |
|
|
int |
ScreenId |
|
) |
| |
|
overridevirtual |
◆ GetViewportSize()
| void CGraphicsBackend_SDL_GL::GetViewportSize |
( |
int & |
w, |
|
|
int & |
h |
|
) |
| |
|
overridevirtual |
◆ GetWindowScreen()
| int CGraphicsBackend_SDL_GL::GetWindowScreen |
( |
| ) |
|
|
overridevirtual |
◆ HasQuadBuffering()
| bool CGraphicsBackend_SDL_GL::HasQuadBuffering |
( |
| ) |
|
|
inlineoverridevirtual |
◆ HasQuadContainerBuffering()
| bool CGraphicsBackend_SDL_GL::HasQuadContainerBuffering |
( |
| ) |
|
|
inlineoverridevirtual |
◆ HasTextBuffering()
| bool CGraphicsBackend_SDL_GL::HasTextBuffering |
( |
| ) |
|
|
inlineoverridevirtual |
◆ HasTextureArraysSupport()
| bool CGraphicsBackend_SDL_GL::HasTextureArraysSupport |
( |
| ) |
|
|
inlineoverridevirtual |
◆ HasTileBuffering()
| bool CGraphicsBackend_SDL_GL::HasTileBuffering |
( |
| ) |
|
|
inlineoverridevirtual |
◆ Init()
| int CGraphicsBackend_SDL_GL::Init |
( |
const char * |
pName, |
|
|
int * |
pScreen, |
|
|
int * |
pWidth, |
|
|
int * |
pHeight, |
|
|
int * |
pRefreshRate, |
|
|
int * |
pFsaaSamples, |
|
|
int |
Flags, |
|
|
int * |
pDesktopWidth, |
|
|
int * |
pDesktopHeight, |
|
|
int * |
pCurrentWidth, |
|
|
int * |
pCurrentHeight, |
|
|
class IStorage * |
pStorage |
|
) |
| |
|
overridevirtual |
◆ IsConfigModernAPI()
| bool CGraphicsBackend_SDL_GL::IsConfigModernAPI |
( |
| ) |
|
|
inlineoverridevirtual |
◆ IsModernAPI()
◆ IsScreenKeyboardShown()
| bool CGraphicsBackend_SDL_GL::IsScreenKeyboardShown |
( |
| ) |
|
|
overridevirtual |
◆ Maximize()
| void CGraphicsBackend_SDL_GL::Maximize |
( |
| ) |
|
|
overridevirtual |
◆ Minimize()
| void CGraphicsBackend_SDL_GL::Minimize |
( |
| ) |
|
|
overridevirtual |
◆ NotifyWindow()
| void CGraphicsBackend_SDL_GL::NotifyWindow |
( |
| ) |
|
|
overridevirtual |
◆ ResizeWindow()
| bool CGraphicsBackend_SDL_GL::ResizeWindow |
( |
int |
w, |
|
|
int |
h, |
|
|
int |
RefreshRate |
|
) |
| |
|
overridevirtual |
◆ SetWindowGrab()
| void CGraphicsBackend_SDL_GL::SetWindowGrab |
( |
bool |
Grab | ) |
|
|
overridevirtual |
◆ SetWindowParams()
| void CGraphicsBackend_SDL_GL::SetWindowParams |
( |
int |
FullscreenMode, |
|
|
bool |
IsBorderless |
|
) |
| |
|
overridevirtual |
◆ SetWindowScreen()
| bool CGraphicsBackend_SDL_GL::SetWindowScreen |
( |
int |
Index | ) |
|
|
overridevirtual |
◆ ShowMessageBox()
◆ Shutdown()
| int CGraphicsBackend_SDL_GL::Shutdown |
( |
| ) |
|
|
overridevirtual |
◆ StagingMemoryUsage()
| uint64_t CGraphicsBackend_SDL_GL::StagingMemoryUsage |
( |
| ) |
const |
|
overridevirtual |
◆ StreamedMemoryUsage()
| uint64_t CGraphicsBackend_SDL_GL::StreamedMemoryUsage |
( |
| ) |
const |
|
overridevirtual |
◆ TextureMemoryUsage()
| uint64_t CGraphicsBackend_SDL_GL::TextureMemoryUsage |
( |
| ) |
const |
|
overridevirtual |
◆ UpdateDisplayMode()
| bool CGraphicsBackend_SDL_GL::UpdateDisplayMode |
( |
int |
Index | ) |
|
|
overridevirtual |
◆ Uses2DTextureArrays()
| bool CGraphicsBackend_SDL_GL::Uses2DTextureArrays |
( |
| ) |
|
|
inlineoverridevirtual |
◆ UseTrianglesAsQuad()
| bool CGraphicsBackend_SDL_GL::UseTrianglesAsQuad |
( |
| ) |
|
|
inlineoverridevirtual |
◆ WindowActive()
| int CGraphicsBackend_SDL_GL::WindowActive |
( |
| ) |
|
|
overridevirtual |
◆ WindowCreateNtf()
| void CGraphicsBackend_SDL_GL::WindowCreateNtf |
( |
uint32_t |
WindowId | ) |
|
|
overridevirtual |
◆ WindowDestroyNtf()
| void CGraphicsBackend_SDL_GL::WindowDestroyNtf |
( |
uint32_t |
WindowId | ) |
|
|
overridevirtual |
◆ WindowOpen()
| int CGraphicsBackend_SDL_GL::WindowOpen |
( |
| ) |
|
|
overridevirtual |
◆ m_aErrorString
| char CGraphicsBackend_SDL_GL::m_aErrorString[256] |
|
private |
◆ m_aRendererString
◆ m_aVendorString
◆ m_aVersionString
◆ m_BackendType
◆ m_BufferMemoryUsage
| std::atomic<uint64_t> CGraphicsBackend_SDL_GL::m_BufferMemoryUsage {0} |
|
private |
◆ m_Capabilites
◆ m_GLContext
◆ m_GpuList
◆ m_NumScreens
| int CGraphicsBackend_SDL_GL::m_NumScreens |
|
private |
◆ m_pProcessor
◆ m_pWindow
◆ m_ReadPresentedImageDataFunc
◆ m_StagingMemoryUsage
| std::atomic<uint64_t> CGraphicsBackend_SDL_GL::m_StagingMemoryUsage {0} |
|
private |
◆ m_StreamMemoryUsage
| std::atomic<uint64_t> CGraphicsBackend_SDL_GL::m_StreamMemoryUsage {0} |
|
private |
◆ m_TextureMemoryUsage
| std::atomic<uint64_t> CGraphicsBackend_SDL_GL::m_TextureMemoryUsage {0} |
|
private |
The documentation for this class was generated from the following files: