Commit Graph

1885 Commits

Author SHA1 Message Date
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
Ed Morley
36b419c548 Bug 850181 - Skip conformance/textures/texture-mips.html on Ubuntu VMs since they intermittently pass and fail in equal measure 2013-06-03 13:09:52 +01:00
Jeff Gilbert
440186baa0 Bug 877934 - Only clear what we need to for off-fb ReadPixels. - r=bjacob 2013-05-30 18:54:00 -07:00
Arnaud Sourioux
ac2132dad0 Bug 856822: Annotate ~1700 methods with MOZ_OVERRIDE in /content r=smaug 2013-05-29 13:43:41 -07:00
Jeff Gilbert
6c51c32a3f Bug 877048 - Add support for comments and whitespace trimming to failed/skipped mochitest-gl tests. - r=bjacob 2013-05-29 17:49:12 -07:00
Jeff Gilbert
8bab05f83d Bug 877048 - Consistently use single quotes in new code. - r=bjacob 2013-05-29 17:49:12 -07:00
Jeff Gilbert
de3747b1cb Bug 877048 - Add failing test list for android+nvidia for tegra2 slaves. - r=bjacob 2013-05-29 17:49:12 -07:00
Jeff Gilbert
24a78b62c7 Bug 877048 - Make mochitest-gl detection of os/version/driver modular. - r=bjacob 2013-05-29 17:49:11 -07:00
Jeff Gilbert
d908105467 Bug 877048 - Factor getting driver info out into a self-contained function for mochitest-gl. - r=bjacob 2013-05-29 17:49:11 -07:00
Ryan VanderMeulen
468b93224a Backed out changeset a966aadd9ae3 (bug 856822) for Windows bustage on a CLOSED TREE. 2013-05-29 17:56:10 -04:00
Ehsan Akhgari
6c61de1ac0 Backed out 8 changesets (bug 803299) because it makes Tcheckerboard and Tpan so much worse
Backed out changeset f0311781c218 (bug 803299)
Backed out changeset 946467115924 (bug 803299)
Backed out changeset 59af481d8888 (bug 803299)
Backed out changeset 99a03f7ca8a4 (bug 803299)
Backed out changeset 44539f533a92 (bug 803299)
Backed out changeset 3f3963a3ebf6 (bug 803299)
Backed out changeset 5269f0483d1e (bug 803299)
Backed out changeset a9485787fdb1 (bug 803299)
2013-05-29 17:14:27 -04:00
Jeff Gilbert
ef2871fde3 Bug 876929 - Check for OES_standard_derivatives on GLES2. - r=bjacob 2013-05-28 17:20:29 -07:00
Arnaud Sourioux
ff4b91709f Bug 856822: Annotate ~1700 methods with MOZ_OVERRIDE in /content r=smaug 2013-05-29 13:43:41 -07:00
Chris Lord
d292e0ef84 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.

