Closed
Bug 612336
Opened 15 years ago
Closed 15 years ago
fix a number of webgl tests
Categories
(Core :: Graphics: CanvasWebGL, defect)
Tracking
()
RESOLVED
FIXED
| Tracking | Status | |
|---|---|---|
| blocking2.0 | --- | betaN+ |
People
(Reporter: vlad, Assigned: vlad)
Details
Attachments
(8 files)
|
848 bytes,
patch
|
bjacob
:
review+
|
Details | Diff | Splinter Review |
|
710 bytes,
patch
|
bjacob
:
review+
|
Details | Diff | Splinter Review |
|
40.47 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
|
667 bytes,
patch
|
bjacob
:
review+
|
Details | Diff | Splinter Review |
|
2.17 KB,
patch
|
bjacob
:
review+
|
Details | Diff | Splinter Review |
|
737 bytes,
patch
|
bjacob
:
review+
|
Details | Diff | Splinter Review |
|
1.21 KB,
patch
|
bjacob
:
review+
|
Details | Diff | Splinter Review |
|
79.67 KB,
patch
|
Details | Diff | Splinter Review |
Here's a pile of small fixes for various webgl tests.
| Assignee | ||
Comment 1•15 years ago
|
||
Assignee: nobody → vladimir
Attachment #490625 -
Flags: review?(bjacob)
| Assignee | ||
Comment 2•15 years ago
|
||
the underlying issue is that we do fake-attrib-0 handling, but when we try to restore, we didn't have the correct "default" values for the original attrib 0 since it wasn't modified. So VertexAttribPointer raised a GL error, because size was invalid. This sets the WebGLVertexAttribData object's initial params to the GL defaults.
Attachment #490626 -
Flags: review?
| Assignee | ||
Comment 3•15 years ago
|
||
this (unfortunately large) patch renames the context interface from nsICanvasRenderingContextWebGL to nsIDOMWebGLRenderingContext, so that it ends up as "WebGLRenderingContext" in content. The entire patch is a file rename and a bunch of search and replace.
Attachment #490627 -
Flags: review?(jst)
| Assignee | ||
Comment 4•15 years ago
|
||
glClear needs to check that only COLOR, DEPTH, STENCIL bits can be specified and nothing else.
Attachment #490628 -
Flags: review?(bjacob)
| Assignee | ||
Comment 5•15 years ago
|
||
per ES 2.0, we can only have one shader of each type attached to a program, unlike desktop which can have an arbitrary number. Enforce this here.
Attachment #490630 -
Flags: review?(bjacob)
| Assignee | ||
Comment 6•15 years ago
|
||
Attachment #490631 -
Flags: review?(bjacob)
| Assignee | ||
Comment 7•15 years ago
|
||
this is kind of a silly fix. The spec and man pages state that if /both/ format and type are invalid, then it's an INVALID_OPERATION. But if one is valid and the other invalid, then it's an INVALID_ENUM. *shrug*
Attachment #490632 -
Flags: review?(bjacob)
| Assignee | ||
Updated•15 years ago
|
Attachment #490626 -
Flags: review? → review?(bjacob)
Updated•15 years ago
|
Attachment #490625 -
Flags: review?(bjacob) → review+
Updated•15 years ago
|
Attachment #490628 -
Flags: review?(bjacob) → review+
| Assignee | ||
Comment 8•15 years ago
|
||
Updated•15 years ago
|
Attachment #490630 -
Flags: review?(bjacob) → review+
Updated•15 years ago
|
Attachment #490631 -
Flags: review?(bjacob) → review+
Updated•15 years ago
|
Attachment #490632 -
Flags: review?(bjacob) → review+
Updated•15 years ago
|
Attachment #490626 -
Flags: review?(bjacob) → review+
Comment 9•15 years ago
|
||
Comment on attachment 490627 [details] [diff] [review]
fix the webgl context type
r=me
Attachment #490627 -
Flags: review?(jst) → review+
| Assignee | ||
Updated•15 years ago
|
blocking2.0: --- → betaN+
| Assignee | ||
Comment 10•15 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/56876e7bd590
http://hg.mozilla.org/mozilla-central/rev/53999baefb65
http://hg.mozilla.org/mozilla-central/rev/c00572802887
http://hg.mozilla.org/mozilla-central/rev/9d3796452887
http://hg.mozilla.org/mozilla-central/rev/929ce36f005b
http://hg.mozilla.org/mozilla-central/rev/25faa99c8fbe
http://hg.mozilla.org/mozilla-central/rev/775225b133b3
http://hg.mozilla.org/mozilla-central/rev/84776327a103
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•