From 1d2b590fda21afdb1fd33905a18422797a9564a2 Mon Sep 17 00:00:00 2001 From: Oleg Romashin Date: Tue, 4 Jan 2011 17:37:24 +0200 Subject: [PATCH] Bug 618561 - Enable direct Qt rendering for Maemo6 r=dougt a=approval2.0 --HG-- extra : rebase_source : 104aca89d2827ec71a984baefae17aefec651a92 --- gfx/thebes/gfxQtPlatform.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/gfx/thebes/gfxQtPlatform.cpp b/gfx/thebes/gfxQtPlatform.cpp index 800073368e2..dc074dccf39 100644 --- a/gfx/thebes/gfxQtPlatform.cpp +++ b/gfx/thebes/gfxQtPlatform.cpp @@ -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;