WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
61649
[EFL] Remove Ecore_X bits from PlatformScreenEfl
https://bugs.webkit.org/show_bug.cgi?id=61649
Summary
[EFL] Remove Ecore_X bits from PlatformScreenEfl
Raphael Kubo da Costa (:rakuco)
Reported
2011-05-27 10:57:28 PDT
[EFL] Remove Ecore_X bits from PlatformScreenEfl
Attachments
Patch
(1.97 KB, patch)
2011-05-27 11:12 PDT
,
Raphael Kubo da Costa (:rakuco)
no flags
Details
Formatted Diff
Diff
Patch
(3.29 KB, patch)
2011-05-27 18:43 PDT
,
Lucas De Marchi
gyuyoung.kim
: commit-queue-
Details
Formatted Diff
Diff
Re-upload previous patch
(3.29 KB, patch)
2011-06-07 05:27 PDT
,
Lucas De Marchi
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Raphael Kubo da Costa (:rakuco)
Comment 1
2011-05-27 11:12:55 PDT
Created
attachment 95194
[details]
Patch
Raphael Kubo da Costa (:rakuco)
Comment 2
2011-05-27 11:14:59 PDT
The calls to Ecore_X and to X itself can be replaced with a call to Evas. This makes the code cleaner and actually work when X is not used.
Lucas De Marchi
Comment 3
2011-05-27 13:37:39 PDT
Comment on
attachment 95194
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=95194&action=review
> Source/WebCore/platform/efl/PlatformScreenEfl.cpp:68 > - int x = 0, y = 0, w = 0, h = 0; > - > -#ifdef HAVE_ECORE_X > - Ecore_X_Display* display = ecore_x_display_get(); > - int def = DefaultScreen(display); > - Screen* screen = ScreenOfDisplay(display, def); > - x = 0; > - y = 0; > - w = screen->width; > - h = screen->height; > -#endif > + int width = 0, height = 0; > > - return FloatRect(x, y, w, h); > + evas_output_size_get(widget->evas(), &width, &height); > + return FloatRect(0, 0, width, height);
As we talked through IRC, this is the wrong fix, since you should return the size of the screen, not the size of your window. I'll submit a patch for this shortly.
Raphael Kubo da Costa (:rakuco)
Comment 4
2011-05-27 13:43:21 PDT
Alright then.
Lucas De Marchi
Comment 5
2011-05-27 18:43:31 PDT
Created
attachment 95243
[details]
Patch
Gyuyoung Kim
Comment 6
2011-05-27 20:20:42 PDT
Comment on
attachment 95243
[details]
Patch
Attachment 95243
[details]
did not pass efl-ews (efl): Output:
http://queues.webkit.org/results/8740561
Lucas De Marchi
Comment 7
2011-05-28 06:52:58 PDT
(In reply to
comment #6
)
> (From update of
attachment 95243
[details]
) >
Attachment 95243
[details]
did not pass efl-ews (efl): > Output:
http://queues.webkit.org/results/8740561
Gyuyoung, we need to update EFL on EWS server. Could you do it?
Lucas De Marchi
Comment 8
2011-05-28 06:55:32 PDT
(In reply to
comment #7
)
> (In reply to
comment #6
) > > (From update of
attachment 95243
[details]
[details]) > >
Attachment 95243
[details]
[details] did not pass efl-ews (efl): > > Output:
http://queues.webkit.org/results/8740561
> > Gyuyoung, we need to update EFL on EWS server. Could you do it?
Thinking again, maybe it's better to make a snapshot of WebKit-EFL for people who didn't move on to newer versions of EFL. 1.1 is coming soon, then this snapshot would be the latest one compatible with 1.0. Leandro, could you make a snapshot?
Gyuyoung Kim
Comment 9
2011-05-29 16:59:56 PDT
(In reply to
comment #7
)
> (In reply to
comment #6
) > > (From update of
attachment 95243
[details]
[details]) > >
Attachment 95243
[details]
[details] did not pass efl-ews (efl): > > Output:
http://queues.webkit.org/results/8740561
> > Gyuyoung, we need to update EFL on EWS server. Could you do it?
Sure, I will upgrade EFL on EWS server. Then, I will land this patch.
Gyuyoung Kim
Comment 10
2011-06-06 22:01:45 PDT
Lucas, I update efl libraries(ver. 1.0.999.59989) on both ews and buildbot.
Lucas De Marchi
Comment 11
2011-06-07 05:27:25 PDT
Created
attachment 96231
[details]
Re-upload previous patch
Lucas De Marchi
Comment 12
2011-06-07 05:29:35 PDT
CC'ing reviewers.
WebKit Review Bot
Comment 13
2011-06-07 09:40:28 PDT
Comment on
attachment 96231
[details]
Re-upload previous patch Clearing flags on attachment: 96231 Committed
r88245
: <
http://trac.webkit.org/changeset/88245
>
WebKit Review Bot
Comment 14
2011-06-07 09:40:34 PDT
All reviewed patches have been landed. Closing bug.
Antonio Gomes
Comment 15
2011-06-07 09:53:05 PDT
Maybe the BOT needs an update? @Demarchi, could you roll it out until the samsung guys can fix it if it is the case? -- Build files have been written to: /mnt/buildbot/efl-linux-slave-1/efl-linux-release/build/WebKitBuild/Release [ 2%] Built target wtf_efl [ 9%] Built target javascriptcore_efl [ 9%] Built target jsc_efl Scanning dependencies of target webcore_efl [ 9%] Building CXX object WebCore/CMakeFiles/webcore_efl.dir/platform/efl/PlatformScreenEfl.cpp.o /mnt/buildbot/efl-linux-slave-1/efl-linux-release/build/Source/WebCore/platform/efl/PlatformScreenEfl.cpp: In function ‘WebCore::FloatRect WebCore::screenRect(WebCore::Widget*)’: /mnt/buildbot/efl-linux-slave-1/efl-linux-release/build/Source/WebCore/platform/efl/PlatformScreenEfl.cpp:68: error: ‘ecore_evas_screen_geometry_get’ was not declared in this scope make[2]: *** [WebCore/CMakeFiles/webcore_efl.dir/platform/efl/PlatformScreenEfl.cpp.o] Error 1 make[1]: *** [WebCore/CMakeFiles/webcore_efl.dir/all] Error 2 make: *** [all] Error 2 program finished with exit code 2 elapsedTime=48.236335
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