1 #ifndef __lib_gdi_accel_h
2 #define __lib_gdi_accel_h
11 static gAccel* getInstance();
15 void setAccelMemorySpace(void *addr, int phys_addr, int size);
17 int blit(gSurface *dst, const gSurface *src, const ePoint &p, const eRect &area, int flags);
18 int fill(gSurface *dst, const eRect &area, unsigned long col);
20 int accelAlloc(void *&addr, int &phys_addr, int size);
21 void accelFree(int phys_addr);
24 int m_accel_phys_addr;
25 int m_accel_size; // in blocks
26 int *m_accel_allocation;
28 static gAccel *instance;