|
Lines 50-58
void EWK2UnitTestBase::SetUp()
a/Source/WebKit2/UIProcess/API/efl/tests/UnitTestUtils/EWK2UnitTestBase.cpp_sec1
|
| 50 |
#if defined(WTF_USE_ACCELERATED_COMPOSITING) && defined(HAVE_ECORE_X) |
50 |
#if defined(WTF_USE_ACCELERATED_COMPOSITING) && defined(HAVE_ECORE_X) |
| 51 |
const char* engine = "opengl_x11"; |
51 |
const char* engine = "opengl_x11"; |
| 52 |
m_ecoreEvas = ecore_evas_new(engine, 0, 0, width, height, 0); |
52 |
m_ecoreEvas = ecore_evas_new(engine, 0, 0, width, height, 0); |
| 53 |
#else |
53 |
// Graceful fallback to software rendering if evas_gl engine is not available. |
| 54 |
m_ecoreEvas = ecore_evas_new(0, 0, 0, width, height, 0); |
54 |
if (!m_ecoreEvas) |
| 55 |
#endif |
55 |
#endif |
|
|
56 |
m_ecoreEvas = ecore_evas_new(0, 0, 0, width, height, 0); |
| 56 |
|
57 |
|
| 57 |
ecore_evas_show(m_ecoreEvas); |
58 |
ecore_evas_show(m_ecoreEvas); |
| 58 |
Evas* evas = ecore_evas_get(m_ecoreEvas); |
59 |
Evas* evas = ecore_evas_get(m_ecoreEvas); |