Commit Graph

1907 Commits

Author SHA1 Message Date
Ms2ger
8706c8cbac Bug 888366 - Part a: Remove dead DOMCI_DATA uses and SVGRect classinfo; r=peterv 2013-07-10 11:55:16 +02:00
Chris Lord
41184ad774 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
50c144b3da Bug 860543 - Consider NaNs as always shadowed correctly. - r=bjacob 2013-07-03 12:53:22 -07:00
James Willcox
7f3c72754a Bug 887901 - Limit number of GLContexts used with SkiaGL r=bjacob 2013-06-28 22:58:40 -04:00
James Willcox
25e344f987 Bug 885627 - Disable unimplemented canvas composition tests with SkiaGL r=gw280 2013-06-24 13:33:55 -04:00
James Willcox
f10daf743a Bug 885623 - Disable some gradient tests for SkiaGL r=gw280 2013-06-24 13:32:59 -04:00
Benoit Jacob
f0a1c91ea8 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
David Cook
412014a446 Bug 890573 - Ignore webgl.disable-extensions for the chrome-only WEBGL_debug_renderer_info. r=jgilbert 2013-07-09 09:09:15 -04:00
Phil Ringnalda
82c46bbf46 Backed out 43e688b70d84 (bug 843667) for compilation failures
CLOSED TREE
2013-07-02 14:30:20 -07:00
Benoit Jacob
d47488baf8 Bug 602183 - reenable point sprites on ATI drivers - r=jgilbert 2013-07-02 16:50:34 -04:00
Guillaume Abadie
b1f85af139 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
32874625f1 Bug 888107 - Zero-fill webgl BufferData allocations. - r=bjacob 2013-07-01 17:32:06 -07:00
Cameron McCormack
739e644f3b Bug 842181 - Prevent text zoom from affecting SVG text. r=dbaron 2013-06-29 13:28:50 +10:00
Justin Lebar
09d2312322 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
cab87a0cce 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
f5fb827d35 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)
310f9b591a bug 738869 - implement OES_vertex_array_object webgl extension - r=bjacob 2013-06-27 17:07:21 -04:00
Jeff Gilbert
26adfa7177 Bug 885911 - Clamp (Web)GLclampf values for shadowing. - r=bjacob 2013-06-26 17:42:56 -07:00
Jeff Gilbert
7d7648d33f Bug 860543 - Check shadowing for all four channels. - r=bjacob 2013-06-26 17:42:56 -07:00
Cameron McCormack
e2a3c28b46 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
02d459330d 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
79549f98dd Back out 8e83da248fc9 (bug 886635) for warnings-as-errors bustage
CLOSED TREE
2013-06-24 23:44:52 -07:00
Cameron McCormack
e5f75898fc 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
5c59bc82cb 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
83b78343dc 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
e55055922f 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
d6913dfc91 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
8a763cff74 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
0ed895294c Backout 01aec9db40d9 for bustage on a CLOSED TREE 2013-06-21 16:33:57 -07:00
Jeff Gilbert
51153e439c 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
b0e19453ff Bug 860543 - Allow for testing predictions of shadowed NaNs. - r=bjacob 2013-06-19 20:03:46 -07:00
Jon Coppeard
c43484e0e2 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
1277aa08c1 bug 881261 r=bz 2013-06-12 13:04:18 -07:00
David Zbarsky
8856f64721 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
21b3447e37 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
01b4cf3509 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
73226a51be Bug 879954 - Implement OES_texture_float_linear - r=bjacob 2013-06-10 16:00:52 -04:00
Guillaume Abadie
3af6b292e5 Bug 879952 - OES_texture_float should not allow linear filtering - r=bjacob 2013-06-10 16:00:46 -04:00
Guillaume Abadie
06361ed09b bug 879802 - Clean up the #includes in the WebGL implementation - r=bjacob 2013-06-10 16:00:35 -04:00
Boris Zbarsky
9f09fecc19 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
f6274d24c5 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
aae60cfe86 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
bd8cef8a05 Bug 880019 - MakeCurrent before readback in mozGetAsFile. - r=bjacob 2013-06-06 13:54:04 -07:00
James Willcox
b2e56b037f Bug 848482 - Make SourceSurface work with SkiaGL r=mattwoodrow
--HG--
extra : rebase_source : ef4a315401edfad5e574ffd387c9951b12f1e9d7
2013-06-06 10:58:45 -04:00
Boris Zbarsky
c42b68eb77 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
ebc1cdb11d backout bug 877886 for bustage 2013-06-05 17:50:30 -04:00
Trevor Saunders
1ebc6cf845 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
ef8707b5f0 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
1a36cb8f00 Bug 869703 - Fix failure to retrieve uniform. r=jgilbert 2013-06-04 20:51:58 -04:00
Jeff Gilbert
025b7465bf 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
a29fd38573 Bug 879304 - Add "webgl.max-warnings-per-context" preference. r=bjacob 2013-06-04 15:44:08 -04:00
Nicholas Cameron
6e0a3f59c0 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
184914b3d5 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
19b000327a Bug 877934 - Only clear what we need to for off-fb ReadPixels. - r=bjacob 2013-05-30 18:54:00 -07:00
Arnaud Sourioux
1aded9ba34 Bug 856822: Annotate ~1700 methods with MOZ_OVERRIDE in /content r=smaug 2013-05-29 13:43:41 -07:00
Jeff Gilbert
2644dad67f 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
40040cb793 Bug 877048 - Consistently use single quotes in new code. - r=bjacob 2013-05-29 17:49:12 -07:00
Jeff Gilbert
ff88f5ff92 Bug 877048 - Add failing test list for android+nvidia for tegra2 slaves. - r=bjacob 2013-05-29 17:49:12 -07:00
Jeff Gilbert
063b9ae50c Bug 877048 - Make mochitest-gl detection of os/version/driver modular. - r=bjacob 2013-05-29 17:49:11 -07:00
Jeff Gilbert
cdacc980ee 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
eb4d754279 Backed out changeset a966aadd9ae3 (bug 856822) for Windows bustage on a CLOSED TREE. 2013-05-29 17:56:10 -04:00
Ehsan Akhgari
994b787c21 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
2efda9204e Bug 876929 - Check for OES_standard_derivatives on GLES2. - r=bjacob 2013-05-28 17:20:29 -07:00
Arnaud Sourioux
83d60db473 Bug 856822: Annotate ~1700 methods with MOZ_OVERRIDE in /content r=smaug 2013-05-29 13:43:41 -07:00
Chris Lord
985282358e 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
43abffa297 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
bce7314c4b Backout 779a5cfb5395 for burning 2013-05-28 16:41:10 -07:00
Jeff Gilbert
970d0778e4 Bug 874929 - Check whether GLES2 platforms support OES_standard_derivatives. - r=bjacob 2013-05-28 16:13:37 -07:00
Trevor Saunders
11be8dcfb7 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
4937a5e234 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
6f32ddf61c 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
b8d8933df2 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
ba05c93769 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
b7775449d9 Bug 859608 - Flush GL on overdraw on Tegra devices. - r=bjacob 2013-05-22 00:05:38 -07:00
Jeff Gilbert
6c745b0b44 Bug 837213 - Use SH_CLAMP_INDIRECT_ARRAY_BOUNDS on windows. - r=bjacob 2013-05-19 19:10:47 -07:00
Gregory Szorc
c1b865f669 Bug 873629 - Remove 129 empty Makefile.in files; r=ted 2013-05-17 16:20:11 -07:00
Jeff Gilbert
436409c40d Bug 872701 - Request highp for frag shaders unless disabled. - r=bjacob 2013-05-15 14:50:52 -07:00
Boris Zbarsky
44bd3f768a 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
47d7af59de 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
a5e61f5157 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
2a4025d688 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
a8f6b95a2e 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
d526d9f61a Bug 817700 - Fix test_toBlob canvas test. r=roc 2013-05-15 08:21:25 -04:00
Stephen Pohl
ccc6f60e74 Bug 817700 - Fix test_mozGetAsFile canvas test. r=roc 2013-05-15 08:21:25 -04:00
Stephen Pohl
0a00d1f428 Bug 817700 - Make <canvas>.toBlob run asynchronously - canvas changes. r=roc 2013-05-15 08:21:24 -04:00
Chiajung Hung
eec514e788 Bug 869331 - Flush the SkiaGL canvas before right present. r=gw280 2013-05-14 08:31:59 -04:00
Jon Buckley
3ce29ac29f Bug 738867 - Implement WebGL OES_element_index_uint extension. r=bjacob 2013-05-13 09:22:30 -04:00
Jon Buckley
6b44ce69cc Bug 738867 - Separate sanity and uint overflow tests. r=bjacob 2013-05-13 09:22:30 -04:00
Jon Buckley
1bd9937b46 Bug 738867 - bufferSubData should return INVALID_VALUE. r=bjacob 2013-05-13 09:22:29 -04:00
Jeff Gilbert
c031dc11ac Bug 861039 - Update ANGLE to r2042. - r=bjacob 2013-05-13 05:12:37 -07:00
Michael Wu
f4c0d1ead7 Bug 870375 - back out bug 869011 for startup crashes on devices 2013-05-09 13:01:22 -04:00
Michael Wu
1ec46fee8a Backed out changeset 7e4d9be02b8f (bug 869011) for causing bug 870375 2013-05-09 13:00:14 -04:00
Joe Drew
099014057f 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
335ae08584 Bug 867844 part 3. Fix rooting issues in canvas 2d code. r=smaug 2013-05-06 08:30:50 -04:00
Phil Ringnalda
6e4614ced5 Bug 868892 - annotate a couple of failing reftests as failing on b2g 2013-05-05 19:39:58 -07:00
Phil Ringnalda
0c304110e3 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
9fd3f3a56a Bug 869073 - make WebIDL enums enum classes instead of plain enums; r=bz 2013-05-06 15:28:13 -04:00
Chris Pearce
fde382cc89 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
b8d3b00c5d Bug 865969 part 2. Better rooting in bindings for 'any' arguments. r=smaug 2013-05-03 19:29:07 -04:00
David Zbarsky
38f5841d1a Bug 866450 Part 7: Root some additional JS::Values found during review r=bz 2013-05-02 05:12:47 -04:00