Closed Bug 594393 Opened 14 years ago Closed 14 years ago

Better, less confusing, messages when drawing with not-yet-uploaded textures

Categories

(Core :: Graphics: CanvasWebGL, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: bjacob, Assigned: bjacob)

References

Details

Attachments

(1 file)

At least 3 different bug reports today (bug 594310, bug 594387, bug 594357) show puzzling messages about black textures in WebGL apps that look fine. The reason is that they draw typically using a timer and the timer ticks before they load the textures.

This patch detects textures with not-yet-loaded images at level 0 and prints a much more helpful message in this case.
Attachment #473061 - Flags: review?(vladimir)
Attachment #473061 - Flags: approval2.0?
Assignee: nobody → bjacob
Comment on attachment 473061 [details] [diff] [review]
Better, less confusing, messages when drawing with not-yet-uploaded textures

Please re-request approval once this patch has been reviewed
Attachment #473061 - Flags: approval2.0?
Attachment #473061 - Flags: approval2.0+
http://hg.mozilla.org/mozilla-central/rev/4062e59e5e8e
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: