Home
last modified time | relevance | path

Searched refs:LegacyHeader (Results 1 – 2 of 2) sorted by relevance

/external/swiftshader/third_party/PowerVR_SDK/Tools/
DPVRTTexture.cpp410 void PVRTConvertOldTextureHeaderToV3(const PVR_Texture_Header* LegacyHeader, PVRTextureHeaderV3& Ne… in PVRTConvertOldTextureHeaderToV3() argument
419 …PVRTMapLegacyTextureEnumToNewFormat((PVRTPixelType)(LegacyHeader->dwpfFlags&0xff),ptNew,cSpaceNew,… in PVRTConvertOldTextureHeaderToV3()
422 bool isCubeMap = (LegacyHeader->dwpfFlags&PVRTEX_CUBEMAP)!=0; in PVRTConvertOldTextureHeaderToV3()
430 NewHeader.u32Height=LegacyHeader->dwHeight; in PVRTConvertOldTextureHeaderToV3()
432 …NewHeader.u32MIPMapCount=(LegacyHeader->dwpfFlags&PVRTEX_MIPMAP?LegacyHeader->dwMipMapCount+1:1); … in PVRTConvertOldTextureHeaderToV3()
436 if (LegacyHeader->dwHeaderSize==sizeof(PVR_Texture_Header)) in PVRTConvertOldTextureHeaderToV3()
437 NewHeader.u32NumSurfaces=(LegacyHeader->dwNumSurfs/(isCubeMap?6:1)); in PVRTConvertOldTextureHeaderToV3()
442 NewHeader.u32Width=LegacyHeader->dwWidth; in PVRTConvertOldTextureHeaderToV3()
451 if (LegacyHeader->dwpfFlags&PVRTEX_BUMPMAP && pMetaData) in PVRTConvertOldTextureHeaderToV3()
480 if (LegacyHeader->dwpfFlags&PVRTEX_VERTICAL_FLIP && pMetaData) in PVRTConvertOldTextureHeaderToV3()
DPVRTTexture.h634 void PVRTConvertOldTextureHeaderToV3(const PVR_Texture_Header* LegacyHeader, PVRTextureHeaderV3& Ne…