Commit Graph

7867 Commits

Author SHA1 Message Date
Ryan VanderMeulen
4629c7334d Merge m-c to inbound. 2013-08-22 15:44:40 -04:00
Ryan VanderMeulen
1ef4f3befe Merge inbound to m-c. 2013-08-22 15:42:18 -04:00
Ryan VanderMeulen
cdf56a6889 Backed out changeset 230120afcbbf (bug 905589) for Android and B2G bustage on a CLOSED TREE. 2013-08-22 14:17:49 -04:00
Andreas Gal
e712f7caa3 Bug 905589 - Use VBO instead of client side rendering. r=bas 2013-08-22 12:54:21 -04:00
Guillaume Abadie
a7c1b726c7 bug 904330 - step 05 - Rename GLContextExtensionGroupQueries.cpp to GLContextFeatures.cpp - r=jgilbert
--HG--
rename : gfx/gl/GLContextExtensionGroupQueries.cpp => gfx/gl/GLContextFeatures.cpp
2013-08-22 13:42:05 -04:00
Guillaume Abadie
9cedc865f6 bug 904330 - step 04 - Remove old extension group queries - r=jgilbert 2013-08-22 13:42:05 -04:00
Guillaume Abadie
72ecad07aa bug 904330 - step 03 - Uses mozilla::GLFeature instead of old extension group queries - r=jgilbert 2013-08-22 13:42:05 -04:00
Guillaume Abadie
1c781d30ce bug 904330 - step 02 - Changes GLContext's extension group query names - r=jgilbert 2013-08-22 13:42:05 -04:00
Guillaume Abadie
6ed63b80b7 bug 904330 - step 01 - Add mozilla::GLFeature - r=jgilbert 2013-08-22 13:42:04 -04:00
Nicholas Cameron
d027b19178 Bug 907901. Remove NS_lround from rect.h. r=Bas 2013-08-22 21:10:35 +12:00
Nicholas Cameron
01b99f2af9 Bug 902929. Be explicit about re-attaching async video compositable hosts. r=nical 2013-08-21 13:28:53 +12:00
Nicholas Cameron
485fad14c4 Bug 902929. Assert that we don't have a compositable child for ImageBridgeClients. r=nical 2013-08-21 13:27:05 +12:00
Ms2ger
4af9d89266 Merge m-c to inbound 2013-08-22 10:38:48 +02:00
Ms2ger
f8f8a40a0a Bug 906619 - Part a: Move unconditional CSRCS to moz.build; r=mshal 2013-08-22 08:56:02 +02:00
Ms2ger
d54dfa0c57 Bug 904831 - Part c: Move conditional MSVC_ENABLE_PGO definitions into moz.build and remove empty makefiles; r=mshal 2013-08-22 08:56:01 +02:00
Ms2ger
19f3e043e3 Bug 904831 - Part b: Move unconditional MSVC_ENABLE_PGO definitions into moz.build; r=gps 2013-08-22 08:56:01 +02:00
Ms2ger
cb6087d9f7 Bug 883284 - Part g: Move conditional LIBXUL_LIBRARY assignments into moz.build; r=gps 2013-08-22 08:56:01 +02:00
Ms2ger
8085d723ed Bug 883284 - Part d: Move LIBXUL_LIBRARY into moz.build (f-j); r=bsmedberg 2013-08-22 08:56:00 +02:00
Ms2ger
5c981f7ca9 Bug 906412 - Cleanup some random parts of the build system; r=mshal 2013-08-22 08:55:59 +02:00
Ms2ger
66214743ad Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps 2013-08-22 08:55:59 +02:00
Ms2ger
badb581ba0 Bug 904178 - Part f: Remove some includes from nsPIDOMWindow.h; r=mounir 2013-08-22 08:30:55 +02:00
Ryan VanderMeulen
908be1856b Merge inbound to m-c. 2013-08-21 17:14:32 -04:00
Kartikaya Gupta
3151f4b7bd Bug 898443 - Update loops to run forward and use a size_t variable. r=BenWa 2013-08-21 12:03:03 -04:00
Kartikaya Gupta
07a7fa46a1 Bug 898443 - Always use the innermost APZC containing all touch points for multi-touch inputs. r=BenWa 2013-08-21 12:03:03 -04:00
Kartikaya Gupta
f5135c8214 Bug 898443 - Completely extract the transformation calculation from GetTargetAPZC. r=BenWa 2013-08-21 12:03:03 -04:00
Kartikaya Gupta
faf1a873b2 Bug 898443 - Ensure that all multitouch events following a START go to the same APZC instance. r=BenWa 2013-08-21 12:03:02 -04:00
Kartikaya Gupta
fa7cec9eff Bug 898443 - Extract input transform calculations from GetAPZCAtPoint. No functional changes. r=BenWa 2013-08-21 12:03:02 -04:00
Kartikaya Gupta
438bcc477f Bug 898443 - Add a parent pointer to the AsyncPanZoomController class. r=BenWa 2013-08-21 12:03:02 -04:00
Ed Morley
6e9119b21e Merge mozilla-central and b2g-inbound 2013-08-21 13:10:57 +01:00
Kartikaya Gupta
06c5db076e Bug 907372 - Fix incorrect comment in FrameMetrics.h. r=k17e 2013-08-21 07:46:05 -04:00
Wes Kocher
a62887bc50 Backed out changeset 6356b67f6c87 (bug 902929) 2013-08-20 20:50:26 -07:00
Wes Kocher
2a9e21a70f Backed out changeset 315c9f0af9bb (bug 902929) 2013-08-20 20:50:20 -07:00
Nicholas Cameron
8acfeaece0 Bug 902929. Be explicit about re-attaching async video compositable hosts. r=nical 2013-08-21 13:28:53 +12:00
Nicholas Cameron
1caed203b3 Bug 902929. Assert that we don't have a compositable child for ImageBridgeClients. r=nical 2013-08-21 13:27:05 +12:00
Nicholas Cameron
4f4d777bc8 Bug 907466. Support large canvases with d3d11. r=mattwoodrow 2013-08-21 13:13:57 +12:00
Jan Beich
66c4b90185 Bug 907837 - Don't include SPS headers directly. r=nrc 2013-08-22 19:11:51 +12:00
Jan Beich
de6b591a26 Bug 907837 - Fix IWYU false positive to unbreak non-SPS build. r=nrc 2013-08-22 19:11:47 +12:00
Botond Ballo
fe4f404898 Bug 898580 - Remove updating of scroll offset in AsyncPanZoomController::NotifyLayersUpdated. It is now no longer needed by any platform. r=bbondy, r=kats 2013-08-15 11:30:27 -04:00
Nicholas Cameron
b5c77aec19 Bug 903816. Include-what-you-use for gfx/layers. r=roc 2013-08-12 11:17:23 +12:00
Nicholas Cameron
9b7d0b4cf3 Bug 903816. Fixups in non-layers files. r=roc 2013-08-12 11:15:10 +12:00
Matt Woodrow
e00658a518 Bug 907011 - Implement CopyGlyphsToBuilder for Cairo Azure backend. r=Bas 2013-08-21 11:58:27 +12:00
Matt Woodrow
e9ede790d9 Bug 907011 - Implement pattern matrices for the Cairo Azure backend. r=Bas 2013-08-21 11:57:57 +12:00
Matt Woodrow
6775b7dfee Bug 907011 - Implement antialias mode for the Cairo Azure backend. r=Bas 2013-08-21 11:56:27 +12:00
Matt Woodrow
e790df95f3 Bug 904884 - Assign RAII class instances to variables in PathCario so that they stay alive for the correct scope. r=nrc 2013-08-21 11:55:53 +12:00
Matt Woodrow
68fc511900 Bug 904981 - Clear surface devices offsets in DrawTargetCairo since we don't use them. r=Bas 2013-08-21 11:52:20 +12:00
Matt Woodrow
9c51651626 Bug 906147 - Make sure we lock component alpha textures in the correct order to prevent deadlocks. r=nrc 2013-08-21 11:49:31 +12:00
Kartikaya Gupta
ee4d416a21 Bug 906427 - When a touch event has multiple touch points, send it to the root APZC for the layer subtree. r=BenWa 2013-08-22 10:40:44 -04:00
Kartikaya Gupta
0089237c64 Bug 907906 - Finish templating the gfx::Margin type, and add a gfx::IntMargin type to go with it. r=Cwiiis 2013-08-22 12:41:51 -04:00
Nicolas Silva
81ab7b7667 Bug 907745 - Prepare for texture locking support. r=mattwodrow 2013-08-26 14:50:16 +02:00
Guillaume Abadie
fd835cd828 bug 903481 - step 2 - [WebGL 2.0] transform feedback: add symbols in GLContext - r=jgilbert 2013-08-20 11:36:20 -04:00
Joseph Yasi
765349f839 Bug 896287 - NVIDIA specific GLX server vendor check for pixmap depth and fbConfig depth. r=karlt 2013-08-20 08:30:26 -04:00
Mike Hommey
32e7b2318d Bug 901208 - Fix Skia for ARM v4t. r=derf 2013-08-20 09:14:01 +09:00
Matt Woodrow
b58cfaa3e8 Bug 900133 - Make sure we always set TEXTURE_DEALLOCATE_HOST when required. r=nical 2013-08-20 11:39:56 +12:00
Matt Woodrow
d599f32005 Bug 900133 - Don't mark textures as being sent to the compositor until after we've drawn to them. r=nical 2013-08-20 11:39:55 +12:00
Matt Woodrow
4d9a2a8167 Bug 904620 - Always send a transaction when we get a WebGL update to ensure that we get a composite. r=nrc 2013-08-20 11:39:55 +12:00
Ryan VanderMeulen
fc58488cf2 Merge m-c to inbound on a CLOSED TREE. 2013-08-19 17:05:12 -04:00
Ryan VanderMeulen
9278f21e00 Merge m-c to b2g-inbound. 2013-08-19 11:53:02 -04:00
Kartikaya Gupta
19cd81339f Bug 906109 - Make the GestureEventListener realize when a touch point disappears. r=k17e
When receiving a touch event arrives that is missing previously-known
touch points, remove them from the list. This makes the GestureEventListener
more robust so that it doesn't keeping doing pinches when there should
be pans.
2013-08-19 09:38:43 -04:00
David Anderson
69dc419e91 Force OMTC on when enabling multi-process tabs (bug 897502, r=ncameron). 2013-08-19 00:13:32 -07:00
Nicholas Cameron
35c388ed22 Bug 904343. Clear surface descriptors. r=nical. 2013-08-19 11:08:43 +12:00
Daniel Holbert
2f7a0b6179 Bug 903065: Update switch statement in LayersLogging.cpp to include new FILTER_GOOD enum value. r=jrmuizel 2013-08-18 12:40:58 -07:00
Nicholas Cameron
41056e2efb Bug 905790. Let canvases use fallback texure clients like images clients can. r=mattwoodrow 2013-08-18 18:46:21 +12:00
Nicholas Cameron
d45b9fe216 Bug 903893. Backend fallback for OMTC. r=mattwoodrow 2013-08-18 18:46:16 +12:00
Chris Lord
ce468943a9 Bug 747811 - Add gfxReusableImageSurfaceWrapper. r=BenWa
Add an implementation of gfxReusableSurfaceWrapper based on gfxImageSurface
and use it on Android to avoid the overhead of shared memory.
2013-08-19 14:59:27 +01:00
Chris Lord
53810eb0be Bug 747811 - Separate gfxReusableSurfaceWrapper into a base class and implementation. r=BenWa
Split gfxReusableSurfaceWrapper into gfxReusableSurfaceWrapper and
gfxReusableSharedImageSurfaceWrapper, to allow for non gfxSharedImage-based
implementations.

