Benoit Jacob
f236d1743f
Bug 707555 - Update ANGLE to r901 (v1.0) to grab correctness fixes - no review
...
This is just syncing us with the upstream http://code.google.com/p/angleproject
2011-12-04 17:24:41 -05:00
Benoit Jacob
5a8ad40a6c
Bug 703927 - object-deletion-behaviour test still failing until we land 706674 - no review, fix mochitest-1 orange, CLOSED TREE
2011-12-04 15:13:18 -05:00
Benoit Jacob
ec07eefce7
Bug 703927 - Upgrade WebGL conformance test suite to r16237 - no review
...
The canonical location for this testsuite is:
https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/sdk/tests
2011-12-04 14:15:53 -05:00
Benoit Jacob
e1cbcb578e
Bug 707033 - Kill the hashtables of WebGLUniformLocation's held by WebGLProgram's - r=jgilbert
...
Currently, WebGLProgram holds a hashtable of refptrs to all WebGLUniformLocation's created from it.
It's used for one thing: to ensure that multiple getUniformLocation() calls on same uniform return the same WebGLUniformLocation object.
However, in a discussion on the public_webgl mailing list this week, we agreed that this was not mandated by the spec and that on the contrary, to ensure consistent behavior across browsers, we're going to require that NOT to happen. So this becomes a conformance issue.
Removing this hashtable also simplifies code and ownership patterns.
2011-12-04 14:15:43 -05:00
Benoit Jacob
7f087d1d80
Bug 705904 - [6/6] - Kill nsRefPtrHashtables of WebGL objects, allow unreferenced objects to be freed, fix about:memory reporting of deleted objects - r=jgilbert
...
This patch takes care of WebGLFramebuffer.
2011-12-04 14:15:43 -05:00
Benoit Jacob
5cfb8c36ef
Bug 705904 - [5/6] - Kill nsRefPtrHashtables of WebGL objects, allow unreferenced objects to be freed, fix about:memory reporting of deleted objects - r=jgilbert
...
This patch takes care of WebGLRenderbuffer.
2011-12-04 14:15:43 -05:00
Benoit Jacob
b996390ae1
Bug 705904 - [4/6] - Kill nsRefPtrHashtables of WebGL objects, allow unreferenced objects to be freed, fix about:memory reporting of deleted objects - r=jgilbert
...
This patch takes care of WebGLShader.
2011-12-04 14:15:43 -05:00
Benoit Jacob
39c4a77eb0
Bug 705904 - [3/6] - Kill nsRefPtrHashtables of WebGL objects, allow unreferenced objects to be freed, fix about:memory reporting of deleted objects - r=jgilbert
...
This patch takes care of WebGLProgram.
2011-12-04 14:15:43 -05:00
Benoit Jacob
3d33a7e477
Bug 705904 - [2/6] - Kill nsRefPtrHashtables of WebGL objects, allow unreferenced objects to be freed, fix about:memory reporting of deleted objects - r=jgilbert
...
This patch takes care of WebGLBuffer.
2011-12-04 14:15:43 -05:00
Benoit Jacob
ec7d4ef5de
Bug 705904 - [1/6] - Kill nsRefPtrHashtables of WebGL objects, allow unreferenced objects to be freed, fix about:memory reporting of deleted objects - r=jgilbert
...
This patch takes care of WebGLTexture, and introduces the WebGLFastArray helper (see comment).
2011-12-04 14:15:43 -05:00
Benoit Jacob
e9dd4bf03c
Bug 704839 - [9/9] - Refactor mutual ownership of WebGL objects - r=jgilbert
...
This patch removes the old helper classes which we no longer use.
2011-12-04 14:15:43 -05:00
Benoit Jacob
7bcf3699be
Bug 704839 - [8/9] - Refactor mutual ownership of WebGL objects - r=jgilbert
...
This patch moves WebGLVertexAttribData further down in the file, where it belongs.
2011-12-04 14:15:43 -05:00
Benoit Jacob
c26d4afac3
Bug 704839 - [7/9] - Refactor mutual ownership of WebGL objects - r=jgilbert
...
This patch fixes framebuffer attachment deletion.
2011-12-04 14:15:43 -05:00
Benoit Jacob
d03329bba6
Bug 704839 - [6/9] - Refactor mutual ownership of WebGL objects - r=jgilbert
...
This patch fixes WebGL isObject functions.
2011-12-04 14:15:43 -05:00
Benoit Jacob
1852069aab
Bug 704839 - [5/9] - Refactor mutual ownership of WebGL objects - r=jgilbert
...
This patch fixes the implementation of DELETE_STATUS queries.
2011-12-04 14:15:43 -05:00
Benoit Jacob
8f1f6f1d58
Bug 704839 - [4/9] - Refactor mutual ownership of WebGL objects - r=jgilbert
...
This patch switches to the new mutual ownership pattern for WebGL objects, based on maintaining a second WebGL-specific refcount mirroring the OpenGL refcount which we can't access, using the helper classes that were introduced in patches 1 and 2.
2011-12-04 14:15:42 -05:00
Benoit Jacob
cb8dbfe4fe
Bug 704839 - [3/9] - Refactor mutual ownership of WebGL objects - r=jgilbert
...
This patch renames GLuint mName to mGLName for consistency.
2011-12-04 14:15:42 -05:00
Benoit Jacob
7e9fd0f1f1
Bug 704839 - [2/9] - Refactor mutual ownership of WebGL objects - r=jgilbert
...
This patch implements the WebGLRefPtr class, which is how WebGL objects can hold strong references to each other that work in the same way as the references held by the underlying OpenGL objects, i.e. that will be immediately destroyed even by explicit delete calls.
2011-12-04 14:15:42 -05:00
Benoit Jacob
aa4eec484a
Bug 704839 - [1/9] - Refactor mutual ownership of WebGL objects - r=jgilbert
...
This patch implements WebGLRefCountedObject, a base class for WebGL objects that implements a "WebGL refcount" mirroring the OpenGL refcount, separate from the XPCOM refcount. It collaborates with the WebGLRefPtr class introduced in patch 2.
2011-12-04 14:15:42 -05:00
Benoit Jacob
6ae9ac8358
Bug 705673 - remove stale mUniformTextures - no review
...
According to legends, there are still mUniformTextures in caves going down to the center of Earth.
2011-12-04 14:15:42 -05:00
Benoit Jacob
14053c316d
Bug 705668 - Remove IIDs on WebGL implementation classes - r=ehsan
...
These IIDs were used in the past to check, using do_QueryInterface, that the objects passed to WebGL functions were really of the expected type. Now that WebGL classes are marked 'builtinclass' in the IDL and that check has been removed (see bug 638328), none of that is needed anymore.
2011-12-04 14:15:42 -05:00
Ms2ger
19fd340158
Bug 705435 - Remove dead code: CanvasUtils::LogMessage{f,}; r=bjacob
2011-12-03 22:50:17 +01:00
Ms2ger
cdc32f1c63
Bug 704088 - Pass dom::Element to nsLayoutUtils::SurfaceFromElement; r=bz
2011-12-03 22:50:16 +01:00
Doug Sherk
e83d419313
Bug 660070: catch EGL_CONTEXT_LOST and send WebGL an event for it r=bjacob
...
Catches the EGL_CONTEXT_LOST error which occurs after driver resets, and sends a
WebGL context the canvas event webglcontextlost when this occurs.
2011-12-02 23:52:35 -08:00
Benoit Jacob
073f54e476
Bug 705663 - Fix braindead WebGLTexture::HasImageInfoAt - r=jrmuizel
2011-11-28 14:30:28 -05:00
Jeff Gilbert
9bedcc608e
Bug 702058 - Prefer CGL+FBOs by default on Mac - r=bjacob
2011-11-23 16:49:02 -08:00
Michael Wu
95e746a177
Bug 703307 - Fix build/crash in gonk, r=cjones
2011-11-22 11:51:51 -08:00
Doug Sherk
160573a759
Bug 656824: fixed invalid return type on loseContext and restoreContext r=bjacob
2011-11-18 22:57:29 -05:00
Doug Sherk
7a2325141e
Bug 656824: changed WebGL robustness timer to not get reset after each draw operation r=bjacob
...
This patch should improve performance of the robustness timer by not resetting
it each time a draw operation happens. It still checks if there's any activity
and, if not, it will stop firing it. It includes a single extra timer firing
after activity dies to make sure we don't miss anything. Also includes a fix for
robustness being marked as existing when it really isn't.
2011-11-18 22:57:29 -05:00
Doug Sherk
446aaeb959
Bug 699626: patch reftest analyzer and WebGL reftests r=dbaron
2011-11-18 22:57:29 -05:00
Jeff Muizelaar
342f1d0cec
Bug 666312. Check surface status instead of surface existance. r=mwoodrow
...
We always have cairo surfaces now instead of having NULL ones. We should
check the status instead. This fixes crashes with the quartz and skia
azure backends.
2011-11-19 01:39:14 +13:00
Matt Woodrow
bdd5d2d841
Bug 702517 - Mark tests that fail in chrome as passing. r=jrmuizel
2011-11-18 17:00:38 +13:00
Matt Woodrow
8c5da2ed3d
Bug 702517 - Expose skia backend as a GfxInfo property and use it to mark tests as passing. r=jrmuizel
2011-11-18 17:00:38 +13:00
Marco Castelluccio
2f7388d5b7
Bug 699258 - Get skia backend compiling and running on Windows. r=mattwoodrow
2011-11-18 17:00:37 +13:00
Brian O'Keefe
e470d8dd0c
Bug 650720 - Fix the JPEG and BMP encoders to composite onto black, instead of white. r=joe
2011-11-14 11:21:19 +13:00
Matt Brubeck
65a5f3ea90
Back out 5ddda2b25e28 and 3abfdb807a4f (bug 699258) for crashes in WinXP tests
2011-11-11 17:49:47 -08:00
Marco Castelluccio
d303f502ae
Bug 699258 - Part 2: [Skia] Get Skia backend working on Windows.
2011-11-11 15:51:00 -05:00
Ted Mielczarek
de5f3b42a5
bug 693595 - Add WebGLExtensionStandardDerivatives to WebGLContextNotSupported. r=bjacob
2011-10-19 10:01:27 -04:00
Doug Sherk
a5b176e675
Bug 665578: prevented ANGLE built-in function emulation on OS X 10.7 and newer r=bjacob
2011-11-07 19:33:51 -05:00
Benoit Jacob
555ebb514c
Bug 665578 - Backed out changeset 82a297b0d0d3 for compile error
2011-11-07 17:32:07 -05:00
Doug Sherk
c94e26acf7
Bug 665578: prevented ANGLE built-in function emulation on OS X 10.7 and newer r=bjacob
2011-11-07 17:13:34 -05:00
Ed Morley
7ea8e12caa
Backout 4997c6f8b24d (bug 616542) for causing locally run mochitest-browser-chrome test runs to fail
2011-11-05 18:35:59 +00:00
Rail Aliiev
ac65d0d88e
Bug 616542 - Shorten file path length of mochitest; r=ted
2011-11-04 21:13:42 +00:00
Doug Sherk
f8e3063725
Bug 699626: fix TEST-UNEXPECTED-FAIL > TEST-KNOWN-FAIL in WebGL reftests r=burning
2011-11-03 19:05:16 -07:00
Benoit Jacob
513c5913ad
Bug 699516 - Rename WEBKIT_lose_context to WEBGL_EXT_lose_context - r=dsherk
...
See today's discussion on public_webgl list. WEBGL_EXT_lose_context will be officially created in a few days.
2011-11-03 20:29:57 -04:00
Benoit Jacob
de6f13fb32
Bug 699522 - WebGL lose_context extension was not listed by webgl.getSupportedExtensions() - r=dsherk
2011-11-03 15:52:52 -04:00
Doug Sherk
d873816e05
Bug 693703: added additional logging information for mochitests, incl. image reference differences r=bjacob
...
Added some code to print to dump output of WebGL mochitest failures. Also added
special code to handle incorrect reference images. It will now provide the user
with a way to compare the reference and actual drawings.
2011-11-03 10:50:40 -04:00
Doug Sherk
8e6c4c87cb
Bug 682496 - fixed program-test.html test failures - r=bjacob
...
Fixed programs and shaders so that when they're marked for deletion and then detached completely, are deleted.
2011-11-03 10:50:40 -04:00
Doug Sherk
3e5f8419ab
Bug 697211: fixed stride not being returned correctly from getVertexAttrib r=jgilbert
2011-11-03 10:50:40 -04:00
Doug Sherk
0b19b694c6
Bug 695912: allow forcing MSAA on r=jgilbert
...
Allows forcing MSAA on even if we determine through the blocklist that the user
probably shouldn't be running it.
2011-11-03 10:50:40 -04:00