Lines Matching refs:DEMODepthBuffer

28 GX2DepthBuffer   DEMODepthBuffer;  variable
451 GX2InitDepthBuffer(&DEMODepthBuffer, in DEMOGfxInit()
455 ptr = DEMOGfxAllocMEM1(DEMODepthBuffer.surface.imageSize, in DEMOGfxInit()
456 DEMODepthBuffer.surface.alignment); in DEMOGfxInit()
458 GX2Invalidate(GX2_INVALIDATE_CPU, ptr, DEMODepthBuffer.surface.imageSize); in DEMOGfxInit()
459 GX2InitDepthBufferPtr(&DEMODepthBuffer, ptr); in DEMOGfxInit()
464 GX2CalcDepthBufferHiZInfo(&DEMODepthBuffer, &size, &align); in DEMOGfxInit()
468 GX2InitDepthBufferHiZPtr(&DEMODepthBuffer, ptr); in DEMOGfxInit()
517 if (DEMODepthBuffer.hiZPtr) { in DEMOGfxShutdown()
518 DEMOGfxFreeMEM1(DEMODepthBuffer.hiZPtr); in DEMOGfxShutdown()
519 DEMODepthBuffer.hiZPtr = NULL; in DEMOGfxShutdown()
521 DEMOGfxFreeMEM1(DEMODepthBuffer.surface.imagePtr); in DEMOGfxShutdown()
561 if (DEMODepthBuffer.hiZPtr) { in DEMOGfxReleaseForeground()
562 DEMOGfxFreeMEM1(DEMODepthBuffer.hiZPtr); in DEMOGfxReleaseForeground()
563 DEMODepthBuffer.hiZPtr = NULL; in DEMOGfxReleaseForeground()
565 DEMOGfxFreeMEM1(DEMODepthBuffer.surface.imagePtr); in DEMOGfxReleaseForeground()
625 ptr = DEMOGfxAllocMEM1(DEMODepthBuffer.surface.imageSize, in DEMOGfxAcquiredForeground()
626 DEMODepthBuffer.surface.alignment); in DEMOGfxAcquiredForeground()
627 GX2Invalidate(GX2_INVALIDATE_CPU, ptr, DEMODepthBuffer.surface.imageSize); in DEMOGfxAcquiredForeground()
628 GX2InitDepthBufferPtr(&DEMODepthBuffer, ptr); in DEMOGfxAcquiredForeground()
633 GX2CalcDepthBufferHiZInfo(&DEMODepthBuffer, &size, &align); in DEMOGfxAcquiredForeground()
636 GX2InitDepthBufferHiZPtr(&DEMODepthBuffer, ptr); in DEMOGfxAcquiredForeground()
824 GX2SetDepthBuffer(&DEMODepthBuffer); in DEMOGfxAddInstance()