# HG changeset patch # User StephaneLenclud # Date 1423083186 -3600 # Node ID f943cd500390d0babee16f51ed5b8206342d34ee # Parent 3fa4007c0b1959eb60e9c6fbc1baf24cc78029ca# Parent e63ba12d7a18330885049be79bc066652cdb0b56 Merge diff -r 3fa4007c0b19 -r f943cd500390 FutabaGP1212A02.cpp --- a/FutabaGP1212A02.cpp Wed Feb 04 21:47:17 2015 +0100 +++ b/FutabaGP1212A02.cpp Wed Feb 04 21:53:06 2015 +0100 @@ -502,12 +502,17 @@ { //Send pixel directly into BMP box //BmpBoxDataInput(FrameBufferSizeInBytes(),iFrameNext->Ptr()); + + //This appears to be the fastest scheme when running on our HTPC //Send pixel data directly into the display window - //BmpDataInput(ETargetDisplayWindow,0x0000,EDirectionY, FrameBufferSizeInBytes(),iFrameNext->Ptr()); + BmpDataInput(ETargetDisplayWindow,0x0000,EDirectionY, FrameBufferSizeInBytes(),iFrameNext->Ptr()); + //Send pixel data first to Data Memory then copy into the selected BMP box //BmpDataInput(ETargetDataMemory,0x0000,EDirectionY, FrameBufferSizeInBytes(),iFrameNext->Ptr()); //BmpBoxDataMemoryTransfer(0x0000); - //Send pixel data first to Data Memory then copy into the selected BMP box, cycling through our Data Memory frmae + + //Send pixel data first to Data Memory then copy into the selected BMP box, cycling through our Data Memory frame +#if 0 BmpDataInput(ETargetDataMemory,iNextFrameAddress,EDirectionY, FrameBufferSizeInBytes(),iFrameNext->Ptr()); BmpBoxDataMemoryTransfer(iNextFrameAddress); iNextFrameAddress+=KFrameSizeInBytes; @@ -515,6 +520,7 @@ { iNextFrameAddress=0x0000; } +#endif //Cycle through our frame buffers //We keep track of previous frame which is in fact our device back buffer.