[Webkit-unassigned] [Bug 43882] [Qt] Move the accelerated compositing build flag to the right place

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 17 16:16:28 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=43882


Balazs Kelemen <kb at inf.u-szeged.hu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kb at inf.u-szeged.hu




--- Comment #8 from Balazs Kelemen <kb at inf.u-szeged.hu>  2010-08-17 16:16:28 PST ---
We are defining WTF_USE_ACCELERATED_COMPOSITING in WebKit.pri too (line 48):
greaterThan(QT_MINOR_VERSION, 5):DEFINES += WTF_USE_ACCELERATED_COMPOSITING

If it should be done in Platform.h then I think it should be done this way:
#if PLATFORM(QT)
#ifndef !defined(WTF_USE_ACCELERATED_COMPOSITING) && QT_VERSION_GREATER_THEN(4, 5, 0)
#define WTF_USE_ACCELERATED_COMPOSITING 1
#endif
#endif

With this the feature could be disabled at compile time and the version check would still exist. Do you agree?
(I am not sure that the QT_VERSION_GREATER_THEN macro exist but I know there is something like that.)

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list