Bug 167118 - [GTK] [TextureMapper] [GLES2] Draw repeated patterns for NPOT textures manually
Summary: [GTK] [TextureMapper] [GLES2] Draw repeated patterns for NPOT textures manually
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Miguel Gomez
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-17 05:42 PST by Miguel Gomez
Modified: 2017-01-18 00:51 PST (History)
6 users (show)

See Also:


Attachments
Patch (6.14 KB, patch)
2017-01-17 08:23 PST, Miguel Gomez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Miguel Gomez 2017-01-17 05:42:59 PST
Using GLES2, some drivers have problems drawing repeated patterns when using NPOT textures. To avoid this, it's better to manually draw the patterns using the shader.
Comment 1 Miguel Gomez 2017-01-17 06:01:19 PST
(In reply to comment #0)
> Using GLES2, some drivers have problems drawing repeated patterns when using
> NPOT textures. To avoid this, it's better to manually draw the patterns
> using the shader.

Forgot to mention that this is only a problem when the GL_OES_texture_npot extension is not available.
Comment 2 Miguel Gomez 2017-01-17 08:23:21 PST
Created attachment 299034 [details]
Patch
Comment 3 WebKit Commit Bot 2017-01-18 00:51:26 PST
Comment on attachment 299034 [details]
Patch

Clearing flags on attachment: 299034

Committed r210847: <http://trac.webkit.org/changeset/210847>
Comment 4 WebKit Commit Bot 2017-01-18 00:51:31 PST
All reviewed patches have been landed.  Closing bug.