WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
100829
[EFL] CMake shows ENABLE_3D_RENDERING and ENABLE_WEBGL is still OFF when AC is enabled
https://bugs.webkit.org/show_bug.cgi?id=100829
Summary
[EFL] CMake shows ENABLE_3D_RENDERING and ENABLE_WEBGL is still OFF when AC i...
Joone Hur
Reported
2012-10-31 01:34:02 PDT
When tiled backing store is turned on, graphics acceleration stuff is enabled accordingly as follows:
http://trac.webkit.org/changeset/132571
http://trac.webkit.org/changeset/132627
However, CMake still shows that ENABLE_3D_RENDERING and ENABLE_WEBGL is still OFF when running build-webkit with --tiled-backing-store.
Attachments
patch
(1.58 KB, patch)
2012-10-31 01:58 PDT
,
Joone Hur
joone
: review-
joone
: commit-queue-
Details
Formatted Diff
Diff
Patch
(4.72 KB, patch)
2012-11-21 17:42 PST
,
Halton Huo
no flags
Details
Formatted Diff
Diff
Patch
(4.71 KB, patch)
2012-11-22 02:42 PST
,
Halton Huo
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Joone Hur
Comment 1
2012-10-31 01:58:01 PDT
Created
attachment 171598
[details]
patch
Raphael Kubo da Costa (:rakuco)
Comment 2
2012-10-31 02:50:38 PDT
Comment on
attachment 171598
[details]
patch Simply moving the call to WEBKIT_OPTION_END() to the end of the file in OptionsEfl.cmake should solve the problem in a cleaner way.
Joone Hur
Comment 3
2012-10-31 23:06:14 PDT
(In reply to
comment #2
)
> (From update of
attachment 171598
[details]
) > Simply moving the call to WEBKIT_OPTION_END() to the end of the file in OptionsEfl.cmake should solve the problem in a cleaner way.
I tried, but it doesn't work.
Raphael Kubo da Costa (:rakuco)
Comment 4
2012-11-01 06:39:29 PDT
(In reply to
comment #3
)
> (In reply to
comment #2
) > > (From update of
attachment 171598
[details]
[details]) > > Simply moving the call to WEBKIT_OPTION_END() to the end of the file in OptionsEfl.cmake should solve the problem in a cleaner way. > > I tried, but it doesn't work.
That's probably because of the interaction between normal variables and cache variables in CMake. SET(ENABLE_WEBGL 1) in OptionsEfl.cmake sets a normal variable, and later the call to OPTION(ENABLE_WEBGL ...) will set a cache variable with the same name and remove the original normal variable. I think the cleanest solution here is to move the call to WEBKIT_OPTION_END() to the end of OptionEfl.cmake and modify the macro so that the initial value it uses in the OPTION() call is the value of the variable itself if it is defined, and the initial value otherwise. This would still require you to clean up your cache nonetheless, as CMake by default won't change the options you already have in your cache when you call a command such as OPTION(). Patrick, what do you think?
Raphael Kubo da Costa (:rakuco)
Comment 5
2012-11-21 05:47:58 PST
***
Bug 102903
has been marked as a duplicate of this bug. ***
Halton Huo
Comment 6
2012-11-21 07:22:24 PST
How about my patch for the dup
bug 102903
? it works as wish. could somebody assign this bug to me so that i can add upload patch.
Halton Huo
Comment 7
2012-11-21 17:42:06 PST
Created
attachment 175555
[details]
Patch
Halton Huo
Comment 8
2012-11-21 21:08:09 PST
Anyone could review? Joone, Gyuyoung?
Gyuyoung Kim
Comment 9
2012-11-21 22:12:57 PST
Comment on
attachment 175555
[details]
Patch Hmm, WebKit doesn't like that a bug lands multiple patches. I think you guys need to merge these patches into a patch.
Halton Huo
Comment 10
2012-11-22 01:21:53 PST
Kim, as joone said on
comment #3
, first patch does not work. The second one I uploaded works well, not need with first patch.
Gyuyoung Kim
Comment 11
2012-11-22 01:40:53 PST
Comment on
attachment 175555
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=175555&action=review
I think rakuco might to take a final look.
> ChangeLog:4 > + AC is enabled
It looks this is unneeded line change.
Halton Huo
Comment 12
2012-11-22 02:42:27 PST
Created
attachment 175634
[details]
Patch
Halton Huo
Comment 13
2012-11-22 02:44:18 PST
(In reply to
comment #12
)
> Created an attachment (id=175634) [details] > Patch
Update patch addressing Gyuyoung's comment at #11
WebKit Review Bot
Comment 14
2012-11-26 20:37:48 PST
Comment on
attachment 175634
[details]
Patch Clearing flags on attachment: 175634 Committed
r135813
: <
http://trac.webkit.org/changeset/135813
>
WebKit Review Bot
Comment 15
2012-11-26 20:37:53 PST
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug