Skip to content
Permalink
Browse files
[Qt] Transform should be applied to the clip rect in QRawWebView::paint
https://bugs.webkit.org/show_bug.cgi?id=90652

Patch by Luiz Agostini <luiz.agostini@nokia.com> on 2012-07-05
Reviewed by Kenneth Rohde Christiansen.

Applying the transformation matrix to the clip rect in QRawWebView::paint.

* UIProcess/API/qt/raw/qrawwebview.cpp:
(QRawWebView::paint):

Canonical link: https://commits.webkit.org/108500@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@121942 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
Luiz Agostini authored and webkit-commit-queue committed Jul 6, 2012
1 parent 09eb02d commit 2718db5fe91fdbd7df31b5e9554740f50ae3da9c
Showing with 13 additions and 1 deletion.
  1. +12 −0 Source/WebKit2/ChangeLog
  2. +1 −1 Source/WebKit2/UIProcess/API/qt/raw/qrawwebview.cpp
@@ -1,3 +1,15 @@
2012-07-05 Luiz Agostini <luiz.agostini@nokia.com>

[Qt] Transform should be applied to the clip rect in QRawWebView::paint
https://bugs.webkit.org/show_bug.cgi?id=90652

Reviewed by Kenneth Rohde Christiansen.

Applying the transformation matrix to the clip rect in QRawWebView::paint.

* UIProcess/API/qt/raw/qrawwebview.cpp:
(QRawWebView::paint):

2012-07-05 Christophe Dumez <christophe.dumez@intel.com>

[WK2][EFL] Ewk_View should provide API to set/get device pixel ratio
@@ -360,7 +360,7 @@ void QRawWebView::paint(const QMatrix4x4& transform, float opacity, unsigned pai

WebCore::FloatRect rect(0, 0, d->m_size.width(), d->m_size.height());

renderer->paintToCurrentGLContext(transform, opacity, rect, paintFlags);
renderer->paintToCurrentGLContext(transform, opacity, transform.mapRect(rect), paintFlags);
}

void QRawWebView::sendKeyEvent(QKeyEvent* event)

0 comments on commit 2718db5

Please sign in to comment.