Bug 618561 - Enable direct Qt rendering for Maemo6 r=dougt a=approval2.0

--HG--
extra : rebase_source : 104aca89d2827ec71a984baefae17aefec651a92
This commit is contained in:
Oleg Romashin 2011-01-04 17:37:24 +02:00
parent ee28ea14ea
commit 1d2b590fda

View File

@ -79,13 +79,7 @@
#include "nsIPrefBranch.h"
#include "nsIPrefService.h"
// Because the QPainter backend has some problems with glyphs rendering
// it is better to use image or xlib cairo backends by default
#if (MOZ_PLATFORM_MAEMO == 6)
#define DEFAULT_RENDER_MODE RENDER_BUFFERED
#else
#define DEFAULT_RENDER_MODE RENDER_DIRECT
#endif
static QPaintEngine::Type sDefaultQtPaintEngineType = QPaintEngine::X11;
gfxFontconfigUtils *gfxQtPlatform::sFontconfigUtils = nsnull;