--HG--
rename : gfx/thebes/gfxReusableSurfaceWrapper.cpp => gfx/thebes/gfxReusableSharedImageSurfaceWrapper.cpp
2013-08-19 14:59:25 +01:00
Benoit Girard ext:(%2C%20Chris%20Lord%20%3Cchrislord.net%40gmail.com%3E)
1b95e41dd6 Bug 747811 - Make the tiles backend safe across processes. r=nrc,BenWa
The tiles backend passes raw pointers to transfer tiled buffers between the
main thread and the compositor. This patch changes that to use shared
memory and tile descriptors instead, as well as changing the memory management
slightly to facilitate that.
2013-08-19 14:59:22 +01:00
Jeff Muizelaar
be2cbcb453 Bug 898525. Separate out Gfx helpers into GfxMessageUtils.h. r=bent
This helps us include less.

--HG--
extra : rebase_source : bb9ca934a9dade9ef21cecfee7ae8e860f9c60c1
2013-07-26 15:28:31 -04:00
Ryan VanderMeulen
8c1d293b1c Merge m-c to inbound. 2013-08-16 21:58:51 -04:00
Wes Kocher
26854193d4 merge b2g-inbound to central 2013-08-16 15:30:59 -07:00
Arnaud Sourioux
de3b6b7cdf Bug 903112 - Replace this with MOZ_THIS_IN_INITIALIZER_LIST() in gfx/. r=jfkthame 2013-08-16 09:18:36 -04:00
Guillaume Abadie
204c1119e6 bug 903455 - [WebGL 2.0] Implement transform feedback: RASTERIZER_DISCARD - r=jgilbert 2013-08-15 20:43:47 -04:00
Nicholas Cameron
71f4e88183 Bug 904012. Remove a bogus assertion from ThebesLayerBuffer. r=mattwoodrow 2013-08-16 10:42:02 +12:00
Trevor Saunders
86d20580f1 bug 905410 - remove most remaining usage of nspr atomics outside of xpcom/ r=ehsan 2013-08-12 05:51:49 -04:00
Jonathan Kew
3deb66f151 Bug 905780 - actually call the function, don't just interpret its address as a boolean. r=nrc 2013-08-15 22:18:54 +01:00
Guillaume Abadie
cd03bdb26a bug 902063 - GLContext complete extension group queries - r=bjacob,jgilbert 2013-08-15 15:58:20 -04:00
Ryan VanderMeulen
61be913f55 Merge m-c to inbound. 2013-08-15 15:43:06 -04:00
Ed Morley
5ef0865f66 Merge mozilla-central and b2g-inbound 2013-08-15 13:37:27 +01:00
Milan Sreckovic
4ba70803f0 Bug 905219 - BaseRect::IsFinite() now uses std::isfinite(), rather than NS_finite(). r=jrmuizel 2013-08-14 12:29:47 -04:00
Ryan VanderMeulen
c292f445e7 Merge m-c to inbound. 2013-08-14 17:11:30 -04:00
Kartikaya Gupta
b59db3868c Bug 890280 - Apply proper transformations when sending inputs to the APZC and back to the DOM. r=BenWa 2013-08-14 10:15:54 -04:00
Ms2ger
3d504dcb66 Merge latest PGO-green inbounc changeset to m-c. 2013-08-14 14:45:47 +02:00
Ms2ger
c2315a28ab Bug 904110 - Move alignment features out of Util.h into a new header; r=Waldo 2013-08-14 09:00:52 +02:00
Ms2ger
0c3b97da57 Bug 901063 - Remove HB_DONT_DEFINE_STDINT defines; r=gps
These defines have been unnecessary since we removed mozilla/StandardInteger.h.
The upstream code will default to stdint.h typedefs without them.
2013-08-14 08:57:22 +02:00
Ehsan Akhgari
dcc5877fbb Bug 904121 - Do not include nsIMemory in nsMemory.h; r=vlad
--HG--
extra : rebase_source : b525ab299eeefdd39f6e919c8a0c6407f9bac209
2013-08-12 17:44:56 -04:00
Guillaume Abadie
2e65cd73fe bug 900199 - Add OpenGL registry xml parser to generate constants - step 2 - r=bjacob,jgilbert,jrmuizel 2013-08-13 10:35:03 -04:00
Guillaume Abadie
bf9f12c421 bug 900199 - Add OpenGL registry xml parser to generate constants - step 1 - r=bjacob,jgilbert,jrmuizel 2013-08-13 10:35:03 -04:00
Adrian May
a697186d75 Bug 877115 - Moz2Dify GLContext and GLTextureImage. r=nical 2013-08-13 15:44:53 +02:00
Milan Sreckovic
c0b45ceae6 Bug 903526 - Add BaseRect::IsFinite() method. r=bas 2013-08-13 14:48:17 -04:00
Guillaume Abadie
7aa55ce556 bug 905853 - gfx/gl/GLConsts.h nits fix - r=jgilbert 2013-08-16 17:11:57 -04:00
Botond Ballo
2d0568a624 Bug 895905 - Document that ns[Int]Point stores coordinates in app units. r=tn 2013-08-08 15:56:09 -04:00
Botond Ballo
9296923f9b Bug 895905 - Fixed a compiler error on GCC 4.7. r=Bas 2013-08-08 15:56:09 -04:00
Botond Ballo
c7e59f7954 Bug 895905 - B2G mechanism for content to inform APZC about scroll events. Handles multi-APZC. r=kats 2013-08-08 15:56:08 -04:00
Nicolas Silva
21b12f43ab Bug 858914 - Various TextureClient/Host cleanups. r=nrc. 2013-08-08 14:53:12 +02:00
Benoit Jacob
d35de54de6 Bug 901495 - GLintptr should be intptr_t, not ptrdiff_t - r=jrmuizel 2013-08-12 23:55:28 +02:00
Ryan VanderMeulen
7c6f75f871 Merge m-c to inbound. 2013-08-12 17:43:24 -04:00
Ryan VanderMeulen
b9a26a7e35 Merge inbound to m-c. 2013-08-12 15:35:24 -04:00
Kartikaya Gupta
30c87b92e1 Bug 903460 - Back out cset 9813b854b713 because it regresses panning behaviour on Android. r=me 2013-08-12 08:32:11 -04:00
Phil Ringnalda
26893fc5ad Back out d393cfeb5dbf:9f82224bb8a3 (bug 903816) for Android reftest failures
CLOSED TREE
2013-08-11 19:21:17 -07:00
Matt Woodrow
4ea156e47f Bug 902339 - Null check mImageHost in ImageLayerComposite before trying to access it. r=nrc 2013-08-12 12:11:09 +12:00
Nicholas Cameron
788218a793 Bug 903816. Include-what-you-use for gfx/layers. r=roc 2013-08-12 11:17:23 +12:00
Nicholas Cameron
f639add88a Bug 903816. Fixups in non-layers files. r=roc 2013-08-12 11:15:10 +12:00
Po-Chun Chang
6baaeb6ea1 Bug 898228 - Avoid wasted work in gfxContext::ClipContainsRect(). r=bas 2013-08-12 08:51:45 -04:00
Jonathan Kew
141239e413 bug 879963 - preserve in-progress font loaders when updating the user font set, and avoid adding duplicate face entries to a user font family. r=dbaron,jdaggett 2013-08-12 10:07:55 +01:00
Daniel Holbert
bd3225abb3 Bug 904184: Replace "//" comment with "/**/" comment, to fix GCC "warning: multi-line comment" for trailing backslash in ASCII art. r=BenWa 2013-08-12 13:40:28 -07:00
Kartikaya Gupta
378f96db6d Bug 903460 - Apply the async transform after the CSS transform for a given layer. r=BenWa
Since the CSS transform includes a 1/resolution scaling factor, the translation
amount in the async transform is now in LayoutDevicePixels instead of LayerPixels.
The shadow tree transform is now effectively:
(1/resolution * rest of CSS transform * async translation * async resolution)
Whereas before it was
(async translation * async resolution * 1/resolution * rest of CSS transform)
2013-08-10 11:19:47 -04:00
Jeff Muizelaar
ecae027e49 Bug 897532. Add support for better filtering in Azure. r=bas
This fixes the quality regression on OS X.

