Closed
Bug 1067436
Opened 10 years ago
Closed 6 years ago
WebGL2 - context creation causes assertion failure on VERTEX_ARRAY_BINDING cached state
Categories
(Core :: Graphics: CanvasWebGL, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: bjacob, Unassigned)
References
Details
Attachments
(2 files)
841 bytes,
patch
|
u480271
:
review+
|
Details | Diff | Splinter Review |
2.08 KB,
patch
|
bjacob
:
review+
|
Details | Diff | Splinter Review |
STR:
- make a debug build
- create a WebGL2 context
Result:
Failed 0x85b5 shadow: Cached 0x1/1, should be 0x0/0.
Assertion failure: false (Bad cached value.), at /home/bjacob/hack/djg/dom/canvas/WebGLContextUtils.cpp:1874
#6 mozilla::AssertUintParamCorrect (gl=0x7ffe9210f000, pname=34229, shadow=1) at /home/bjacob/hack/djg/dom/canvas/WebGLContextUtils.cpp:1874
1874 MOZ_ASSERT(false, "Bad cached value.");
(gdb) l
1869 GLuint val = 0;
1870 gl->GetUIntegerv(pname, &val);
1871 if (val != shadow) {
1872 printf_stderr("Failed 0x%04x shadow: Cached 0x%x/%u, should be 0x%x/%u.\n",
1873 pname, shadow, shadow, val, val);
1874 MOZ_ASSERT(false, "Bad cached value.");
1875 }
1876 }
Reporter | ||
Comment 1•10 years ago
|
||
Attachment #8490398 -
Flags: review?(dglastonbury)
Comment on attachment 8490398 [details] [diff] [review]
bind-default-vertex-array
Review of attachment 8490398 [details] [diff] [review]:
-----------------------------------------------------------------
I've added this to the set of patches to land with Bug 1002302
Attachment #8490398 -
Flags: review?(dglastonbury) → review+
Fix crash seen on Android when setting up mDefaultVertexArray.
Attachment #8490650 -
Flags: review?(bjacob)
Reporter | ||
Updated•10 years ago
|
Attachment #8490650 -
Flags: review?(bjacob) → review+
I'm no longer working on WebGL
Assignee: dglastonbury → nobody
Status: ASSIGNED → NEW
Updated•6 years ago
|
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•