Lines Matching refs:DEMODepthBuffer
28 GX2DepthBuffer DEMODepthBuffer; variable
466 GX2InitDepthBuffer(&DEMODepthBuffer, in DEMOGfxInit()
470 ptr = DEMOGfxAllocMEM1(DEMODepthBuffer.surface.imageSize, in DEMOGfxInit()
471 DEMODepthBuffer.surface.alignment); in DEMOGfxInit()
473 GX2Invalidate(GX2_INVALIDATE_CPU, ptr, DEMODepthBuffer.surface.imageSize); in DEMOGfxInit()
474 GX2InitDepthBufferPtr(&DEMODepthBuffer, ptr); in DEMOGfxInit()
479 GX2CalcDepthBufferHiZInfo(&DEMODepthBuffer, &size, &align); in DEMOGfxInit()
483 GX2InitDepthBufferHiZPtr(&DEMODepthBuffer, ptr); in DEMOGfxInit()
537 if (DEMODepthBuffer.hiZPtr) { in DEMOGfxShutdown()
538 DEMOGfxFreeMEM1(DEMODepthBuffer.hiZPtr); in DEMOGfxShutdown()
539 DEMODepthBuffer.hiZPtr = NULL; in DEMOGfxShutdown()
541 DEMOGfxFreeMEM1(DEMODepthBuffer.surface.imagePtr); in DEMOGfxShutdown()
588 if (DEMODepthBuffer.hiZPtr) { in DEMOGfxReleaseForeground()
589 DEMOGfxFreeMEM1(DEMODepthBuffer.hiZPtr); in DEMOGfxReleaseForeground()
590 DEMODepthBuffer.hiZPtr = NULL; in DEMOGfxReleaseForeground()
592 DEMOGfxFreeMEM1(DEMODepthBuffer.surface.imagePtr); in DEMOGfxReleaseForeground()
652 ptr = DEMOGfxAllocMEM1(DEMODepthBuffer.surface.imageSize, in DEMOGfxAcquiredForeground()
653 DEMODepthBuffer.surface.alignment); in DEMOGfxAcquiredForeground()
654 GX2Invalidate(GX2_INVALIDATE_CPU, ptr, DEMODepthBuffer.surface.imageSize); in DEMOGfxAcquiredForeground()
655 GX2InitDepthBufferPtr(&DEMODepthBuffer, ptr); in DEMOGfxAcquiredForeground()
660 GX2CalcDepthBufferHiZInfo(&DEMODepthBuffer, &size, &align); in DEMOGfxAcquiredForeground()
663 GX2InitDepthBufferHiZPtr(&DEMODepthBuffer, ptr); in DEMOGfxAcquiredForeground()
866 GX2SetDepthBuffer(&DEMODepthBuffer); in DEMOGfxAddInstance()