Closed Bug 777943 Opened 13 years ago Closed 13 years ago

Let WebGL getRenderbufferParameter return the WebGL format rather than re-querying the GL and tweaking

Categories

(Core :: Graphics: CanvasWebGL, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla17

People

(Reporter: bjacob, Assigned: bjacob)

Details

(Whiteboard: webgl-conformance)

Attachments

(1 file)

Currently getRenderbufferParameter for INTERNAL_FORMAT queries the GL and performs a tweak to map correctly GL renderbuffer formats to WebGL formats. We should simply return the WebGL format instead, which we already know. In addition of being simpler (no tweaking needed) this works around one of the remaining driver bugs on Mac OSX 10.8 / AMD.
Attachment #646354 - Flags: review?(jgilbert)
Attachment #646354 - Flags: review?(jgilbert) → review+
Assignee: nobody → bjacob
Target Milestone: --- → mozilla17
Status: NEW → RESOLVED
Closed: 13 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: