AUI Framework  develop
Cross-platform base for C++ UI apps
Loading...
Searching...
No Matches
SoftwareRenderingContextX11 Class Reference

Public Member Functions#

void init (const Init &init) override
 
void destroyNativeWindow (AWindowBase &window) override
 
void endPaint (AWindowBase &window) override
 
- Public Member Functions inherited from SoftwareRenderingContext
void beginPaint (AWindowBase &window) override
 
void beginResize (AWindowBase &window) override
 
IRendererrenderer () override
 
AImage makeScreenshot () override
 
uint8_t & stencil (const glm::uvec2 &position)
 
glm::uvec2 bitmapSize () const
 
void putPixel (const glm::uvec2 &position, const glm::u8vec3 &color) noexcept
 
void putPixel (const glm::uvec2 &position, const glm::u8vec4 &color) noexcept
 
glm::u8vec4 getPixel (const glm::uvec2 &position) noexcept
 
void endResize (AWindowBase &window) override
 
- Public Member Functions inherited from aui::noncopyable
 noncopyable (const noncopyable &)=delete
 
noncopyableoperator= (const noncopyable &)=delete
 
- Public Member Functions inherited from CommonRenderingContext
void requestFrame ()
 
- Public Member Functions inherited from RenderingContextX11
Syncsync ()
 
XIC ic ()
 

Protected Member Functions#

void reallocate () override
 
- Protected Member Functions inherited from SoftwareRenderingContext
void reallocate (const AWindowBase &window)
 
- Protected Member Functions inherited from RenderingContextX11
void xInitNativeWindow (const IRenderingContext::Init &init, XSetWindowAttributes &swa, XVisualInfo *vi)
 
void xDestroyNativeWindow (AWindowBase &window)
 

Additional Inherited Members#

- Protected Attributes inherited from SoftwareRenderingContext
AByteBuffer mStencilBlob
 
glm::uvec2 mBitmapSize
 
std::uint8_t * mBitmapBlob = nullptr
 
- Protected Attributes inherited from CommonRenderingContext
AString mWindowClass
 
HDC mWindowDC
 
HDC mPainterDC = nullptr
 
PAINTSTRUCT mPaintstruct
 
AWindowmWindow
 
void * mDisplayLink
 
bool mFrameScheduled = false
 
bool mSmoothResize = !(ARenderingContextOptions::get().flags & ARenderContextFlags::NO_SMOOTH)
 
- Protected Attributes inherited from RenderingContextX11
Sync mXsyncRequestCounter
 
XIC mIC = nullptr
 

Member Function Documentation#

◆ destroyNativeWindow()#

void SoftwareRenderingContextX11::destroyNativeWindow ( AWindowBase & window)
overridevirtual

Implements IRenderingContext.

◆ endPaint()#

void SoftwareRenderingContextX11::endPaint ( AWindowBase & window)
overridevirtual

Reimplemented from SoftwareRenderingContext.

◆ init()#

void SoftwareRenderingContextX11::init ( const Init & init)
overridevirtual

Reimplemented from IRenderingContext.

◆ reallocate()#

void SoftwareRenderingContextX11::reallocate ( )
overrideprotectedvirtual

Reimplemented from SoftwareRenderingContext.