Benoit Jacob
cf73b0e3b9
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
611278abaf
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
d9e41b32be
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
8f1fe0ff76
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
a9e0d84dbd
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
ddfb4b1926
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
3b06741971
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
ecba738742
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
eebc9f9fb7
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
93f7c9fc64
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
a4fe602cb3
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
4d9c6c8d26
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
1fe593ea97
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
fe054ddff0
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
66002aca08
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
c84135ec38
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
f8faf98502
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
8e6fa3fd66
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
f83af6a077
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
2712ccf837
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
1bb06ab264
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
Ed Morley
1ffbd8940f
Merge mozilla-central and mozilla-inbound
2011-12-04 15:04:54 +00:00
Ms2ger
b4a02080cc
Bug 705435 - Remove dead code: CanvasUtils::LogMessage{f,}; r=bjacob
2011-12-03 22:50:17 +01:00
Ms2ger
1b17785dc8
Bug 705434 - Remove dead code: nsXULDocument::ContextStack::IsInsideXULTemplate; r=jst
2011-12-03 22:50:17 +01:00
Ms2ger
0f691c2c0a
Bug 705433 - Remove dead code: TestNode::HasAncestor; r=jst
2011-12-03 22:50:17 +01:00
Ms2ger
a9734c8253
Bug 705428 - Remove dead code: nsXMLContentSerializer::AppendToString(const PRUnichar*, PRInt32, nsAString&); r=sicking
2011-12-03 22:50:16 +01:00
Ms2ger
32cf1cec60
Bug 705427 - Remove dead code: nsAttrAndChildArray::SetAttr(nsIAtom*, const nsAString&); r=sicking
2011-12-03 22:50:16 +01:00
Ms2ger
4879be0711
Bug 704088 - Pass dom::Element to nsLayoutUtils::SurfaceFromElement; r=bz
2011-12-03 22:50:16 +01:00
Andrew Quartey
ef8a477450
Bug 704013 - nsStyleLinkElement::ParseLinkTypes should use HTML5 definition of "whitespace"; f=Ms2ger r=bz
2011-12-03 22:50:15 +01:00
Doug Sherk
a9cd727f00
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
Steve Fink
aeed3c5c72
Bug 700202 - Propagate errors from ReparentContentWrappersInScope (r=smaug)
...
--HG--
extra : rebase_source : c8590dfa093620e92520a617d69d7f3ebf5edd5f
2011-11-21 09:35:26 -08:00
Phil Ringnalda
6f32587c3d
Back out dcf31efc8c12 and 79c9926f0f45 (bug 702439) to investigate the effects on the browser-chrome leak
2011-12-02 19:43:24 -08:00
Jonas Sicking
3623bb379b
Backed out changeset 127374ca4f92 due to test failures.
2011-12-02 19:29:35 -08:00
Wellington Fernando de Macedo
a4d818b8d7
Bug 664179: Support cross-origin EventSource. r=me
2011-12-02 18:32:46 -08:00
Brandon Sterne
bfd00c6ebb
Add missing tests for Bug 702439, r=bz
2011-12-02 16:56:40 -08:00
Brandon Sterne
f4a2fb1971
Bug 702439 - allow subframes of CSP documents to run javascript: URLs, r=bz
2011-12-02 16:07:30 -08:00
Robert O'Callahan
d71538d413
Bug 687972. Set mCacheSuspended/mChannelEnded flags on all streams *before* calling CacheClientSeek/Resume/Suspend on any stream, because nsMediaChannelStream::CacheClientSuspend will call nsBuiltinDecoder::NotifySuspendedStatusChanged which will call nsMediaChannelStream::IsSuspendedByCache which will call nsMediaCacheStream::AreAllStreamsForResourceSuspended which relies on mCacheSuspended/mChannelEnded being set correctly for all streams for that resource. r=doublec
2011-12-02 17:43:42 +13:00
Robert O'Callahan
b545dcdcf5
Bug 687972. Even more logging...
2011-12-02 10:19:43 +13:00
Andrew Quartey
e92d22200b
Bug 689834 - Respect the muted attribute on media elements. f=josh r=kinetik
2011-12-03 13:04:03 +01:00
Tobias Markus
ac3949fc12
[Bug 706113] Removing null checks from VideoDocument.cpp
2011-11-30 20:06:33 +01:00
Robert O'Callahan
e4ed980ff3
Bug 687952. Fix bustage
2011-12-01 23:32:11 +13:00
Robert O'Callahan
e6de305808
Bug 687972. More logging...
2011-12-01 23:16:26 +13:00
Ed Morley
e4b50c9012
Merge mozilla-central and mozilla-inbound
2011-12-01 04:14:57 +00:00
Brad Lassey
8d2f605b6d
Bug 687972 - backing out changesets b17ab862bbc1 and a6db0c6c94a3 r=orange
2011-11-30 22:59:00 -05:00
Robert O'Callahan
40b1eba721
Bug 687972. Remove logging code now that we've fixed the bug.
2011-12-01 15:49:50 +13:00
Robert O'Callahan
a86c192475
Bug 699351. Add nsIFrameLoader::clipSubdocument API to allow XUL <iframe> and <browser> to not clip the subdocument. r=tnikkel,sr=bzbarsky
2011-11-30 21:14:26 -05:00
Boris Zbarsky
7aa7552d1b
Bug 706528. Remove vestigial beforepaint event stuff. r=smaug
2011-11-30 19:45:32 -05:00
Henri Sivonen
4c62e04846
Bug 703965 - Use View Source styling when viewing plain text source. r=smaug.
2011-11-30 19:44:31 +02:00
Brian Birtles
b44c8249f5
Bug 703992 - Fix parsing of indefinite times; r=dholbert
2011-12-01 08:45:28 +09:00
Robert O'Callahan
8e239f139e
Bug 687972. Don't count streams whose channel has ended when looking to see if there's any non-suspended stream for a resource. r=cpearce
2011-12-01 12:09:10 +13:00