Lines Matching refs:mpDirectDraw

577             COMReference<IDirectDraw2>       getDirectDraw() { return mpDirectDraw; }  in getDirectDraw()
651 COMReference<IDirectDraw2> mpDirectDraw; member in dxcanvas::__anon63efdfb30111::DXRenderModule
1035 mpDirectDraw(), in DXRenderModule()
1143 mpDirectDraw = COMReference<IDirectDraw2>( in create()
1146 if(!mpDirectDraw.is()) in create()
1153 mpDirectDraw.reset(); in create()
1161 mpDirectDraw.reset(); in create()
1165 if( FAILED( mpDirectDraw->SetCooperativeLevel( mhWnd, in create()
1170 mpDirectDraw.reset(); in create()
1180 if( FAILED( mpDirectDraw->GetDisplayMode( &maSelectedFullscreenMode.selectedDesc )) ) in create()
1184 mpDirectDraw.reset(); in create()
1194 mpDirectDraw.reset(); in create()
1208 if( FAILED(mpDirectDraw->CreateSurface(&aSurfaceDesc, &pPrimarySurface, NULL)) ) in create()
1212 mpDirectDraw.reset(); in create()
1221 if( FAILED(mpDirectDraw->CreateClipper( 0, &pClipper, NULL )) ) in create()
1226 mpDirectDraw.reset(); in create()
1235 mpDirectDraw.reset(); in create()
1244 mpDirectDraw.reset(); in create()
1276 HRESULT nRes = mpDirectDraw->CreateSurface(&aSurfaceDesc, &pSurface, NULL); in create()
1284 if( FAILED(mpDirectDraw->CreateSurface(&aSurfaceDesc, &pSurface, NULL)) ) in create()
1289 mpDirectDraw.reset(); in create()
1300 mpDirectDraw.reset(); in create()
1318 mpDirectDraw.reset(); in create()
1333 return mpDirectDraw.is() ? in getFramebufferSize()
1348 if( FAILED( mpDirectDraw->QueryInterface( IID_IDirect3D2, (LPVOID*)&pDirect3D ) ) ) in setup3DDevice()
1508 if( FAILED( mpDirectDraw->GetCaps( &aHWCaps, in queryCaps()
1542 if(FAILED( mpDirectDraw->GetDisplayMode(&desc))) in validateCaps()
1574 if( !mpDirectDraw.is() ) in getAvailableSurfaceMem()
1584 …if( FAILED(const_cast<IDirectDraw2&>(*mpDirectDraw).GetAvailableVidMem( &aSurfaceCaps, &nTotal, &n… in getAvailableSurfaceMem()
1593 …if( FAILED(const_cast<IDirectDraw2&>(*mpDirectDraw).GetAvailableVidMem( &aSurfaceCaps, &nTotal, &n… in getAvailableSurfaceMem()
1608 if( !mpDirectDraw.is() ) in getAvailableTextureMem()
1620 …if( FAILED(const_cast<IDirectDraw2&>(*mpDirectDraw).GetAvailableVidMem( &aSurfaceCaps, &nTotal, &n… in getAvailableTextureMem()
1629 …if( FAILED(const_cast<IDirectDraw2&>(*mpDirectDraw).GetAvailableVidMem( &aSurfaceCaps, &nTotal, &n… in getAvailableTextureMem()
1695 HRESULT nRes = mpDirectDraw->CreateSurface(&aSurfaceDesc, &pSurface, NULL); in createSystemMemorySurface()
1726 if( mpDirectDraw.is() && in flip()
1789 if( FAILED(mpDirectDraw->WaitForVerticalBlank(DDWAITVB_BLOCKBEGIN, in flip()
1900 HRESULT nRes = mpDirectDraw->CreateSurface(&aSurfaceDesc, &pSurface, NULL); in validateMainSurfaces()
1908 if( FAILED(mpDirectDraw->CreateSurface(&aSurfaceDesc, &pSurface, NULL)) ) in validateMainSurfaces()