Commit Graph

943 Commits

Author SHA1 Message Date
Ms2ger
dff333b2a0 Bug 704088 - Pass dom::Element to nsLayoutUtils::SurfaceFromElement; r=bz 2011-12-03 22:50:16 +01:00
Doug Sherk
80e28bdd61 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
20e226e587 Bug 705663 - Fix braindead WebGLTexture::HasImageInfoAt - r=jrmuizel 2011-11-28 14:30:28 -05:00
Michael Wu
9a188b2af3 Bug 703307 - Fix build/crash in gonk, r=cjones 2011-11-22 11:51:51 -08:00
Doug Sherk
7191f1088c Bug 656824: fixed invalid return type on loseContext and restoreContext r=bjacob 2011-11-18 22:57:29 -05:00
Doug Sherk
0ab0a2084f 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
Jeff Muizelaar
a67fb8f41f 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
Marco Castelluccio
82c5d96de5 Bug 699258 - Get skia backend compiling and running on Windows. r=mattwoodrow 2011-11-18 17:00:37 +13:00
Matt Brubeck
f8d1acac83 Back out 5ddda2b25e28 and 3abfdb807a4f (bug 699258) for crashes in WinXP tests 2011-11-11 17:49:47 -08:00
Marco Castelluccio
a6f25ff1b3 Bug 699258 - Part 2: [Skia] Get Skia backend working on Windows. 2011-11-11 15:51:00 -05:00
Ted Mielczarek
3e07fe9d88 bug 693595 - Add WebGLExtensionStandardDerivatives to WebGLContextNotSupported. r=bjacob 2011-10-19 10:01:27 -04:00
Doug Sherk
aad2fd5df0 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
7b6ee8c87d Bug 665578 - Backed out changeset 82a297b0d0d3 for compile error 2011-11-07 17:32:07 -05:00
Doug Sherk
71d21011e2 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
Benoit Jacob
66eca67086 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
dd27c72731 Bug 699522 - WebGL lose_context extension was not listed by webgl.getSupportedExtensions() - r=dsherk 2011-11-03 15:52:52 -04:00
Doug Sherk
7cd8cbd409 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
abec031200 Bug 697211: fixed stride not being returned correctly from getVertexAttrib r=jgilbert 2011-11-03 10:50:40 -04:00
Doug Sherk
cb5d46bc9d 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
Doug Sherk
4ad042973c Bug 695912: implemented antialiasing blocklisting r=jgilbert
Antialiasing can be blocked through the downloaded blocklist now, as well as
static analysis compiled into the OS-specific handlers for graphics features.
2011-11-03 10:50:40 -04:00
Matt Woodrow
be1af02899 Bug 698318 - Share ArcToBezier code. r=jrmuizel 2011-11-03 08:55:03 +13:00
Matt Woodrow
7ae900f4c3 Bug 688367 - Add Skia backend to Azure. r=jrmuizel 2011-11-03 08:55:03 +13:00
Matt Woodrow
2d611b7017 Bug 688342 - Make nsCanvasRenderingContext2D support Azure backends other than Direct2D. r=Bas 2011-11-03 08:55:03 +13:00
Phil Ringnalda
eba66622ba Back out 773e9705c61b (bug 697211) for orange 2011-10-31 19:02:50 -07:00
Doug Sherk
5487e17193 Bug 697211 - fixed stride not being returned correctly from getVertexAttrib. r=jgilbert 2011-10-31 17:49:55 -07:00
Jeff Gilbert
53f70d29b1 Bug 697753 - Fix WebGL conf. errors in framebuffer-object-attachment - r=bjacob 2011-10-31 16:55:01 -07:00
Jeff Gilbert
4c104e299f Bug 698088 - Rebind previous state after initializing fake-black textures - r=bjacob 2011-10-31 16:55:01 -07:00
Jeff Gilbert
b701b751e1 Bug 697560 - Generate WebGL errors in readPixels according to spec - r=bjacob
* * *
Bug 697560 - Disallow conformance failures on read-pixels-test - r=bjacob
2011-10-31 16:55:01 -07:00
Jeff Gilbert
823f94b861 Bug 697168 - Removes WebGL overloads for untyped ArrayBuffers where disallowed - r=bjacob 2011-10-31 16:55:00 -07:00
Benoit Jacob
15f744c0d7 Bug 677543 - Not clearing WebGL framebuffer in teapot demo - r=jgilbert
We are supposed to clear the WebGL framebuffer after it's been presented to the compositor and before the next draw operation, and were using the wrong way to know when we got composited. The right way is DidTransactionCallback.
2011-10-31 17:14:12 -04:00
Jonathan Watt
276bdfa251 Bug 695303 - Add a mozilla::clamped function to replace NS_CLAMP (so side affects of args are evaluated no more than once) and NS_MIN(max, NS_MAX(val, min)) (to make code clearer). r=bsmedberg. 2011-10-28 19:33:28 +01:00
Marco Bonardo
daec5047ef Backout d9da4de6579c (Bug 682496) for M1 leaks. 2011-10-27 00:13:39 +02:00
Doug Sherk
ae49bccc9b Bug 656824: Implemented ARB_robustness to detect driver resets in WebGL, only on GLX for now - r=bjacob
This patch implements ARB_robustness on GLX and allows scripts to handle driver resets
through events. The changes in this patch are very sweeping; they hit almost
every NS_IMETHODIMP function within WebGLContextGL.cpp and WebGLContext.cpp.
More work must be done on this to support EGL_CONTEXT_LOST.
2011-10-26 16:00:44 -04:00
Doug Sherk
cdafa34c9f Bug 682496: fixed program-test.html test failures
Fixed programs and shaders so that when they're marked for deletion and then detached completely, are deleted.
2011-10-26 16:00:44 -04:00
Benoit Jacob
8c0dde1fe7 Bug 697450 - Several WebGL texel unpack/pack functions are not inlined spontaneously, at least by GCC - r=jgilbert 2011-10-26 16:00:44 -04:00
Matt Woodrow
442fac3c9e Bug 691976 - NULL check the JSContext before using JS_updateMallocCounter. r=Bas 2011-10-26 16:13:24 +13:00
Benoit Jacob
4c28a1b78a Bug 665578 - Use ANGLE's built-in-function-emulation feature on Mac - r=jrmuizel 2011-10-23 22:46:40 -04:00
Jeff Gilbert
c8aee21e22 Bug 615976 - Adds support for samples in ContextFormat, pref 'webgl.max-samples' - r=bjacob 2011-10-19 15:09:57 -04:00
Jeff Gilbert
2ddc0d8134 Bug 615976 - Fix WebGL to default to trying to have anti-aliasing - r=bjacob 2011-10-19 15:09:57 -04:00
Jeff Gilbert
af76efba3e Bug 681791 - Fixes GLContext::ResizeOffscreen leaving a mess on failure - r=bjacob 2011-10-19 15:09:57 -04:00
Benoit Jacob
f617ed1d5c Back out Jeff's patches because they lack a Bug number and/or a r= field. Sorry, should have checked that. Re-landing. 2011-10-19 15:31:33 -04:00
Jeff Gilbert
9ad2b9eb16 Adds support for samples in ContextFormat, pref 'webgl.max-samples' 2011-10-19 15:09:57 -04:00
Jeff Gilbert
4b195b3351 Fix WebGL to default to trying to have anti-aliasing 2011-10-19 15:09:57 -04:00
Jeff Gilbert
9ba7a8b5fa Bug 681791 - Fixes GLContext::ResizeOffscreen leaving a mess on failure
* * *
try: -b do -p all -u all -t all
2011-10-19 15:09:57 -04:00
Olli Pettay
ffb4115bc4 Bug 682420 - Rename nsINode::GetOwnerDoc to nsINode::OwnerDoc, part 2, r=jst 2011-10-18 14:19:44 +03:00
Olli Pettay
1cdbb1b884 Bug 682420 - Rename nsINode::GetOwnerDoc to nsINode::OwnerDoc, part 1, r=jst 2011-10-18 13:53:36 +03:00
Ehsan Akhgari
478ad1a412 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Benoit Jacob
b6a7bf1172 Bug 638328 - fix bug in assertion, bad usage of queryinterface - r=roc
do_QueryInterface itself doesn't assign to the nsresult, have to assign to a nsCOMPtr
2011-10-14 10:01:15 -04:00
Benoit Jacob
5baa9423b5 Bug 638328 - use builtinclass and remove do_QueryInterface - r=peterv 2011-10-13 08:09:22 -04:00
Christoph Diehl
00189075e7 Bug 686732 - Implement minimal-capabilities WebGL mode - r=bjacob 2011-10-13 08:09:22 -04:00