Changeset 657 for OGRE/trunk/ogre_changes/RenderSystems/Direct3D7/include
- Timestamp:
- 02/20/06 19:06:03 (19 years ago)
- Location:
- OGRE/trunk/ogre_changes/RenderSystems/Direct3D7/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
OGRE/trunk/ogre_changes/RenderSystems/Direct3D7/include/OgreD3D7RenderWindow.h
r153 r657 119 119 */ 120 120 void writeContentsToFile(const String& filename); 121 121 // DirectDraw Methods 122 void createDDSurfaces(void); 123 void releaseDDSurfaces(void); 124 void restoreDDSurfaces(void); 125 void createDepthBuffer(void); 122 126 #ifdef GTP_VISIBILITY_MODIFIED_OGRE 123 127 uchar *getBufferContents(int &dimx, int &dimy); … … 159 163 LPDIRECT3DDEVICE7 mlpD3DDevice; 160 164 161 // DirectDraw Methods162 void createDDSurfaces(void);163 void releaseDDSurfaces(void);164 void restoreDDSurfaces(void);165 void createDepthBuffer(void);166 165 167 166 // Method for dealing with resize / move & 3d library -
OGRE/trunk/ogre_changes/RenderSystems/Direct3D7/include/OgreD3D7Texture.h
r154 r657 53 53 LPDIRECTDRAWSURFACE7 getDDSurface(void); 54 54 55 /// @copydoc Texture::createInternalResources56 void createInternalResources(void);57 58 55 /// @copydoc Texture::getBuffer 59 56 HardwarePixelBufferSharedPtr getBuffer(size_t face, size_t mipmap); … … 63 60 static PixelFormat closestD3DXFormat( PixelFormat format ); 64 61 static bool OgreFormat_to_DDPixelFormat( PixelFormat format, DDPIXELFORMAT & out ); 62 63 /// Restore this texture from a lost device 64 void restoreFromLostDevice(void); 65 65 66 protected: 66 67 IDirect3DDevice7 * mD3DDevice; ///< A pointer to the Direct3D device. … … 71 72 typedef std::vector<HardwarePixelBufferSharedPtr> SurfaceList; 72 73 SurfaceList mSurfaceList; 74 /// Are we restoring from a lost device? 75 bool mRestoring; 76 73 77 74 78 75 79 /// @copydoc Resource::loadImpl 76 80 void loadImpl(void); 77 /// @copydoc Resource::unloadImpl 78 void unloadImpl(void); 81 /// @copydoc Texture::createInternalResourcesImpl 82 void createInternalResourcesImpl(void); 83 /// @copydoc Resource::freeInternalResourcesImpl 84 void freeInternalResourcesImpl(void); 79 85 80 86 void createSurface2D(void);
Note: See TracChangeset
for help on using the changeset viewer.