HTPC documentation and optimization for GP1212A02.
authorStephaneLenclud
Mon, 22 Sep 2014 22:03:28 +0200
changeset 23e63ba12d7a18
parent 22 ea9ccfdb5563
child 26 f943cd500390
HTPC documentation and optimization for GP1212A02.
FutabaGP1212A02.cpp
     1.1 --- a/FutabaGP1212A02.cpp	Sun Sep 21 19:10:08 2014 +0200
     1.2 +++ b/FutabaGP1212A02.cpp	Mon Sep 22 22:03:28 2014 +0200
     1.3 @@ -502,12 +502,17 @@
     1.4  		{
     1.5  		//Send pixel directly into BMP box
     1.6  		//BmpBoxDataInput(FrameBufferSizeInBytes(),iFrameNext->Ptr());
     1.7 +		
     1.8 +		//This appears to be the fastest scheme when running on our HTPC
     1.9  		//Send pixel data directly into the display window
    1.10 -		//BmpDataInput(ETargetDisplayWindow,0x0000,EDirectionY, FrameBufferSizeInBytes(),iFrameNext->Ptr());
    1.11 +		BmpDataInput(ETargetDisplayWindow,0x0000,EDirectionY, FrameBufferSizeInBytes(),iFrameNext->Ptr());
    1.12 +		
    1.13  		//Send pixel data first to Data Memory then copy into the selected BMP box	
    1.14  		//BmpDataInput(ETargetDataMemory,0x0000,EDirectionY, FrameBufferSizeInBytes(),iFrameNext->Ptr());
    1.15  		//BmpBoxDataMemoryTransfer(0x0000);
    1.16 -		//Send pixel data first to Data Memory then copy into the selected BMP box, cycling through our Data Memory frmae
    1.17 +		
    1.18 +		//Send pixel data first to Data Memory then copy into the selected BMP box, cycling through our Data Memory frame
    1.19 +#if 0
    1.20  		BmpDataInput(ETargetDataMemory,iNextFrameAddress,EDirectionY, FrameBufferSizeInBytes(),iFrameNext->Ptr());
    1.21  		BmpBoxDataMemoryTransfer(iNextFrameAddress);
    1.22  		iNextFrameAddress+=KFrameSizeInBytes;
    1.23 @@ -515,6 +520,7 @@
    1.24  		{
    1.25  			iNextFrameAddress=0x0000;
    1.26  		}
    1.27 +#endif
    1.28  
    1.29          //Cycle through our frame buffers
    1.30          //We keep track of previous frame which is in fact our device back buffer.