| ROLAND
    0.70
    Amstrad Emulator based on Caprice Source rewritten in C++. | 
#include <videogl.h>
 
  
 | Public Member Functions | |
| VideoGL (cpcx::Cpc *cpc) | |
| virtual | ~VideoGL () | 
| virtual int | init () | 
| virtual int | init (uint width, uint height, uint depth, bool fullscreen, unsigned char scale) | 
| inits all  More... | |
| virtual Canvas * | getCanvas () | 
| virtual void | setup () | 
| Things that needs to be done before update.  More... | |
| virtual void | update () | 
| Updates the Screen (flip or something)  More... | |
| virtual void | quit () | 
| Free all resources.  More... | |
| virtual void | lock () | 
| Locks the screen-surface.  More... | |
| virtual void | unlock () | 
| Unlocks the screen-surface.  More... | |
|  Public Member Functions inherited from Video | |
| Video (cpcx::Cpc *cpc) | |
| Constructs the video interface for the.  More... | |
| virtual | ~Video () ROLAND_DEFAULT virtual int init()=0 | 
| device dependant init for inheritance  More... | |
| uint | bpp () | 
| Things that needs to be done before update.  More... | |
| uint | depth () | 
| Returns the bytes per pixel inbetween (1 to 4)  More... | |
| Size | size () | 
| Returns the size of the video surface.  More... | |
| void | setFullscreen (bool value) | 
| Set to fullscreen or not.  More... | |
| void | setDoubling (bool value) | 
| Set line doubling on or off.  More... | |
| void | setFilter (bool value) | 
| En-/disable bilinear texture filter.  More... | |
| void | toggleFullscreen () | 
| Toggles fullscreen.  More... | |
| void | toggleDoubling () | 
| Toggle line doubling.  More... | |
| void | toggleFilter () | 
| Toggle bilinear texture filter.  More... | |
| uint * | bufferStart () | 
| Returns the start of the backbuffer.  More... | |
| uint * | bufferEnd () | 
| Returns the end of the backbuffer.  More... | |
| SDL_Surface * | buffer () | 
| Returns the SDL_Surface of the backbuffer.  More... | |
| SDL_Surface * | screen () | 
| Returns the SDL_Surface of the screen.  More... | |
| Private Member Functions | |
| uint * | calcScreenStart () | 
| uint * | calcScreenEnd () | 
| Private Attributes | |
| GLuint | mTexWidth | 
| GLuint | mTexHeight | 
| GLuint | mTexnum | 
| CanvasGL | mCanvas | 
| Static Private Attributes | |
| static volatile bool | mIsLoaded =false | 
| Additional Inherited Members | |
|  Static Public Member Functions inherited from Video | |
| static void | setIcon (const String &icon) | 
| Sets an image as application icon.  More... | |
| static void | setCaption (const String &caption) | 
| Sets a caption for the application.  More... | |
|  Protected Attributes inherited from Video | |
| cpcx::Cpc * | mCpc | 
| unsigned int | mCpcWidth | 
| unsigned int | mCpcHeight | 
| unsigned char | mCpcScale | 
| unsigned int * | mBufferStart | 
| unsigned int * | mBufferEnd | 
| SDL_Surface * | mBuffer | 
| SDL_Surface * | mScreen | 
| SDL_Rect | mCanvasRect | 
|  Static Protected Attributes inherited from Video | |
| static unsigned int | mDesktopWidth = 0 | 
| static unsigned int | mDesktopHeight = 0 | 
| static bool | mFullscreen = false | 
| static bool | mDoubling = true | 
| static bool | mFilter = true | 
| 
 | virtual | 
References VideoGL::quit().
| 
 | private | 
References Video::mBuffer.
Referenced by VideoGL::init().
| 
 | private | 
References Video::mBuffer, and Video::mCanvasRect.
Referenced by VideoGL::init().
| 
 | inlinevirtual | 
Implements Video.
References VideoGL::mCanvas, and VideoGL::setup().
| 
 | virtual | 
References Video::mCpcScale, and Video::mFullscreen.
inits all
| width | = width | 
| height | = height | 
Implements Video.
References Vdu::Bpp16, Vdu::Bpp24, Vdu::Bpp32, VideoGL::calcScreenEnd(), VideoGL::calcScreenStart(), Cpc::colours(), CPC_VISIBLE_SCR_HEIGHT, CPC_VISIBLE_SCR_WIDTH, EOUT, init_glfuncs(), IOUT, Video::mBuffer, Video::mBufferEnd, Video::mBufferStart, VideoGL::mCanvas, Video::mCanvasRect, Video::mCpc, Video::mCpcHeight, Video::mCpcScale, Video::mCpcWidth, Video::mFilter, Video::mFullscreen, VideoGL::mIsLoaded, Video::mScreen, VideoGL::mTexHeight, VideoGL::mTexnum, VideoGL::mTexWidth, VideoGL::quit(), Vdu::setBpp(), Colours::setDepth(), Vdu::setLineDoubling(), Vdu::setScrBase(), Vdu::setScrEnd(), Vdu::setScrLineOffset(), Canvas::setSurface(), and Cpc::vdu().
| 
 | inlinevirtual | 
Locks the screen-surface.
Reimplemented from Video.
| 
 | virtual | 
Free all resources.
Implements Video.
References IOUT, Video::mBuffer, Video::mScreen, and VideoGL::mTexnum.
Referenced by VideoGL::init(), VideoGL::update(), and VideoGL::~VideoGL().
| 
 | virtual | 
Things that needs to be done before update.
Reimplemented from Video.
References Video::mBuffer, Video::mScreen, VideoGL::mTexHeight, VideoGL::mTexnum, and VideoGL::mTexWidth.
Referenced by VideoGL::getCanvas().
| 
 | inlinevirtual | 
Unlocks the screen-surface.
Reimplemented from Video.
| 
 | inlinevirtual | 
| 
 | private | 
Referenced by VideoGL::getCanvas(), and VideoGL::init().
| 
 | staticprivate | 
Referenced by VideoGL::init().
| 
 | private | 
Referenced by VideoGL::init(), VideoGL::setup(), and VideoGL::VideoGL().
| 
 | private | 
Referenced by VideoGL::init(), VideoGL::quit(), VideoGL::setup(), and VideoGL::VideoGL().
| 
 | private | 
Referenced by VideoGL::init(), VideoGL::setup(), and VideoGL::VideoGL().
 1.8.11
 1.8.11