faster tft

hello

i found a video from a user which made a sort of gui for a tft with a atmega32.
it is a realy fast thing.
video: Homebrew device with iPhone aspirations - YouTube

can anyone explain me how he got it that fast?
and how i can make the adafruit library as fast as he?

thanks

http://www.ladyada.net/products/microtouch/index.html

Don't have time to study it but looks interesting indeed.

i find things like:

oid Graphics_::Rectangle(int x, int y, int width, int height, int color)
{
	// Clip
    int right = x + width;
    int bottom = y + height;
    right = min(right,(int)Graphics.Width());
    bottom = min(bottom,(int)Graphics.Height());
    x = max(x,0);
    y = max(y,0);
    width = right - x;
    height = bottom - y;
    if (width <= 0 || height <= 0)
        return;
        
    LCD.SetBounds(x,y,width,height);
    LCD.Fill(color,(u32)width*height);
}

and then i find this in lcd.h:

class LCD_
{
public:
static	void Init();
static	int Width();
static	int Height();
static void Rectangle(int x, int y, int width, int height, int color);
static void SetBounds(int x, int y, int width, int height);
static void Fill(int color, u32 count);
static void Blit(const u8* data, u32 count);
static void BlitIndexed(const u8* data, const u8* palette, u32 count);
static void Scroll(int y);
static void Direction(u8 landscape, u8 dx = 1, u8 dy = 1);
};
extern LCD_ LCD;

and no lcd.c or lcd.cpp
so i dont know what draws it all.

can any help me making the libary from adafruit as fast as this?
cuz i cant find what it makes it that fast.

The work is done in the graphics library. Its found in the 3rd link that MareKB gave.

Shortcut:

Ok yes now i found it too.
Now is he using a special technique or somthing cuz i dont understand it.

Can anyone explain?

And the file graphics .cpp doesnt do all the work.
It also does lcd.init();
But where can i find the functions for lcd.
I can find the file where i can see them in lcd.h but not what they are doing.
For example i cannot see how it initialize the display.