![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
![]() |
#include <FXGLVisual.h>
Visual describes pixel format of a drawable.
FX::FXGLVisual::FXGLVisual | ( | FXApp * | a, |
FXuint | flags | ||
) |
Construct default visual.
virtual FX::FXGLVisual::~FXGLVisual | ( | ) | [virtual] |
Destructor.
static FXbool FX::FXGLVisual::supported | ( | FXApp * | application, |
int & | major, | ||
int & | minor | ||
) | [static] |
Test if OpenGL is possible, and what level is supported.
Because of remote display capability, the display server may support a different level of OpenGL than the client; it may even support no OpenGL at all! This function returns the lesser of the client support level and the display server support level.
virtual void FX::FXGLVisual::create | ( | ) | [virtual] |
Create visual.
Reimplemented from FX::FXVisual.
virtual void FX::FXGLVisual::detach | ( | ) | [virtual] |
Detach visual.
Reimplemented from FX::FXVisual.
virtual void FX::FXGLVisual::destroy | ( | ) | [virtual] |
Destroy visual.
Reimplemented from FX::FXVisual.
FXint FX::FXGLVisual::getRedSize | ( | ) | const [inline] |
Get sizes for bit-planes.
FXint FX::FXGLVisual::getGreenSize | ( | ) | const [inline] |
FXint FX::FXGLVisual::getBlueSize | ( | ) | const [inline] |
FXint FX::FXGLVisual::getAlphaSize | ( | ) | const [inline] |
FXint FX::FXGLVisual::getDepthSize | ( | ) | const [inline] |
FXint FX::FXGLVisual::getStencilSize | ( | ) | const [inline] |
FXint FX::FXGLVisual::getAccumRedSize | ( | ) | const [inline] |
FXint FX::FXGLVisual::getAccumGreenSize | ( | ) | const [inline] |
FXint FX::FXGLVisual::getAccumBlueSize | ( | ) | const [inline] |
FXint FX::FXGLVisual::getAccumAlphaSize | ( | ) | const [inline] |
void FX::FXGLVisual::setRedSize | ( | FXint | rs | ) | [inline] |
Set sizes for bit-planes.
void FX::FXGLVisual::setGreenSize | ( | FXint | gs | ) | [inline] |
void FX::FXGLVisual::setBlueSize | ( | FXint | bs | ) | [inline] |
void FX::FXGLVisual::setAlphaSize | ( | FXint | as | ) | [inline] |
void FX::FXGLVisual::setDepthSize | ( | FXint | ds | ) | [inline] |
void FX::FXGLVisual::setStencilSize | ( | FXint | ss | ) | [inline] |
void FX::FXGLVisual::setAccumRedSize | ( | FXint | rs | ) | [inline] |
void FX::FXGLVisual::setAccumGreenSize | ( | FXint | gs | ) | [inline] |
void FX::FXGLVisual::setAccumBlueSize | ( | FXint | bs | ) | [inline] |
void FX::FXGLVisual::setAccumAlphaSize | ( | FXint | as | ) | [inline] |
FXint FX::FXGLVisual::getActualRedSize | ( | ) | const |
Get ACTUAL sizes for bit-planes.
FXint FX::FXGLVisual::getActualGreenSize | ( | ) | const |
FXint FX::FXGLVisual::getActualBlueSize | ( | ) | const |
FXint FX::FXGLVisual::getActualAlphaSize | ( | ) | const |
FXint FX::FXGLVisual::getActualDepthSize | ( | ) | const |
FXint FX::FXGLVisual::getActualStencilSize | ( | ) | const |
FXint FX::FXGLVisual::getActualAccumRedSize | ( | ) | const |
FXint FX::FXGLVisual::getActualAccumGreenSize | ( | ) | const |
FXint FX::FXGLVisual::getActualAccumBlueSize | ( | ) | const |
FXint FX::FXGLVisual::getActualAccumAlphaSize | ( | ) | const |
FXbool FX::FXGLVisual::isDoubleBuffer | ( | ) | const |
Is it double buffered?
FXbool FX::FXGLVisual::isStereo | ( | ) | const |
Is it stereo?
FXbool FX::FXGLVisual::isAccelerated | ( | ) | const |
Is it hardware-accelerated?
FXbool FX::FXGLVisual::isBufferSwapCopy | ( | ) | const |
Does it swap by copying instead of flipping buffers.
virtual void FX::FXGLVisual::save | ( | FXStream & | store | ) | const [virtual] |
Save visual info to a stream.
Reimplemented from FX::FXVisual.
virtual void FX::FXGLVisual::load | ( | FXStream & | store | ) | [virtual] |
Load visual info to a stream.
Reimplemented from FX::FXVisual.
friend class FXWindow [friend] |
Reimplemented from FX::FXVisual.
friend class FXImage [friend] |
Reimplemented from FX::FXVisual.
friend class FXIcon [friend] |
Reimplemented from FX::FXVisual.
friend class FXBitmap [friend] |
Reimplemented from FX::FXVisual.
friend class FXDCWindow [friend] |
Reimplemented from FX::FXVisual.
friend class FXGLCanvas [friend] |
Reimplemented from FX::FXVisual.
![]() |