WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
60581
Don't send zeros in TexImage if GL implementation handles that
https://bugs.webkit.org/show_bug.cgi?id=60581
Summary
Don't send zeros in TexImage if GL implementation handles that
John Bauman
Reported
2011-05-10 14:11:53 PDT
Don't send zeros in TexImage if GL implementation handles that
Attachments
Patch
(7.25 KB, patch)
2011-05-10 14:48 PDT
,
John Bauman
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
John Bauman
Comment 1
2011-05-10 14:48:54 PDT
Created
attachment 93011
[details]
Patch
John Bauman
Comment 2
2011-05-10 16:33:58 PDT
This fixes
http://code.google.com/p/chromium/issues/detail?id=81474
.
Eric Seidel (no email)
Comment 3
2011-05-10 22:22:29 PDT
I know this is chromium-only, but Simon might want to see this go by.
Kenneth Russell
Comment 4
2011-05-11 12:18:42 PDT
Comment on
attachment 93011
[details]
Patch If we're going to go down this route then it seems to me that we should just get rid of the texImage2DResourceSafe entry point and fold its functionality into texImage2D. We can rename the current GraphicsContext3D::texImage2D to texImage2DImpl. What do you think?
John Bauman
Comment 5
2011-05-11 12:39:14 PDT
Sounds reasonable, but maybe other platforms don't always feel the need to fill a new texture with zeros. Say, if they know they're going to be filling it with TexSubImages later.
Kenneth Russell
Comment 6
2011-05-11 12:51:03 PDT
Comment on
attachment 93011
[details]
Patch OK, fair point. r=me
WebKit Commit Bot
Comment 7
2011-05-11 14:59:07 PDT
Comment on
attachment 93011
[details]
Patch Clearing flags on attachment: 93011 Committed
r86275
: <
http://trac.webkit.org/changeset/86275
>
WebKit Commit Bot
Comment 8
2011-05-11 14:59:12 PDT
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