Closed
Bug 1082952
Opened 11 years ago
Closed 11 years ago
WebGL2: Add support for TEXTURE_BINDING_3D
Categories
(Core :: Graphics: CanvasWebGL, defect)
Core
Graphics: CanvasWebGL
Tracking
()
RESOLVED
FIXED
mozilla36
People
(Reporter: dvander, Assigned: dvander)
Details
Attachments
(1 file)
|
891 bytes,
patch
|
jgilbert
:
review+
|
Details | Diff | Splinter Review |
No description provided.
| Assignee | ||
Comment 1•11 years ago
|
||
Need this to shim texImage3D in Emscripten until it's added to the official spec.
Comment 2•11 years ago
|
||
Comment on attachment 8505140 [details] [diff] [review]
bug1082952-texture-binding-3d.patch
Review of attachment 8505140 [details] [diff] [review]:
-----------------------------------------------------------------
::: dom/canvas/WebGLContextState.cpp
@@ +163,5 @@
> gl->fGetIntegerv(pname, &val);
> return JS::NumberValue(uint32_t(val));
> }
> +
> + case LOCAL_GL_TEXTURE_BINDING_3D: {
You need if (!WebGL2()) ErrorInvalidEnum
Comment 3•11 years ago
|
||
Comment on attachment 8505140 [details] [diff] [review]
bug1082952-texture-binding-3d.patch
Review of attachment 8505140 [details] [diff] [review]:
-----------------------------------------------------------------
:bjacob is correct.
Attachment #8505140 -
Flags: review?(jgilbert) → review+
| Assignee | ||
Comment 4•11 years ago
|
||
My hgrc wasn't showing enough context, but this whole switch is in an |if IsWebGL2()| test.
https://hg.mozilla.org/integration/mozilla-inbound/rev/e9413152ce85
Comment 5•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla36
You need to log in
before you can comment on or make changes to this bug.
Description
•