ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

format.h
Go to the documentation of this file.
00001 /*
00002  * COPYRIGHT:       See COPYING in the top level directory
00003  * PROJECT:         ReactOS ReactX
00004  * FILE:            dll/directx/d3d9/format.h
00005  * PURPOSE:         d3d9.dll D3DFORMAT helper functions
00006  * PROGRAMERS:      Gregor Brunmar <gregor (dot) brunmar (at) home (dot) se>
00007  */
00008 
00009 #ifndef _FORMAT_H_
00010 #define _FORMAT_H_
00011 
00012 #include <d3d9.h>
00013 #include "d3d9_private.h"
00014 
00015 #define D3DFORMAT_OP_DMAP                   0x00020000L
00016 
00017 /* MSVC compile fix */
00018 #ifndef D3DFORMAT_OP_NOTEXCOORDWRAPNORMIP
00019 #define D3DFORMAT_OP_NOTEXCOORDWRAPNORMIP   0x01000000L
00020 #endif
00021 
00022 BOOL IsBackBufferFormat(D3DFORMAT Format);
00023 
00024 BOOL IsExtendedFormat(D3DFORMAT Format);
00025 
00026 BOOL IsZBufferFormat(D3DFORMAT Format);
00027 
00028 BOOL IsMultiElementFormat(D3DFORMAT Format);
00029 
00030 BOOL IsSupportedFormatOp(LPD3D9_DRIVERCAPS pDriverCaps, D3DFORMAT DisplayFormat, DWORD FormatOp);
00031 
00032 HRESULT CheckDeviceType(LPD3D9_DRIVERCAPS pDriverCaps, D3DFORMAT DisplayFormat, D3DFORMAT BackBufferFormat, BOOL Windowed);
00033 
00034 HRESULT CheckDeviceFormat(LPD3D9_DRIVERCAPS pDriverCaps, D3DFORMAT AdapterFormat, DWORD Usage, D3DRESOURCETYPE RType, D3DFORMAT CheckFormat);
00035 
00036 HRESULT CheckDeviceFormatConversion(LPD3D9_DRIVERCAPS pDriverCaps, D3DFORMAT SourceFormat, D3DFORMAT TargetFormat);
00037 
00038 HRESULT CheckDepthStencilMatch(LPD3D9_DRIVERCAPS pDriverCaps, D3DFORMAT AdapterFormat, D3DFORMAT RenderTargetFormat, D3DFORMAT DepthStencilFormat);
00039 
00040 #endif // _FORMAT_H_

Generated on Thu May 24 2012 04:18:05 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.