DDraceNetwork Docs
|
#include <graphics_threaded.h>
Public Types | |
enum | { INITFLAG_FULLSCREEN = 1 << 0 , INITFLAG_VSYNC = 1 << 1 , INITFLAG_RESIZABLE = 1 << 2 , INITFLAG_BORDERLESS = 1 << 3 , INITFLAG_HIGHDPI = 1 << 4 , INITFLAG_DESKTOP_FULLSCREEN = 1 << 5 } |
Public Member Functions | |
virtual | ~IGraphicsBackend ()=default |
virtual 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)=0 |
virtual int | Shutdown ()=0 |
virtual uint64_t | TextureMemoryUsage () const =0 |
virtual uint64_t | BufferMemoryUsage () const =0 |
virtual uint64_t | StreamedMemoryUsage () const =0 |
virtual uint64_t | StagingMemoryUsage () const =0 |
virtual const TTwGraphicsGpuList & | GetGpus () const =0 |
virtual void | GetVideoModes (CVideoMode *pModes, int MaxModes, int *pNumModes, int HiDPIScale, int MaxWindowWidth, int MaxWindowHeight, int Screen)=0 |
virtual void | GetCurrentVideoMode (CVideoMode &CurMode, int HiDPIScale, int MaxWindowWidth, int MaxWindowHeight, int Screen)=0 |
virtual int | GetNumScreens () const =0 |
virtual const char * | GetScreenName (int Screen) const =0 |
virtual void | Minimize ()=0 |
virtual void | Maximize ()=0 |
virtual void | SetWindowParams (int FullscreenMode, bool IsBorderless)=0 |
virtual bool | SetWindowScreen (int Index)=0 |
virtual bool | UpdateDisplayMode (int Index)=0 |
virtual int | GetWindowScreen ()=0 |
virtual int | WindowActive ()=0 |
virtual int | WindowOpen ()=0 |
virtual void | SetWindowGrab (bool Grab)=0 |
virtual bool | ResizeWindow (int w, int h, int RefreshRate)=0 |
virtual void | GetViewportSize (int &w, int &h)=0 |
virtual void | NotifyWindow ()=0 |
virtual void | WindowDestroyNtf (uint32_t WindowId)=0 |
virtual void | WindowCreateNtf (uint32_t WindowId)=0 |
virtual void | RunBuffer (CCommandBuffer *pBuffer)=0 |
virtual void | RunBufferSingleThreadedUnsafe (CCommandBuffer *pBuffer)=0 |
virtual bool | IsIdle () const =0 |
virtual void | WaitForIdle ()=0 |
virtual bool | GetDriverVersion (EGraphicsDriverAgeType DriverAgeType, int &Major, int &Minor, int &Patch, const char *&pName, EBackendType BackendType)=0 |
virtual bool | IsConfigModernAPI () |
virtual bool | UseTrianglesAsQuad () |
virtual bool | HasTileBuffering () |
virtual bool | HasQuadBuffering () |
virtual bool | HasTextBuffering () |
virtual bool | HasQuadContainerBuffering () |
virtual bool | Uses2DTextureArrays () |
virtual bool | HasTextureArraysSupport () |
virtual const char * | GetErrorString () |
virtual const char * | GetVendorString ()=0 |
virtual const char * | GetVersionString ()=0 |
virtual const char * | GetRendererString ()=0 |
virtual TGLBackendReadPresentedImageData & | GetReadPresentedImageDataFuncUnsafe ()=0 |
virtual bool | GetWarning (std::vector< std::string > &WarningStrings)=0 |
virtual bool | ShowMessageBox (unsigned Type, const char *pTitle, const char *pMsg)=0 |
anonymous enum |
|
virtualdefault |
|
pure virtual |
Implemented in CGraphicsBackend_SDL_GL.
|
pure virtual |
Implemented in CGraphicsBackend_SDL_GL.
|
pure virtual |
Implemented in CGraphicsBackend_SDL_GL.
|
inlinevirtual |
Reimplemented in CGraphicsBackend_SDL_GL.
|
pure virtual |
Implemented in CGraphicsBackend_SDL_GL.
|
pure virtual |
Implemented in CGraphicsBackend_SDL_GL.
|
pure virtual |
Implemented in CGraphicsBackend_SDL_GL.
|
pure virtual |
Implemented in CGraphicsBackend_SDL_GL.
|
pure virtual |
Implemented in CGraphicsBackend_SDL_GL.
|
pure virtual |
Implemented in CGraphicsBackend_SDL_GL.
|
pure virtual |
Implemented in CGraphicsBackend_SDL_GL.
|
pure virtual |
Implemented in CGraphicsBackend_SDL_GL.
|
pure virtual |
Implemented in CGraphicsBackend_SDL_GL.
|
pure virtual |
Implemented in CGraphicsBackend_Threaded.
|
pure virtual |
Implemented in CGraphicsBackend_SDL_GL.
|
inlinevirtual |
Reimplemented in CGraphicsBackend_SDL_GL.
|
inlinevirtual |
Reimplemented in CGraphicsBackend_SDL_GL.
|
inlinevirtual |
Reimplemented in CGraphicsBackend_SDL_GL.
|
inlinevirtual |
Reimplemented in CGraphicsBackend_SDL_GL.
|
inlinevirtual |
Reimplemented in CGraphicsBackend_SDL_GL.
|
pure virtual |
Implemented in CGraphicsBackend_SDL_GL.
|
inlinevirtual |
Reimplemented in CGraphicsBackend_SDL_GL.
|
pure virtual |
Implemented in CGraphicsBackend_Threaded.
|
pure virtual |
Implemented in CGraphicsBackend_SDL_GL.
|
pure virtual |
Implemented in CGraphicsBackend_SDL_GL.
|
pure virtual |
Implemented in CGraphicsBackend_SDL_GL.
|
pure virtual |
Implemented in CGraphicsBackend_SDL_GL.
|
pure virtual |
Implemented in CGraphicsBackend_Threaded.
|
pure virtual |
Implemented in CGraphicsBackend_Threaded.
|
pure virtual |
Implemented in CGraphicsBackend_SDL_GL.
|
pure virtual |
Implemented in CGraphicsBackend_SDL_GL.
|
pure virtual |
Implemented in CGraphicsBackend_SDL_GL.
|
pure virtual |
Implemented in CGraphicsBackend_SDL_GL.
|
pure virtual |
Implemented in CGraphicsBackend_SDL_GL.
|
pure virtual |
Implemented in CGraphicsBackend_SDL_GL.
|
pure virtual |
Implemented in CGraphicsBackend_SDL_GL.
|
pure virtual |
Implemented in CGraphicsBackend_SDL_GL.
|
pure virtual |
Implemented in CGraphicsBackend_SDL_GL.
|
inlinevirtual |
Reimplemented in CGraphicsBackend_SDL_GL.
|
inlinevirtual |
Reimplemented in CGraphicsBackend_SDL_GL.
|
pure virtual |
Implemented in CGraphicsBackend_Threaded.
|
pure virtual |
Implemented in CGraphicsBackend_SDL_GL.
|
pure virtual |
Implemented in CGraphicsBackend_SDL_GL.
|
pure virtual |
Implemented in CGraphicsBackend_SDL_GL.
|
pure virtual |
Implemented in CGraphicsBackend_SDL_GL.