--HG--
extra : rebase_source : f045caa95800d05098ea49e05fe90fc933f8849f
2013-07-31 14:46:25 -04:00
Kartikaya Gupta
ee8f12a0ab Bug 890280 - Update the AsyncPanZoomController tests to also test the transformation matrices. r=BenWa 2013-08-15 08:03:31 -04:00
Ryan VanderMeulen
f5dd09dc36 Backed out changeset 5432f96b6ba0 (bug 899855) for B2G test bustage.
CLOSED TREE
2013-08-14 13:21:52 -04:00
Brian O'Keefe
3dadb0e396 Bug 896177 - Remove useless config.mk includes; r=gps 2013-07-17 16:06:53 -04:00
Guillaume Abadie
e7d77c65cb bug 899855 - GLContext parse GL_VERSION - r=jgilbert 2013-08-14 10:07:08 -04:00
Ms2ger
6c3982af30 Merge m-c to inbound. 2013-08-14 14:47:39 +02:00
Markus Stange
ca3ed71e54 Bug 904538 - Don't #include nsITheme.h in nsIWidget.h. r=roc 2013-08-14 13:19:55 +02:00
Ryan VanderMeulen
7b01d7a416 Backed out changeset ce3a1df4d559 (bug 875247) for mochitest-mc crashes. 2013-08-09 17:56:15 -04:00
Chris Pearce
1f88a47969 Bug 875247 - Use DXVA2 via D3D11 on Windows 8 to avoid readback of video frames when we turn on OMTC on Windows 8. r=Bas,padenot,gps 2013-08-10 08:17:44 +12:00
David Zbarsky
826b4c099f Bug 903819 - Don't include Layers.h everywhere, part 4 r=nrc 2013-08-20 15:45:30 -04:00
Trevor Saunders
b2dc01f1a7 bug 886526 - remove IS_COMPONENT and MODULE_NAME makefile vars for things in libxul r=bsmedberg r=glandium 2013-08-08 20:12:37 -04:00
Po-Chun Chang
a3033884fb Bug 897258 - Avoid wasted work in GestureEventListener::HandleInputEvent(). r=kentuckyfriedtakahe 2013-08-09 15:01:56 -04:00
Daniel Holbert
48fdb50213 Bug 903071: Drop unused variable 'gfxSize' from ImageDataSerializer::ComputeMinBufferSize. r=nical 2013-08-09 15:07:32 +02:00
Jonathan Kew
4387eff332 bug 880818 - check for failure when creating the cairo_scaled_font in gfxFT2Font::GetOrMakeFont. r=jdaggett 2013-08-09 09:51:51 +01:00
Matt Brubeck
077101237b Merge mozilla-central to mozilla-inbound 2013-08-08 21:49:53 -07:00
Matt Brubeck
c53520d691 Back out d10581fd8202 (bug 897532) on suspicion of causing intermittent pgo-only Metro crashes 2013-08-08 14:58:00 -07:00
Nicholas Cameron
8ca7f5e641 Bug 899435. Part 4 - smooth resizing with OMTC. r=roc 2013-08-09 11:32:26 +12:00
Nicholas Cameron
8e9e2f0fc4 Bug 902330. Initialise shmem texture clients properly. r=mattwoodrow 2013-08-09 11:32:25 +12:00
Nicholas Cameron
180f8169bb Bug 902330. Fix the SupportsAzureContent mess. r=mattwoodrow 2013-08-09 11:32:19 +12:00
Nicholas Cameron
484d8249f0 Bug 901722. Part 2 - changes to generated files. r=bas 2013-08-09 11:30:19 +12:00
Nicholas Cameron
a61919231a Bug 901722. Implement component alpha for d3d11 compositor. r=Bas 2013-08-09 11:30:19 +12:00
Nicholas Cameron
e90fed4a14 Bug 901722. Tweek to d3d9 compositor blend modes. r=bas 2013-08-09 11:30:19 +12:00
Nicholas Cameron
82aab79456 Bug 902329. Implement component alpha thebes layers with Azure. r=mattwoodrow 2013-08-09 11:30:19 +12:00
Nicholas Cameron
1bc1f9224a Bug 901722. Fix up component alpha/sub-pixel AA enablement. r=mattwoodrow 2013-08-09 11:30:19 +12:00
Nicholas Cameron
af23265853 Bug 901404. Support Azure with single buffered thebes layers. r=mattwoodrow 2013-08-09 11:30:18 +12:00
Nicholas Cameron
05b78d0697 Bug 902528. Check we still have a render target in BeginFrame. r=Bas 2013-08-09 11:30:18 +12:00
Nicholas Nethercote
849635b8f1 Bug 898914 (part 1) - Remove JSBool.
--HG--
extra : rebase_source : 2d202e0e5005a7f54724b1540481c15cde3ad52e
2013-08-08 15:53:04 -07:00
Nicholas Nethercote
aa5919539d Bug 902332 - Replace JS_{FALSE,TRUE} with {false,true} almost everywhere. r=luke,bz.
--HG--
extra : rebase_source : 25f4de1bfae830b0af6407d260a70b787ab1dc9b
2013-08-06 23:59:54 -07:00
Ed Morley
a428bbb020 Merge mozilla-central and inbound 2013-08-07 16:19:03 -07:00
Edwin Flores
6318f92344 Bug 892934 - Pass RGB image format into CreateTextureImage r=mattwoodrow 2013-08-08 10:38:21 +12:00
Ryan VanderMeulen
00f1cf235f Merge m-c to b2g-inbound. 2013-08-07 14:41:41 -04:00
Kartikaya Gupta
24718d2f2e Bug 900742 - Fix APZC hit testing problem introduced by bug 866232. r=BenWa 2013-08-06 16:20:14 -04:00
Ryan VanderMeulen
a1195a8c19 Backed out changeset aada9eac6fd3 (bug 900742) for checktest failures. 2013-08-06 12:50:36 -04:00
Kartikaya Gupta
5cd5511bea Bug 900742 - Fix APZC hit testing problem introduced by bug 866232. r=BenWa 2013-08-06 10:39:19 -04:00
Guillaume Abadie
55c0e32502 bug 893180 - [WebGL 2.0] gl.vertexAttribDivisor (GL_ARB_instanced_array) - r=jgilbert 2013-08-06 20:05:51 -04:00
Josh Aas
8e90844825 Bug 899473 - Remove OS X 10.4 and 10.5 code from gfx. r=jmuizelaar 2013-08-06 17:52:52 -04:00
Guillaume Abadie
aa8c3fc910 bug 892978 - [WebGL 2.0] Query objects (GL_ARB_occlusion_query_boolean) - r=jgilbert 2013-08-06 17:23:46 -04:00
Jonathan Kew
283a063cb5 bug 854897 - prefer harfbuzz shaping for Indic text on WinXP. r=jdaggett 2013-08-05 21:06:09 +01:00
Nicolas Silva
ee0736e8c9 Bug 900793 - Rename TextureSourceOGL::ReleaseTexture into UnbindTexture. r=nrc 2013-08-05 12:15:21 +02:00
Nicolas Silva
8e7aa5738e Bug 899667 - Make layer borders more readable. r=BenWa 2013-08-03 00:50:17 +02:00
Kartikaya Gupta
e490c33d50 Bug 899810 - Ensure that mFrameMetrics is updated properly in NotifyLayersUpdated. r=bbondy
In some cases the mScrollOffset was getting updated on the mFrameMetrics
before the IsDefault() check, so the IsDefault() check would return false
when it should have returned true. Calling IsDefault() on the
mFrameMetrics before writing stuff into it fixes this.
2013-08-04 12:26:54 -04:00
Nicholas Cameron
dd58f82344 Bug 874721, bug 899435. D3D9 compositor and windows OMTC window resizing. r=Bas, mattwoodrow 2013-08-04 19:46:17 +12:00
Matt Woodrow
25906e852f Bug 881634 - Only use a single snapshot with DrawTargetSkia. r=Bas 2013-08-01 21:12:16 -04:00
Matt Woodrow
ea28516906 Bug 900133 - Add TEXTURE_IMMEDIATE_UPLOAD to avoid racing when single buffered. r=nical 2013-08-03 13:30:28 -04:00
Matt Woodrow
a7fdd93853 Bug 900133 - Make sure we always call OnTransaction when we might recreate textures. r=nical 2013-08-03 13:29:48 -04:00
Matt Woodrow
6436bb8202 Bug 893302 - Implement CanvasClient2D on top of NewTextures. r=nical 2013-08-03 13:29:37 -04:00
Matt Woodrow
1afc70d202 Bug 893302 - Rename the CanvasClient class to include Deprecated so we can implement one on top of NewTextureHost. r=nical 2013-08-03 13:29:28 -04:00
Matt Woodrow
e49181d0be Bug 900133 - Recreate the TextureClient for an ImageClient if the image size changes. r=nical 2013-08-03 13:29:18 -04:00
Jonathan Kew
b1b3046119 bug 900975 - include font-smoothing setting in the nsFont::BaseEquals comparison. r=dbaron 2013-08-03 08:58:53 +01:00
Wes Kocher
f304825fbc Backed out 6 changesets (bug 900133, bug 881634, bug 893302) for build bustage
Backed out changeset 49632bc14e27 (bug 900133)
Backed out changeset 036780fccc89 (bug 900133)
Backed out changeset b8db58f5e209 (bug 893302)
Backed out changeset 67c3e4204e44 (bug 893302)
Backed out changeset a857a4246dd9 (bug 900133)
Backed out changeset e0e2e27af6c1 (bug 881634)
2013-08-02 20:35:39 -07:00
Matt Woodrow
e90b2b5bae Bug 900133 - Add TEXTURE_IMMEDIATE_UPLOAD to avoid racing when single buffered. r=nical 2013-08-02 23:00:02 -04:00
Matt Woodrow
1cb456c128 Bug 900133 - Make sure we always call OnTransaction when we might recreate textures. r=nical 2013-08-02 22:59:56 -04:00
Matt Woodrow
1004e045e5 Bug 893302 - Implement CanvasClient2D on top of NewTextures. r=nical 2013-08-02 22:59:49 -04:00
Matt Woodrow
28248b7852 Bug 893302 - Rename the CanvasClient class to include Deprecated so we can implement one on top of NewTextureHost. r=nical 2013-08-02 22:59:40 -04:00
Matt Woodrow
d5af0a03b9 Bug 900133 - Recreate the TextureClient for an ImageClient if the image size changes. r=nical 2013-08-02 22:59:26 -04:00
Matt Woodrow
0eff0999b8 Bug 881634 - Only use a single snapshot with DrawTargetSkia. r=Bas 2013-08-01 21:12:16 -04:00
Guillaume Abadie
ccba191386 bug 901084 - remove deprecated GLContext extension group queries. - r=bjacob 2013-08-02 21:13:46 -04:00
Guillaume Abadie
03575a3eef Bug 901131 - GLContext's extension group queries do a static assert on sExtensionGroupInfoArr - r=jgilbert 2013-08-02 21:04:16 -04:00
Guillaume Abadie
15b6666330 bug 900101 - build bustage fix on an CLOSED TREE - r=bjacob IRL 2013-08-02 18:26:09 -04:00
Guillaume Abadie
d7f0e18498 bug 900101 - GLContext let extension group queries XXX_* use mVersion and mProfile - r=jgilbert,bjacob 2013-08-02 17:30:58 -04:00
Guillaume Abadie
c6aa95bcdd bug 900964 - GLContext::GLErrorToString changed to a static function - r=bjacob 2013-08-02 17:08:55 -04:00
Avi Halachmi
7de7d90131 Bug 888899 - Part 2 - Uses layout.frame_rate=0 for ASAP mode instead of 10k. r=jrmuizel 2013-08-02 23:29:57 +03:00
Matt Woodrow
82f9ee14d2 Bug 893824 - Don't allow 0 sized SourceSurfaces with Moz2D. r=jrmuizel
--HG--
extra : rebase_source : dc5e18fe96966a86cbb3b2fbaa508247cbe73142
2013-07-15 13:28:04 -04:00
Matt Woodrow
9a90b3621f Bug 900133 - Only draw the picture rect of a tiled image. r=nical
--HG--
extra : rebase_source : 836d60efd38040971f2bff9c2b24e66fb084d65d
2013-08-01 21:12:16 -04:00
Matt Woodrow
aa675bfd8e Bug 900133 - Fix leak reporting for MemoryTextureHost. r=nical
--HG--
extra : rebase_source : 445d3cc5ed8d82bf26e357dc878d0d1b846b113a
2013-08-01 21:12:16 -04:00
Matt Woodrow
77d440cc12 Bug 900133 - Support MaskLayers that are backed by a NewTextureHost. r=nical
--HG--
extra : rebase_source : 8494dd32a837fc1ca44ed7c838e4def84f3292e1
2013-08-01 21:12:16 -04:00
Matt Woodrow
06a3f097c5 Bug 900133 - Remove unnecessary printf when adding textures. r=nical
--HG--
extra : rebase_source : 78b76ede5e23d445833a65fd18c7eb336709c1b4
2013-08-01 21:12:15 -04:00
Matt Woodrow
eb3dede292 Bug 898129 - Only set the texture transform for shaders where it will be used. r=nrc
--HG--
extra : rebase_source : 6f636720a53dac7d0842caf41dffb457cecd379c
2013-08-01 21:12:15 -04:00
Matt Woodrow
c2432550aa Bug 900188 - Correctly treat WebGL as being single buffered when we share it across ipdl. r=nrc
--HG--
extra : rebase_source : 92be3f39d6e07d1e5f5de0a484a0c94eca93a97c
2013-08-01 21:12:15 -04:00
Milan Sreckovic
536093c3dc Bug 900729: Make TextureFlags constant names (UseNearestFilter, NeedsYFlip, AllowRepeat, NewTile, ComponentAlpha) all caps in CompositorTypes.h and prefix them with TEXTURE_ for consistency and uniqueness. r=nsilva. 2013-08-06 13:36:35 -04:00
Kartikaya Gupta
d2aa7640b9 Bug 901339 - Fix the focal point when zooming in and out. r=BenWa 2013-08-07 12:34:16 -04:00
James Willcox
aa3f30d754 Bug 896670 - Don't release SkiaGL render target after creating POT texture r=gwright 2013-08-06 22:28:47 -04:00
George Wright
9f3f2796ec Bug 902483 - Expose missing GLES2 extensions to SkiaGL r=mattwoodrow 2013-07-31 20:10:55 -04:00
Jeff Muizelaar
949f85802a Bug 897532. Add support for better filtering in Azure. r=bas
This fixes the quality regression on OS X.

