Closed
Bug 973815
Opened 11 years ago
Closed 11 years ago
WebGL EXT_blend_minmax may now be implemented
Categories
(Core :: Graphics: CanvasWebGL, defect)
Core
Graphics: CanvasWebGL
Tracking
()
RESOLVED
FIXED
mozilla33
People
(Reporter: pyalot, Assigned: guillaume.abadie)
Details
(Keywords: dev-doc-complete)
Attachments
(2 files, 1 obsolete file)
9.47 KB,
patch
|
jgilbert
:
review-
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
9.58 KB,
patch
|
jgilbert
:
review+
|
Details | Diff | Splinter Review |
The WebGL extension EXT_blend_minmax is now in draft and may be implemented: http://www.khronos.org/registry/webgl/extensions/EXT_blend_minmax/
Reporter | ||
Comment 1•11 years ago
|
||
Chrome ticket: https://code.google.com/p/chromium/issues/detail?id=344451
Reporter | ||
Comment 2•11 years ago
|
||
Webkit ticket: https://bugs.webkit.org/show_bug.cgi?id=128974
Assignee | ||
Comment 3•11 years ago
|
||
Since I've implemented it in WebGL 2, taking it!
Assignee: nobody → guillaume.abadie
Assignee | ||
Comment 4•11 years ago
|
||
This patch implements the WebGL extension EXT_blend_minmax passing WebGL conformance 1.0.3 tests.
Push to try:
https://tbpl.mozilla.org/?tree=Try&rev=2beffa2cceb0
Attachment #8436442 -
Flags: review?(jgilbert)
Assignee | ||
Comment 5•11 years ago
|
||
Forgotten to add content/canvas/src/WebGLExtensionBlendMinMax.cpp... Might be useful in the patch! ^^
Push to try:
https://tbpl.mozilla.org/?tree=Try&rev=c7b755d5e201
Attachment #8436442 -
Attachment is obsolete: true
Attachment #8436442 -
Flags: review?(jgilbert)
Attachment #8436451 -
Flags: review?(jgilbert)
Comment 6•11 years ago
|
||
Comment on attachment 8436451 [details] [diff] [review]
ext_blend_minmax.patch - revision 2
Review of attachment 8436451 [details] [diff] [review]:
-----------------------------------------------------------------
BZ: We're adding more WG-approved IDL.
Attachment #8436451 -
Flags: review?(jgilbert)
Attachment #8436451 -
Flags: review?(bzbarsky)
Attachment #8436451 -
Flags: review+
Comment 7•11 years ago
|
||
Comment on attachment 8436451 [details] [diff] [review]
ext_blend_minmax.patch - revision 2
r=me
Attachment #8436451 -
Flags: review?(bzbarsky) → review+
Updated•11 years ago
|
Component: General → Graphics
Product: Firefox → Core
Comment 8•11 years ago
|
||
Comment on attachment 8436451 [details] [diff] [review]
ext_blend_minmax.patch - revision 2
Review of attachment 8436451 [details] [diff] [review]:
-----------------------------------------------------------------
BZ: We're adding more WG-approved IDL.
::: content/canvas/src/WebGLContextExtensions.cpp
@@ +159,5 @@
> return WebGLExtensionDrawBuffers::IsSupported(this);
> case WebGLExtensionID::EXT_frag_depth:
> return WebGLExtensionFragDepth::IsSupported(this);
> + case WebGLExtensionID::EXT_blend_minmax:
> + return WebGLExtensionBlendMinMax::IsSupported(this);
Actually, I need to you put this in the Draft Extension list.
Attachment #8436451 -
Flags: review+ → review-
Updated•11 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Updated•11 years ago
|
Component: Graphics → Canvas: WebGL
Assignee | ||
Comment 9•11 years ago
|
||
Your are very lucky that inbound was closed last night when I tried to push! =)
Attachment #8438061 -
Flags: review?(jgilbert)
Comment 10•11 years ago
|
||
Comment on attachment 8438061 [details] [diff] [review]
ext_blend_minmax.patch - revision 3
Review of attachment 8438061 [details] [diff] [review]:
-----------------------------------------------------------------
Thanks!
Attachment #8438061 -
Flags: review?(jgilbert) → review+
Assignee | ||
Comment 11•11 years ago
|
||
(In reply to Jeff Gilbert [:jgilbert] from comment #10)
> Comment on attachment 8438061 [details] [diff] [review]
> ext_blend_minmax.patch - revision 3
>
> Review of attachment 8438061 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> Thanks!
Pleasure is all mine. But I couldn't land it... I had this message:
remote: ************************** ERROR ****************************
remote:
remote: WebIDL file dom/webidl/WebGLRenderingContext.webidl altered in changeset 67d859377462 without DOM peer review
remote:
remote:
remote:
remote: Changes to WebIDL files in this repo require review from a DOM peer in the form of r=...
remote:
remote: This is to ensure that we behave responsibly with exposing new Web APIs. We appreciate your understanding..
remote:
remote: *************************************************************
But my commit message is:
Bug 973815 - Implements WebGL extension EXT_blend_minmax - r=jgilbert, bzbarsky
What did I do wrong?
Flags: needinfo?(bzbarsky)
Comment 12•11 years ago
|
||
The space after the ','? ehsan, what does the hook actually match?
Flags: needinfo?(bzbarsky) → needinfo?(ehsan)
Comment 13•11 years ago
|
||
(In reply to Boris Zbarsky [:bz] from comment #12)
> The space after the ','? ehsan, what does the hook actually match?
It looks for all r=... tokens separated by whitespace and then gets the part after the equal sign and breaks it on the comma character and looks at each token. For example here the hook sees "r=jgilbert," -> "jgilbert," -> ["jgilbert"], and the "bzbarsky" part is completely invisible to it.
Can you please fix your commit message to drop that whitespace? I see no sane way of making the hook accept this commit message without adding footguns to it. Sorry!
Flags: needinfo?(ehsan)
Assignee | ||
Comment 14•11 years ago
|
||
(In reply to :Ehsan Akhgari (lagging on bugmail, needinfo? me!) from comment #13)
> (In reply to Boris Zbarsky [:bz] from comment #12)
> > The space after the ','? ehsan, what does the hook actually match?
>
> It looks for all r=... tokens separated by whitespace and then gets the part
> after the equal sign and breaks it on the comma character and looks at each
> token. For example here the hook sees "r=jgilbert," -> "jgilbert," ->
> ["jgilbert"], and the "bzbarsky" part is completely invisible to it.
>
> Can you please fix your commit message to drop that whitespace? I see no
> sane way of making the hook accept this commit message without adding
> footguns to it. Sorry!
Thanks Ehsan! =)
Updated•11 years ago
|
Keywords: dev-doc-needed
Assignee | ||
Comment 15•11 years ago
|
||
Comment 16•11 years ago
|
||
Sorry, backed this out because of build bustage:
https://hg.mozilla.org/integration/mozilla-inbound/rev/f903c0f48969
https://tbpl.mozilla.org/?tree=Mozilla-Inbound&rev=ca5b7ed0dd5a
Assignee | ||
Comment 17•11 years ago
|
||
Relanded:
https://hg.mozilla.org/integration/mozilla-inbound/rev/d5a6e235e674
I suspect we must have a trailing "using namespace mozilla:gl;" somewhere in a header file when not building to B2G, but I couldn't find it...
Comment 18•11 years ago
|
||
It's probably in a .cpp file and propagating across to other files due to unified builds.
Comment 19•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla33
Comment 20•9 years ago
|
||
https://developer.mozilla.org/en-US/Firefox/Releases/33#WebGL
https://developer.mozilla.org/en-US/docs/Web/API/EXT_blend_minmax
https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/blendEquation
https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/blendEquationSeparate
Keywords: dev-doc-needed → dev-doc-complete
You need to log in
before you can comment on or make changes to this bug.
Description
•