#include <vgui_accelerate_x11.h>
Inheritance diagram for vgui_accelerate_x11:

Definition at line 24 of file vgui_accelerate_x11.h.
Public Member Functions | |
| vgui_accelerate_x11 () | |
| virtual | ~vgui_accelerate_x11 () |
| virtual bool | vgui_glDrawPixels (GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels) |
| Fast-as-we-can version of drawpixels. | |
| virtual bool | vgui_glClear (GLbitfield mask) |
| OpenGL clearing. | |
| virtual bool | vgui_choose_cache_format (GLenum *format, GLenum *type) |
| Set the OpenGL cache format. | |
| virtual bool | vgui_copy_aux_to_back () |
| For X11/Mesa - copy auxiliary buffer to back buffer. | |
| virtual bool | vgui_copy_back_to_aux () |
| For X11/Mesa - copy back buffer to auxiliary buffer. | |
Static Public Member Functions | |
| static vgui_accelerate * | instance () |
| Singleton instance of this class. | |
| static void | register_accelerator (vgui_accelerate *p, int level) |
| If level is higher than current level, then change to given accelerator. | |
Static Public Attributes | |
| static bool | vgui_no_acceleration = false |
| Set to true for no acceleration. | |
| static bool | vgui_mfc_acceleration = false |
| Set to true to use MFC acceleration. | |
| static bool | vgui_doublebuffer = true |
| Sometimes double buffering needs to be switched off on windows. | |
Protected Attributes | |
| char * | aux_buffer |
| int | aux_buffer_size |
|
|
|
|
|
|
|
|
Singleton instance of this class.
Definition at line 26 of file vgui_accelerate.cxx. |
|
||||||||||||
|
If level is higher than current level, then change to given accelerator.
Definition at line 32 of file vgui_accelerate.cxx. |
|
||||||||||||
|
Set the OpenGL cache format. If you pass stuff to vgui_glDrawPixels, and the format and type are what you got from an earlier call to this baby, then it might go faster. Reimplemented from vgui_accelerate. |
|
|
For X11/Mesa - copy auxiliary buffer to back buffer. This function is used in X11/Mesa to speed up overlay emulation. It returns false to indicate to overlay_biscuit that a default emulation must be used. Reimplemented from vgui_accelerate. |
|
|
For X11/Mesa - copy back buffer to auxiliary buffer. This function is used in X11/Mesa to speed up overlay emulation. It returns false to indicate to overlay_biscuit that a default emulation must be used. Reimplemented from vgui_accelerate. |
|
|
OpenGL clearing.
Reimplemented from vgui_accelerate. |
|
||||||||||||||||||||||||
|
Fast-as-we-can version of drawpixels.
Reimplemented from vgui_accelerate. |
|
|
Definition at line 36 of file vgui_accelerate_x11.h. |
|
|
Definition at line 37 of file vgui_accelerate_x11.h. |
|
|
Sometimes double buffering needs to be switched off on windows.
Definition at line 34 of file vgui_accelerate.h. |
|
|
Set to true to use MFC acceleration.
Definition at line 31 of file vgui_accelerate.h. |
|
|
Set to true for no acceleration.
Definition at line 28 of file vgui_accelerate.h. |
1.4.4