Last Comment Bug 777943 - Let WebGL getRenderbufferParameter return the WebGL format rather than re-querying the GL and tweaking
: Let WebGL getRenderbufferParameter return the WebGL format rather than re-que...
Product: Core
Classification: Components
Component: Canvas: WebGL (show other bugs)
: unspecified
: x86 Mac OS X
: -- normal (vote)
: mozilla17
Assigned To: Benoit Jacob [:bjacob] (mostly away)
: Milan Sreckovic [:milan]
Depends on:
  Show dependency treegraph
Reported: 2012-07-26 14:40 PDT by Benoit Jacob [:bjacob] (mostly away)
Modified: 2012-07-27 08:58 PDT (History)
1 user (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---

getrenderbufferparameter (1.76 KB, patch)
2012-07-26 14:40 PDT, Benoit Jacob [:bjacob] (mostly away)
jgilbert: review+
Details | Diff | Splinter Review

Description Benoit Jacob [:bjacob] (mostly away) 2012-07-26 14:40:19 PDT
Created attachment 646354 [details] [diff] [review]

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.
Comment 1 Benoit Jacob [:bjacob] (mostly away) 2012-07-26 15:14:48 PDT
Comment 2 Benoit Jacob [:bjacob] (mostly away) 2012-07-26 17:00:43 PDT

Note You need to log in before you can comment on or make changes to this bug.