Lines Matching refs:pSurface

270 		void dumpSurface( const COMReference<IDirectDrawSurface> &pSurface, const char *szFilename )  in dumpSurface()  argument
272 if(!(pSurface.get())) in dumpSurface()
279 if( FAILED(pSurface->Lock( NULL, in dumpSurface()
333 pSurface->Unlock(NULL); in dumpSurface()
336 void clearSurface( const COMReference<IDirectDrawSurface>& pSurface ) in clearSurface() argument
338 if(!(pSurface.is())) in clearSurface()
348 pSurface->Blt( NULL, in clearSurface()
761 IDirectDrawSurface *pSurface; in DXSurface() local
763 HRESULT hr = pDirectDraw->CreateSurface(&aSurfaceDesc, &pSurface, NULL); in DXSurface()
773 hr = pDirectDraw->CreateSurface(&aSurfaceDesc, &pSurface, NULL); in DXSurface()
780 if( FAILED(pSurface->QueryInterface(IID_IDirect3DTexture2, (LPVOID *)&pTexture)) ) in DXSurface()
782 pSurface->Release(); in DXSurface()
789 mpSurface=COMReference<IDirectDrawSurface>(pSurface); in DXSurface()
1254 IDirectDrawSurface* pSurface; in create() local
1276 HRESULT nRes = mpDirectDraw->CreateSurface(&aSurfaceDesc, &pSurface, NULL); in create()
1284 if( FAILED(mpDirectDraw->CreateSurface(&aSurfaceDesc, &pSurface, NULL)) ) in create()
1309 mpBackBufferSurface = COMReference< IDirectDrawSurface >(pSurface); in create()
1684 IDirectDrawSurface* pSurface; in createSystemMemorySurface() local
1695 HRESULT nRes = mpDirectDraw->CreateSurface(&aSurfaceDesc, &pSurface, NULL); in createSystemMemorySurface()
1699 return COMReference<IDirectDrawSurface>(pSurface); in createSystemMemorySurface()
1883 IDirectDrawSurface* pSurface; in validateMainSurfaces() local
1900 HRESULT nRes = mpDirectDraw->CreateSurface(&aSurfaceDesc, &pSurface, NULL); in validateMainSurfaces()
1908 if( FAILED(mpDirectDraw->CreateSurface(&aSurfaceDesc, &pSurface, NULL)) ) in validateMainSurfaces()
1928 mpBackBufferSurface = COMReference< IDirectDrawSurface >(pSurface); in validateMainSurfaces()