Commit Graph

17425 Commits

Author SHA1 Message Date
Phil Ringnalda
d37beb9414 Back out 820188e039a0 (bug 1067748) for Android reftest-2 failures 2014-10-19 13:50:29 -07:00
Jonathan Watt
b8b833765e Bug 1083753, part 2 - Port the code that uses nsRenderingContext::FillRect(nsRect) to Moz2D. r=mattwoodrow 2014-10-19 13:22:22 +01:00
Jonathan Watt
c6407bc7fb Bug 1083753, part 1 - Port the code that uses nsRenderingContext::FillRect(nscoord,...) to Moz2D. r=mattwoodrow 2014-10-19 11:55:36 +01:00
Jonathan Watt
5cf1157461 Bug 1082530, part 5 - remove the variant of Moz2D's UserToDevicePixelSnapped that takes a Matrix argument instead of a DrawTarget argument. r=mattwoodrow 2014-10-19 10:22:47 +01:00
Jonathan Watt
c1682f3de0 Bug 1082530, part 4 - Make BasicColorLayer use the variant of Moz2D's UserToDevicePixelSnapped that honors disabling of pixel snapping and make it ignore scaling in the matrix (restore the pre-bug 989858 beharior). r=mattwoodrow 2014-10-19 10:22:47 +01:00
Jonathan Watt
5a3d8c69bd Bug 1082530, part 3 - Get rid of gfxContext::FLAG_DISABLE_SNAPPING and use DrawTarget UserData to store information on whether to disable pixel snapping. r=mattwoodrow 2014-10-19 10:22:47 +01:00
Jonathan Watt
2e12270def Bug 1082530, part 2 - Fix up Moz2D's UserToDevicePixelSnapped to be more like gfxContext::UserToDevicePixelSnapped, and add a temporary variant to aid in porting. r=mattwoodrow 2014-10-19 10:22:47 +01:00
Jonathan Watt
15c45a74fe Bug 1082530, part 1 - Mark DrawTarget::GetUserData as const. r=mattwoodrow 2014-10-19 10:22:46 +01:00
Robert O'Callahan
4e78797955 Bug 1067748. When a solid-color display item covers everything else in its layer, make it a ColorLayer. r=tn 2014-09-16 16:27:14 +12:00
Robert O'Callahan
f49b65148e Bug 1072528. Part 2: Remove layers code. r=bas 2014-09-24 16:35:06 -04:00
Mike Hommey
75e7142b89 Fixup bug 1084696 on a busted tree. r=me 2014-10-18 16:14:45 +09:00
Jeff Gilbert
fa2a8063a7 Bug 1084696 - Actually use the RAII helper for locking the DrawTarget. - r=kamidphish 2014-10-17 21:31:27 -07:00
Wes Kocher
36939bc3c8 Backed out 9 changesets (bug 1014614) for Android mochitest bustage on a CLOSED TREE
Backed out changeset 40f99ba7f616 (bug 1014614)
Backed out changeset 8fbc3c85adfc (bug 1014614)
Backed out changeset 40dbd7c6ce65 (bug 1014614)
Backed out changeset f2b504bdd7c5 (bug 1014614)
Backed out changeset c878e29fbef9 (bug 1014614)
Backed out changeset 511dcc817f5d (bug 1014614)
Backed out changeset 2b72e71f1fdf (bug 1014614)
Backed out changeset 8b530a9a2f99 (bug 1014614)
Backed out changeset 7fa1b78de684 (bug 1014614)
2014-10-17 16:34:01 -07:00
Wes Kocher
ae0090428f Backed out changeset 869a28961b5c (bug 1084514) 2014-10-17 16:33:35 -07:00
Wes Kocher
27734959f9 Backed out changeset e3fe86623065 (bug 1084607) 2014-10-17 16:32:27 -07:00
Ralph Giles
ef7e176ba7 Bug 1084607 - Add missing namespace references for GLImages.cpp. r=jgilbert CLOSED TREE
This fixes undeclared type errors on non-unified builds.
2014-10-17 15:03:00 -07:00
Ralph Giles
9dbc70f9ac Bug 1084514 - Fix AndroidSourceTexture namespace issues. r=dholbert CLOSED TREE
This worked in the unified build because it borrowed includes
and namespace references from other files.
2014-10-17 11:31:00 -07:00
James Willcox
5e54d8daab Bug 1014614 - Fix readback of SurfaceTextureImage r=jgilbert
--HG--
extra : rebase_source : 3580c219b47615d55bfa3d1c672d017dd67ef0a1
extra : histedit_source : 24c932ac4ebabad7d706fa5599d5f32762ce5a02
2014-10-17 10:35:13 -05:00
James Willcox
dfb835773a Bug 1014614 - Add GLBlitHelper::BlitImageToFramebuffer and support SurfaceTexture images r=jgilbert
--HG--
extra : rebase_source : 2718fddef7754bb84ef893fc81f175d963b01760
extra : histedit_source : efba21204779c8995e55623ca398d3f0b8336c31
2014-10-17 10:35:13 -05:00
James Willcox
b1bb293164 Bug 1014614 - Support attach/detach of GLContext to AndroidSurfaceTexture r=jgilbert
--HG--
extra : rebase_source : b309ea1761abdb26261fe8f2eda03de66952c018
2014-10-17 10:35:11 -05:00
James Willcox
be81b623ed Bug 1014614 - Do not try to use a temporary texture for SurfaceTexture r=jgilbert
--HG--
extra : rebase_source : b2108d17ef5d87328d1dc0e9ff190d667bfeaa44
2014-10-17 10:35:11 -05:00
James Willcox
d9918ba35a Bug 1014614 - Expose more SurfaceTexture API in AndroidSurfaceTexture r=blassey
--HG--
extra : rebase_source : b6ee26cf973e7d4821fefbcd3b8dba0585779d86
2014-10-17 10:35:10 -05:00
James Willcox
399aa1c748 Bug 1014614 - Expose Android native window via AndroidNativeWindow wrapper r=blassey
--HG--
extra : rebase_source : a2d27a4223c1bd1189c4c6a32431cc306a3e93c6
2014-10-17 10:35:10 -05:00
James Willcox
9450484c06 Bug 1014614 - Rename nsSurfaceTexture to AndroidSurfaceTexture r=jgilbert
--HG--
extra : rebase_source : 70d12286eb15808a4a540bae0d6785e560e97b29
2014-10-17 10:35:10 -05:00
Jeff Muizelaar
2ff5fd9a2c Bug 1084024. Remove graphite Makefile.in. r=jfkthame
This doesn't seem to be needed anymore.

