Closed
Bug 1233549
Opened 9 years ago
Closed 8 years ago
Disallow ES3 compressed texture formats
Categories
(Core :: Graphics: CanvasWebGL, defect)
Core
Graphics: CanvasWebGL
Tracking
()
RESOLVED
FIXED
mozilla46
Tracking | Status | |
---|---|---|
firefox46 | --- | fixed |
People
(Reporter: jrmuizel, Unassigned)
References
Details
(Whiteboard: gfx-noted)
Attachments
(1 file, 2 obsolete files)
2.43 KB,
patch
|
jgilbert
:
review+
|
Details | Diff | Splinter Review |
This fixes assertion failures on platforms that don't have these formats. This is a temporary fix until we iron out this issue in the spec. It's easier to add this later than it is to take it away.
Reporter | ||
Updated•9 years ago
|
Attachment #8699624 -
Attachment is patch: true
Attachment #8699624 -
Flags: review?(jgilbert)
Comment 1•9 years ago
|
||
Comment on attachment 8699624 [details] [diff] [review] Disallow ES3 compressed texture formats Review of attachment 8699624 [details] [diff] [review]: ----------------------------------------------------------------- Wrong patch.
Attachment #8699624 -
Flags: review?(jgilbert) → review-
Updated•9 years ago
|
Flags: needinfo?(jmuizelaar)
Reporter | ||
Comment 2•9 years ago
|
||
Attachment #8699624 -
Attachment is obsolete: true
Flags: needinfo?(jmuizelaar)
Reporter | ||
Updated•9 years ago
|
Attachment #8699793 -
Flags: review?(jgilbert)
Comment 3•9 years ago
|
||
Comment on attachment 8699793 [details] [diff] [review] Disallow ES3 compressed texture formats Review of attachment 8699793 [details] [diff] [review]: ----------------------------------------------------------------- ::: dom/canvas/WebGLFormats.cpp @@ +88,5 @@ > InitCompressedFormatInfo() > { > // GLES 3.0.4, p147, table 3.19 > // GLES 3.0.4, p286+, $C.1 "ETC Compressed Texture Image Formats" > +#if ALLOW_ES3_FORMATS Don't ifdef off these. @@ +249,5 @@ > AddFormatInfo(FOO(STENCIL_INDEX8), 1, UnsizedFormat::S, false, ComponentType::UInt); > > // GLES 3.0.4, p147, table 3.19 > // GLES 3.0.4 p286+ $C.1 "ETC Compressed Texture Image Formats" > +#if ALLOW_ES3_FORMATS Don't ifdef off these. @@ +784,5 @@ > fnAllowES3TexFormat(FOO(DEPTH32F_STENCIL8 ), true, false); > > // GLES 3.0.4, p147, table 3.19 > // GLES 3.0.4, p286+, $C.1 "ETC Compressed Texture Image Formats" > +#if ALLOW_ES3_FORMATS Only ifdef off these.
Attachment #8699793 -
Flags: review?(jgilbert) → review-
Reporter | ||
Comment 4•9 years ago
|
||
Attachment #8699793 -
Attachment is obsolete: true
Attachment #8700206 -
Flags: review?(jgilbert)
Updated•9 years ago
|
Attachment #8700206 -
Flags: review?(jgilbert) → review+
Updated•8 years ago
|
Whiteboard: gfx-noted
Comment 6•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/e1e0539dd11e
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox46:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla46
Comment 7•8 years ago
|
||
Hi Jeff, I would like to do the following work of the compressed texture. If you are working on it, I will skip it to avoid duplicating work.
Flags: needinfo?(jmuizelaar)
Comment 8•8 years ago
|
||
(In reply to Ethan Lin[:ethlin] from comment #7) > Hi Jeff, > I would like to do the following work of the compressed texture. If you are > working on it, I will skip it to avoid duplicating work. Create a new bug and cc us, so we can talk about the path forward there.
Comment 9•8 years ago
|
||
(In reply to Jeff Gilbert [:jgilbert] from comment #8) > (In reply to Ethan Lin[:ethlin] from comment #7) > > Hi Jeff, > > I would like to do the following work of the compressed texture. If you are > > working on it, I will skip it to avoid duplicating work. > > Create a new bug and cc us, so we can talk about the path forward there. OK, I will create a new bug.
Flags: needinfo?(jmuizelaar)
You need to log in
before you can comment on or make changes to this bug.
Description
•