diff options
author | José Dapena Paz <jdapena@igalia.com> | 2013-12-17 12:19:41 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-12-17 20:35:54 +0100 |
commit | 3bb9504f1ba458fac713200cb4dfcb2592c8f0ea (patch) | |
tree | 1e9a74917e854849924fb658de0f300854e5cbd4 /Source/JavaScriptCore/bytecode/CodeBlock.cpp | |
parent | 8a716a29721d900069d82878c45cf87a356adba3 (diff) | |
download | qtwebkit-3bb9504f1ba458fac713200cb4dfcb2592c8f0ea.tar.gz |
[texmap] Borders on rotating images are hidden/wrongly rendered with edge distance antialiasing
https://bugs.webkit.org/show_bug.cgi?id=124653
Reviewed by Noam Rosenthal.
Texture mapper edge distance antialiasing texture sampling was causing
borders to be shaded (and made them almost disappear in some cases).
This was because calculation of sampling happened on vertex shader, so
the border of the texture would go to the border of the inflation area.
What algorithm should do is sampling the border pixel for all the
inflation area (it is the closest pixel to all the samples in
inflation area), and then use the standard sampling for the other
parts of the texture.
No new test because this is already covered by test
transforms/3d/point-mapping/3d-point-mapping.html
* platform/graphics/texmap/TextureMapperShaderProgram.cpp: fix edge
distance antialiasing texture sampling.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160096 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Task-number: QTBUG-34975
Change-Id: I77654e806d6b198680cb2e6c0dbc1a6adb295222
Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
Diffstat (limited to 'Source/JavaScriptCore/bytecode/CodeBlock.cpp')
0 files changed, 0 insertions, 0 deletions