--HG--
extra : rebase_source : 12b454362ca9ad989fdf1e29a6715000575c613a
2013-05-29 15:26:39 +01:00
Kartikaya Gupta
8d97eb65cb Bug 865735 - Add a units template parameter to the gfx Point, Size, and Rect classes. r=bas,roc 2013-05-29 09:32:30 -04:00
Jeff Gilbert
7d292aed27 Backout 779a5cfb5395 for burning 2013-05-28 16:41:10 -07:00
Jeff Gilbert
a10b871fa2 Bug 874929 - Check whether GLES2 platforms support OES_standard_derivatives. - r=bjacob 2013-05-28 16:13:37 -07:00
Trevor Saunders
4a839150dd backout 7a1706d0e5b0 to 8c8b6adebb4c for frequent failures in scrolling/text-1.html and scrolling/text-2.html reftests on a CLOSED TREE 2013-05-28 18:32:29 -04:00
Chris Lord
78cfdd0c58 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-05-28 18:50:17 +01:00
Mike Shal
994cfe0b6b Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Phil Ringnalda
d422eb222b Bug 874291 - Make the WebGL tests on Android 4.0 on Pandas green enough to make them visible (at the cost of making the hapless tests on 2.2 on Tegras even worse) 2013-05-22 08:09:34 -07:00
Bobby Holley
54ef3d2952 Bug 868130 - Include nsCxPusher.h everywhere we need it, and stop including it from nsContentUtils.h. r=gabor 2013-05-22 10:05:26 -06:00
Jeff Gilbert
e05a3d5cbe Bug 859608 - Flush GL on overdraw on Tegra devices. - r=bjacob 2013-05-22 00:05:38 -07:00
Jeff Gilbert
9e8f92db2b Bug 837213 - Use SH_CLAMP_INDIRECT_ARRAY_BOUNDS on windows. - r=bjacob 2013-05-19 19:10:47 -07:00
Gregory Szorc
14c4938355 Bug 873629 - Remove 129 empty Makefile.in files; r=ted 2013-05-17 16:20:11 -07:00
Jeff Gilbert
9ef5a9759b Bug 872701 - Request highp for frag shaders unless disabled. - r=bjacob 2013-05-15 14:50:52 -07:00
Boris Zbarsky
fa5496e7a4 Bug 868715 part 4. Use on-stack Rooted<JSObject*> for 'object' arguments in WebIDL bindings. r=peterv 2013-05-16 12:36:55 -04:00
Ted Mielczarek
110919af49 bug 871712 - make MSVC PGO opt-in per-directory, and opt-in in the directories that matter. r=glandium 2013-05-16 09:33:26 -04:00
George Wright
6a0bab55ae Bug 848490 - [SkiaGL] Handle canvas elements larger than the maximum GPU texture size r=snorp 2013-03-18 20:44:18 -04:00
Ryan VanderMeulen
20741feef6 Backed out 5 changesets (bug 817700) for Ubuntu32 PGO mochitest-1 timeouts on a CLOSED TREE.
Backed out changeset fad852b5819a (bug 817700)
Backed out changeset 7a3535c6e652 (bug 817700)
Backed out changeset 44a748256eca (bug 817700)
Backed out changeset 06ae8895852b (bug 817700)
Backed out changeset d6bddc947d38 (bug 817700)
2013-05-15 15:25:47 -04:00
Benoit Jacob
45bd2f68d7 Bug 863716 - Re-add two WebGL tests to the WinXP skip list, that were accidentaly removed from it - no review
They were accidentally taken out of the skip-list by b109e2dbf03b.
2013-05-15 09:51:23 -04:00
Stephen Pohl
bc41d7662b Bug 817700 - Fix test_toBlob canvas test. r=roc 2013-05-15 08:21:25 -04:00
Stephen Pohl
f4b49b9de3 Bug 817700 - Fix test_mozGetAsFile canvas test. r=roc 2013-05-15 08:21:25 -04:00
Stephen Pohl
6ec6dc064d Bug 817700 - Make <canvas>.toBlob run asynchronously - canvas changes. r=roc 2013-05-15 08:21:24 -04:00
Chiajung Hung
983274ce94 Bug 869331 - Flush the SkiaGL canvas before right present. r=gw280 2013-05-14 08:31:59 -04:00
Jon Buckley
b62514df6f Bug 738867 - Implement WebGL OES_element_index_uint extension. r=bjacob 2013-05-13 09:22:30 -04:00
Jon Buckley
3e3e6b6062 Bug 738867 - Separate sanity and uint overflow tests. r=bjacob 2013-05-13 09:22:30 -04:00
Jon Buckley
67556c4453 Bug 738867 - bufferSubData should return INVALID_VALUE. r=bjacob 2013-05-13 09:22:29 -04:00
Jeff Gilbert
165e1c1872 Bug 861039 - Update ANGLE to r2042. - r=bjacob 2013-05-13 05:12:37 -07:00
Michael Wu
5555ab54e1 Bug 870375 - back out bug 869011 for startup crashes on devices 2013-05-09 13:01:22 -04:00
Michael Wu
6cbfbe29e1 Backed out changeset 7e4d9be02b8f (bug 869011) for causing bug 870375 2013-05-09 13:00:14 -04:00
Joe Drew
0d6621c089 Bug 869011 - Use the correct shader for RGBX gralloc textures. r=bjacob
--HG--
extra : rebase_source : cb20795caae616cbbaa7dcbe568d51afcc155e35
2013-05-06 14:27:37 -04:00
Boris Zbarsky
4ae8f89adf Bug 867844 part 3. Fix rooting issues in canvas 2d code. r=smaug 2013-05-06 08:30:50 -04:00
Phil Ringnalda
b5b3249c6c Bug 868892 - annotate a couple of failing reftests as failing on b2g 2013-05-05 19:39:58 -07:00
Phil Ringnalda
628e83be29 Bug 863716 - Do a CC and a second GC between each subtest of test_webgl_conformance_test_suite.html to minimize the OOM kills of WinXP slaves, r=bjacob 2013-05-05 12:17:11 -07:00
Nathan Froyd
dc3bfcbc39 Bug 869073 - make WebIDL enums enum classes instead of plain enums; r=bz 2013-05-06 15:28:13 -04:00
Chris Pearce
c7afbf147d Bug 847267 - Disable webgl conformance video test on windows 6+ that fail with DXVA on nvidia hardware. r=jgilbert 2013-05-04 22:12:41 +12:00
Boris Zbarsky
bb2222c08c Bug 865969 part 2. Better rooting in bindings for 'any' arguments. r=smaug 2013-05-03 19:29:07 -04:00
David Zbarsky
c239a75547 Bug 866450 Part 7: Root some additional JS::Values found during review r=bz 2013-05-02 05:12:47 -04:00
David Zbarsky
33b84ccd33 Bug 866450 Part 1: Fix rooting hazards under content/ and dom/ r=bz 2013-05-02 05:12:45 -04:00
Ed Morley
38f36edd9e Backed out changeset ad10907da2d4 (bug 866450) for B2G build failures 2013-05-02 11:58:05 +01:00
Ed Morley
5cfaa67828 Backed out changeset e0b51717bb64 (bug 866450) 2013-05-02 11:56:57 +01:00
David Zbarsky
2e0cd0171f Bug 866450 Part 7: Root some additional JS::Values found during review r=bz 2013-05-02 05:12:47 -04:00
David Zbarsky
62df33d2a0 Bug 866450 Part 1: Fix rooting hazards under content/ and dom/ r=bz 2013-05-02 05:12:45 -04:00
David Zbarsky
8cde3feac3 Bug 866575: Throw when creating a pattern with a large source r=nrc, mattwoodrow 2013-05-01 22:04:08 -04:00
Benoit Jacob
bfeee4138b Bug 863716 - Skip two more WebGL tests on WinXP to avoid out-of-memory on test slaves. r=jgilbert 2013-05-01 16:32:25 -04:00
Jonathan Kew
48470aacff bug 866747 - stroke glyphs individually instead of making a single path for the entire text run. r=bas 2013-04-30 19:26:28 +01:00
Phil Ringnalda
47cc5a79b7 Bug 862520 followup - Package skipped_tests_winxp.txt so we actually skip failing webgl mochitests 2013-04-29 21:39:05 -07:00
Boris Zbarsky
15316b1400 Bug 865961. Root the scope argument of wrap-the-xpconnect-object helpers in WebIDL bindings. r=ms2ger 2013-04-29 17:33:42 -04:00
Bobby Holley
18707fd562 Bug 865729 - Remove nsIJSContextStack from content/foo. r=gabor
We leave it in nsContentUtils.cpp, which we'll handle in a separate patch.
2013-04-29 11:16:17 -07:00
James Willcox
476fe913b9 Bug 858292 - Preserve drawing buffer when using SkiaGL r=gwright
--HG--
extra : rebase_source : a3dc5c425039c77b536812be5517f27d3f7b86f1
2013-04-29 10:00:32 -04:00
Masatoshi Kimura
32dba1647d Bug 859024 - Remove the MSVC exemption for FAIL_ON_WARNINGS in content/canvas/src. r=jmuizelaar 2013-04-28 07:10:36 +09:00
Ryan VanderMeulen
263fa2498e Merge m-c to inbound.
--HG--
rename : mobile/android/base/resources/layout-large-v11/browser_toolbar_menu.xml => mobile/android/base/resources/layout-large-v11/browser_toolbar.xml
2013-04-26 16:46:46 -04:00
Ryan VanderMeulen
b5462138cd Merge m-c to birch. 2013-04-26 13:00:21 -04:00
Ryan VanderMeulen
79db1c6ba4 Merge birch to m-c. 2013-04-26 08:00:07 -04:00
Andreas Gal
20552ff39b Bug 865929 - Add pref to limit the size of the canvas image cache r=jlebar,jdm a=tef+ 2013-04-26 07:16:12 -07:00
Justin Lebar
9ea52325ff Bug 844323 - Part 2 (The Main Event): Move ProcesPriorityManager to the main process. r=bent,khuey 2013-04-25 20:53:26 -04:00
Justin Lebar
89ec015368 Bug 844323 - Prelude part 3: Change ProcessPriorityManager's export directory. r=khuey
It was mozilla/dom/ipc/ before, but this changes it to mozilla/, which matches the class's namespace.
2013-04-25 20:53:26 -04:00
Boris Zbarsky
9c1973b5d2 Bug 864727 part 5. Make all the WrapObject methods take a handle for the scope object. r=ms2ger 2013-04-25 12:29:54 -04:00
Boris Zbarsky
0b6ba06beb Bug 864727 part 4. Pass a handle for the scope object to all the various Wrap*Object stuff in BindingUtils. r=ms2ger
Note: The JS::Rooted in CGWrapWithCacheMethod is just there until we start passing a handle to Wrap().
2013-04-25 12:29:53 -04:00
David Zbarsky
4a6954e46d Bug 856472: Fix includes and WrapObject r=me 2013-04-26 10:55:56 -04:00