|
Public Types inherited from CCommandProcessorFragment_GLBase |
enum | { CMD_PRE_INIT = CCommandBuffer::CMDGROUP_PLATFORM_GL
, CMD_INIT
, CMD_SHUTDOWN
, CMD_POST_SHUTDOWN
} |
|
Public Member Functions inherited from CCommandProcessorFragment_OpenGL |
| CCommandProcessorFragment_OpenGL () |
|
virtual | ~CCommandProcessorFragment_OpenGL ()=default |
|
ERunCommandReturnTypes | RunCommand (const CCommandBuffer::SCommand *pBaseCommand) override |
|
Public Member Functions inherited from CCommandProcessorFragment_GLBase |
virtual | ~CCommandProcessorFragment_GLBase ()=default |
|
virtual ERunCommandReturnTypes | RunCommand (const CCommandBuffer::SCommand *pBaseCommand)=0 |
|
virtual void | StartCommands (size_t CommandCount, size_t EstimatedRenderCallCount) |
|
virtual void | EndCommands () |
|
const SGfxErrorContainer & | GetError () |
|
virtual void | ErroneousCleanup () |
|
const SGfxWarningContainer & | GetWarning () |
|
Protected Member Functions inherited from CCommandProcessorFragment_OpenGL2 |
void | SetState (const CCommandBuffer::SState &State, CGLSLTWProgram *pProgram, bool Use2DArrayTextures=false) |
|
bool | Cmd_Init (const SCommand_Init *pCommand) override |
|
void | Cmd_Shutdown (const SCommand_Shutdown *pCommand) override |
|
void | Cmd_RenderTex3D (const CCommandBuffer::SCommand_RenderTex3D *pCommand) override |
|
void | Cmd_CreateBufferObject (const CCommandBuffer::SCommand_CreateBufferObject *pCommand) override |
|
void | Cmd_RecreateBufferObject (const CCommandBuffer::SCommand_RecreateBufferObject *pCommand) override |
|
void | Cmd_UpdateBufferObject (const CCommandBuffer::SCommand_UpdateBufferObject *pCommand) override |
|
void | Cmd_CopyBufferObject (const CCommandBuffer::SCommand_CopyBufferObject *pCommand) override |
|
void | Cmd_DeleteBufferObject (const CCommandBuffer::SCommand_DeleteBufferObject *pCommand) override |
|
void | Cmd_CreateBufferContainer (const CCommandBuffer::SCommand_CreateBufferContainer *pCommand) override |
|
void | Cmd_UpdateBufferContainer (const CCommandBuffer::SCommand_UpdateBufferContainer *pCommand) override |
|
void | Cmd_DeleteBufferContainer (const CCommandBuffer::SCommand_DeleteBufferContainer *pCommand) override |
|
void | Cmd_IndicesRequiredNumNotify (const CCommandBuffer::SCommand_IndicesRequiredNumNotify *pCommand) override |
|
void | Cmd_RenderTileLayer (const CCommandBuffer::SCommand_RenderTileLayer *pCommand) override |
|
void | Cmd_RenderBorderTile (const CCommandBuffer::SCommand_RenderBorderTile *pCommand) override |
|
Protected Member Functions inherited from CCommandProcessorFragment_OpenGL |
bool | IsTexturedState (const CCommandBuffer::SState &State) |
|
bool | InitOpenGL (const SCommand_Init *pCommand) |
|
void | SetState (const CCommandBuffer::SState &State, bool Use2DArrayTexture=false) |
|
virtual bool | IsNewApi () |
|
void | DestroyTexture (int Slot) |
|
bool | GetPresentedImageData (uint32_t &Width, uint32_t &Height, CImageInfo::EImageFormat &Format, std::vector< uint8_t > &vDstData) override |
|
void | TextureUpdate (int Slot, int X, int Y, int Width, int Height, int GLFormat, uint8_t *pTexData) |
|
void | TextureCreate (int Slot, int Width, int Height, int GLFormat, int GLStoreFormat, int Flags, uint8_t *pTexData) |
|
virtual bool | Cmd_Init (const SCommand_Init *pCommand) |
|
virtual void | Cmd_Shutdown (const SCommand_Shutdown *pCommand) |
|
virtual void | Cmd_Texture_Destroy (const CCommandBuffer::SCommand_Texture_Destroy *pCommand) |
|
virtual void | Cmd_Texture_Create (const CCommandBuffer::SCommand_Texture_Create *pCommand) |
|
virtual void | Cmd_TextTexture_Update (const CCommandBuffer::SCommand_TextTexture_Update *pCommand) |
|
virtual void | Cmd_TextTextures_Destroy (const CCommandBuffer::SCommand_TextTextures_Destroy *pCommand) |
|
virtual void | Cmd_TextTextures_Create (const CCommandBuffer::SCommand_TextTextures_Create *pCommand) |
|
virtual void | Cmd_Clear (const CCommandBuffer::SCommand_Clear *pCommand) |
|
virtual void | Cmd_Render (const CCommandBuffer::SCommand_Render *pCommand) |
|
virtual void | Cmd_RenderTex3D (const CCommandBuffer::SCommand_RenderTex3D *pCommand) |
|
virtual void | Cmd_ReadPixel (const CCommandBuffer::SCommand_TrySwapAndReadPixel *pCommand) |
|
virtual void | Cmd_Screenshot (const CCommandBuffer::SCommand_TrySwapAndScreenshot *pCommand) |
|
virtual void | Cmd_Update_Viewport (const CCommandBuffer::SCommand_Update_Viewport *pCommand) |
|
virtual void | Cmd_CreateBufferObject (const CCommandBuffer::SCommand_CreateBufferObject *pCommand) |
|
virtual void | Cmd_RecreateBufferObject (const CCommandBuffer::SCommand_RecreateBufferObject *pCommand) |
|
virtual void | Cmd_UpdateBufferObject (const CCommandBuffer::SCommand_UpdateBufferObject *pCommand) |
|
virtual void | Cmd_CopyBufferObject (const CCommandBuffer::SCommand_CopyBufferObject *pCommand) |
|
virtual void | Cmd_DeleteBufferObject (const CCommandBuffer::SCommand_DeleteBufferObject *pCommand) |
|
virtual void | Cmd_CreateBufferContainer (const CCommandBuffer::SCommand_CreateBufferContainer *pCommand) |
|
virtual void | Cmd_UpdateBufferContainer (const CCommandBuffer::SCommand_UpdateBufferContainer *pCommand) |
|
virtual void | Cmd_DeleteBufferContainer (const CCommandBuffer::SCommand_DeleteBufferContainer *pCommand) |
|
virtual void | Cmd_IndicesRequiredNumNotify (const CCommandBuffer::SCommand_IndicesRequiredNumNotify *pCommand) |
|
virtual void | Cmd_RenderTileLayer (const CCommandBuffer::SCommand_RenderTileLayer *pCommand) |
|
virtual void | Cmd_RenderBorderTile (const CCommandBuffer::SCommand_RenderBorderTile *pCommand) |
|
virtual void | Cmd_RenderQuadLayer (const CCommandBuffer::SCommand_RenderQuadLayer *pCommand) |
|
virtual void | Cmd_RenderText (const CCommandBuffer::SCommand_RenderText *pCommand) |
|
virtual void | Cmd_RenderQuadContainer (const CCommandBuffer::SCommand_RenderQuadContainer *pCommand) |
|
virtual void | Cmd_RenderQuadContainerEx (const CCommandBuffer::SCommand_RenderQuadContainerEx *pCommand) |
|
virtual void | Cmd_RenderQuadContainerAsSpriteMultiple (const CCommandBuffer::SCommand_RenderQuadContainerAsSpriteMultiple *pCommand) |
|
virtual bool | GetPresentedImageData (uint32_t &Width, uint32_t &Height, CImageInfo::EImageFormat &Format, std::vector< uint8_t > &vDstData)=0 |
|
Static Protected Member Functions inherited from CCommandProcessorFragment_OpenGL |
static size_t | GLFormatToPixelSize (int GLFormat) |
|
Static Protected Member Functions inherited from CCommandProcessorFragment_GLBase |
static bool | Texture2DTo3D (uint8_t *pImageBuffer, int ImageWidth, int ImageHeight, size_t PixelSize, int SplitCountWidth, int SplitCountHeight, uint8_t *pTarget3DImageData, int &Target3DImageWidth, int &Target3DImageHeight) |
|
Protected Attributes inherited from CCommandProcessorFragment_OpenGL2 |
CGLSLTileProgram * | m_pTileProgram |
|
CGLSLTileProgram * | m_pTileProgramTextured |
|
CGLSLTileProgram * | m_pBorderTileProgram |
|
CGLSLTileProgram * | m_pBorderTileProgramTextured |
|
CGLSLPrimitiveProgram * | m_pPrimitive3DProgram |
|
CGLSLPrimitiveProgram * | m_pPrimitive3DProgramTextured |
|
Protected Attributes inherited from CCommandProcessorFragment_OpenGL |
std::vector< CTexture > | m_vTextures |
|
std::atomic< uint64_t > * | m_pTextureMemoryUsage |
|
uint32_t | m_CanvasWidth = 0 |
|
uint32_t | m_CanvasHeight = 0 |
|
TWGLint | m_MaxTexSize |
|
bool | m_Has2DArrayTextures |
|
bool | m_Has2DArrayTexturesAsExtension |
|
TWGLenum | m_2DArrayTarget |
|
bool | m_Has3DTextures |
|
bool | m_HasMipMaps |
|
bool | m_HasNPOTTextures |
|
bool | m_HasShaders |
|
int | m_LastBlendMode |
|
bool | m_LastClipEnable |
|
int | m_OpenGLTextureLodBIAS |
|
bool | m_IsOpenGLES |
|
Protected Attributes inherited from CCommandProcessorFragment_GLBase |
SGfxErrorContainer | m_Error |
|
SGfxWarningContainer | m_Warning |
|