Bug 100845 - TextureMapperLayer backing store contents are drawn upside down on screen
Summary: TextureMapperLayer backing store contents are drawn upside down on screen
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit EFL (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-31 06:09 PDT by Kalyan
Modified: 2012-10-31 11:25 PDT (History)
3 users (show)

See Also:


Attachments
fix-proposal (2.26 KB, patch)
2012-10-31 06:09 PDT, Kalyan
no flags Details | Formatted Diff | Diff
patch (2.29 KB, patch)
2012-10-31 06:52 PDT, Kalyan
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kalyan 2012-10-31 06:09:02 PDT
Created attachment 171629 [details]
fix-proposal

WebGL displays the Canvas with (0,0) being the bottom left corner.
        In GraphicsSurface::platformPaintToTextureMapper we don't set ShouldFlipTexture
        flag before painting to TextureMapper. Thus the contents are not flipped.
        It results in backing store contents being drawn upside down on screen.
Comment 1 WebKit Review Bot 2012-10-31 06:15:30 PDT
Attachment 171629 [details] did not pass style-queue:

Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCor..." exit_code: 1
Source/WebCore/ChangeLog:1:  ChangeLog entry has no bug number  [changelog/bugnumber] [5]
Total errors found: 1 in 2 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 2 Kalyan 2012-10-31 06:52:03 PDT
Created attachment 171641 [details]
patch
Comment 3 WebKit Review Bot 2012-10-31 11:25:17 PDT
Comment on attachment 171641 [details]
patch

Clearing flags on attachment: 171641

Committed r133049: <http://trac.webkit.org/changeset/133049>
Comment 4 WebKit Review Bot 2012-10-31 11:25:20 PDT
All reviewed patches have been landed.  Closing bug.