Closed Bug 1531776 Opened 1 year ago Closed 1 year ago

Echo driver messages on GL error of WebRender in Debug

Categories

(Core :: Graphics: WebRender, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla67
Tracking Status
firefox67 --- fixed

People

(Reporter: kvark, Assigned: kvark)

Details

Attachments

(1 file)

Current behavior is a panic, it doesn't let us see easily what went wrong. Running with apitrace allows to see the calls triggering the error, but apitrace replay doesn't hook up to KHR_debug to get more detailed messages.

example error
ERROR 2019-03-01T15:23:27Z: webrender::device::gl: (error) GL_INVALID_ENUM error generated. Invalid primitive mode.
thread 'main' panicked at 'Caught GL error 500 at 'draw_elements_instanced'', webrender/src/device/gl.rs:1098:17
note: Run with RUST_BACKTRACE=1 for a backtrace.

Having this would save me quite a bit of time investigating bug 1530576

Assignee: nobody → dmalyshau
Status: NEW → ASSIGNED
Pushed by dmalyshau@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/43079c556af9
Spew debug messages on GL error r=nical
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
You need to log in before you can comment on or make changes to this bug.