WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
74530
[chromium] Compositor needs to set texture filtering on canvas layers
https://bugs.webkit.org/show_bug.cgi?id=74530
Summary
[chromium] Compositor needs to set texture filtering on canvas layers
Adrienne Walker
Reported
2011-12-14 12:37:11 PST
[chromium] Compositor needs to set texture filtering on canvas layers
Attachments
Patch
(1.82 KB, patch)
2011-12-14 12:38 PST
,
Adrienne Walker
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Adrienne Walker
Comment 1
2011-12-14 12:38:17 PST
Created
attachment 119276
[details]
Patch
Adrienne Walker
Comment 2
2011-12-14 12:39:53 PST
Other layers (WebGL, plugin) set texture filtering to linear. The canvas layer just takes whatever's on the texture it's been given, which happens to be linear. Set it explicitly instead. See:
http://code.google.com/p/chromium/issues/detail?id=101928
James Robinson
Comment 3
2011-12-14 12:47:46 PST
Comment on
attachment 119276
[details]
Patch R=me, but it seems a bit silly to do it here. tex parameters are associated with the texture, not a particular binding, so we should only do this once when we create the texture.
Adrienne Walker
Comment 4
2011-12-14 12:50:41 PST
(In reply to
comment #3
)
> (From update of
attachment 119276
[details]
) > R=me, but it seems a bit silly to do it here. tex parameters are associated with the texture, not a particular binding, so we should only do this once when we create the texture.
I'm not totally convinced of that. When canvas switches to using a ManagedTexture, it's possible that its texture could be recycled from some texture that has different settings.
James Robinson
Comment 5
2011-12-14 12:52:57 PST
In that case the recycling should preserve any texParameters. I agree that it probably doesn't today (grumble about crappy recycling code).
WebKit Review Bot
Comment 6
2011-12-14 14:38:24 PST
Comment on
attachment 119276
[details]
Patch Clearing flags on attachment: 119276 Committed
r102828
: <
http://trac.webkit.org/changeset/102828
>
WebKit Review Bot
Comment 7
2011-12-14 14:38:28 PST
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug