Closed Bug 1536672 Opened 5 years ago Closed 5 years ago

Implement webgl2 draft ext OVR_multiview2

Categories

(Core :: Graphics: CanvasWebGL, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
mozilla68
Tracking Status
firefox69 --- fixed

People

(Reporter: jgilbert, Assigned: jgilbert)

References

(Blocks 2 open bugs, )

Details

(Keywords: dev-doc-complete, Whiteboard: gfx-noted)

Attachments

(1 file)

No description provided.
Blocks: 1498485
Summary: Implement webgl draft ext OVR_multiview2 → Implement webgl2 draft ext OVR_multiview2
Depends on: angle-68-2
Blocks: 1546559

This bug tracks detecting and enabling OVR_multiview2 support when directly supported by drivers. (Windows+ANGLE, Android)

For desktop GL (Windows+GL, Mac, Linux), we'll need to emulate support for this.

Following bug 1546558, I rebased this cset on it, but ran into mismatches where ANGLE's GLES driver thought a program had no multiview use, but our shader validation thought it had num_views:4. It turns out ANGLE's translater doesn't yet output OVR_multiview2 use into ESSL shaders, so we'll need to get that first.

FWIW I had to do these changes on Angle for the Servo Multiview implementation: https://github.com/google/angle/pull/10

Great, thanks! I'm upstreaming fixes here:
https://chromium-review.googlesource.com/c/angle/angle/+/1585452

It seems to be working locally!

Priority: P1 → P2
Pushed by jgilbert@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a649f69f29df
Implement WebGL OVR_multiview2 behind draft flag. r=lsalzman,qdot
Pushed by jgilbert@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a9e860d35d5b
Implement WebGL OVR_multiview2 behind draft flag. r=lsalzman,qdot
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED

We should consider to use OVR_multiview_multisampled_render_to_texture [1] for our multiview rendering support that works for MSAA framebuffer.

[1] https://www.khronos.org/registry/OpenGL/extensions/OVR/OVR_multiview_multisampled_render_to_texture.txt

(In reply to Daosheng Mu[:daoshengmu] from comment #10)

We should consider to use OVR_multiview_multisampled_render_to_texture [1] for our multiview rendering support that works for MSAA framebuffer.

[1] https://www.khronos.org/registry/OpenGL/extensions/OVR/OVR_multiview_multisampled_render_to_texture.txt

File a bug.

Flags: needinfo?(jgilbert)
See Also: → 1557515
Regressions: 1636517
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: