Closed
Bug 1004702
Opened 10 years ago
Closed 10 years ago
Use KHR_debug in DebugMode(), when available
Categories
(Core :: Graphics, defect)
Core
Graphics
Tracking
()
RESOLVED
FIXED
mozilla32
People
(Reporter: jgilbert, Assigned: jgilbert)
Details
Attachments
(2 files, 1 obsolete file)
5.63 KB,
patch
|
bjacob
:
review+
|
Details | Diff | Splinter Review |
6.38 KB,
patch
|
jgilbert
:
review+
|
Details | Diff | Splinter Review |
We added support for KHR_debug in bug 910429, but haven't done anything in the tree with it. We should lean on it for at least DebugMode() runs.
Assignee | ||
Comment 1•10 years ago
|
||
Assignee: nobody → jgilbert
Attachment #8416115 -
Flags: review?(bjacob)
Comment 2•10 years ago
|
||
Comment on attachment 8416115 [details] [diff] [review] use-khr-debug Review of attachment 8416115 [details] [diff] [review]: ----------------------------------------------------------------- ::: gfx/gl/GLContext.cpp @@ +1227,5 @@ > + case LOCAL_GL_DEBUG_SOURCE_OTHER: > + sourceStr = "SOURCE_OTHER"; > + break; > + default: > + sprintf(sourceBuffer, "<source 0x%04x>", source); Instead of the relatively unsafe sprintf, or the safer but still bug-prone PR_snprintf, please use a nsPrintfCString or whatever it's called.
Attachment #8416115 -
Flags: review?(bjacob) → review+
Assignee | ||
Comment 4•10 years ago
|
||
r=bjacob Needed to use GLAPIENTRY for StaticDebugCallback on Windows.
Attachment #8416757 -
Attachment is obsolete: true
Attachment #8418308 -
Flags: review+
Assignee | ||
Comment 5•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/46a5bfb1fab7
Assignee | ||
Updated•10 years ago
|
Attachment #8418308 -
Attachment description: use-khr-debug → for landing
Comment 6•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/46a5bfb1fab7
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla32
You need to log in
before you can comment on or make changes to this bug.
Description
•