Commit Graph

1855 Commits

Author SHA1 Message Date
Chris Lord
2f8678649e Bug 803299 - Replace black.png with black.html for webgl-color-alpha-test. r=jrmuizel
webgl-color-alpha-test fails to render the image correctly since switching on
24-bit rendering, presumably due to async image decoding. Instead, just replace
the pure black 256^2 image with a page that renders the same using a div.
2013-07-04 14:53:35 +01:00
Jeff Gilbert
7831f50ca6 Bug 860543 - Consider NaNs as always shadowed correctly. - r=bjacob 2013-07-03 12:53:22 -07:00
James Willcox
c8a1d1883e Bug 887901 - Limit number of GLContexts used with SkiaGL r=bjacob 2013-06-28 22:58:40 -04:00
James Willcox
9cba6f0a2b Bug 885627 - Disable unimplemented canvas composition tests with SkiaGL r=gw280 2013-06-24 13:33:55 -04:00
James Willcox
a9323d5fe7 Bug 885623 - Disable some gradient tests for SkiaGL r=gw280 2013-06-24 13:32:59 -04:00
Benoit Jacob
019e7f80e4 Bug 875218 - Refactor the ownership model under DrawTargetSkia, so that DrawTargetSkia now owns a GLContext, and the only reference that the Skia GrGLInterface gets to the non-Skia world is a pointer back to the DrawTargetSkia r=mattwoodrow 2013-06-16 22:07:18 -04:00
Phil Ringnalda
025e79eace Backed out 43e688b70d84 (bug 843667) for compilation failures
CLOSED TREE
2013-07-02 14:30:20 -07:00
Benoit Jacob
d888b204df Bug 602183 - reenable point sprites on ATI drivers - r=jgilbert 2013-07-02 16:50:34 -04:00
Guillaume Abadie
a35dc300f3 bug 843667 - update WebGL EXT_draw_buffers to fix a potential crash on mobile - r=bjacob 2013-07-02 16:50:31 -04:00
Jeff Gilbert
bcb4c19a83 Bug 888107 - Zero-fill webgl BufferData allocations. - r=bjacob 2013-07-01 17:32:06 -07:00
Cameron McCormack
40bd0412fb Bug 842181 - Prevent text zoom from affecting SVG text. r=dbaron 2013-06-29 13:28:50 +10:00
Justin Lebar
6c46d0633d Bug 820686 - Remove code after MOZ_CRASH or MOZ_ASSUME_NOT_REACHED. r=(see below)
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=waldo for js
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
2013-06-28 18:38:32 -07:00
Justin Lebar
75c400493b Bug 802686 - s/MOZ_NOT_REACHED/MOZ_CRASH/ in Gecko. r=(see below)
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else

