Merge
authorStephaneLenclud
Wed, 04 Feb 2015 21:53:06 +0100
changeset 26f943cd500390
parent 25 3fa4007c0b19
parent 23 e63ba12d7a18
child 27 949be5444c57
Merge
FutabaGP1212A02.cpp
     1.1 --- a/FutabaGP1212A02.cpp	Wed Feb 04 21:47:17 2015 +0100
     1.2 +++ b/FutabaGP1212A02.cpp	Wed Feb 04 21:53:06 2015 +0100
     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.