--HG--
extra : rebase_source : 41cf994417c1e0fb3e8167b8e25b2c9e3efe9a02
2014-10-17 11:07:28 -04:00
Jonathan Watt
9f5596b76b Bug 1083597 - Port the code that uses nsRenderingContext::DrawRect() to Moz2D. r=mattwoodrow 2014-10-17 15:06:34 +01:00
Jonathan Watt
e20775a0d6 Bug 1083557 - Port the code that uses nsRenderingContext::FillPolygon() to Moz2D. r=mattwoodrow 2014-10-17 15:06:34 +01:00
Jeff Muizelaar
6e632ada07 Bug 1070308. Add Acquire and Release semantics to SharedSurface. r=jgilbert
This is needed for D3D11 keyed mutex support. The added assertions
also ensure we're doing things at the right times.

--HG--
extra : rebase_source : 7af4dccca745ee62e4ae97972de8a8eb83f2e8d3
2014-10-09 16:33:22 -04:00
Nicolas Silva
52335c4b52 Bug 1077301 - Simplify the gralloc texture code. r=sotaro 2014-10-16 19:08:32 +02:00
Jonathan Watt
a9c98517eb Bug 1083533 - Port the code that uses nsRenderingContext::SetClip() to Moz2D. r=mattwoodrow 2014-10-17 12:53:16 +01:00
Jonathan Watt
c27c6452d8 Bug 1084093, part 3 - Use the new ToDeviceColor() function to undo the breakage to gfx.color_management.mode=1 (eCMSMode_All) caused by the Moz2D porting work. r=Bas 2014-10-17 12:53:16 +01:00
Jonathan Watt
03e708cc58 Bug 1084093, part 2 - Convert gfxPlatform::TransformPixel to Moz2D, and move gfxPlatform::MaybeTransformColor to ToDeviceColor in gfxUtils.h. r=Bas 2014-10-17 12:53:15 +01:00
Jonathan Watt
39e820da80 Bug 1084093, part 1 - Add some helpers to Moz2D Color to convert to/from packed ARGB. r=Bas 2014-10-17 12:53:15 +01:00
Nicholas Nethercote
75bb32cc85 Bug 1083624 - Fix assertion failure in Factory::GetDirect3D10Device(). r=bas.
--HG--
extra : rebase_source : e28b1575b8bd4706d7d203696a1280c76e103ef6
2014-10-16 19:02:51 -07:00
Benoit Jacob
08fbad97d7 Bug 1083936 - WebGL2: Add texImage3D - r=jgilbert,smaug 2014-10-16 22:03:34 -04:00
John Daggett
556a622173 Bug 1083599 - fixup small problem with userfont logging. r=m_kato 2014-10-17 09:15:29 +09:00
Christoph Kerschbaumer
bfc8e917fb Bug 1063197 - Callsites of NS_NewInputStreamChannel in /gfx/ (r=roc) 2014-10-16 11:15:40 -07:00
Ryan VanderMeulen
95c05d4b68 Backed out changeset d16adf321576 (bug 1077301) for B2G bustage.
CLOSED TREE
2014-10-16 14:38:29 -04:00
Nicolas Silva
d90c3a1c7d Bug 1077301 - Simplify the gralloc texture code. r=sotaro 2014-10-16 19:08:32 +02:00
Jeff Muizelaar
d8dd019790 Bug 1083931. Remove pedantic filtering that snuck back in.
The ANGLE update from bug 801158 accidentally added this back.