--HG--
extra : rebase_source : afbf0c332c23933096fa97a022698dc992908c12
2013-07-31 14:46:25 -04:00
Nicolas Silva
687afe45cd Bug 900393 - Implement missing method in DeprecatedSharedRGBImage. r=eflores 2013-08-06 18:47:44 +02:00
Benoit Girard
bebd5ab26c Bug 865902 - Port old gfx unit tests. r=milan
--HG--
rename : gfx/tests/TestColorNames.cpp => gfx/tests/gtest/TestColorNames.cpp
rename : gfx/tests/TestRect.cpp => gfx/tests/gtest/TestRect.cpp
rename : gfx/tests/TestRegion.cpp => gfx/tests/gtest/TestRegion.cpp
rename : gfx/tests/gfxFontSelectionTest.cpp => gfx/tests/gtest/gfxFontSelectionTest.cpp
rename : gfx/tests/gfxFontSelectionTests.h => gfx/tests/gtest/gfxFontSelectionTests.h
rename : gfx/tests/gfxSurfaceRefCountTest.cpp => gfx/tests/gtest/gfxSurfaceRefCountTest.cpp
rename : gfx/tests/gfxTextRunPerfTest.cpp => gfx/tests/gtest/gfxTextRunPerfTest.cpp
rename : gfx/tests/gfxWordCacheTest.cpp => gfx/tests/gtest/gfxWordCacheTest.cpp
rename : gfx/tests/per-word-runs.h => gfx/tests/gtest/per-word-runs.h
2013-04-25 19:02:13 -04:00
Ms2ger
21409e5d2c Merge m-c to inbound. 2013-08-02 11:07:57 +02:00
Ms2ger
f28bde905f Bug 900096 - Cleanup Touch some; r=dzbarsky 2013-08-02 09:06:35 +02:00
Ms2ger
625b832e4f Bug 896251 - Make nsEvent::{refPoint, lastRefPoint} LayoutDeviceIntPoints; r=smaug+kats 2013-08-02 09:05:16 +02:00
Ms2ger
c01a333748 Bug 898895 - Define MOZ_WEBGL globally; r=ted 2013-08-02 09:04:35 +02:00
Ms2ger
65b9d384bf Bug 897540 - Reduce includes in nsDeviceContext.h; r=roc 2013-08-02 09:04:22 +02:00
Mike Hommey
8cdcebc8bc Backout changesets 8b67eb363e5c (bug 893824), 2f603fe51b71, d623d68577ec, 12adb590b761, e08e42b8435b (bug 900133) and c8230843d507 (bug 898129) for crashtest bustage on a CLOSED TREE 2013-08-02 15:35:25 +09:00
Ryan VanderMeulen
8fcc29f850 Backed out changeset 9a5f4bbd4fcb (bug 900188) to see if it fixes the OSX crashtest and reftest asserts.
CLOSED TREE
2013-08-02 00:45:09 -04:00
Matt Woodrow
09adca9139 Backout 0b0a0b491740 (bug 881634) for causing crashes on android CLOSED TREE 2013-08-01 22:46:06 -04:00
Matt Woodrow
ba2ac554e1 Bug 893824 - Don't allow 0 sized SourceSurfaces with Moz2D. r=jrmuizel 2013-07-15 13:28:04 -04:00
Matt Woodrow
cd8567000f Bug 881634 - Only use a single snapshot with DrawTargetSkia. r=Bas 2013-08-01 21:12:16 -04:00
Matt Woodrow
0c8c5ad671 Bug 900133 - Only draw the picture rect of a tiled image. r=nical 2013-08-01 21:12:16 -04:00
Matt Woodrow
a4ce2d33f0 Bug 900133 - Fix leak reporting for MemoryTextureHost. r=nical 2013-08-01 21:12:16 -04:00
Matt Woodrow
3be48e4437 Bug 900133 - Support MaskLayers that are backed by a NewTextureHost. r=nical 2013-08-01 21:12:16 -04:00
Matt Woodrow
9274800265 Bug 900133 - Remove unnecessary printf when adding textures. r=nical 2013-08-01 21:12:15 -04:00
Matt Woodrow
cfb50c37ed Bug 898129 - Only set the texture transform for shaders where it will be used. r=nrc 2013-08-01 21:12:15 -04:00
Matt Woodrow
561f72ffc5 Bug 900188 - Correctly treat WebGL as being single buffered when we share it across ipdl. r=nrc 2013-08-01 21:12:15 -04:00
Guillaume Abadie
4a627d22da bug 899264 - Add OpenGL version and profile support in GLContext - r=jgilbert 2013-08-01 19:43:27 -04:00
Nicolas Silva
f46dc128f3 Bug 899583 - Disallow BigImage with YCbCr compositing. r=BenWa 2013-08-02 01:02:06 +02:00
Guillaume Abadie
b86ca40b74 bug 900702 - GLContext DrawArraysInstanced and DrawElementsInstanced doesn't call {Before,After}GLDrawCall() - r=bjacob 2013-08-01 18:27:54 -04:00
Nicolas Silva
5876362bbe Bug 900012 - Make async-video double buffered. r=mattwoodrow 2013-08-02 00:14:55 +02:00
Nicholas Cameron
f67c88d7e9 back out bug 874721, bug 899435 2013-08-01 18:30:46 +12:00
Nicholas Cameron
db1fba861e Bug 899435. Tidy up pt 3 - d3d11. r=Bas 2013-08-01 17:00:47 +12:00
Nicholas Cameron
048cbdc435 Bug 899435. Tidy up pt 2 - d3d9. r=Bas 2013-08-01 17:00:41 +12:00
Nicholas Cameron
180e532323 Bug 899435. Tidy up pt 1. r=mattwoodrow 2013-08-01 17:00:16 +12:00
Nicholas Cameron
9f0187319e Bug 874721; implement CreateRenderTargetFromSource and clear surfaces before use. r=Bas 2013-08-01 16:53:07 +12:00
Nicholas Cameron
3bfb937e5e Bug 874721; Re-fix WebGL. r=mattwoodrow 2013-08-01 16:53:04 +12:00
Nicholas Cameron
9e1943584e Bug 874721. Ensure a compositable is valid before use. r=Bas 2013-08-01 16:52:57 +12:00
Nicholas Cameron
4cd532521f Bug 874721; don't OOM with large canvases. r=Bas 2013-08-01 16:52:53 +12:00
Nicholas Cameron
19f4e0a65c Bug 874721; identify multi-process OMTC and use shmem. r=Bas 2013-08-01 16:52:46 +12:00
Nicholas Cameron
9d09b0b60d Bug 874721. Fallback for EnsureAllocated and compositor, and some more sanity checks. r=mattwoodrow 2013-08-01 16:52:36 +12:00
Nicholas Cameron
068a3c90a4 Bug 874721. CompositorD3D9, r=Bas 2013-08-01 16:50:52 +12:00
Guillaume Abadie
aebb9dff59 bug 899811 - step 01 - gfx/gl/GLContext.h consolidation - r=bjacob,jgilbert 2013-07-31 19:18:06 -04:00
Nicholas Cameron
936a43cf50 Bug 897839. Use OMTC for invisible windows and initialise LayerTreeState::mParent. r=mattwoodrow 2013-08-01 10:20:24 +12:00
Nicholas Cameron
3ffc0fea6a Bug 897409. Use a temporary surface instead of forcing image surfaces (v2). r=mattwoodrow 2013-08-01 10:17:41 +12:00
Jim Chen
02ade91805 Bug 881018 - Never inline TiledLayerBuffer::GetScaledTileLength to avoid crash; r=Cwiiis 2013-07-31 13:26:44 -04:00
Jim Chen
2d9ab495c1 Backout rev 9497429e8463 (bug 881018) to land real fix 2013-07-31 13:26:21 -04:00
Birunthan Mohanathas
186d1e17e2 Bug 784739 - Switch from NULL to nullptr in gfx/thebes/; r=ehsan 2013-07-31 11:44:31 -04:00
Kartikaya Gupta
e56113f533 Bug 890932 - Add a missing lock in AsyncPanZoomController::SendAsyncScrollEvent. r=BenWa 2013-07-31 08:53:17 -04:00
Kartikaya Gupta
aa06750a8e Bug 890932 - Remove unnecessary internal method now that the monitor re-entrant. r=BenWa 2013-07-31 08:53:16 -04:00
Kartikaya Gupta
e7eb189cc7 Bug 890932 - Make AsyncPanZoomController::mMonitor re-entrant to reduce code madness. r=BenWa 2013-07-31 08:53:16 -04:00
Ryan VanderMeulen
876ec34e66 Backed out changeset 6846b610be41 (bug 897409) for suspicion of making Win8 mochitest-mc perma-orange. 2013-07-30 22:28:46 -04:00
Ryan VanderMeulen
02d1dbe0d8 Merge m-c to inbound. 2013-07-30 18:08:18 -04:00
Nicholas Cameron
5b1bec37f3 Bug 897839. Add some null checks for the compositor map. r=mattwoodrow 2013-07-31 09:45:42 +12:00
Nicholas Cameron
604246128e Bug 897409. Use a temporary surface instead of forcing image surfaces. r=mattwoodrow 2013-07-31 09:45:31 +12:00
Timothy Nikkel
d619fd2bc6 Bug 899730. Part 2. Use nsIntRegion::Area in layers and get rid of the unneeded GetRegionArea function that does the same. r=nrc 2013-07-30 16:10:32 -05:00
Timothy Nikkel
32789e313a Bug 899730. Part 1. Add nsIntRegion::Area (it just uses nsRegion::Area). r=mats 2013-07-30 16:10:29 -05:00
Kartikaya Gupta
795301b997 Bug 866232 - Fix build breakage introduced in f69d34718660. r=me 2013-07-30 14:55:57 -04:00
Kartikaya Gupta
40271aeb0c Bug 866232 - Break assumption of a single global root layer tree. r=BenWa, mattwoodrow 2013-07-30 14:03:43 -04:00
Kartikaya Gupta
0ab038a3d2 Bug 866232 - Only fire mozbrowserasyncscroll events on the top-level scrollable for backwards compatibility. r=BenWa 2013-07-30 14:03:42 -04:00
Kartikaya Gupta
c27169836e Bug 866232 - Update and re-enable the test for hit detection in the APZC tree. r=BenWa 2013-07-30 14:03:41 -04:00
Kartikaya Gupta
288b98292e Bug 866232 - Add visible region tracking and hit-testing code for APZCTreeManager. r=BenWa, mattwoodrow 2013-07-30 14:03:41 -04:00
Kartikaya Gupta
ef737ecf30 Bug 866232 - Extract a GetCurrentAsyncTransform method in APZC. r=BenWa 2013-07-30 14:03:41 -04:00
Kartikaya Gupta
d725e5e6a1 Bug 866232 - Some documentation/variable renaming cleanup. r=BenWa 2013-07-30 14:03:40 -04:00
Kartikaya Gupta
81eb2a5995 Bug 866232 - Add code to build the APZC tree on layer updates. r=BenWa, mattwoodrow 2013-07-30 14:03:40 -04:00
Kartikaya Gupta
047677d3e3 Bug 866232 - Add an APZCTreeManager to encapsulate the multiple APZCs corresponding to a given layer tree. r=BenWa, mattwoodrow 2013-07-30 14:03:40 -04:00
Kartikaya Gupta
3a19367421 Bug 866232 - Add support for delaying APZC creation until the layer update. r=BenWa 2013-07-30 14:03:40 -04:00
Kartikaya Gupta
d87852c133 Bug 866232 - Guard some APZC fields by a lock so they can be nulled out from the compositor thread. r=BenWa 2013-07-30 14:03:39 -04:00
Kartikaya Gupta
56b257378e Bug 866232 - Move around code in APZC to more easily allow creating it on the compositor thread. r=BenWa 2013-07-30 14:03:39 -04:00
Kartikaya Gupta
b91095aea2 Bug 866232 - Reserve a layer tree id for the root layer tree. r=BenWa 2013-07-30 14:03:38 -04:00
Nicolas Silva
2b6a0c31a2 Bug 858914 - New texture classes + OGL backend (preffed off). r=bas, nrc 2013-07-30 11:59:51 +02:00
David Zbarsky
10f3eae40e Backout 40683014a638 for causing mochitest orange 2013-07-29 21:11:01 -07:00
David Zbarsky
2708b889b0 Bug 895116: Lock the mask texture before compositing with BasicCompositor r=bas 2013-07-29 16:04:09 -07:00
David Zbarsky
d3fdca2e8d Bug 898105 - Remove nsIDOMTouch r=reuben 2013-07-29 16:04:09 -07:00
Ehsan Akhgari
085494b95d Bug 895322 - Part 1: Replace the usages of MOZ_STATIC_ASSERT with C++11 static_assert; r=Waldo
This patch was mostly generated by running the following scripts on the codebase, with some
manual changes made afterwards:

# static_assert.sh
#!/bin/bash
# Command to convert an NSPR integer type to the equivalent standard integer type

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.cc" \
         -o -iname "*.mm" \) | \
    xargs -n 1 `dirname $0`/assert_replacer.py #sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_STATIC_ASSERT static_assert
hg rev --no-backup mfbt/Assertions.h \
                   media/webrtc/signaling/src/sipcc/core/includes/ccapi.h \
                   modules/libmar/src/mar_private.h \
                   modules/libmar/src/mar.h


# assert_replacer.py
#!/usr/bin/python

import sys
import re

pattern = re.compile(r"\bMOZ_STATIC_ASSERT\b")

def replaceInPlace(fname):
  print fname
  f = open(fname, "rw+")
  lines = f.readlines()
  for i in range(0, len(lines)):
    while True:
      index = re.search(pattern, lines[i])
      if index != None:
        index = index.start()
        lines[i] = lines[i][0:index] + "static_assert" + lines[i][index+len("MOZ_STATIC_ASSERT"):]
        for j in range(i + 1, len(lines)):
          if lines[j].find("                 ", index) == index:
            lines[j] = lines[j][0:index] + lines[j][index+4:]
          else:
            break
      else:
        break
  f.seek(0, 0)
  f.truncate()
  f.write("".join(lines))
  f.close()

