Title: [152408] trunk/Tools
- Revision
- 152408
- Author
- [email protected]
- Date
- 2013-07-04 23:53:30 -0700 (Thu, 04 Jul 2013)
Log Message
[EFL] DumpRenderTree doesn't run if "opengl_x11" engine is not available
https://bugs.webkit.org/show_bug.cgi?id=118370
Patch by Viatcheslav Ostapenko <[email protected]> on 2013-07-04
Reviewed by Christophe Dumez.
Add fallback to software X11 engine if opengl_x11 engine creation fails.
* DumpRenderTree/efl/DumpRenderTree.cpp:
(initEcoreEvas):
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (152407 => 152408)
--- trunk/Tools/ChangeLog 2013-07-04 21:17:40 UTC (rev 152407)
+++ trunk/Tools/ChangeLog 2013-07-05 06:53:30 UTC (rev 152408)
@@ -1,3 +1,15 @@
+2013-07-04 Viatcheslav Ostapenko <[email protected]>
+
+ [EFL] DumpRenderTree doesn't run if "opengl_x11" engine is not available
+ https://bugs.webkit.org/show_bug.cgi?id=118370
+
+ Reviewed by Christophe Dumez.
+
+ Add fallback to software X11 engine if opengl_x11 engine creation fails.
+
+ * DumpRenderTree/efl/DumpRenderTree.cpp:
+ (initEcoreEvas):
+
2013-07-04 Brian Holt <[email protected]>
[ATK] Leak: AtkAttributeSet* should be freed
Modified: trunk/Tools/DumpRenderTree/efl/DumpRenderTree.cpp (152407 => 152408)
--- trunk/Tools/DumpRenderTree/efl/DumpRenderTree.cpp 2013-07-04 21:17:40 UTC (rev 152407)
+++ trunk/Tools/DumpRenderTree/efl/DumpRenderTree.cpp 2013-07-05 06:53:30 UTC (rev 152408)
@@ -435,11 +435,12 @@
static Ecore_Evas* initEcoreEvas()
{
- const char* engine = 0;
+ Ecore_Evas* ecoreEvas = 0;
#if defined(WTF_USE_ACCELERATED_COMPOSITING) && defined(HAVE_ECORE_X)
- engine = "opengl_x11";
+ ecoreEvas = ecore_evas_new("opengl_x11", 0, 0, 800, 600, 0);
+ if (!ecoreEvas)
#endif
- Ecore_Evas* ecoreEvas = ecore_evas_new(engine, 0, 0, 800, 600, 0);
+ ecoreEvas = ecore_evas_new(0, 0, 0, 800, 600, 0);
if (!ecoreEvas) {
shutdownEfl();
exit(EXIT_FAILURE);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes