Lines Matching refs:pScaledCache

1677     if (pTex->pScaledCache)
1678 CrTdBltDataFreeNe(pTex->pScaledCache);
1700 if (pTex->pScaledCache)
1701 CrTdBltDataInvalidateNe(pTex->pScaledCache);
1732 if (pTex->pScaledCache)
1734 CrTdBltDataCleanupNe(pTex->pScaledCache);
1735 CrTdRelease(pTex->pScaledCache);
1736 pTex->pScaledCache = NULL;
1913 PCR_TEXDATA pScaledCache;
1919 pScaledCache = (PCR_TEXDATA)RTMemAlloc(sizeof (*pScaledCache));
1920 if (!pScaledCache)
1934 RTMemFree(pScaledCache);
1938 CrTdInit(pScaledCache, &Tex, pBlitter, ctTdBltSdReleased);
1940 *ppScaledCache = pScaledCache;
1949 PCR_TEXDATA pScaledCache;
1953 if (!pTex->pScaledCache)
1955 int rc = ctTdBltSdCreate(pTex->pBlitter, width, height, pTex->Tex.target, &pScaledCache);
1962 pTex->pScaledCache = pScaledCache;
1966 int cmp = pTex->pScaledCache->Tex.width - width;
1968 cmp = pTex->pScaledCache->Tex.height - height;
1971 pScaledCache = pTex->pScaledCache;
1974 int rc = ctTdBltSdCreate(pTex->pBlitter, width, height, pTex->Tex.target, &pScaledCache);
1981 pScaledCache->pScaledCache = pTex->pScaledCache;
1982 pTex->pScaledCache = pScaledCache;
1986 int rc = ctTdBltSdGet(pTex->pScaledCache, width, height, &pScaledCache);
1995 Assert(pScaledCache);
2010 pTex->pBlitter->pDispatch->DeleteTextures(1, &pTex->pScaledCache->Tex.hwid);
2012 crTdResize(pTex->pScaledCache, &Tex);
2016 *ppScaledCache = pScaledCache;
2022 PCR_TEXDATA pScaledCache;
2025 int rc = ctTdBltSdGet(pTex, width, height, &pScaledCache);
2032 Assert(width == pScaledCache->Tex.width);
2033 Assert(height == pScaledCache->Tex.height);
2035 if (!pScaledCache->Flags.DataValid)
2049 CrBltBlitTexTex(pTex->pBlitter, &pTex->Tex, &SrcRect, &pScaledCache->Tex, &DstRect, 1, 0);
2052 *ppScaledCache = pScaledCache;
2068 PCR_TEXDATA pScaledCache;
2070 int rc = ctTdBltSdGetUpdated(pTex, width, height, &pScaledCache);
2077 rc = CrTdBltEnter(pScaledCache);
2084 rc = CrTdBltDataAcquire(pScaledCache, enmFormat, fInverted, ppImg);
2088 CrTdBltLeave(pTex->pScaledCache);
2097 PCR_TEXDATA pScaledCache = RT_FROM_MEMBER(pImg, CR_TEXDATA, Img);
2098 int rc = CrTdBltDataRelease(pScaledCache);
2105 if (pScaledCache != pTex)
2106 CrTdBltLeave(pScaledCache);
2113 if (!pTex->pScaledCache)
2118 pDstTex->pScaledCache = pTex->pScaledCache;
2119 pTex->pScaledCache = NULL;