Lines Matching refs:fpTC2

153 void LoadDLLs(HMODULE *hTexUtilDLL, TC2Func *fpTC2, HMODULE *hGfdDLL, GFDFunc *fpGFD)  in LoadDLLs()  argument
173fpTC2->Initialize = reinterpret_cast<PTC2Initialize>(GetProcAddress(*hTexUtilDLL, "TC… in LoadDLLs()
174fpTC2->Destroy = reinterpret_cast<PTC2Destroy>(GetProcAddress(*hTexUtilDLL, "TC2De… in LoadDLLs()
175fpTC2->GX2SurfaceFormatFromStr = reinterpret_cast<PTC2GX2SurfaceFormatFromStr>(GetProcAddress(*hTe… in LoadDLLs()
176fpTC2->GenerateMipLevels = reinterpret_cast<PTC2GenerateMipLevels>(GetProcAddress(*hTexUtilD… in LoadDLLs()
177fpTC2->ConvertSurfaceFormat = reinterpret_cast<PTC2ConvertSurfaceFormat>(GetProcAddress(*hTexUt… in LoadDLLs()
178fpTC2->ConvertTiling = reinterpret_cast<PTC2ConvertTiling>(GetProcAddress(*hTexUtilDLL, … in LoadDLLs()
179fpTC2->DestroyGX2Surface = reinterpret_cast<PTC2DestroyGX2Surface>(GetProcAddress(*hTexUtilD… in LoadDLLs()
180fpTC2->GenerateTexture = reinterpret_cast<PTC2GenerateTexture>(GetProcAddress(*hTexUtilDLL… in LoadDLLs()
181fpTC2->DestroyGX2Texture = reinterpret_cast<PTC2DestroyGX2Texture>(GetProcAddress(*hTexUtilD… in LoadDLLs()
182fpTC2->ConvertStringToTileMode = reinterpret_cast<PTC2ConvertStringToTileMode>(GetProcAddress(*hTe… in LoadDLLs()
183fpTC2->GetSourceSurfaceSize = reinterpret_cast<PTC2GetSourceSurfaceSize>(GetProcAddress(*hTexUt… in LoadDLLs()
184fpTC2->CombineAsTextureArray = reinterpret_cast<PTC2CombineAsTextureArray>(GetProcAddress(*hTexU… in LoadDLLs()
185fpTC2->CombineAsMips = reinterpret_cast<PTC2CombineAsMips>(GetProcAddress(*hTexUtilDLL, … in LoadDLLs()
699 TC2Func fpTC2; in _tmain() local
718 LoadDLLs(&hTexUtilDLL, &fpTC2, &hGfdDLL, &fpGFD); in _tmain()
773 if (!fpTC2.Initialize(&texConfig)) in _tmain()
779 if (!fpTC2.ConvertStringToTileMode(config.tileMode, &tileMode)) in _tmain()
801 fpTC2.Destroy(); in _tmain()
817 fpTC2.Destroy(); in _tmain()
844 fpTC2.Destroy(); in _tmain()
856 if (!fpTC2.ConvertTiling(&gx2Texture.surface, GX2_TILE_MODE_LINEAR_SPECIAL, 0, &retiledSurface)) in _tmain()
887 fpTC2.Destroy(); in _tmain()
898 fpTC2.Destroy(); in _tmain()
907 …if (!fpTC2.GenerateMipLevels(&pSrcTextures[count], config.minMipSize, MF_BOX, &pMipmapTextures[cou… in _tmain()
910 fpTC2.Destroy(); in _tmain()
928 else if (!fpTC2.GX2SurfaceFormatFromStr(config.dstFormat, &dstFormat)) in _tmain()
936 …if (!fpTC2.ConvertSurfaceFormat(ppTexturesToConvert[count], dstFormat, &pConvertedTextures[count],… in _tmain()
939 fpTC2.Destroy(); in _tmain()
950 fpTC2.CombineAsTextureArray(pConvertedTextures, config.inFileCount, &texArray); in _tmain()
956 if (!fpTC2.ConvertTiling(&texArray, tileMode, config.initialSwizzle, pTiledTextures)) in _tmain()
959 fpTC2.Destroy(); in _tmain()
965 if (!fpTC2.GenerateTexture(pTiledTextures, pGx2Textures)) in _tmain()
968 fpTC2.Destroy(); in _tmain()
979 fpTC2.Destroy(); in _tmain()
990 fpTC2.Destroy(); in _tmain()
1000 fpTC2.DestroyGX2Texture(pGx2Textures); in _tmain()
1008 fpTC2.CombineAsMips(pConvertedTextures, config.inFileCount, &mipSurface); in _tmain()
1014 if (!fpTC2.ConvertTiling(&mipSurface, tileMode, config.initialSwizzle, pTiledTextures)) in _tmain()
1017 fpTC2.Destroy(); in _tmain()
1023 if (!fpTC2.GenerateTexture(pTiledTextures, pGx2Textures)) in _tmain()
1026 fpTC2.Destroy(); in _tmain()
1037 fpTC2.Destroy(); in _tmain()
1048 fpTC2.Destroy(); in _tmain()
1057 fpTC2.DestroyGX2Texture(pGx2Textures); in _tmain()
1068 …if (!fpTC2.ConvertTiling(&pConvertedTextures[count], tileMode, config.initialSwizzle, &pTiledTextu… in _tmain()
1071 fpTC2.Destroy(); in _tmain()
1077 if (!fpTC2.GenerateTexture(&pTiledTextures[count], &pGx2Textures[count])) in _tmain()
1080 fpTC2.Destroy(); in _tmain()
1092 fpTC2.Destroy(); in _tmain()
1103 fpTC2.Destroy(); in _tmain()
1116 fpTC2.DestroyGX2Texture(&pGx2Textures[count]); in _tmain()
1125 fpTC2.DestroyGX2Surface(&pMipmapTextures[count]); in _tmain()
1130 fpTC2.DestroyGX2Surface(&pSrcTextures[count]); in _tmain()
1131 fpTC2.DestroyGX2Surface(&pConvertedTextures[count]); in _tmain()
1136 fpTC2.DestroyGX2Surface(&pSrcTextures[count]); in _tmain()
1137 fpTC2.DestroyGX2Surface(&pConvertedTextures[count]); in _tmain()
1142 fpTC2.DestroyGX2Surface(&pTiledTextures[count]); in _tmain()
1150 fpTC2.Destroy(); in _tmain()