Closed
Bug 628382
Opened 14 years ago
Closed 14 years ago
Use 24 bit depth buffers where available
Categories
(Core :: Graphics: CanvasWebGL, defect)
Tracking
()
RESOLVED
FIXED
mozilla2.0b11
People
(Reporter: bjacob, Assigned: bjacob)
Details
Attachments
(1 file, 2 obsolete files)
1.41 KB,
patch
|
vlad
:
review+
joe
:
approval2.0+
|
Details | Diff | Splinter Review |
On desktop opengl, and on ES where OES_depth24 is supported, we should use 24 bit depth buffers.
It's not just a tiny aesthetic detail, the #audio team has reported various problems (slowness) with 16 bit depth buffers, on both windows and mac, i think with Intel cards (on windows, that was using ANGLE).
Attachment #506510 -
Flags: review?(vladimir)
So this is good, but is not enough -- ANGLE doesn't export OES_depth24, it exports OES_packed_depth_stencil. So if packed_depth_stencil is supported and OES_depth24 is not, then we need to basically create depth renderbuffers as DEPTH24_STENCIL8 always.
Blocks: 627998
Assignee | ||
Comment 2•14 years ago
|
||
Thanks for catching this!
Attachment #506510 -
Attachment is obsolete: true
Attachment #506844 -
Flags: review?(vladimir)
Attachment #506510 -
Flags: review?(vladimir)
Assignee | ||
Comment 3•14 years ago
|
||
argh, typo
Assignee | ||
Comment 4•14 years ago
|
||
this time it's good
Attachment #506844 -
Attachment is obsolete: true
Attachment #506846 -
Flags: review?(vladimir)
Attachment #506844 -
Flags: review?(vladimir)
Comment on attachment 506846 [details] [diff] [review]
use 24bit depth, updated
looks good to me :)
Attachment #506846 -
Flags: review?(vladimir) → review+
Updated•14 years ago
|
Attachment #506846 -
Flags: approval2.0+
Assignee | ||
Comment 6•14 years ago
|
||
Assignee | ||
Updated•14 years ago
|
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
No longer blocks: 627998
Updated•14 years ago
|
Assignee: nobody → bjacob
Target Milestone: --- → mozilla2.0b11
You need to log in
before you can comment on or make changes to this bug.
Description
•