#include <OgreDDDriver.h>
Public Methods | |
DDDriver () | |
DDDriver (const DDDriver &ob) | |
DDDriver (GUID FAR *lpGuid, LPSTR lpDriverDescription, LPSTR lpDriverName) | |
~DDDriver () | |
void | createWindowSurfaces (HWND hWnd, unsigned int width, unsigned int height, unsigned int colourDepth, bool fullScreen, LPDIRECTDRAWSURFACE7 *front, LPDIRECTDRAWSURFACE7 *back) |
Creates DirectDraw surfaces appropriate for a render window. | |
void | Cleanup (void) |
void | CheckWindow (void) |
DDDriver | operator= (const DDDriver &orig) |
String | DriverName (void) const |
String | DriverDescription (void) const |
LPDIRECTDRAW7 | directDraw () |
D3DDeviceList * | get3DDeviceList (void) |
DDVideoModeList * | getVideoModeList (void) |
DDVideoMode * | getActiveVideoMode (void) |
D3DDevice * | get3DDevice (void) |
void | OutputText (int x, int y, char *text) |
void | FlipBuffers (void) |
bool | RunningFullScreen (void) const |
RECT | ViewportRect (void) const |
bool | Has3DAcceleration (void) const |
bool | CanRenderWindowed (void) const |
void | GetDisplayDetails (unsigned int &width, unsigned int &height, unsigned int &colourDepth) |
Private Methods | |
void | logCaps (void) const |
void | RestoreSurfaces (void) |
Private Attributes | |
String | mDriverName |
String | mDriverDesc |
GUID | mGuid |
bool | mPrimaryDisplay |
LPDIRECTDRAW7 | lpDD7 |
LPDIRECT3D7 | lpD3D |
D3DDeviceList * | mDeviceList |
DDVideoModeList * | mVideoModeList |
D3DDevice * | active3DDevice |
DDVideoMode * | activeVideoMode |
HWND | activeHWnd |
DDCAPS | mSWCaps |
DDCAPS | mHWCaps |
LPDIRECTDRAWSURFACE7 | lpDDSPrimary |
LPDIRECTDRAWSURFACE7 | lpDDSBack |
bool | runningFullScreen |
bool | using3DMode |
RECT | rcViewport |
LPDIRECTDRAWCLIPPER | lpDDClipper |
Utility class for D3DRenderSystem.
Definition at line 45 of file OgreDDDriver.h.
|
Definition at line 65 of file OgreDDDriver.cpp. References active3DDevice, activeHWnd, activeVideoMode, lpD3D, lpDD7, lpDDClipper, lpDDSBack, lpDDSPrimary, mDeviceList, and mVideoModeList. |
|
Definition at line 94 of file OgreDDDriver.cpp. References active3DDevice, activeVideoMode, lpD3D, lpDD7, lpDDClipper, lpDDSBack, lpDDSPrimary, mDeviceList, mDriverDesc, mDriverName, mGuid, mHWCaps, mPrimaryDisplay, mSWCaps, and mVideoModeList. |
|
Definition at line 121 of file OgreDDDriver.cpp. References active3DDevice, activeHWnd, activeVideoMode, directDraw(), lpD3D, lpDD7, lpDDClipper, lpDDSBack, lpDDSPrimary, mDeviceList, mDriverDesc, mDriverName, mGuid, mHWCaps, mPrimaryDisplay, mSWCaps, mVideoModeList, and Ogre::String. |
|
Definition at line 82 of file OgreDDDriver.cpp. References mDeviceList, and mVideoModeList. |
|
Definition at line 522 of file OgreDDDriver.cpp. References mHWCaps. Referenced by logCaps(), and Ogre::D3DRenderSystem::refreshDDSettings(). |
|
Definition at line 407 of file OgreDDDriver.cpp. References activeHWnd, rcViewport, and RunningFullScreen(). |
|
Definition at line 364 of file OgreDDDriver.cpp. References active3DDevice, activeHWnd, Ogre::D3DDevice::Cleanup(), lpD3D, lpDD7, lpDDSBack, and lpDDSPrimary. Referenced by Ogre::D3DRenderSystem::shutdown(), and Ogre::DDDriverList::~DDDriverList(). |
|
Creates DirectDraw surfaces appropriate for a render window.
Definition at line 171 of file OgreDDDriver.cpp. References directDraw(), and lpDD7. Referenced by Ogre::D3D7RenderWindow::createDDSurfaces(). |
|
Definition at line 339 of file OgreDDDriver.cpp. References lpD3D, lpDD7, and mGuid. Referenced by createWindowSurfaces(), DDDriver(), and Ogre::D3D7RenderWindow::writeContentsToFile(). |
|
Definition at line 306 of file OgreDDDriver.cpp. References mDriverDesc, and Ogre::String. Referenced by Ogre::D3DRenderSystem::initConfigOptions(), Ogre::D3DRenderSystem::initialise(), Ogre::D3DRenderSystem::refreshDDSettings(), and Ogre::D3DRenderSystem::validateConfigOptions(). |
|
Definition at line 301 of file OgreDDDriver.cpp. References mDriverName, and Ogre::String. |
|
Definition at line 441 of file OgreDDDriver.cpp. References lpDDSBack, lpDDSPrimary, rcViewport, and RestoreSurfaces(). |
|
Definition at line 333 of file OgreDDDriver.cpp. References active3DDevice. |
|
Definition at line 311 of file OgreDDDriver.cpp. References lpD3D, and mDeviceList. Referenced by Ogre::D3D7RenderWindow::create(), and Ogre::D3D7RenderWindow::createDepthBuffer(). |
|
Definition at line 327 of file OgreDDDriver.cpp. References activeVideoMode. |
|
Definition at line 535 of file OgreDDDriver.cpp. References lpDDSPrimary. |
|
Definition at line 319 of file OgreDDDriver.cpp. References lpDD7, and mVideoModeList. Referenced by Ogre::D3DRenderSystem::initialise(), and Ogre::D3DRenderSystem::refreshDDSettings(). |
|
Definition at line 528 of file OgreDDDriver.cpp. References mHWCaps. Referenced by logCaps(). |
|
Definition at line 555 of file OgreDDDriver.cpp. References CanRenderWindowed(), and Has3DAcceleration(). |
|
Definition at line 35 of file OgreDDDriver.cpp. References active3DDevice, activeVideoMode, lpD3D, lpDD7, lpDDClipper, lpDDSBack, lpDDSPrimary, mDeviceList, mDriverDesc, mDriverName, mGuid, mHWCaps, mPrimaryDisplay, mSWCaps, and mVideoModeList. |
|
Definition at line 495 of file OgreDDDriver.cpp. References lpDDSBack. |
|
Definition at line 475 of file OgreDDDriver.cpp. References lpDDSBack, and lpDDSPrimary. Referenced by FlipBuffers(). |
|
Definition at line 512 of file OgreDDDriver.cpp. References runningFullScreen. Referenced by CheckWindow(). |
|
Definition at line 517 of file OgreDDDriver.cpp. References rcViewport. |
|
Definition at line 58 of file OgreDDDriver.h. Referenced by Cleanup(), DDDriver(), get3DDevice(), and operator=(). |
|
Definition at line 60 of file OgreDDDriver.h. Referenced by CheckWindow(), Cleanup(), and DDDriver(). |
|
Definition at line 59 of file OgreDDDriver.h. Referenced by DDDriver(), getActiveVideoMode(), and operator=(). |
|
Definition at line 55 of file OgreDDDriver.h. Referenced by Cleanup(), DDDriver(), directDraw(), get3DDeviceList(), and operator=(). |
|
Definition at line 54 of file OgreDDDriver.h. Referenced by Cleanup(), createWindowSurfaces(), DDDriver(), directDraw(), getVideoModeList(), and operator=(). |
|
Definition at line 73 of file OgreDDDriver.h. |
|
Definition at line 67 of file OgreDDDriver.h. Referenced by Cleanup(), DDDriver(), FlipBuffers(), operator=(), OutputText(), and RestoreSurfaces(). |
|
Definition at line 66 of file OgreDDDriver.h. Referenced by Cleanup(), DDDriver(), FlipBuffers(), GetDisplayDetails(), operator=(), and RestoreSurfaces(). |
|
Definition at line 56 of file OgreDDDriver.h. Referenced by DDDriver(), get3DDeviceList(), operator=(), and ~DDDriver(). |
|
Definition at line 50 of file OgreDDDriver.h. Referenced by DDDriver(), DriverDescription(), and operator=(). |
|
Definition at line 49 of file OgreDDDriver.h. Referenced by DDDriver(), DriverName(), and operator=(). |
|
Definition at line 51 of file OgreDDDriver.h. Referenced by DDDriver(), directDraw(), and operator=(). |
|
Definition at line 63 of file OgreDDDriver.h. Referenced by CanRenderWindowed(), DDDriver(), Has3DAcceleration(), and operator=(). |
|
Definition at line 52 of file OgreDDDriver.h. |
|
Definition at line 62 of file OgreDDDriver.h. |
|
Definition at line 57 of file OgreDDDriver.h. Referenced by DDDriver(), getVideoModeList(), operator=(), and ~DDDriver(). |
|
Definition at line 72 of file OgreDDDriver.h. Referenced by CheckWindow(), FlipBuffers(), and ViewportRect(). |
|
Definition at line 69 of file OgreDDDriver.h. Referenced by RunningFullScreen(). |
|
Definition at line 70 of file OgreDDDriver.h. |
Copyright © 2002-2003 by The OGRE Team
Last modified Sun Nov 28 19:49:31 2004