Go to the SVN repository for this file.
51: m_Image(new
CImage(width, height, 4))
62 #if OSMESA_MAJOR_VERSION * 100 + OSMESA_MINOR_VERSION >= 305 63 m_Ctx= OSMesaCreateContextExt( OSMESA_RGBA, 16, stencilBits, 0,
NULL);
65 m_Ctx= OSMesaCreateContext( OSMESA_RGBA,
NULL);
70 "Failed to create off-screen rendering context");
78OSMesaDestroyContext(
m_Ctx);
88 "Attempt to make an invalid context current");
109 "Attempt to make an invalid context current");
116 "Failed to make image surface current");
128 "Attempt to make an invalid context current");
137 "Failed to make image surface current");
146OSMesaGetIntegerv( OSMESA_MAX_WIDTH, &max_width );
147OSMesaGetIntegerv( OSMESA_MAX_HEIGHT, &max_height );
152OSMesaPixelStore(pname,
value);
void SetPixelStore(GLint pname, GLint value)
void GetMaximumBufferSize(GLint &max_width, GLint &max_height)
void Resize(size_t width, size_t height)
Resize frame buffer size.
void x_InitContext(unsigned stencilBits)
const CImage & GetBuffer(void) const
CGlOsContext(unsigned stencilBits=0)
size_t GetWidth(void) const
void Init(size_t width, size_t height, size_t depth)
size_t GetHeight(void) const
unsigned char * SetData(void)
#define LOG_POST(message)
This macro is deprecated and it's strongly recomended to move in all projects (except tests) to macro...
void Error(CExceptionArgs_Base &args)
void Reset(void)
Reset reference object.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
const GenericPointer< typename T::ValueType > T2 value
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4