Lines Matching refs:pSurfaceDesc
451 HRESULT WINAPI EnumTextureFormatsCallback( LPDDSURFACEDESC pSurfaceDesc, in EnumTextureFormatsCallback() argument
457 if( pResult == NULL || pSurfaceDesc == NULL ) in EnumTextureFormatsCallback()
462 pSurfaceDesc->ddpfPixelFormat.dwRGBBitCount, in EnumTextureFormatsCallback()
463 pSurfaceDesc->ddpfPixelFormat.dwRBitMask, in EnumTextureFormatsCallback()
464 pSurfaceDesc->ddpfPixelFormat.dwGBitMask, in EnumTextureFormatsCallback()
465 pSurfaceDesc->ddpfPixelFormat.dwBBitMask, in EnumTextureFormatsCallback()
466 pSurfaceDesc->ddpfPixelFormat.dwRGBAlphaBitMask, in EnumTextureFormatsCallback()
467 …pSurfaceDesc->ddpfPixelFormat.dwFlags & DDPF_ALPHAPREMULT ? "premultiplied" : "non-premultiplied" … in EnumTextureFormatsCallback()
471 (pSurfaceDesc->ddpfPixelFormat.dwFlags & (DDPF_ALPHAPIXELS | DDPF_RGB)) ) in EnumTextureFormatsCallback()
474 if(!(pSurfaceDesc->ddpfPixelFormat.dwFlags & DDPF_ALPHAPREMULT)) in EnumTextureFormatsCallback()
477 if( pSurfaceDesc->ddpfPixelFormat.dwAlphaBitDepth > pResult->dwAlphaBitDepth ) in EnumTextureFormatsCallback()
480 rtl_copyMemory( pResult, &pSurfaceDesc->ddpfPixelFormat, sizeof(DDPIXELFORMAT) ); in EnumTextureFormatsCallback()
482 else if( pSurfaceDesc->ddpfPixelFormat.dwAlphaBitDepth == pResult->dwAlphaBitDepth ) in EnumTextureFormatsCallback()
485 if( pSurfaceDesc->ddpfPixelFormat.dwRGBBitCount > pResult->dwRGBBitCount ) in EnumTextureFormatsCallback()
488 rtl_copyMemory( pResult, &pSurfaceDesc->ddpfPixelFormat, sizeof(DDPIXELFORMAT) ); in EnumTextureFormatsCallback()