argc = len(sys.argv)
for i in range(1, argc):
  replaceInPlace(sys.argv[i])

--HG--
extra : rebase_source : 4b4a4047d82f2c205b9fad8d56dfc3f1afc0b045
2013-07-18 13:59:53 -04:00
Chris Kitching
5ac5ecb22d Bug 898028 - Fix crash @ gfxUtils::ConvertBGRAtoRGBA(). r=jgilbert 2013-07-29 16:24:57 -04:00
Jeff Muizelaar
06379397bc Bug 898803. Add support for different surface formats to DrawTargetCG. r=joe
This causes us to get cleartype when drawing with alpha with CG.

--HG--
extra : rebase_source : 611c5b76ce0ea926ea8e1e26501ca3d8d9a6b452
2013-07-29 15:01:29 -04:00
John Daggett
a9de42a1ec Bug 857142 - change name and switch to grayscale value. r=dbaron 2013-07-30 05:01:14 +09:00
John Daggett
64789c29d2 Bug 898267 - support font smoothing in Azure CG backend. r=jrmuizel 2013-07-30 05:00:53 +09:00
John Daggett
bed3fbfbd2 Bug 857142 - implement -moz-font-smoothing. r=dbaron 2013-07-30 05:00:41 +09:00
Trevor Saunders
64dbc43c4d backout bug 886526 because it probably made us use a lot more memory to link on windows 2013-07-29 11:03:21 -04:00
Bas Schouten
402ce3b9ba Bug 877700: Limit the Source region to the area of the parent layer surface. r=roc 2013-07-29 10:35:48 +00:00
Ed Morley
68957fc8a4 Backed out changeset 31a1b6fff957 (bug 857142) for reftest failures 2013-07-29 11:09:26 +01:00
Ed Morley
1d1beb8a4e Backed out changeset 04a45dec4326 (bug 898267) 2013-07-29 11:08:52 +01:00
Ed Morley
8ccc97c967 Backed out changeset 7174bdf1201e (bug 857142) 2013-07-29 11:08:49 +01:00
John Daggett
b011ed564d Bug 857142 - change name and switch to grayscale value. r=dbaron 2013-07-29 17:33:52 +09:00
John Daggett
c3d536ed2b Bug 898267 - support font smoothing in Azure CG backend. r=jrmuizel 2013-07-29 17:33:43 +09:00
John Daggett
60b8376081 Bug 857142 - implement -moz-font-smoothing. r=dbaron 2013-07-29 17:33:35 +09:00
Robert O'Callahan
55f5153795 Backing out 6ba07a3e0c80 (bug 892978) to fix test failures 2013-07-29 11:51:37 +12:00
Nicholas Cameron
908fdf34c3 Bug 756606. Add LockDrawTarget to shmem texture clients. r=Bas 2013-07-29 10:12:37 +12:00
Nicholas Cameron
55c1931c05 Bug 756606. Don't try to fast path D2D A8 surfaces in GetSourceSurfaceForSurface. r=Bas 2013-07-29 10:12:37 +12:00
Guillaume Abadie
9948cf0afc bug 892978 - [WebGL 2.0] Query objects (GL_ARB_occlusion_query) - r=jgilbert 2013-07-28 11:59:03 -04:00
Ryan VanderMeulen
20fabd9691 Merge m-c to inbound. 2013-07-25 21:59:02 -04:00
Ed Morley
4cc671a850 Merge mozilla-central and birch 2013-07-25 17:05:50 +01:00
Michael Wu
5cb1d9f27d Bug 895417 - Fix refpoint coordinates sent to child processes, r=kats 2013-07-24 21:49:49 -04:00
Peter Chang
62cc49610d Bug 758845 - Enable Skia on B2G, r=gw280 2013-07-25 19:46:53 +08:00
Guillaume Abadie
1c838a60f4 bug 892546 - [WebGL 2.0] Instanced Rendering (GL_ARB_draw_instanced) - r=jgilbert 2013-07-25 20:38:58 -04:00
Peter Chang
1dcb6e83b0 Bug 894262 - Merge GonkIOSurfaceImage to GrallocImage, r=nical, kanru 2013-07-25 10:13:35 +08:00
Ryan VanderMeulen
ece161737c Merge m-c to inbound. 2013-07-24 18:27:51 -04:00
Guillaume Abadie
bb511b1b98 bug 890277 - ANGLE libGLESv2 Integer Overflow - r=bjacob 2013-07-24 17:57:41 -04:00
Ryan VanderMeulen
0f4f42b485 Backed out changeset d264bdb8b400 (bug 884188). 2013-07-24 11:15:47 -04:00
Nicolas Silva
e6812e0741 Bug 858914 - Mark some Image related classes deprecated. r=jrmuizel DONTBUILD 2013-07-24 18:08:35 +02:00
Nicolas Silva
001b30bb46 backed out changeset 9089fe288899 because of wrong bug number 2013-07-24 18:03:41 +02:00
Nicolas Silva
6677c99d45 Backed out changeset 9089fe288899 2013-07-24 18:01:39 +02:00
David Anderson
bb159eb494 Only use DirectX 11.1 on Windows 8 or higher (bug 893221, r=bas).
--HG--
extra : rebase_source : 147493bef3e487c6ab5424c3e4a4fd2fd2440e09
2013-07-24 11:52:54 -04:00
Nicolas Silva
3e4aab0b5a Bug 868914 - Mark some Image related classes deprecated. r=jrmuizel 2013-07-24 17:43:35 +02:00
Nicolas Silva
5038e7de67 Bug 858914 - Make CreateTexturedEffect take SurfaceFormat + TextureSource instead of TextureHost. r=Bas 2013-07-24 17:34:09 +02:00
Nicholas Cameron
62a6b6a6e5 Bug 895369. Add some asserts to ThebesLayerBuffer. r=mattwoodrow 2013-07-24 18:46:27 +12:00
Nicolas Silva
4251e90afe Bug 892505 - Implement gfx::Factory::CreateDataSourceSurface. r=bas 2013-07-17 16:07:44 +02:00
Jim Chen
28766dbc6a Bug 881018 - Crash when TiledLayerBuffer::GetScaledTileLength returns 0; r=cwiiis 2013-07-24 11:17:49 -04:00
Jim Chen
b95fd80400 Backout f26e4c26ce4a (bug 881018) to land a different patch 2013-07-24 11:10:55 -04:00
David Zbarsky
89fa9ed5fb Bug 895116: Fix masking with BasicCompositor r=mattwoodrow 2013-07-23 16:38:46 -07:00
Bill McCloskey
56463b4279 Bug 896651 - Need to clean up resources for out-of-process layer trees when shutting down (r=mattwoodrow) 2013-07-23 14:53:22 -07:00
Guillaume Abadie
98bb00eeef Bug 896814 - GLContext add enum GLExtensionPackages. r=jgilbert
DONTBUILD
2013-07-23 17:33:51 -04:00
Ryan VanderMeulen
913ce56ee9 Backed out changeset 590fc39b6a1c (bug 892546) for landing with the wrong bug number. 2013-07-23 17:40:28 -04:00
Guillaume Abadie
782f81f6d0 bug 892546 - GLContext add enum GLExtensionPackages - r=jgilbert 2013-07-23 17:33:51 -04:00
Botond Ballo
f79359461b Bug 895904 - Hook up NativePanZoomController.abortAnimation(). r=kats 2013-07-23 16:41:22 -04:00
Brian R. Bondy
ffa4a02e06 Bug 869940 - Fix scaling issue with high dpi devices. r=kats 2013-07-25 13:15:10 -04:00
Brian R. Bondy
98b679c2f8 Bug 869940 - Implement pan start/end notifications from APZC. r=kats 2013-07-25 13:15:06 -04:00
Arnaud Bienner
e9ec0f66a3 Bug 875753 - Color input: Gtk widget. r=karlt 2013-06-22 15:39:43 +02:00
Timothy Nikkel
14c31d8c29 Bug 837242. Part 2. Add a function to calculate the area of an nsRegion. r=roc 2013-07-30 11:22:43 -05:00
Jeff Muizelaar
0e7b768178 Bug 891650. Use mTransform instead of GetDTTransform() in Mask(). r=bas
GetDTTransform includes the device offset. We need to avoid that in order for things to work properly.

