Ms2ger
8d47d26d10
Bug 711240 - Part b: Expose xpc_qsStringToJsval publicly; r=bholley
2011-12-24 09:27:04 +01:00
Ms2ger
f97cb260f5
No bug - Remove uint32/int32 from CustomQS_Canvas2D.h; rs=Waldo
2011-12-24 09:20:13 +01:00
Olli Pettay
c35f7bb3a9
Bug 711841, Null(C)String(), r=bsmedberg,glandium
2011-12-20 21:46:00 +02:00
Jeff Gilbert
572d367333
Bug 701269 - Deguarantee that ResizeOffscreenFBO clears its buffers - r=bjacob
2011-12-19 15:47:54 -08:00
Mats Palmgren
5220060923
Bug 704143 - Null check to avoid crashing. r=bas
2011-12-19 23:11:15 +01:00
Jeff Walden
279c3635c0
Bug 711799 - Fix a bunch of unused-variable warnings. r=dholbert
...
--HG--
extra : rebase_source : 91fc77dca316018652d4d99f6d4cc8d0f7195e6e
2011-12-18 01:00:42 -05:00
Matt Brubeck
5d8466250b
Back out bug 710521, bug 672013, bug 702739 because of Mac reftest failures
2011-12-18 08:15:09 -08:00
Edwin Flores
68f8de97ea
Bug 710521. Small refactor of gfxFont to separate drawing to paths and drawing strokes. r=roc
2011-12-18 21:53:03 +13:00
Jeff Gilbert
57ad493b06
Bug 705024 - Guarantee GLContexts are resolved properly - r=bjacob
2011-12-16 14:24:46 -08:00
Jeff Gilbert
38f36205f9
Bug 698169 - Make WebGL texSubImage2D respect alpha-premultiplied DOM sources - r=bjacob
2011-12-16 14:24:46 -08:00
Doug Sherk
797ba840ff
Bug 708207: implement WebGL's getShaderPrecisionFormat r=bjacob
2011-12-16 13:11:59 -08:00
Jeff Walden
476c7d19c5
Bug 708735 - Use <stdint.h> types in JSAPI and throughout SpiderMonkey. Continue to provide the {u,}int{8,16,32,64} and JS{Uint,Int}{8,16,32,64} integer types through a single header, however, for a simpler backout strategy -- and also to ease the transition for embedders. r=timeless on switching the jsd API to use the <stdint.h> types, r=luke, r=dmandelin
2011-12-08 22:54:10 -05:00
Ed Morley
0ce446deb5
Bug 710481 - Remove tracer leftovers in CustomQS_WebGL.h; r=bjacob f=bhackett
2011-12-16 09:13:29 +00:00
Masatoshi Kimura
26a3901298
Bug 704820 - Simplify nsContentUtils::ReportToConsole. r=smaug
2011-12-15 14:47:03 +00:00
Doug Sherk
f65dc6e8d7
Bug 707861: implement EXT_robustness for ANGLE r=bjacob a=mbrubeck
...
Similar to ARB_robustness, uses our current robustness framework. There are some
problems preventing this from being completely usable, but we can't do anything
about them yet. See the bug for more info.
2011-12-14 16:57:09 -08:00
Joe Drew
1ab4c87fe8
Bug 709947 - Don't use the ESSL backend of ANGLE - r=jgilbert a=ehsan
2011-12-14 14:50:48 -05:00
Robert O'Callahan
2292bf6769
Bug 705559. Part 1: Clean up nsCanvasRenderingContext2DAzure::DrawImage code a bit. r=jrmuizel
2011-12-09 22:51:50 +13:00
Jonathan Kew
3673019222
bug 698185 - convert coordinates properly when processing bidi runs in canvas text. r=dbaron
2011-12-08 17:52:47 +00:00
Benoit Jacob
3fa3cbc3b0
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
23d503f744
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
bfff5f7f10
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
a959069916
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
dc5723fe15
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
f99eb362c0
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
cc4ac52540
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
60f1ae571c
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
f86dc75f37
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
d295edc325
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
1cbd18259d
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
a31862a997
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
2c459498c6
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
b96e2f914a
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
6b88bbe917
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
cbefb6a7a2
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
01397ddaa5
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
18afae8195
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
0693fafd24
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
9fb7ab40fd
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
b39d1c2e9f
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
685ed2f318
Bug 705435 - Remove dead code: CanvasUtils::LogMessage{f,}; r=bjacob
2011-12-03 22:50:17 +01:00
Ms2ger
68e1ed1f12
Bug 704088 - Pass dom::Element to nsLayoutUtils::SurfaceFromElement; r=bz
2011-12-03 22:50:16 +01:00
Doug Sherk
6b8258d114
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
82379d20c5
Bug 705663 - Fix braindead WebGLTexture::HasImageInfoAt - r=jrmuizel
2011-11-28 14:30:28 -05:00
Jeff Gilbert
5d2abca505
Bug 702058 - Prefer CGL+FBOs by default on Mac - r=bjacob
2011-11-23 16:49:02 -08:00
Michael Wu
8ded2a05cd
Bug 703307 - Fix build/crash in gonk, r=cjones
2011-11-22 11:51:51 -08:00
Doug Sherk
f224127867
Bug 656824: fixed invalid return type on loseContext and restoreContext r=bjacob
2011-11-18 22:57:29 -05:00
Doug Sherk
e6a246b74c
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
ffd0060fbc
Bug 699626: patch reftest analyzer and WebGL reftests r=dbaron
2011-11-18 22:57:29 -05:00
Jeff Muizelaar
394e1a656b
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
8f1885fb5e
Bug 702517 - Mark tests that fail in chrome as passing. r=jrmuizel
2011-11-18 17:00:38 +13:00