Lines Matching refs:pCtx
34 D3DGlyphCache::CreateInstance(D3DContext *pCtx, GlyphCacheType gcType,
42 if (FAILED(res = (*ppGlyphCache)->Init(pCtx))) {
53 pCtx = NULL;
67 pCtx = NULL;
82 pCtx->GetResourceManager()->ReleaseResource(pGlyphCacheRes);
87 D3DGlyphCache::Init(D3DContext *pCtx)
91 RETURN_STATUS_IF_NULL(pCtx, E_FAIL);
93 J2dTraceLn1(J2D_TRACE_INFO, "D3DGlyphCache::Init pCtx=%x", pCtx);
95 this->pCtx = pCtx;
113 format = pCtx->IsTextureFormatSupported(D3DFMT_A8) ?
116 format = pCtx->IsTextureFormatSupported(D3DFMT_R8G8B8) ?
120 HRESULT res = pCtx->GetResourceManager()->
144 res = pCtx->UploadTileToTexture(pGlyphCacheRes,