Panda3D
|
00001 // Filename: dxGraphicsDevice.cxx 00002 // Created by: masad (22Jul03) 00003 // 00004 //////////////////////////////////////////////////////////////////// 00005 // 00006 // PANDA 3D SOFTWARE 00007 // Copyright (c) Carnegie Mellon University. All rights reserved. 00008 // 00009 // All use of this software is subject to the terms of the revised BSD 00010 // license. You should have received a copy of this license along 00011 // with this source code in a file named "LICENSE." 00012 // 00013 //////////////////////////////////////////////////////////////////// 00014 00015 #include "config_dxgsg9.h" 00016 #include "dxGraphicsDevice9.h" 00017 00018 00019 //////////////////////////////////////////////////////////////////// 00020 // Function: DXGraphicsDevice9::Constructor 00021 // Access: Public 00022 // Description: 00023 //////////////////////////////////////////////////////////////////// 00024 DXGraphicsDevice9:: 00025 DXGraphicsDevice9(wdxGraphicsPipe9 *pipe) : 00026 GraphicsDevice(pipe) { 00027 00028 ZeroMemory(&_Scrn,sizeof(_Scrn)); 00029 _d3d_device = NULL; 00030 _swap_chain = NULL; 00031 } 00032 00033 //////////////////////////////////////////////////////////////////// 00034 // Function: DXGraphicsDevice9::Destructor 00035 // Access: Public 00036 // Description: 00037 //////////////////////////////////////////////////////////////////// 00038 DXGraphicsDevice9:: 00039 ~DXGraphicsDevice9() { 00040 }