Refactoring of frame buffer references to surface buffer bug235_bringup_0 tip
authorGareth Stockwell <gareth.stockwell@accenture.com>
Fri, 24 Sep 2010 13:54:59 +0100
branchbug235_bringup_0
changeset 2 47632b7dfb88
parent 1 44a5686bb629
Refactoring of frame buffer references to surface buffer
graphicscompositionref/surfacemgrcommon/src/extension.cpp
--- a/graphicscompositionref/surfacemgrcommon/src/extension.cpp	Mon Aug 16 10:30:34 2010 +0100
+++ b/graphicscompositionref/surfacemgrcommon/src/extension.cpp	Fri Sep 24 13:54:59 2010 +0100
@@ -1743,11 +1743,11 @@
 TInt DSurfaceManager::CreateMemory()
 	{
 	Kern::Printf("DSurfaceManager::CreateMemory()>");
-	TUint32 physicalAddress = DVirtualVideoHwInterface::GetFrameBase();
+	TUint32 physicalAddress = DVirtualVideoHwInterface::GetSurfaceBufferBase();
 	Kern::Printf("DSurfaceManager::CreateMemory: 0x%08x",physicalAddress);
 	if( physicalAddress != 0 )
 		{
-		iVHWMemoryManager = new DVirtualHWMemoryManager( physicalAddress, VVI_FRAMEBUFFER_MEMORY_SIZE );
+		iVHWMemoryManager = new DVirtualHWMemoryManager( physicalAddress, VVI_SURFACEBUFFER_MEMORY_SIZE );
 		Kern::Printf("DSurfaceManager::CreateMemory: iVHWMemoryManager: 0x%08x",iVHWMemoryManager);
 		}
 	else