aboutsummaryrefslogtreecommitdiff
path: root/lib/gdi
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2009-06-03 14:50:54 +0200
committerFelix Domke <tmbinc@elitedvb.net>2009-06-03 14:57:55 +0200
commit5e214d181d1590e0002eabdc6f8395cd6ddde2a7 (patch)
treefa1e8d0ab4862abd2f3ed0d359959054f9a158b9 /lib/gdi
parent8f3cfc1d199e6402501acec0864b6b761581caa1 (diff)
downloadenigma2-5e214d181d1590e0002eabdc6f8395cd6ddde2a7.tar.gz
enigma2-5e214d181d1590e0002eabdc6f8395cd6ddde2a7.zip
use physical device from framebuffer instead of hardcoded value, blit after compositing
Diffstat (limited to 'lib/gdi')
-rw-r--r--lib/gdi/gfbdc.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/gdi/gfbdc.cpp b/lib/gdi/gfbdc.cpp
index d2f8dad2..80dd2479 100644
--- a/lib/gdi/gfbdc.cpp
+++ b/lib/gdi/gfbdc.cpp
@@ -131,6 +131,7 @@ void gFBDC::exec(gOpcode *o)
++t;
+ fb->blit();
fb->waitVSync();
break;
}
@@ -188,7 +189,7 @@ void gFBDC::setResolution(int xres, int yres)
surface.data = fb->lfb;
surface.offset = 0;
- surface.data_phys = 50*1024*1024; // FIXME
+ surface.data_phys = fb->getPhysAddr();
int fb_size = surface.stride * surface.y;