Changeset 133723 in webkit
- Timestamp:
- Nov 6, 2012 10:31:20 PM (11 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r133702 r133723 1 2012-11-06 Viatcheslav Ostapenko <v.ostapenko@samsung.com> 2 3 [EFL][WK2] API test crash with accelerated compositing on. 4 https://bugs.webkit.org/show_bug.cgi?id=101384 5 6 Reviewed by Gyuyoung Kim. 7 8 If accelerated compositing is enabled API tests should create GL evas engine 9 instead of default one. 10 Also, in API tests first window resize and display often comes earlier 11 than enterAcceleratedCompositingMode call, so let's create GL surface in 12 _ewk_view_smart_calculate on first window resize. 13 14 * UIProcess/API/efl/ewk_view.cpp: 15 (_ewk_view_smart_calculate): 16 * UIProcess/API/efl/tests/UnitTestUtils/EWK2UnitTestBase.cpp: 17 (EWK2UnitTest::EWK2UnitTestBase::SetUp): 18 1 19 2012-11-06 Anders Carlsson <andersca@apple.com> 2 20 -
trunk/Source/WebKit2/UIProcess/API/efl/ewk_view.cpp
r133587 r133723 388 388 #if USE(ACCELERATED_COMPOSITING) 389 389 // Recreate surface if needed. 390 if (impl->evasGLSurface()) {390 if (impl->evasGLSurface()) 391 391 impl->clearEvasGLSurface(); 392 impl->createGLSurface(IntSize(width, height)); 393 }392 393 impl->createGLSurface(IntSize(width, height)); 394 394 #endif 395 395 #if USE(TILED_BACKING_STORE) -
trunk/Source/WebKit2/UIProcess/API/efl/tests/UnitTestUtils/EWK2UnitTestBase.cpp
r131851 r133723 49 49 unsigned int height = environment->defaultHeight(); 50 50 51 #if defined(WTF_USE_ACCELERATED_COMPOSITING) && defined(HAVE_ECORE_X) 52 const char* engine = "opengl_x11"; 53 m_ecoreEvas = ecore_evas_new(engine, 0, 0, width, height, 0); 54 #else 51 55 m_ecoreEvas = ecore_evas_new(0, 0, 0, width, height, 0); 56 #endif 52 57 53 58 ecore_evas_show(m_ecoreEvas);
Note: See TracChangeset
for help on using the changeset viewer.