Closed Bug 1300932 Opened 9 years ago Closed 9 years ago

ES3 should enable GLFeature::draw_buffers

Categories

(Core :: Graphics: CanvasWebGL, defect)

51 Branch
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla51
Tracking Status
firefox51 --- fixed

People

(Reporter: jgilbert, Assigned: jgilbert)

References

(Depends on 1 open bug)

Details

Attachments

(1 file)

In bug 1056947, we made ES3 not enable draw_buffers, because ES3 doesn't allow draw_buffers usage in ES1 shaders. (Thus WebGL1 on ES3 would fail to compile shaders that use #extension draw_buffers) However, this also causes fDrawBuffers to not be loaded in GLContext. fDrawBuffers is core in WebGL2, so we need to repair this logic.
Comment on attachment 8788704 [details] Bug 1300932 - Enable draw_buffers on ES3, but not WEBGL_draw_buffers. - https://reviewboard.mozilla.org/r/77100/#review75364
Attachment #8788704 - Flags: review?(hshih) → review+
Pushed by jgilbert@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/8302d9c4a62b Enable draw_buffers on ES3, but not WEBGL_draw_buffers. - r=jerry
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla51
Depends on: 1513207
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: