Changeset 159893 in webkit
- Timestamp:
- Nov 30, 2013 7:52:23 PM (10 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r159891 r159893 1 2013-11-30 Commit Queue <commit-queue@webkit.org> 2 3 Unreviewed, rolling out r159865. 4 http://trac.webkit.org/changeset/159865 5 https://bugs.webkit.org/show_bug.cgi?id=125037 6 7 the position of mouse events are wrong at MiniBrowser/efl 8 (Requested by ryuan on #webkit). 9 10 * UIProcess/API/efl/EwkView.cpp: 11 (EwkView::displayTimerFired): 12 (EwkView::createGLSurface): 13 (EwkView::handleEvasObjectCalculate): 14 1 15 2013-11-30 Sam Weinig <sam@webkit.org> 2 16 -
trunk/Source/WebKit2/UIProcess/API/efl/EwkView.cpp
r159865 r159893 579 579 #endif 580 580 // sd->image is tied to a native surface, which is in the parent's coordinates. 581 evas_object_image_data_update_add(sd->image, 0, 0, sd->view.w, sd->view.h);581 evas_object_image_data_update_add(sd->image, sd->view.x, sd->view.y, sd->view.w, sd->view.h); 582 582 } 583 583 … … 819 819 }; 820 820 821 Ewk_View_Smart_Data* sd = smartData();822 IntSize viewSize(sd->view.w, sd->view.h);823 824 821 // Recreate to current size: Replaces if non-null, and frees existing surface after (OwnPtr). 825 m_evasGLSurface = EvasGLSurface::create(m_evasGL.get(), &evasGLConfig, viewSize);822 m_evasGLSurface = EvasGLSurface::create(m_evasGL.get(), &evasGLConfig, deviceSize()); 826 823 if (!m_evasGLSurface) 827 824 return false; … … 835 832 Evas_GL_API* gl = evas_gl_api_get(m_evasGL.get()); 836 833 837 gl->glViewport(0, 0, viewSize.width(), viewSize.height()); 834 WKPoint boundsEnd = WKViewUserViewportToScene(wkView(), WKPointMake(deviceSize().width(), deviceSize().height())); 835 gl->glViewport(0, 0, boundsEnd.x, boundsEnd.y); 838 836 gl->glClearColor(1.0, 1.0, 1.0, 0); 839 837 gl->glClear(GL_COLOR_BUFFER_BIT); … … 1197 1195 smartData->view.y = y; 1198 1196 evas_object_move(smartData->image, x, y); 1197 WKViewSetUserViewportTranslation(self->wkView(), x, y); 1199 1198 } 1200 1199
Note: See TracChangeset
for help on using the changeset viewer.