Lines Matching refs:aSurfaceDesc

275 			DDSURFACEDESC aSurfaceDesc;  in dumpSurface()  local
276 rtl_fillMemory( &aSurfaceDesc,sizeof(DDSURFACEDESC),0 ); in dumpSurface()
277 aSurfaceDesc.dwSize = sizeof(DDSURFACEDESC); in dumpSurface()
280 &aSurfaceDesc, in dumpSurface()
285 const std::size_t dwBitmapSize(aSurfaceDesc.dwWidth*aSurfaceDesc.dwHeight*4); in dumpSurface()
289 sal_uInt8 *pSource = reinterpret_cast<sal_uInt8 *>(aSurfaceDesc.lpSurface); in dumpSurface()
291 const std::size_t dwDestPitch(aSurfaceDesc.dwWidth<<2); in dumpSurface()
292 pDest += aSurfaceDesc.dwHeight*dwDestPitch; in dumpSurface()
293 for(sal_uInt32 y=0; y<aSurfaceDesc.dwHeight; ++y) in dumpSurface()
297 pSource += aSurfaceDesc.lPitch; in dumpSurface()
305 bitmapInfo.biWidth = aSurfaceDesc.dwWidth; in dumpSurface()
306 bitmapInfo.biHeight = aSurfaceDesc.dwHeight; in dumpSurface()
750 DDSURFACEDESC aSurfaceDesc; in DXSurface() local
751 rtl_fillMemory( &aSurfaceDesc,sizeof(DDSURFACEDESC),0 ); in DXSurface()
752 aSurfaceDesc.dwSize = sizeof(DDSURFACEDESC); in DXSurface()
753 aSurfaceDesc.dwFlags = DDSD_CAPS | DDSD_HEIGHT | DDSD_WIDTH | DDSD_PIXELFORMAT; in DXSurface()
754aSurfaceDesc.dwWidth = ::std::min(deviceDesc.dwMaxTextureWidth,::canvas::tools::nextPow2(rSize.get… in DXSurface()
755aSurfaceDesc.dwHeight = ::std::min(deviceDesc.dwMaxTextureHeight,::canvas::tools::nextPow2(rSize.g… in DXSurface()
756 aSurfaceDesc.ddsCaps.dwCaps = DDSCAPS_TEXTURE | in DXSurface()
759 …rtl_copyMemory(&aSurfaceDesc.ddpfPixelFormat,&rRenderModule.getTextureFormat(),sizeof(DDPIXELFORMA… in DXSurface()
763 HRESULT hr = pDirectDraw->CreateSurface(&aSurfaceDesc, &pSurface, NULL); in DXSurface()
770 aSurfaceDesc.ddsCaps.dwCaps = DDSCAPS_TEXTURE | in DXSurface()
773 hr = pDirectDraw->CreateSurface(&aSurfaceDesc, &pSurface, NULL); in DXSurface()
786 maSize.setX(aSurfaceDesc.dwWidth); in DXSurface()
787 maSize.setY(aSurfaceDesc.dwHeight); in DXSurface()
841 DDSURFACEDESC aSurfaceDesc; in selectTexture() local
842 rtl_fillMemory( &aSurfaceDesc,sizeof(DDSURFACEDESC),0 ); in selectTexture()
843 aSurfaceDesc.dwSize = sizeof(DDSURFACEDESC); in selectTexture()
846 &aSurfaceDesc, in selectTexture()
851 aSurfaceDesc.dwWidth, in selectTexture()
852 aSurfaceDesc.dwHeight, in selectTexture()
853 aSurfaceDesc.lpSurface ); in selectTexture()
899 DDSURFACEDESC aSurfaceDesc; in update() local
900 rtl_fillMemory( &aSurfaceDesc,sizeof(DDSURFACEDESC),0 ); in update()
901 aSurfaceDesc.dwSize = sizeof(DDSURFACEDESC); in update()
905 &aSurfaceDesc, in update()
922 sal_uInt8 *pDst = ((sal_uInt8*)aSurfaceDesc.lpSurface+ in update()
923 (rDestPos.getY()*aSurfaceDesc.lPitch) + in update()
936 pDst += aSurfaceDesc.lPitch; in update()
950 sal_uInt8 *pDst = ((sal_uInt8*)aSurfaceDesc.lpSurface+ in update()
951 (rDestPos.getY()*aSurfaceDesc.lPitch) + in update()
970 pDst += aSurfaceDesc.lPitch; in update()
984 sal_uInt8 *pDst = ((sal_uInt8*)aSurfaceDesc.lpSurface+ in update()
985 (rDestPos.getY()*aSurfaceDesc.lPitch) + in update()
997 pDst += aSurfaceDesc.lPitch; in update()
1199 DDSURFACEDESC aSurfaceDesc; in create() local
1202 rtl_fillMemory( &aSurfaceDesc, in create()
1204 aSurfaceDesc.dwSize = sizeof(aSurfaceDesc); in create()
1205 aSurfaceDesc.dwFlags = DDSD_CAPS; in create()
1206 aSurfaceDesc.ddsCaps.dwCaps = DDSCAPS_PRIMARYSURFACE | DDSCAPS_3DDEVICE; in create()
1208 if( FAILED(mpDirectDraw->CreateSurface(&aSurfaceDesc, &pPrimarySurface, NULL)) ) in create()
1267 rtl_fillMemory( &aSurfaceDesc, in create()
1269 aSurfaceDesc.dwSize = sizeof(DDSURFACEDESC); in create()
1270 aSurfaceDesc.dwFlags = DDSD_CAPS | DDSD_HEIGHT | DDSD_WIDTH; in create()
1271 aSurfaceDesc.dwHeight= aSize.getY(); in create()
1272 aSurfaceDesc.dwWidth = aSize.getX(); in create()
1274aSurfaceDesc.ddsCaps.dwCaps = DDSCAPS_OFFSCREENPLAIN | DDSCAPS_3DDEVICE | DDSCAPS_VIDEOMEMORY | DD… in create()
1276 HRESULT nRes = mpDirectDraw->CreateSurface(&aSurfaceDesc, &pSurface, NULL); in create()
1283aSurfaceDesc.ddsCaps.dwCaps = DDSCAPS_OFFSCREENPLAIN | DDSCAPS_3DDEVICE | DDSCAPS_VIDEOMEMORY | DD… in create()
1284 if( FAILED(mpDirectDraw->CreateSurface(&aSurfaceDesc, &pSurface, NULL)) ) in create()
1306 aSurfaceDesc.dwWidth, in create()
1307 aSurfaceDesc.dwHeight ); in create()
1683 DDSURFACEDESC aSurfaceDesc; in createSystemMemorySurface() local
1686 aSurfaceDesc.dwSize = sizeof(DDSURFACEDESC); in createSystemMemorySurface()
1687 aSurfaceDesc.dwFlags = DDSD_CAPS | DDSD_HEIGHT | DDSD_WIDTH | DDSD_PIXELFORMAT;; in createSystemMemorySurface()
1688 aSurfaceDesc.dwWidth = rSize.getX(); in createSystemMemorySurface()
1689 aSurfaceDesc.dwHeight= rSize.getY(); in createSystemMemorySurface()
1691 rtl_copyMemory( &aSurfaceDesc.ddpfPixelFormat, &maTextureFormat, sizeof(DDPIXELFORMAT) ); in createSystemMemorySurface()
1693 aSurfaceDesc.ddsCaps.dwCaps = DDSCAPS_OFFSCREENPLAIN | DDSCAPS_SYSTEMMEMORY; in createSystemMemorySurface()
1695 HRESULT nRes = mpDirectDraw->CreateSurface(&aSurfaceDesc, &pSurface, NULL); in createSystemMemorySurface()
1891 DDSURFACEDESC aSurfaceDesc; in validateMainSurfaces() local
1892 rtl_fillMemory( &aSurfaceDesc, sizeof(DDSURFACEDESC), 0 ); in validateMainSurfaces()
1893 aSurfaceDesc.dwSize = sizeof(DDSURFACEDESC); in validateMainSurfaces()
1894 aSurfaceDesc.dwFlags = DDSD_CAPS | DDSD_HEIGHT | DDSD_WIDTH; in validateMainSurfaces()
1895 aSurfaceDesc.dwHeight= aSize.getY(); in validateMainSurfaces()
1896 aSurfaceDesc.dwWidth = aSize.getX(); in validateMainSurfaces()
1898aSurfaceDesc.ddsCaps.dwCaps = DDSCAPS_OFFSCREENPLAIN | DDSCAPS_3DDEVICE | DDSCAPS_VIDEOMEMORY | DD… in validateMainSurfaces()
1900 HRESULT nRes = mpDirectDraw->CreateSurface(&aSurfaceDesc, &pSurface, NULL); in validateMainSurfaces()
1907aSurfaceDesc.ddsCaps.dwCaps = DDSCAPS_OFFSCREENPLAIN | DDSCAPS_3DDEVICE | DDSCAPS_VIDEOMEMORY | DD… in validateMainSurfaces()
1908 if( FAILED(mpDirectDraw->CreateSurface(&aSurfaceDesc, &pSurface, NULL)) ) in validateMainSurfaces()
1925 aSurfaceDesc.dwWidth, in validateMainSurfaces()
1926 aSurfaceDesc.dwHeight ); in validateMainSurfaces()