WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 51492
Add WebGL lost context testing extension
https://bugs.webkit.org/show_bug.cgi?id=51492
Summary
Add WebGL lost context testing extension
Adrienne Walker
Reported
2010-12-22 13:42:00 PST
As there's currently no way to test a WebGL's implementation of context lost and restored events, add the WebGL extension proposed on the public_webgl mailing list for forcibly losing context. (Once committed, I will update the WebGL extension registry and the set of Khronos conformance tests. However, I wanted to get this reviewed first, as I'm sure there will be changes needed.)
Attachments
Patch
(58.16 KB, patch)
2010-12-22 15:11 PST
,
Adrienne Walker
no flags
Details
Formatted Diff
Diff
Patch
(58.23 KB, patch)
2010-12-22 16:52 PST
,
Adrienne Walker
no flags
Details
Formatted Diff
Diff
Patch
(58.57 KB, patch)
2010-12-23 10:21 PST
,
Adrienne Walker
no flags
Details
Formatted Diff
Diff
Patch
(58.44 KB, patch)
2010-12-28 13:38 PST
,
Adrienne Walker
no flags
Details
Formatted Diff
Diff
Patch
(60.05 KB, patch)
2011-01-05 17:04 PST
,
Adrienne Walker
no flags
Details
Formatted Diff
Diff
Patch
(60.04 KB, patch)
2011-01-05 17:08 PST
,
Adrienne Walker
kbr
: review+
Details
Formatted Diff
Diff
Show Obsolete
(5)
View All
Add attachment
proposed patch, testcase, etc.
Adrienne Walker
Comment 1
2010-12-22 15:11:24 PST
Created
attachment 77263
[details]
Patch
WebKit Review Bot
Comment 2
2010-12-22 15:28:41 PST
Attachment 77263
[details]
did not build on mac: Build output:
http://queues.webkit.org/results/7316113
Adrienne Walker
Comment 3
2010-12-22 16:52:31 PST
Created
attachment 77278
[details]
Patch
Adrienne Walker
Comment 4
2010-12-23 10:21:13 PST
Created
attachment 77342
[details]
Patch
WebKit Review Bot
Comment 5
2010-12-23 10:40:41 PST
Attachment 77342
[details]
did not build on mac: Build output:
http://queues.webkit.org/results/7210140
Kenneth Russell
Comment 6
2010-12-23 17:10:24 PST
Comment on
attachment 77342
[details]
Patch Can you look into the Mac build failure?
Adrienne Walker
Comment 7
2010-12-23 17:32:56 PST
(In reply to
comment #6
)
> (From update of
attachment 77342
[details]
) > Can you look into the Mac build failure?
Will do.
Adrienne Walker
Comment 8
2010-12-28 13:38:09 PST
Created
attachment 77574
[details]
Patch
Darin Adler
Comment 9
2010-12-29 17:51:06 PST
Comment on
attachment 77574
[details]
Patch Really strange to have all this Chromium-specific stuff. An IDL file with Chromium in its name? Is this really platform-specific?
Adrienne Walker
Comment 10
2011-01-04 10:21:24 PST
(In reply to
comment #9
)
> (From update of
attachment 77574
[details]
) > Really strange to have all this Chromium-specific stuff. An IDL file with Chromium in its name? Is this really platform-specific?
No, it's not. This patch implements a WebGL extension that is not necessarily browser-specific. There are really two issues here: 1) What to call the WebGL extension (currently CHROMIUM_lose_context). 2) What to call the class that implements it (currently ChromiumLoseContext). Chris Marrin suggested CHROMIUM_lose_context as an extension name on the public_webgl mailing list, so I went with that. I named the class analogously to how the existing OESTextureFloat class is named, as that seemed like a reasonable approach. So, that's how this patch ended up with a Chromium-named idl file. I don't feel very strongly about what this extension should be named. Thoughts from anybody else?
Kenneth Russell
Comment 11
2011-01-04 11:05:21 PST
(In reply to
comment #10
)
> I don't feel very strongly about what this extension should be named. Thoughts from anybody else?
After some thought, since the extension will implicitly be supported in both Safari and Chromium, perhaps it should be called WEBKIT_lose_context. The primary disagreement on the WebGL mailing list was over making this an "official" extension with the WEBGL_ prefix.
Adrienne Walker
Comment 12
2011-01-04 14:20:23 PST
(In reply to
comment #11
)
> (In reply to
comment #10
) > > I don't feel very strongly about what this extension should be named. Thoughts from anybody else? > > After some thought, since the extension will implicitly be supported in both Safari and Chromium, perhaps it should be called WEBKIT_lose_context. The primary disagreement on the WebGL mailing list was over making this an "official" extension with the WEBGL_ prefix.
That sounds great to me.
Adrienne Walker
Comment 13
2011-01-05 17:04:34 PST
Created
attachment 78071
[details]
Patch
Adrienne Walker
Comment 14
2011-01-05 17:08:14 PST
Created
attachment 78074
[details]
Patch
Kenneth Russell
Comment 15
2011-01-06 13:00:32 PST
Comment on
attachment 78074
[details]
Patch Looks great. This will improve testability a great deal.
Adrienne Walker
Comment 16
2011-01-07 13:41:49 PST
Committed
r75271
: <
http://trac.webkit.org/changeset/75271
>
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