--HG--
extra : rebase_source : 492105a4a518c0c4cb78e0ccc64efbe0ffc0d78e
2014-10-16 13:54:35 -04:00
David Parks
faf8b8adce Bug 1065881 - [e10s] Crash on child process shutdown in ShadowLayerForwarder::InWorkerThread
Had caused a crash in the test_streams_element_capture mochitest on Windows.  The issue was that the audio decoder thread was destroying stale media frames by releasing a reference to them.  This was causing the release of an Image on that thread, but that thread does not process a MessageLoop so the current MessageLoop is null.  This is not a problem.  Obviously, any thread that has no MessageLoop can't be the worker thread.
2014-10-12 16:23:20 -07:00
Ryan VanderMeulen
6ec44ff41f Backed out changeset 96aefa302688 (bug 1065881) for breaking content process leak checking.
CLOSED TREE
2014-10-16 12:23:56 -04:00
Kartikaya Gupta
f5acfa8103 Bug 1083398 - Check the entire handoff chain for fast-moving APZCs when disabling tapping during flings. r=botond 2014-10-16 10:14:38 -04:00
Kartikaya Gupta
6c0076eb8f Bug 1083398 - Sprinkle some const keywords around. r=botond 2014-10-16 10:14:37 -04:00
Sotaro Ikeda
11b001307a Bug 1082986 - Use RefPtr to hold Compositor r=nical 2014-10-16 06:48:29 -07:00
Chris Jones
cc1383c2fc Bug 1082902 - Make it possible to have GL debugging in release builds. r=jgilbert 2014-10-14 18:24:53 -07:00
Chris Jones
54281ff17a Bug 1082997 - Add an option to explicitly disable skia-gpu and fix the build when it's disabled. r=mattwoodrow 2014-10-14 20:55:37 -07:00
Chris Jones
23c257776c Bug 1082895 - Don't use gralloc surfaces when layers.gralloc.disable is set. r=mattwoodrow 2014-10-14 18:30:13 -07:00
Kartikaya Gupta
72ea4fdacd Bug 1013612 - Remove APZ-internal headers from being exported to non-layers code. r=botond 2014-10-16 09:23:52 -04:00
Jonathan Kew
0e773b6fc0 Bug 1081867 - Convert textrun metrics to physical coordinates before merging with visual-overflow region. r=smontagu 2014-10-16 09:40:19 +01:00