DDraceNetwork Docs
backend_base.h File Reference
#include <engine/graphics.h>
#include <engine/client/graphics_threaded.h>
#include <SDL_video.h>
#include <atomic>
#include <cstddef>
#include <cstdint>
#include <string>
#include <vector>
Include dependency graph for backend_base.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  SGfxErrorContainer
 
struct  SGfxErrorContainer::SError
 
struct  SGfxWarningContainer
 
class  CCommandProcessorFragment_GLBase
 
struct  CCommandProcessorFragment_GLBase::SCommand_PreInit
 
struct  CCommandProcessorFragment_GLBase::SCommand_Init
 
struct  CCommandProcessorFragment_GLBase::SCommand_Shutdown
 
struct  CCommandProcessorFragment_GLBase::SCommand_PostShutdown
 

Enumerations

enum  EDebugGfxModes {
  DEBUG_GFX_MODE_NONE = 0 , DEBUG_GFX_MODE_MINIMUM , DEBUG_GFX_MODE_AFFECTS_PERFORMANCE , DEBUG_GFX_MODE_VERBOSE ,
  DEBUG_GFX_MODE_ALL
}
 
enum  ERunCommandReturnTypes { RUN_COMMAND_COMMAND_HANDLED = 0 , RUN_COMMAND_COMMAND_UNHANDLED , RUN_COMMAND_COMMAND_WARNING , RUN_COMMAND_COMMAND_ERROR }
 
enum  EGfxErrorType {
  GFX_ERROR_TYPE_NONE = 0 , GFX_ERROR_TYPE_INIT , GFX_ERROR_TYPE_OUT_OF_MEMORY_IMAGE , GFX_ERROR_TYPE_OUT_OF_MEMORY_BUFFER ,
  GFX_ERROR_TYPE_OUT_OF_MEMORY_STAGING , GFX_ERROR_TYPE_RENDER_RECORDING , GFX_ERROR_TYPE_RENDER_CMD_FAILED , GFX_ERROR_TYPE_RENDER_SUBMIT_FAILED ,
  GFX_ERROR_TYPE_SWAP_FAILED , GFX_ERROR_TYPE_UNKNOWN
}
 
enum  EGfxWarningType {
  GFX_WARNING_TYPE_NONE = 0 , GFX_WARNING_TYPE_INIT_FAILED , GFX_WARNING_TYPE_INIT_FAILED_MISSING_INTEGRATED_GPU_DRIVER , GFX_WARNING_LOW_ON_MEMORY ,
  GFX_WARNING_MISSING_EXTENSION , GFX_WARNING_TYPE_UNKNOWN
}
 

Enumeration Type Documentation

◆ EDebugGfxModes

Enumerator
DEBUG_GFX_MODE_NONE 
DEBUG_GFX_MODE_MINIMUM 
DEBUG_GFX_MODE_AFFECTS_PERFORMANCE 
DEBUG_GFX_MODE_VERBOSE 
DEBUG_GFX_MODE_ALL 

◆ EGfxErrorType

Enumerator
GFX_ERROR_TYPE_NONE 
GFX_ERROR_TYPE_INIT 
GFX_ERROR_TYPE_OUT_OF_MEMORY_IMAGE 
GFX_ERROR_TYPE_OUT_OF_MEMORY_BUFFER 
GFX_ERROR_TYPE_OUT_OF_MEMORY_STAGING 
GFX_ERROR_TYPE_RENDER_RECORDING 
GFX_ERROR_TYPE_RENDER_CMD_FAILED 
GFX_ERROR_TYPE_RENDER_SUBMIT_FAILED 
GFX_ERROR_TYPE_SWAP_FAILED 
GFX_ERROR_TYPE_UNKNOWN 

◆ EGfxWarningType

Enumerator
GFX_WARNING_TYPE_NONE 
GFX_WARNING_TYPE_INIT_FAILED 
GFX_WARNING_TYPE_INIT_FAILED_MISSING_INTEGRATED_GPU_DRIVER 
GFX_WARNING_LOW_ON_MEMORY 
GFX_WARNING_MISSING_EXTENSION 
GFX_WARNING_TYPE_UNKNOWN 

◆ ERunCommandReturnTypes

Enumerator
RUN_COMMAND_COMMAND_HANDLED 
RUN_COMMAND_COMMAND_UNHANDLED 
RUN_COMMAND_COMMAND_WARNING 
RUN_COMMAND_COMMAND_ERROR