This is a mechanical change made with sed.  Later patches in this queue
clean up the whitespace errors and so on.
2013-06-28 18:38:30 -07:00
Jeff Gilbert
da3f20ae9c Bug 738869 - Add WebGL VAO tests to failing android test list. - r=me 2013-06-27 17:07:12 -07:00
Guillaume Abadie ext:(%20and%20James%20King%20%3Cjames%40agentultra.com%3E)
9d4c93ad7a bug 738869 - implement OES_vertex_array_object webgl extension - r=bjacob 2013-06-27 17:07:21 -04:00
Jeff Gilbert
7a5a420e22 Bug 885911 - Clamp (Web)GLclampf values for shadowing. - r=bjacob 2013-06-26 17:42:56 -07:00
Jeff Gilbert
156b5e3162 Bug 860543 - Check shadowing for all four channels. - r=bjacob 2013-06-26 17:42:56 -07:00
Cameron McCormack
4dd982ffc1 Bug 886230 - Don't paint SVG text under DrawWindow(..., DRAWWINDOW_DO_NOT_FLUSH) when frames are dirty. r=roc 2013-06-25 16:01:38 +10:00
Ed Morley
de6da097d6 Backed out changeset d7c237784ce9 (bug 886230) for B2G mochitest-9 failures in test_bug582181-1.html 2013-06-25 13:45:09 +01:00
Phil Ringnalda
52c7134e66 Back out 8e83da248fc9 (bug 886635) for warnings-as-errors bustage
CLOSED TREE
2013-06-24 23:44:52 -07:00
Cameron McCormack
abf1179f39 Bug 886230 - Don't paint SVG text under DrawWindow(..., DRAWWINDOW_DO_NOT_FLUSH) when frames are dirty. r=roc 2013-06-25 16:01:38 +10:00
L. David Baron
cb5a6c8733 Bug 886635: HTMLCanvasElement.h (which is included in dom/bindings) should not include nsLayoutUtils.h r=khuey
(It still ends up included in dom/bindings, though.)
2013-06-24 22:32:11 -07:00
Catalin Iacob
4f03e5bb1a Bug 798914 (part 5) - Use newly introduced mozilla::MallocSizeOf instead of nsMallocSizeOfFun. r=njn.
--HG--
extra : rebase_source : fc472490dd978d165f02f77ed37f07aed6e5bb61
2013-06-23 14:03:39 +02:00
Guillaume Abadie
47c2d77d27 Bug 882890 - Add fake vertex attribute 0 disabling to the getVertexAttrib function to improve WebGL compatibility with driver limitations. r=bjacob 2013-06-23 20:40:12 -04:00
Jeff Gilbert
fe5a9f39c4 Bug 880734 - Assert bound to correct FB in FB funcs, and bind the correct FB on Mesa. - r=bjacob 2013-06-21 16:42:32 -07:00
Guillaume Abadie
b5251e2b36 bug 843667 - implement WEBGL_draw_buffers and add the user preference webgl.enable-draft-extensions - r=bjacob 2013-06-21 19:44:17 -04:00
Jeff Gilbert
e1bebac6d7 Backout 01aec9db40d9 for bustage on a CLOSED TREE 2013-06-21 16:33:57 -07:00
Jeff Gilbert
37860e0cb7 Bug 880734 - Assert that we're the current FB in FB funcs, and bind the correct FB on Mesa. - r=bjacob 2013-06-21 16:15:19 -07:00
Jeff Gilbert
e7962d209f Bug 860543 - Allow for testing predictions of shadowed NaNs. - r=bjacob 2013-06-19 20:03:46 -07:00
Jon Coppeard
586c7b4514 Bug 877762 - GC: Post-barrier cycle collector participants - 7 Convert most JSObect to use Heap<T> (ex. XBL) r=bz 2013-06-18 11:00:38 +01:00
David Zbarsky
3e79cdd903 bug 881261 r=bz 2013-06-12 13:04:18 -07:00
David Zbarsky
d8b4e2ebd3 Bug 881681: Don't try to reset context attributes when they are already frozen r=bz 2013-06-12 11:42:27 -07:00
James Willcox
d92bff0255 Bug 880842 - Guard against null temporary drawing surface r=mattwoodrow
--HG--
extra : rebase_source : e6bf619b17c641ed33438ad43c1b0ba085a366b0
2013-06-12 09:03:52 -04:00
Peter Chang
fcb189d8ac Bug 881169 - Fix SharedSurface_Gralloc::Create crash due to null allocator. r=vlad
When skiaGL enabled, pass ISurfaceAllocator to gralloc backend for gl streaming
2013-06-11 08:21:48 -04:00
Guillaume Abadie
b86d0dd632 Bug 879954 - Implement OES_texture_float_linear - r=bjacob 2013-06-10 16:00:52 -04:00
Guillaume Abadie
a62ee32185 Bug 879952 - OES_texture_float should not allow linear filtering - r=bjacob 2013-06-10 16:00:46 -04:00
Guillaume Abadie
af723a2ae6 bug 879802 - Clean up the #includes in the WebGL implementation - r=bjacob 2013-06-10 16:00:35 -04:00
Boris Zbarsky
6a7b47964f Bug 877281 part 6. Replace ${jsvalPtr} with a MutableHandle ${jsvalHandle}. r=peterv
It's a little unfortunate that we need both ${jsvalHandle} and
${jsvalRef}, but the only other option is to consistently have a
MutableHandle in this code.  If the thing we have to work with is a
Rooted, that means doing JS::MutableHandle<JS::Value>(&myRooted) as
the thing to substitute for ${jsvalHandle}.  Just using "&myRooted"
doesn't work, because things like "&myRooted.set()" or
"&myRooted.address()" fail, even if parenthesized as
"(&myRooted).set()", because &myRooted is actually a Rooted*, not a
MutableHandle.

We could go the JS::MutableHandle<JS::Value>(&myRooted) route if
desired; it would primarily uglify dictionary and sequence to-js
conversions.  With the setup in this patch, ideally it looks pretty
idiomatic except for the use of .set() instead of operator= on Rooted.
2013-06-07 22:45:46 -04:00
Trevor Saunders
b2546f7648 bug 877886 - get rid of a number of static constructors in content/ and dom/ r=smaug 2013-05-30 18:34:53 -04:00
David Zbarsky
b52e2a3f6a Bug 798438 - Use a dictionary to set context options instead of an nsIPropertyBag r=bz 2013-06-07 11:42:12 -07:00
Jeff Gilbert
3c7a1ee3fd Bug 880019 - MakeCurrent before readback in mozGetAsFile. - r=bjacob 2013-06-06 13:54:04 -07:00
James Willcox
91c353d366 Bug 848482 - Make SourceSurface work with SkiaGL r=mattwoodrow
--HG--
extra : rebase_source : ef4a315401edfad5e574ffd387c9951b12f1e9d7
2013-06-06 10:58:45 -04:00
Boris Zbarsky
1f413ade51 Bug 861938. Make the CanvasWindingRule arguments be treated as missing if undefined is passed in. r=smaug 2013-06-05 20:51:22 -04:00
Trevor Saunders
404b82a6df backout bug 877886 for bustage 2013-06-05 17:50:30 -04:00
Trevor Saunders
82ade4173d bug 877886 - get rid of a number of static constructors in content/ and dom/ r=smaug 2013-05-30 18:34:53 -04:00
Vladimir Vukicevic
903320a647 b=843599; use gralloc buffers for WebGL streaming on B2G; r=nical,jgilbert,jrmuizel 2013-05-27 10:12:13 -04:00
Roberto Agostino Vitillo
9a36d271ff Bug 869703 - Fix failure to retrieve uniform. r=jgilbert 2013-06-04 20:51:58 -04:00
Jeff Gilbert
09828109d6 Bug 877309 - drawImage should copy from default framebuffer, not the currently bound fb. - r=bjacob 2013-06-04 15:25:57 -07:00
Guillaume Abadie
f2699b1354 Bug 879304 - Add "webgl.max-warnings-per-context" preference. r=bjacob 2013-06-04 15:44:08 -04:00
Nicholas Cameron
88238a55e8 Bug 863635. Make gfxPlatform smarter about when we can use Moz2D for content rendering r=Bas 2013-05-28 10:04:37 +12:00