Lines Matching refs:surfaces
129 This->surfaces = CALLOC(6 * This->base.level_count, sizeof(*This->surfaces));
130 if (!This->surfaces)
133 /* Create all the surfaces right away.
143 /* We allocate the memory for the surfaces as continous blocks.
156 l, f, &sfdesc, &This->surfaces[f + 6 * l]);
180 if (This->surfaces) {
182 if (This->surfaces[i])
183 NineUnknown_Destroy(&This->surfaces[i]->base.base);
184 FREE(This->surfaces);
206 *pDesc = This->surfaces[Level * 6]->desc;
225 NineUnknown_AddRef(NineUnknown(This->surfaces[s]));
226 *ppCubeMapSurface = (IDirect3DSurface9 *)This->surfaces[s];
247 return NineSurface9_LockRect(This->surfaces[s], pLockedRect, pRect, Flags);
262 return NineSurface9_UnlockRect(This->surfaces[s]);