--HG--
extra : rebase_source : 5a8ae0011f16b85421df182263ec3137cecf6a6b
2013-07-30 10:15:27 -04:00
Ehsan Akhgari
3717325909 Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted 2013-07-30 10:25:31 -04:00
Joshua Cranmer
bb26e8f816 Bug 884061 - Part 4: Remove nsAtomicRefcnt.h, r=jlebar
--HG--
extra : rebase_source : ce24ab345baa48104328e3c101b7266a31e81870
2013-07-11 15:21:45 -05:00
Joshua Cranmer
32dfbcdb91 Bug 884061 - Part 3i: Use NS_DECL_THREADSAFE_ISUPPORTS in gfx/, r=roc
--HG--
extra : rebase_source : 130357bc9a7ad66cb0574f7bf3ac69e1c3f4a2ff
2013-07-18 21:23:31 -05:00
Jonathan Kew
deaf3f5b3a backout bug 879963 (changesets 4a3befee43f1, 09c9359bdd43, 32ffcd6db605) due to Nightly crashiness, see bug 896200. 2013-07-23 09:38:57 +01:00
Botond Ballo
ffdcf14f78 Bug 859929 - Make AsyncPanZoomController work with progressive tile painting on Fennec. r=kats 2013-07-22 22:33:05 -04:00
Nicholas Cameron
7b970f96bc Bug 756606. Implement CreateRenderTargetFromSource. r=Bas 2013-07-23 11:07:49 +12:00
Nicholas Cameron
63b1b6b28c Bug 756606. Fix a bug in EnsureAllocated. r=Bas 2013-07-23 11:05:49 +12:00
Nicholas Cameron
0e08ffc8b2 Bug 756606; formatting nits for the d3d11 compositor. r=Bas 2013-07-23 11:05:04 +12:00
Ed Morley
ae26701147 Merge mozilla-central and inbound 2013-07-22 16:52:23 +01:00
Ed Morley
b1cb3918fd Merge latest green birch changeset and mozilla-central 2013-07-22 16:18:53 +01:00
Birunthan Mohanathas
40dd09f1f6 Bug 784739 - Switch from NULL to nullptr in gfx/src/; r=ehsan
--HG--
extra : rebase_source : 28d7747c0a41a87ee064129b4f06ee23f1731c12
2013-07-20 11:48:56 +03:00
Birunthan Mohanathas
60a64dee75 Bug 784739 - Switch from NULL to nullptr in gfx/layers/; r=ehsan
--HG--
extra : rebase_source : d6b0d229e1bdbe53c515b13c73c7b53839d9c756
2013-07-20 11:48:55 +03:00
Birunthan Mohanathas
25090caac6 Bug 784739 - Switch from NULL to nullptr in gfx/layers/opengl/; r=joe
--HG--
extra : rebase_source : 65e2c8e72dc4b20ef9aa50688c9320792fca69ee
2013-07-20 11:48:55 +03:00
Birunthan Mohanathas
a6c780dc22 Bug 784739 - Switch from NULL to nullptr in gfx/layers/ipc/; r=ehsan
--HG--
extra : rebase_source : 36cb1b9738de269a10cea871242b0b51588d0f3b
2013-07-20 11:48:55 +03:00
Birunthan Mohanathas
c5fd62b084 Bug 784739 - Switch from NULL to nullptr in gfx/layers/d3d9/; r=ehsan
--HG--
extra : rebase_source : 6628eb59eef0bb828fbcff03ad967f7fc97c437d
2013-07-20 11:48:55 +03:00
Birunthan Mohanathas
24af72d1d5 Bug 784739 - Switch from NULL to nullptr in gfx/layers/d3d11/; r=ehsan
--HG--
extra : rebase_source : 9e5625a5318cfb79370c6e944bc9e651822ddd2c
2013-07-20 11:48:55 +03:00
Birunthan Mohanathas
45adea6c72 Bug 784739 - Switch from NULL to nullptr in gfx/layers/d3d10/; r=ehsan
--HG--
extra : rebase_source : 69b7ab7e4aa0eed92d597451bcab820f9d5c3957
2013-07-20 11:48:55 +03:00
Birunthan Mohanathas
fd8b442a08 Bug 784739 - Switch from NULL to nullptr in gfx/layers/composite/; r=ehsan
--HG--
extra : rebase_source : c0f144ec277ed64f32c584f1be9e38bac3d1dde3
2013-07-20 11:48:55 +03:00
Birunthan Mohanathas
4ff3c8e76a Bug 784739 - Switch from NULL to nullptr in gfx/ipc/; r=ehsan
--HG--
extra : rebase_source : b589ee0a3207a6522a8f47a4edfa7ca9fc49469e
2013-07-20 11:48:55 +03:00
Birunthan Mohanathas
1332e2dec8 Bug 784739 - Switch from NULL to nullptr in gfx/gl/; r=ehsan
--HG--
extra : rebase_source : 236322c2d0e4d5c8917d900f768852139b0abc80
2013-07-20 11:48:55 +03:00
Birunthan Mohanathas
fd20fbd749 Bug 784739 - Switch from NULL to nullptr in gfx/2d/; r=Bas
--HG--
extra : rebase_source : 340bb0ff65c56c23bf2a4c8e24d082e938997831
2013-07-20 11:48:55 +03:00
Jeff Muizelaar
71a7916743 Bug 896129. Use CGContextDrawImage when appropriate in FillRect(). r=mattwoodrow
This fixes the element-paint-paintserversize-rounding-02.html reftest.
2013-07-19 20:39:31 -04:00
Chris Lord
8c0e0a398a Bug 886298 - Convert Layers fixed position margins to typed units. r=kats 2013-07-22 09:50:13 +01:00
Chris Lord
f520fc2e89 Bug 886298 - Add a typed-units Margin. r=kats 2013-07-22 09:50:11 +01:00
Chris Lord
5bcdfe829a Bug 886298 - Convert Layers fixed position anchor to typed units. r=kats 2013-07-22 09:50:09 +01:00
Chris Lord
e4a02f9145 Bug 876542 - Restore async pan/zoom compensation behaviour during overscroll. r=roc
Bug 876542 introduces a patch that reworks how we maintain the position of
fixed position layers, but didn't handle overscroll/zoom. This restores the old
behaviour in this situation.
2013-07-22 09:50:07 +01:00
Chris Lord
67c9718706 Bug 876542 - Restore async fixed layer margin animation. r=roc, kats
Restore the reconciliation between content document fixed position margins at
render time and the fixed layer margins as retrieved via SyncViewportInfo
during async panning/zooming.
2013-07-22 09:50:05 +01:00
Jeff Muizelaar
bda5f61652 Bug 896290. Support drawing with antialaising in DrawTargetCG. r=mattwoodrow 2013-07-19 08:18:18 -04:00
David Zbarsky
37dea7b59f Bug 895116: CreateBasicDeprecatedTextureHost should pass along the texture flags r=mattwoodrow 2013-07-21 04:16:28 -07:00
Jacek Caban
c7b2dbb23c Bug 883004 - GCC bustage fix 2013-07-20 12:37:04 +02:00
Jeff Muizelaar
f4d062eadf Bug 895646. Use the pattern transform when drawing gradients with DrawTargetCG. r=mattwoodrow 2013-07-16 11:27:12 -04:00
Jeff Muizelaar
c9db22097b Bug 893977. Support repeating gradients in the CoreGraphics backend. r=mattwoordow
CoreGraphics doesn't support repeating gradients natively so we have to
manually repeat them. This change missing support for interpolating a
stop for the center if it doesn't line up correctly. That will come later.
2013-07-18 20:08:51 -04:00
Jed Davis
161ecbbbcb Bug 895722 - Don't remove elements from mDurations if it's empty. r=BenWa 2013-07-19 21:20:11 -04:00
Gervase Markham
83c0913922 Bug 715549 - remove last vestiges of tri-licence. DONTBUILD. 2013-07-19 16:08:33 +01:00
Jonathan Kew
e9df9a17d2 bug 879963 - part 2 - avoid adding duplicate face entries to a user font family. r=dbaron 2013-07-17 12:53:31 +01:00
James Willcox
d7e45d009a Bug 894405 - fix leaks on a CLOSED TREE
--HG--
extra : rebase_source : d96236c0c9c370bdb055d3ab197707d48f8afe80
2013-07-19 00:23:07 -04:00
Wes Kocher
27bac0ed90 Backout df425bca5665 (bug 893977) for breaking the build on a CLOSED TREE 2013-07-18 21:16:20 -07:00
Wes Kocher
dfff5aa2ec Backout 7c2fd5db93b2 (bug bug 895646) for breaking the build on a CLOSED TREE 2013-07-18 21:15:29 -07:00
Matt Woodrow
95f126bb35 Bug 894891 - Follow-up to fix bustage, remove unused shader from the enum. CLOSED TREE 2013-07-19 00:10:21 -04:00
Jeff Muizelaar
5a65f982f2 Bug 895646. Use the pattern transform when drawing gradients with DrawTargetCG. r=mattwoodrow 2013-07-16 11:27:12 -04:00
Jeff Muizelaar
1ea74c7e1a Bug 893977. Support repeating gradients in the CoreGraphics backend. r=mattwoordow
CoreGraphics doesn't support repeating gradients natively so we have to
manually repeat them. This change missing support for interpolating a
stop for the center if it doesn't line up correctly. That will come later.
2013-07-18 20:08:51 -04:00
Matt Woodrow
e5615c4e91 Bug 885580 - Make sure that Compositor::GetBackend is only used [Cfrom the compositor thread. r=nical 2013-06-27 11:30:52 +12:00
Matt Woodrow
91e1d99b69 Bug 889515 - Get rid of static sCompositorParent. r=nical 2013-07-11 22:32:09 -04:00
Matt Woodrow
25483332a6 Bug 894891 - Move texture transform from the RGBATextureLayerExternal shader into the vertex shader, and combine the two GL_TEXTURE_EXTERNAL shaders. r=jrmuziel 2013-07-18 23:05:06 -04:00
Matt Woodrow
39cbcffa7c Bug 894891 - Use the correct shader for b2g video. r=nrc 2013-07-18 23:05:06 -04:00
James Willcox
efe7380da2 Bug 894405 - Ref GLContext before sending SurfaceStream to compositor r=jgilbert 2013-07-17 13:03:18 -04:00
James Willcox
019945aae0 Bug 895036 - Lower the SkiaGL texture cache size r=gwright 2013-07-09 16:12:49 -04:00
Matt Woodrow
603394d667 Bug 884888 - Fix shadow drawing in SkiaGL r=snorp 2013-06-27 11:22:09 +12:00
Robert O'Callahan
ce6e479429 Bug 876542. Rework TransformFixedLayers so that it explicitly makes layer anchor points invariant under a change in transform of a specified ancestor layer. r=Cwiiis,kats 2013-06-24 13:34:33 +12:00
James Willcox
23ccf56611 Bug 885632 - Always use soft clipping with SkiaGL r=mattwoodrow 2013-06-21 15:28:10 -04:00
James Willcox
f336c23ebd Bug 887318 - Fix SkiaGL readback when BGRA unavailable r=jgilbert 2013-06-27 10:20:21 -04:00
George Wright
24ba6a5f22 Bug 895086 - Remove unused find_from_uniqueID() function from SkFontHost_linux r=mattwoodrow 2013-07-17 16:28:07 -04:00
Ryan VanderMeulen
ba97a4cddb Merge m-c to inbound on a CLOSED TREE. 2013-07-18 14:53:05 -04:00
Ryan VanderMeulen
13f0d3990b Merge m-c to birch. 2013-07-18 14:47:54 -04:00
Jim Chen
d29289ef8f Bug 881018 - Save TiledLayerBuffer::mResolution to stack to help investigate crash; r=kats 2013-07-18 01:52:38 -04:00
Matt Woodrow
b2e24adee4 Bug 886667 - Just assert rather than aborting when our framebuffer is invalid. r=jrmuizel 2013-07-16 15:56:10 -04:00
Ehsan Akhgari
c069003a4b Bug 895141 - Remove useless prlong.h inclusions from the tree; r=jcranmer 2013-07-18 12:06:38 -04:00
Guillaume Abadie
bed7e23323 Bug 890926 - WebGL2 Min/max blend equations. r=jgilbert 2013-07-18 11:24:23 -04:00