[Webkit-unassigned] [Bug 132833] Limit number of active graphics contexts per web process
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon May 12 17:24:39 PDT 2014
https://bugs.webkit.org/show_bug.cgi?id=132833
Dean Jackson <dino at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #231349|review? |review+
Flag| |
--- Comment #5 from Dean Jackson <dino at apple.com> 2014-05-12 17:25:01 PST ---
(From update of attachment 231349)
View in context: https://bugs.webkit.org/attachment.cgi?id=231349&action=review
> Source/WebCore/platform/graphics/mac/GraphicsContext3DMac.mm:118
> + return 0;
return nullptr;
> Source/WebCore/platform/graphics/mac/GraphicsContext3DMac.mm:123
> + return 0;
return nullptr;
> LayoutTests/webgl/many-contexts.html:13
> + for (var i = 0; i < size; i++) {
> + canvii[i] = document.createElement("canvas");
> + canvii[i].width = 1;
> + canvii[i].height = 1;
> + var context = canvii[i].getContext("webgl", null);
> + }
Weird indentation.
Also, I wonder if we should check that context == null at 1000 (assuming that we might raise the number above 16, but never to 1000).
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list