Commit Graph

17979 Commits

Author SHA1 Message Date
neil@parkwaycc.co.uk
bece8444a3 Bug 1103868 - "'SupportsD2D1' : is not a member of 'mozilla::gfx::Factory'". r=bas 2014-11-26 01:33:00 +01:00
Ryan VanderMeulen
9e581b1d56 Merge m-c to inbound. a=merge 2014-11-26 21:43:23 -05:00
Ryan VanderMeulen
b3ebe654a9 Merge b2g-inbound to m-c. a=merge 2014-11-26 21:39:08 -05:00
Ryan VanderMeulen
7f46616db0 Backed out changesets 258ac2909d6e and 55252aebf52d (bug 1099437) for bustage.
CLOSED TREE
2014-11-26 14:14:16 -05:00
Kartikaya Gupta
f0cd002422 Bug 1085404 - When interacting with a fast-moving APZC, don't send the events to content. r=botond 2014-11-26 12:41:06 -05:00
Kartikaya Gupta
9ad226a883 Bug 1105295 - Stop using scrollinfo layers when event regions are enabled. r=botond 2014-11-26 12:40:55 -05:00
Milan Sreckovic
f9a7013c29 Bug 1099437 - Part 2: Clean up int vs uint usage. r=nical 2014-11-20 15:23:41 -05:00
Milan Sreckovic
411c282565 Bug 1099437 - Part 1: Protect against negative sizes and overflow. r=nical 2014-11-20 15:07:22 -05:00
Carsten "Tomcat" Book
23ce0dc648 Backed out changeset c70381132ccf (bug 1060869) 2014-11-26 11:57:06 +01:00
Seth Fowler
573fc1be58 Bug 1060869 (Part 3) - Make the SurfaceCache free only a fraction of its data on memory pressure. r=dholbert 2014-11-26 01:37:56 -08:00
James Willcox
4baca31f84 Bug 1097116 - More build bustage r=me
--HG--
extra : rebase_source : 74dce437c198a17280d1fdf459d4e87a64808b21
2014-11-26 16:22:41 -06:00
Nicolas Silva
5b9e4409a2 Bug 1036682 - Prevent LayerTransactionChild from sending messages after it has been destroyed. r=jrmuizel 2014-11-26 14:11:11 -08:00
Nicolas Silva
01dc7cd769 Bug 1086670 - Add more gfxCriticalError logging in the D2D backend. r=jrmuizel 2014-11-26 21:05:01 +01:00
James Willcox
e0e268d8b1 Bug 1097116 - Followup for non-unified build breakage r=me CLOSED TREE
--HG--
extra : rebase_source : 697dc2f8d1661196ac8bb169fc4797b59af61fa3
extra : amend_source : 2aa014a0dec495466b854aebd5b19d1b5de4279e
2014-11-26 15:43:57 -06:00
James Willcox
54b19cef89 Bug 1097116 - Fix readback for EGLImageImage r=jgilbert
--HG--
extra : rebase_source : 038ddc25801541512a4e8231e4a6b586ed02c02b
2014-11-26 15:16:08 -06:00
James Willcox
fe1117609c Bug 1097116 - Copy the decoded SurfaceTexture into an EGLImage to allow accurate presentation r=jgilbert
--HG--
extra : rebase_source : d3165eb2d9534f82c84e3399e744e0c31b64c2dd
2014-11-26 15:16:07 -06:00
James Willcox
ff5ac4a822 Bug 1097116 - Add fencing and better lifetime management for EGLImage Images r=jgilbert
--HG--
extra : rebase_source : 8da8c1e9e5ded06c8735ee5d30f8333f829064c5
2014-11-26 15:16:07 -06:00
Seth Fowler
841625f805 Bug 1060869 (Part 3) - Make the SurfaceCache free only a fraction of its data on memory pressure. r=dholbert 2014-11-26 13:22:10 -08:00
Nicolas Silva
fb73844f4c Bug 1101636 - Cleanup the CompositorType enum. r=jrmuizel 2014-11-26 02:00:34 +01:00
Nicolas Silva
49d7294bfb Bug 1102917 - Remove the TextureInfo member from client compositables. r=sotaro 2014-11-25 20:19:13 +01:00
Nicolas Silva
a491a3acfe Bug 1102895 - Remove unused TextureFlags. r=sotaro 2014-11-25 20:19:04 +01:00
Milan Sreckovic
f03d959dfa Bug 1104837: Add warnings and assertions when our assumptions about tile pools fail. r=nical 2014-11-25 14:54:29 -05:00
Sotaro Ikeda
9cdf93e85c Bug 1103213 - Do not compose when layer does not exist r=nical 2014-11-25 06:40:30 -08:00
Kartikaya Gupta
1219436c71 Bug 1104282 - Add missing include. r=botond 2014-11-25 08:45:57 -05:00
Kartikaya Gupta
3b921e945e Bug 1104266 - Add logging of nsDisplayLayerEventRegions fields in the display list dump. r=mattwoodrow 2014-11-25 08:45:20 -05:00
Carsten "Tomcat" Book
8a491969a5 Backed out changeset a5d577ebb3d0 (bug 1060869) 2014-11-25 14:13:55 +01:00
Seth Fowler
54a6933009 Bug 1060869 (Part 3) - Make the SurfaceCache free only a fraction of its data on memory pressure. r=dholbert
--HG--
extra : rebase_source : 432056ddc161ca128aabfa7adeef763a3250a070
2014-11-25 00:10:11 -08:00
Jonathan Kew
c17b663150 Bug 1103388 - Use sideways orientation for lone <space> when text-orientation is mixed. r=smontagu 2014-11-24 21:42:53 +00:00
Bas Schouten
1777de4ad9 Bug 1026893 - Followup: Address review comment. r=me 2014-11-24 21:11:24 +00:00
Bas Schouten
45cf1ecfed Bug 1026893 - Catch exceptions during D3D11 initialization. r=jmuizelaar 2014-11-24 15:40:29 -05:00
Bas Schouten
95cd1d27f9 Bug 1103176: Block Direct2D when D3D11 layers is blacklisted. r=BenWa
When the D3D11 compositor is blocked through blacklisting, we have no way of using Direct2D in a fast manner and do not want it to be used in any situation.
2014-11-24 19:44:52 +00:00
Bas Schouten
ffe18e720f Bug 1103135: Fix CompositorBench code to build again. r=benwa 2014-11-24 19:44:51 +00:00
Bas Schouten
08dbb53c8c Bug 1101248: Properly check return values of creation functions in DrawTargetD2D1::Init. r=BenWa 2014-11-24 19:44:48 +00:00
Kartikaya Gupta
da1d7035e5 Bug 1056388 - Add assertions as per TODO. r=botond 2014-11-24 13:23:57 -05:00
Robert Longson
4b9965e1ed Bug 1099197 - Determine the bounds of unstroked polylines/polygons directly. r=jwatt 2014-11-24 14:28:58 +00:00
Jacek Caban
416d586a14 Bug 1102809 - Fixed -Wunused-function warnings found in mingw build. r=mattwoodrow 2014-11-24 11:19:36 +01:00
Dan Glastonbury
115f45be7d Bug 1097413 - Symbolic constants kGLESVersion2 and kGLESVersion3. r=jgilbert
--HG--
extra : rebase_source : 4d82f144bf9b713b50d995cf4db9340098b8f346
extra : source : 2204f9511fc39f27da83f32dfb9596558e67f83a
2014-10-27 09:31:57 +10:00
Neil Rashbrook
dc12b131f1 Bug 1101130 Followup to add a missing #ifdef r=Bas 2014-11-23 23:53:00 +00:00
Jonathan Watt
9910919cdd Bug 1103623 - Port most remaining gfxContext::Fill() calls to Moz2D. r=mattwoodrow 2014-11-24 00:04:33 +00:00
Jonathan Watt
e598736fc1 Bug 1103621 - Get rid of GraphicsOperator::OPERATOR_CLEAR. r=mattwoodrow 2014-11-20 10:40:04 +00:00
Jonathan Watt
20d92be1bc Bug 1103620 - Remove gfxContext::CurveTo and gfxContext::QuadraticCurveTo. r=mattwoodrow 2014-11-19 08:05:14 +00:00
Gary Kwong
4b8c6a7a2e Bug 428633 - crashtest. 2014-11-23 15:09:50 +00:00
Kartikaya Gupta
3c73404215 Bug 918288 - Add logging for some of the SetTargetAPZ codepaths. r=botond 2014-11-21 21:36:26 -05:00
Kartikaya Gupta
6b5ac6ea72 Bug 918288 - Modify the SetTargetAPZC API to take an array of targets for multiple touch points. r=botond 2014-11-21 21:36:25 -05:00
Bas Schouten
f62c69e9d3 Bug 892910: Deal with newSize becoming empty in CreatePartialBitmapForSurface. r=BenWa
This patch deals with the situation where newSize becomes empty and causes a division by 0 in the current code. It also ensures all the callers will abort any potential drawing when CreatePartialBitmapForSurface returns a nullptr.
2014-11-20 20:48:01 +00:00
Wes Kocher
6b37217a66 Backed out changeset 82e94c16732d (bug 1101974) 2014-11-21 10:52:24 -08:00
Wes Kocher
4f61d4867e Backed out changeset 08df10804c35 (bug 1101974) 2014-11-21 10:52:17 -08:00
Mason Chang
a288f3be7d Bug 1101974. Part 2: Initialize vsync source during compositor creation. r=mstange 2014-11-21 09:16:19 -08:00
Mason Chang
bc4ddfe26e Bug 1101974. Part 1. Move VsyncDispatcher to CompositorParent. r=roc 2014-11-21 09:16:19 -08:00
Vladimir Vukicevic
200399e6f3 Bug 1036602 - add generic gfx/layers functionality for VR rendering; r=nical 2014-07-09 12:26:18 -07:00
Vladimir Vukicevic
27e56b034e Bug 1036604 - Add VRDevice interfaces, navigator.getVRDevices call, and Oculus Rift gfxVR; r=bz,jrmuizel 2014-07-09 12:24:49 -07:00
Jonathan Watt
fe181325e2 Bug 1100448 - Protect against null cairo_surface_t when getting the underlying surface from DrawTargetCairo. r=Bas 2014-11-17 21:41:41 +00:00
James Willcox
f409f2a92b Back out bug 1097116 2014-11-21 09:47:03 -06:00
James Willcox
1664129cd2 Bug 1097116 - Fix readback for EGLImageImage r=jgilbert 2014-11-21 09:28:21 -06:00
James Willcox
60e6a04aff Bug 1097116 - Copy the decoded SurfaceTexture into an EGLImage to allow accurate presentation r=jgilbert 2014-11-21 09:28:20 -06:00
James Willcox
d86fc4559b Bug 1097116 - Add fencing and better lifetime management for EGLImage Images r=jgilbert 2014-11-21 09:28:19 -06:00
Boris Chiou
fe464f5aa9 Bug 1096139 - Create websocket dynamically after we enable Layerscope. r=dglastonbury
We have to create the websocket if it doesn't exist after enabling
Layerscope. Therefore, we don't have to reboot the device anymore.

1. Remove the Init and DeInit in CreateCompositor and DestroyCompositor
   to prevent some unwanted deInits on the browser. (Our browser often
   calls DestroyCompositor)
2. Initize websocket only when we need it.
2014-11-20 02:00:00 +01:00
Milan Sreckovic
ca4a4a0efe Bug 1097655 - Guard against invalid shadow manager. r=sotaro 2014-11-19 15:22:03 -05:00
Wes Kocher
a6d238257b Merge m-c to inbound a=merge CLOSED TREE 2014-11-20 18:03:29 -08:00
Wes Kocher
87398db1ad Merge fx-team to m-c a=merge 2014-11-20 17:55:52 -08:00
Benoit Girard
df8f80814b Bug 1098495 - Part 2: Run the layer tree invalidation code on windows. r=mstange ON A CLOSED TREE
--HG--
extra : rebase_source : 1e98356dabedb557ad786dbd49679206e24cf09e
2014-11-20 15:10:18 -05:00
Benoit Girard
66c7911436 Bug 1098495 - Retain a container's intermediate surface's content. r=mattwoodrow
--HG--
extra : rebase_source : cdb691c1127445eeeb2e4fda5a0ef4f2223703fc
2014-11-18 17:33:36 -05:00
Nicolas Silva
f494468d40 Bug 1101552 - Remove the double-buffered ImageClient. r=sotaro 2014-11-20 19:49:51 +01:00
Nicolas Silva
cc878d2bd9 Bug 1086670 - Add some gfxCriticalError logs around DrawTarget creation. r=Bas 2014-11-20 15:48:07 +01:00
Karl Tomlinson
70ad9ee0ee bug 1096132 rename nsDeviceContext PixelScale to FullZoom r=tn
--HG--
extra : rebase_source : b78ffe7ffddf47a9646c1766626f48aed67ebb09
2014-11-10 15:47:55 +13:00
Karl Tomlinson
52e75f00f9 bug 1096132 rename UpdateScaledAppUnits() to UpdateAppUnitsForFullZoom() r=tn
--HG--
extra : rebase_source : d8fee82d9740fc0067d7b9a6e3d6d82fbbb85db0
2014-11-08 17:30:15 +13:00
Karl Tomlinson
ed15675b8b bug 1096132 rename UnscaledAppUnitsPerDevPixel() to AppUnitsPerDevPixelAtUnitFullZoom() r=tn
--HG--
extra : rebase_source : 220ede5d449a752c16064bb77905bc68af3df707
2014-11-14 00:53:02 +13:00
Carsten "Tomcat" Book
5ee5a18c49 Merge mozilla-central to fx-team 2014-11-20 12:22:05 +01:00
David Anderson
397b1a3520 Add inactive subframes to the dispatch-to-content region. (bug 1082594, r=tn,kats) 2014-11-19 20:24:15 -08:00
Tatiana Meshkova
3234ab1f7d Bug 1023156 - Cannot build Qt with errors in gfxQtPlatforms (with Qt 5.3) 2014-11-19 22:02:51 -08:00
Kearwood (Kip) Gilbert
c4083d3a1f Bug 1086723 - Part 2: Test. r=kats
- Reftest added to perform an async scroll and verify that the mask used
  to render the rounded corners of a fixed position element are correctly
  offset.
2014-11-19 12:39:00 +01:00
Kearwood (Kip) Gilbert
f4ebf1682f Bug 1086723 - Enable asynchronous update of mask layer transforms. r=kats
- Layer::ComputeEffectiveTransformForMaskLayer now computes a delta transform
  for the mask layer's effective transform using the masked layer's shadow
  transform and base transform.  This delta is applied to the effective
  transform of the mask layer, with the same effect as if it were also
  transformed by the APZ.
2014-11-14 15:33:00 +01:00
Benoit Girard
09a0591f64 Bug 1087530 - Part 2: Set OGL Scissor during mClearOnBind. r=jmuizel 2014-11-19 15:30:25 -05:00
Benoit Girard
d5c0f44e8b Bug 1101650 - Fix mClearOnBind logic. r=jmuizel 2014-11-19 15:29:23 -05:00
Kartikaya Gupta
ffa15da173 Bug 1100140 - When a scrollable layer is marked as fixed-position, don't treat it as fixed relative to itself. r=botond 2014-11-19 13:41:48 -05:00
Bas Schouten
a3145d15a9 Bug 1101130: Make Direct2D 1.1 clean up its resources on shutdown. r=jrmuizel 2014-11-20 00:16:48 +00:00
Milan Sreckovic
8aa1b59e6c Bug 1095925: Propagate the error up the chain. r=jmuizelaar 2014-11-14 16:11:02 -05:00
Markus Stange
10ca30f002 Bug 1101195 - Update imgData vector length after reading into it. r=jwatt 2014-11-19 11:51:47 -05:00
Jacek Caban
6df0dc3d0a Bug 1068195 - Fix an invalid MOZ_ASSERT in moz2d code, asserting the value of a constant string pointer. r=jrmuizel 2014-11-19 11:08:14 +01:00
Milan Sreckovic
730dbf410b Bug 1074952 - Part 7. Add a logging support for a couple of common Moz2d enums. r=bschouten 2014-11-11 16:09:35 -05:00
Milan Sreckovic
d19b0d26a2 Bug 1074952 - Part 6. Fully qualify the appropriate logs in the logging macros, otherwise we can't call these from other namespaces. An example in non-gfx/2d where it would not have worked without this change. r=botond 2014-11-18 10:51:39 -05:00
Milan Sreckovic
1d0aad208e Bug 1074952 - Part 5. Let the CrashReporter decide what threading combination is allowed. r=nsilva 2014-11-13 14:52:05 -05:00
Milan Sreckovic
de11f7eed9 Bug 1074952 - Part 4. For the critical log, save the first, then circular buffer the rest into the crash annotations. r=bas 2014-11-17 17:16:55 -05:00
Milan Sreckovic
1fa8d3a91b Bug 1074952 - Part 3. Redo the const values and optimize for the case where we decide runtime not to log messages. Move the decision about newline to OutputMessage. Make [GFX#] the default automatic prefix. r=bschouten 2014-10-24 13:54:26 -04:00
Milan Sreckovic
7f44b60a59 Bug 1074952 - Part 2. gfxWarning() should be available in both debug and release builds. r=bas 2014-10-24 13:54:23 -04:00
Milan Sreckovic
e189fc86de Bug 1074952 - Part 1. Expose the level of logging as a preference. r=bschouten 2014-10-24 13:54:20 -04:00
Wes Kocher
92049c1863 Backed out changeset 41ecbb9a5fac (bug 1092634) for reftest bustage 2014-11-18 17:21:08 -08:00
Jeff Muizelaar
5b9dfb3684 Bug 1092260. Use PREVENT_INTERNAL_THREADING_OPTIMIZATIONS with D3D11. r=bas
Using this seems to avoid the AMD frame delay bug.

--HG--
extra : rebase_source : 1b867ebfef30d1c1a426c7510591770f362d2b28
2014-11-18 17:29:57 -05:00
Jeff Muizelaar
ab7985df99 Bug 1101160. D3D11: Make switch statement better. r=bas
This is the order one would expect.

--HG--
extra : rebase_source : 299b3814983d42908c2507028bb1c16c64b0f25f
2014-11-18 15:49:39 -05:00
Markus Stange
a3d313d208 Bug 1097776 - Don't leak the SkBitmapDevice. r=jrmuizel 2014-11-18 17:22:01 -05:00
Markus Stange
d758890dc7 Bug 1097776 - Use Skia for unaccelerated rendering of 3D transforms. r=jrmuizel 2014-11-18 17:21:45 -05:00
Markus Stange
cacfe982d9 Bug 1092634 - Let feColorMatrix and feComponentTransfer generate output outside their input's bounds. r=Bas
This makes the color matrix and component transfer Moz2D filters generate an infinite output, which is then cropped to the primitive's filter primitive subregion by a subsequent crop filter node. This still gives us different behavior than other browser when the primitive subregion is overridden using the x/y/width/height attributes - other browsers either ignore those completely (IE) or only let them crop the default subregion (which is defined to be the same as the input subregion) and not enlargen it - but I'll fix that in a separate bug.
2014-11-18 17:21:19 -05:00
Mason Chang
0818de546a Bug 552020. Part 2. Enable Vsync Profiler Markers across platforms. r=benwa 2014-11-18 13:28:42 -08:00
Mason Chang
74c80403e2 bug 552020 Part 1: Hook into CVDisplayLink to get vsync events on OSX. r=benwa,mstange 2014-11-18 13:28:42 -08:00
Wes Kocher
9581b5ae7b Backed out changeset 0092a5e1467d (bug 1097776) for reftest failures and leaks 2014-11-18 11:00:08 -08:00
Markus Stange
a2063bf6a6 Bug 1097776 - Use Skia for unaccelerated rendering of 3D transforms. r=jrmuizel 2014-11-18 11:36:17 -05:00
Benoit Girard
f654866a36 Bug 1087530 - Retain container's intermediate surfaces for up to one frame. r=jmuizelaar 2014-11-03 17:27:32 -05:00
Jeff Muizelaar
5d3083acd5 Bug 1073036. Fix an assertion string that I forgot about.
--HG--
extra : rebase_source : 9c52d35673e7a28d2c982a070e28b18792cc1a98
2014-11-18 10:33:36 -05:00
Jeff Muizelaar
31512f67b3 Bug 1073036. layers: Track program state more carefully to avoid setting unnecessarily. r=nical
This introduces some infrastructure to start tracking the program state more carefully. Currently
it only tracks the program because UseProgram was showing up the most in profiles, but more
state could also be added as needed.

--HG--
extra : rebase_source : 289ab867ef63032f7604a6cbe6d0230fd0a9411a
2014-11-10 14:34:06 -05:00
Sid Stamm
7235c3b5b2 Bug 704320 - Add referrer policy support to stylesheet and CSS loads and fonts. (r=bz) 2014-11-18 08:46:47 -05:00
Milan Sreckovic
e879ad97c7 Bug 1094338 - Allow depth texture on OS X 10.8.3 and higher. Clean up some OS X versioning tracking in the process. r=jgilbert 2014-11-10 22:15:22 -05:00
David Anderson
028b163679 Add APZ handling for desktop scroll wheel events. (bug 1086162 part 1, r=kats) 2014-11-17 20:56:18 -08:00
Botond Ballo
3e52bb8e18 Bug 1093298 - Ignore calls to AsyncPanZoomAnimation::Sample() with a negative time duration. r=kats 2014-11-17 13:18:16 -05:00
Jeff Muizelaar
ad91c2690e Bug 1088414. Backout "Use a single synchronized texture for d3d11"
https://hg.mozilla.org/mozilla-central/rev/e2efedec2d60
2014-11-17 14:20:05 -05:00
Jonathan Kew
2162f6bcb7 Bug 1098497 - Update OTS to latest upstream (at commit 7091a232a10a741591ff25158c98ca3f0c319cf9) to pick up recent fixes. r=jdaggett 2014-11-17 15:24:05 +00:00
Nicolas Silva
6b1e0d15f3 Bug 1098000 - Track the number of compositable references to TextureHost and only unbind gralloc textures after the last ref goes away. r=sotaro 2014-11-17 11:06:25 +01:00
Jonathan Kew
43167d1667 Bug 1097615 - Add MOZ_OVERRIDE annotations to subclasses of gfxFont. r=jdaggett 2014-11-17 09:59:50 +00:00
Jonathan Kew
84b55b1c12 Bug 1089787 - Get glyph widths via Core Text for fonts with embedded color bitmaps. r=jdaggett 2014-11-17 09:59:49 +00:00
John Daggett
6a7eb5b188 Bug 1100221 - eliminate unused GetOrMakeFont for Android. r=m_kato 2014-11-17 16:48:51 +09:00
Bas Schouten
f58f8f8040 Bug 1099335: Base decision to use a complex clip on whether a DT supports regoin clipping. r=jrmuizel
DrawTargets that support region clipping are able to clip to regions effectively. Other DrawTargets go through expensive complex clip paths. When invalidating regions we have code that draws in multiple steps when using Direct2D to avoid this expense, we should base the decision to do this simply on whether the DrawTarget supports fast region clipping.
2014-11-16 19:17:40 +00:00
David Anderson
607f72a589 Don't overscroll during a fling unless overscrolling is enabled. (bug 1099442, r=botond) 2014-11-14 16:19:00 -08:00
Jeff Gilbert
37012e9ef6 Bug 1089018 - Centralize GLContext spew control. - r=jrmuizel 2014-10-24 18:26:41 -07:00
George Wright
1b0520dc5b Bug 1042291 - Add a CanvasDrawObserver which observes the first few seconds/frames of a Canvas2D's lifetime to determine using a heuristic if it should be software or GPU backed. r=gw280, r=snorp 2014-09-10 16:15:43 -04:00
Matt Woodrow
3a89ba9be0 Bug 1088414. Use a single synchronized texture for d3d11. r=bas,f=jrmuizel
Calling AcquireSync on textures created with
D3D11_RESOURCE_MISC_SHARED_KEYEDMUTEX appears to be really slow, this really
bites us with the number of textures involved when tiling.

I've also tested using ID3D11Query to check when work is completed, this also
appears to be pretty slow.

This instead just uses a single texture with a keyedmutex, and makes sure we
draw to it last and lock it first. It's pretty hacky, but seems to work really
well so far.

--HG--
extra : rebase_source : bf5f56751f993e507fcd1e5c386fb1fc9a3f73af
2014-10-22 15:37:00 +13:00
Jeff Muizelaar
d3ebc563b8 Bug 1098389. Remove ClipToRegionSnapped. r=roc
We don't use this anymore.

--HG--
extra : rebase_source : 918eaa73f653962dccbfe6efdad69203ba041ef3
2014-11-14 10:46:02 -05:00
Ryan VanderMeulen
87e1d173f4 Backed out changesets a99bd0b3b075, a7fb851f823a, and 9fc2d99376cd (bug 552020) for non-unified bustage and OSX 10.6 tsvgr crashes.
CLOSED TREE
2014-11-14 15:57:35 -05:00
Mason Chang
4fddbd3845 Bug 552020. Part 2. Enable Vsync Profiler Markers across platforms. r=benwa 2014-11-14 08:31:04 -08:00
Kartikaya Gupta
c72bebf294 Bug 1090398 - Add basic gtests for the event-regions based hit-testing code. r=botond 2014-11-14 07:40:15 -05:00
Kartikaya Gupta
861e80bbaf Bug 1090398 - Require APZC target confirmation before input blocks are ready for handling. r=botond
For proper hit-testing we need to deal with situations where the initial touch
input falls on a dispatch-to-content region of an APZC, and the main thread
later tells us that it actually hit another APZC. This patch allows input blocks
to have an "unconfirmed" APZC target for the initially-found target that can
then be replaced with a different target. Input blocks without a confirmed
target are not ready for processing.
2014-11-14 07:40:15 -05:00
Kartikaya Gupta
2163ba0978 Bug 1090398 - Distinguish the various outcomes of APZ hit testing more explicitly. r=botond
Previously we output of APZ hit testing was an APZC instance and an "in
overscroll" flag. Now we need to also distinguish between the hit region and the
dispatch-to-content region for an APZC, so this patch introduces an enum that
makes this more explicit.
2014-11-14 07:40:15 -05:00
Kartikaya Gupta
9a09468407 Bug 1090398 - Workaround for scrollinfo layers not yet having event regions set up correctly. r=botond
Until bug 1082594 is fixed, the area occupied by inactive scrollable subframes
don't get added to their layer's dispatch-to-content region. Therefore the APZ
code doesn't know what area corresponds to the subframe, even though it knows
there is a subframe because of the scrollinfo layer. This change inserts a small
workaround to deal with the scrollinfo layers specially, so that the composition
bounds from the scrollinfo layer is used to obtain the area. Once bug 1082594
is fixed this can probably be removed.
2014-11-14 07:40:15 -05:00
Kartikaya Gupta
aa17d0e26d Bug 1090398 - Small refactoring that adds ParentLayerPixel::ToUntyped. r=botond 2014-11-14 07:40:14 -05:00
Kartikaya Gupta
a4e48972ee Bug 1090398 - Add support for using the layer event regions for hit testing. r=botond
When the event-regions are provided by layout, use them to populate the APZ-side
hit testing regions. The existing code is still used when event-regions are not
provided by layout.
2014-11-14 07:40:14 -05:00
Kartikaya Gupta
52279ea3ee Bug 1090398 - Use EventRegions objects instead of nsIntRegions for tracking APZ hit-test areas. r=botond
This simply swaps out the existing nsIntRegion used in APZ hit-testing for
an EventRegion object. The dispatch-to-content region inside the EventRegions
is kept empty, and there are no functional changes here.
2014-11-14 07:40:14 -05:00
Kartikaya Gupta
7bce9566dd Bug 1090398 - Update the APZ docs to reflect the new hit-testing design. r=botond 2014-11-14 07:40:13 -05:00
Carsten "Tomcat" Book
ee6cac2957 Backed out changeset 80f873bf8adc (bug 1036682) for test bustage 2014-11-14 12:32:47 +01:00
Nicolas Silva
8ff90737a5 Bug 1036682 - Check that the ipdl connection is not lost before sending messages. r=bjacob 2014-11-14 11:25:16 +01:00
Mason Chang
522eb9c976 Bug 1085512 - Improve touch resampling heuristics. r=mwu 2014-11-11 15:39:00 +01:00
Carsten "Tomcat" Book
7f42025e12 Backed out changeset 48667a14f94d (bug 1092360) for test bustage / crashes on a CLOSED TREE 2014-11-14 08:14:22 +01:00
Benoit Girard
db4fbee6fb Bug 1092360 - Avoid redundant framebuffer switches. r=jrmuizel 2014-11-12 17:39:17 -05:00
Matt Woodrow
134379d2be Bug 1097441 - Followup bustage fix on a CLOSED TREE 2014-11-14 17:30:02 +13:00
Matt Woodrow
127aa9579f Bug 1097441 - Initialize mSize on BufferTextureHost. r=nical 2014-11-13 10:44:42 +13:00
Nicholas Nethercote
35cc9a57cf Bug 1098185 - Initialize some more fields in ShadowLayerForwarder when Valgrind is enabled. r=mattwoodrow.
--HG--
extra : rebase_source : 0063948d7a657421005535c8faad68e69b1a5fcf
2014-11-13 01:15:25 -08:00
Jeff Muizelaar
e6fbe0d1fc Bug 1089364. Avoid trying to resize the swap chain to a negative size. r=bas
This was causing GetBuffer to return DXGI_ERROR_INVALID_CALL

--HG--
extra : rebase_source : 49e62fd5dda1e28268218cffca4ea1ce7af1b6ea
2014-11-13 10:10:48 -05:00
Jeff Muizelaar
f2786d3f9f Bug 1097877. Move GLBlitTextureImageHelper from gfx/gl to gfx/layers/opengl. r=nical
The only user is in layers/opengl. This is needed to do better state tracking
in the compositor.

--HG--
rename : gfx/gl/GLBlitTextureImageHelper.cpp => gfx/layers/opengl/GLBlitTextureImageHelper.cpp
rename : gfx/gl/GLBlitTextureImageHelper.h => gfx/layers/opengl/GLBlitTextureImageHelper.h
extra : rebase_source : bba00cbfac9253ca933721659dadbda2bfbe65c5
2014-11-10 14:49:05 -05:00
James Willcox
27c08cecb8 Bug 1086693 - Part 6: Use generated bindings for AndroidMediaCodec and AndroidSurfaceTexture r=blassey,gcp 2014-11-13 12:47:24 -06:00
Benoit Girard
8935e0b46d Bug 1094442 - Part 2: Adjust tile size to the stride of the gralloc buffers. r=kats
--HG--
extra : rebase_source : d3386ee007d6429b81aa6d3ffe6c518fb67c7d6a
2014-11-12 17:55:13 -05:00
Benoit Girard
aa2eeb8ec1 Bug 1094442 - Part 1: Refactor how tile w/h is queried r=kats
--HG--
extra : rebase_source : 70ef00318a718e2ce3149955d2908615d6125cf3
2014-11-12 17:54:29 -05:00
Sotaro Ikeda
3fad6064bb Bug 1091777 - Add TextureClient recycling to CairoImag r=nical 2014-11-13 07:53:49 -08:00
Botond Ballo
1c1e4448a5 Bug 1055741 - Unify the 'local Screen' and 'ParentLayer' coordinate systems. r=kats 2014-11-10 14:35:11 -05:00
Botond Ballo
751e400ea4 Bug 1076163 - Clean up the resolution-related fields and methods in FrameMetrics. r=kats 2014-10-20 17:12:35 -04:00
Botond Ballo
c854025367 Bug 1076163 - Basic APZ support for css-driven resolution. r=kats,tn
This makes APZ behave nicely with most uses of a css transform:scale.

Summary of changes:
  - FrameMetrics::mCumulativeResolution now includes the css-driven resolution
    in addition to the pres-shell resolution.
  - Displayports are now stored in Screen pixels rather than Layer pixels.
    This is what we want anyways (as we'd like the displayport size to remain
    constant as a fraction of the screen size), but it was necessary to make
    this change as part of this patch because continuing to store them in
    Layer pixels in the presence of a css-driven resolution would have
    required a bunch of infrastructure to implement correctly.

Remaining work:
  - Layout painting a scrollable layer at a resolution different from the
    scale induced by the css transform causes problems. These will go away
    with bug 1076192.
  - Different resolutions on the x and y axes are not supported. This is
    tracked by bug 1039967.
2014-10-24 15:49:38 -04:00
Douglas Crosher
3425fffc61 Bug 1021367 - Assertion failure in GetShaderConfigFor. r=nical 2014-06-09 20:10:28 +10:00
Jacek Caban
c9ee1b658a Bug 1094141 - Don't export skia APIs from xul.dll. r=glandium 2014-11-13 13:09:48 +01:00
Carsten "Tomcat" Book
8894f4319e Backed out changeset fbb9dc943109 (bug 1076163) for Android 4.0 Crashes on a CLOSED TREE 2014-11-13 11:47:57 +01:00
Carsten "Tomcat" Book
c247fdb775 Backed out changeset 71fe4233208a (bug 1076163) 2014-11-13 11:47:35 +01:00
Carsten "Tomcat" Book
4b4108a4a9 Backed out changeset a96930f1e26b (bug 1055741) 2014-11-13 11:47:31 +01:00
Jonathan Kew
34fea182cd Bug 1093553 - Improve handling of line-height metrics, block ascent, etc., in vertical writing mode. r=smontagu 2014-11-13 08:58:06 +00:00
Jonathan Kew
02d6b51ec6 Bug 1090168 - part 1 - Make textBaseline attribute in <canvas> work for vertical text. r=jdaggett 2014-11-13 08:58:04 +00:00
Botond Ballo
d766d4ca14 Bug 1055741 - Unify the 'local Screen' and 'ParentLayer' coordinate systems. r=kats
--HG--
extra : rebase_source : af7323668fb54079e121755660da2121bec3d76b
2014-11-10 14:35:11 -05:00
Botond Ballo
98ceb86b05 Bug 1076163 - Clean up the resolution-related fields and methods in FrameMetrics. r=kats 2014-10-20 17:12:35 -04:00
Botond Ballo
57adf459d4 Bug 1076163 - Basic APZ support for css-driven resolution. r=kats,tn
This makes APZ behave nicely with most uses of a css transform:scale.

Summary of changes:
  - FrameMetrics::mCumulativeResolution now includes the css-driven resolution
    in addition to the pres-shell resolution.
  - Displayports are now stored in Screen pixels rather than Layer pixels.
    This is what we want anyways (as we'd like the displayport size to remain
    constant as a fraction of the screen size), but it was necessary to make
    this change as part of this patch because continuing to store them in
    Layer pixels in the presence of a css-driven resolution would have
    required a bunch of infrastructure to implement correctly.

Remaining work:
  - Layout painting a scrollable layer at a resolution different from the
    scale induced by the css transform causes problems. These will go away
    with bug 1076192.
  - Different resolutions on the x and y axes are not supported. This is
    tracked by bug 1039967.
2014-10-24 15:49:38 -04:00
Ryan VanderMeulen
cae555594b Backed out changeset 92295f515d2d (bug 1091777) for bustage. 2014-11-12 21:09:40 -05:00
Sotaro Ikeda
c076d14da1 Bug 1091777 - Add TextureClient recycling to CairoImag r=nical 2014-11-12 17:47:10 -08:00
Robert O'Callahan
98a7a56835 Bug 1097437. Work around Quartz bug where corners of stroked rects don't get a solid color when they should. r=jrmuizel
--HG--
extra : rebase_source : deb88329b8948686119df73122032db999006cae
2014-11-12 20:52:57 +13:00
Bas Schouten
16558048b6 Bug 1097803: Report succesful Direct2D 1.1 usage. r=jrmuizel 2014-11-12 18:44:31 +00:00
Benoit Jacob
5a82bddd3a Bug 1095575 - DoesD3D11DeviceWork() should be overridable by force-enable prefs - r=bas 2014-11-12 11:48:01 -05:00
Sotaro Ikeda
95d665262e Bug 1095639 - Re-enable acquire fence delivery on gonk r=nical 2014-11-12 07:55:31 -08:00
Michael Wu
cb9a6592db Bug 1082827: Allow D2D 1.1 to be selected for the canvas backend. r=bas 2014-11-12 15:05:14 +00:00
Bas Schouten
22155ac1ea Bug 1097476: Fix typo in D2D 1.1 radial gradient code. r=jrmuizel 2014-11-12 15:05:13 +00:00
Bas Schouten
c3eb655ddc Bug 1097293: Do not draw radial gradients when centers and radii are identical. r=jrmuizel
When Cinner and Couter are equal, as well as Rinner and Router, the algorithm described in the canvas specification will hit a division by 0. As described in section 7 of the Canvas2D specification nothing should be drawn in this situation.
2014-11-12 15:05:13 +00:00
Milan Sreckovic
eb3ea89bec Bug 1092191 - Do not warn about failure to load _Z35eglQueryStringImplementationANDROIDPvi. r=dglastonbury 2014-11-11 11:18:44 -05:00
chiajung hung
4b10f218ab Bug 880114 - Enhance render video-to-SkiaGL performance by GPU-based color space conversioni, r=gw280 2014-11-11 21:14:00 +01:00
Karl Tomlinson
a3ba9b4cb5 backout bug 1096132 for Mac build failure
--HG--
extra : rebase_source : 6994fe50e8fb1a4f89298e1b9ad1c714acdfe39e
2014-11-12 16:02:34 +13:00
Karl Tomlinson
4b1c0e2e81 bug 1096132 rename nsDeviceContext PixelScale to FullZoom r=tn
--HG--
extra : rebase_source : 06d57772b2dc04d606b3d98517085aeb817ae0e8
2014-11-10 15:47:55 +13:00
Karl Tomlinson
2f7cdcc695 bug 1096132 rename UpdateScaledAppUnits() to UpdateAppUnitsForFullZoom() r=tn
--HG--
extra : rebase_source : ec70af284ea91d28e6f66b487c7a543a1d93c7cc
2014-11-08 17:30:15 +13:00
Karl Tomlinson
4b187d31fa bug 1096132 rename UnscaledAppUnitsPerDevPixel() to AppUnitsPerDevPixelAtUnitFullZoom() r=tn
--HG--
extra : rebase_source : 113b249f2cb6f1619e0b1a495655726b5100038b
2014-11-08 17:48:14 +13:00
Seth Fowler
9f0f9582f4 Bug 1071217 - Explicitly initialize the image module from gfxPlatform::Init. r=bas
--HG--
extra : rebase_source : c4c96ff051347dd85e053669533bd00d6120c75a
2014-11-11 17:28:50 -08:00
Jeff Gilbert
d024308a8d Bug 1096634 - Treat ANGLE default FB as RGB(A). - r=kamidphish 2014-11-05 15:04:55 -08:00
Bas Schouten
93ec577355 Bug 1088235: Use DrawBitmap when we can. r=jrmuizel 2014-11-11 22:09:31 +00:00
Ryan VanderMeulen
b621e08282 Merge inbound to m-c. a=merge 2014-11-11 16:29:57 -05:00
Ryan VanderMeulen
dfa6d6b02a Backed out 7 changesets (bug 1086693) for Android bustage on a CLOSED TREE. DONTBUILD
Backed out changeset 6eed18d830d2 (bug 1086693)
Backed out changeset b67a2e48f281 (bug 1086693)
Backed out changeset 2b4b439e7e6c (bug 1086693)
Backed out changeset 3adfd767a92f (bug 1086693)
Backed out changeset 6ea8b9247915 (bug 1086693)
Backed out changeset 408af1e3b457 (bug 1086693)
Backed out changeset 4c759b83892a (bug 1086693)
2014-11-11 16:13:15 -05:00
James Willcox
92de0e9c7a Bug 1086693 - Part 6: Use generated bindings for AndroidMediaCodec and AndroidSurfaceTexture r=blassey,gcp 2014-11-11 14:46:09 -06:00
Ryan VanderMeulen
8d432fef90 Backed out changesets 857063c82323 and a19479860eb4 (bug 619521) for Valgrind failures.
CLOSED TREE
2014-11-11 13:10:56 -05:00
Kartikaya Gupta
66d8612c4f Bug 1091296 - When applying the APZ transform on a layer, make sure not to clobber any existing OMTA transform. r=mattwoodrow
--HG--
extra : rebase_source : 9662fbdea917d63a1205660979cbb5c6f861ba02
2014-11-11 10:54:02 -05:00
Kartikaya Gupta
0b3471392f Bug 1091296 - Remove the redundant code for clearing async transforms per frame of composition. r=mattwoodrow
We already reset the shadow transform to the layer transform in
SetShadowProperties() before compositing every frame, so this is redundant.

--HG--
extra : rebase_source : bef51e6a918ffaab134a4b53fb6f2ec6c45d9d6d
2014-11-11 10:53:57 -05:00
Kartikaya Gupta
7692c51b02 Bug 1091296 - Refactor the pre- and post-scale cancellation code into a helper method. r=mattwoodrow
--HG--
extra : rebase_source : c06309a16a13673eb59bb98c9dfd4d5c4846aad5
2014-11-11 10:53:44 -05:00
Brian Birtles
f94049aee4 Bug 1095315 - Fix the order of applying pending updates and getting the effective transform in BasicLayerManager; r=mattwoodrow 2014-11-11 11:01:28 +09:00
Kartikaya Gupta
0379b8ef89 Bug 1094803 - Update the APZ docs a bit to describe input event flow. r=botond
DONTBUILD because this is NPOTB.
2014-11-10 16:48:52 -05:00
Jonathan Watt
d6d15a2f78 Bug 1093811 - Convert the gfxFont::GetGlyphWidth() virtual method to take a Moz2D DrawTarget instead of a Thebes gfxContext. r=jfkthame 2014-11-10 21:41:41 +00:00
Jonathan Watt
c29761b789 Bug 1093813 - Remove the gfxContext argument from gfxHarfBuzzShaper's GetGlyphHAdvance, GetGlyphVAdvance and GetGlyphVOrigin methods. r=jfkthame 2014-11-10 21:41:41 +00:00
Jonathan Watt
6b10bf2102 Bug 1093806 - Convert DCFromContext to DCFromDrawTarget. r=Bas 2014-11-10 21:41:40 +00:00
Jeff Muizelaar
2d5dbdb879 Bug 1021265. Fix DisplayLink version expansion code. r=Bas,a=lawrence
GFX_DRIVER_VERSION(8,6,..) expands to 8.0006....
but ParseVersion(8.6,...) gives 8.5000...
This was an unfortunate error. Having better static typing
of versions would have helped here.

--HG--
extra : rebase_source : 8eb9fc7d337a017b350e6ef1935f99fd4383114d
2014-11-10 16:11:42 -05:00
Wes Kocher
26ed578115 Backed out changeset dc2e15a7df8d (bug 1096535) for bustage on a CLOSED TREE 2014-11-10 12:53:34 -08:00
Jeff Muizelaar
6020bfbf29 Bug 1096535. Add more DisplayLink logging. r=bas
--HG--
extra : rebase_source : 6569641159d6e89abcbf677b38df449333714db3
2014-11-10 15:18:10 -05:00
John Daggett
0ed362a561 Bug 1096140 - clean out unused Linux font code. r=m_kato 2014-11-10 15:18:33 +09:00
Xidorn Quan
08641f507e Bug 1063857 - Improve selecting on justified characters. r=roc 2014-11-10 12:25:09 +11:00
Jonathan Kew
fce2d16101 Bug 619521 - Part 1: Send a notification of any scripts for which font coverage is lacking. r=jdaggett 2014-11-07 06:32:00 -05:00
Lioncash
a274c19e07 Bug 1085051 - Fix mismatched new[]/delete in DrawTargetCG::FillGlyphs. r=jrmuizel 2014-11-11 11:02:43 +00:00
Kartikaya Gupta
e230d54989 Bug 1072093 - Support progressive-paint on OS X 10.7 or later. r=BenWa 2014-11-07 14:17:14 -05:00
Chris Jones
1dc260137a Bug 1082902 - Add mozilla_dump_image() helper exported from libxul. r=jrmuizel 2014-11-07 13:55:01 +01:00
Carsten "Tomcat" Book
7b63199d11 Backed out changeset 56d4cef7ed00 (bug 880114) for m5 test failures 2014-11-07 10:47:08 +01:00
chiajung hung
b0b1e80a5e Bug 880114 - Enhance render video-to-SkiaGL performance by GPU-based color space conversioni. r=gw280 2014-11-06 23:28:00 +01:00
Jonathan Watt
307ac4cb7f Bug 1083755 - Port the CAIRO_COORD_MAX code in nsRenderingContext::FillRect to DrawTargetCairo::FillRect. r=Bas, a=kwierso 2014-11-06 22:07:36 +00:00
Jonathan Watt
5767be9b18 No bug - Get rid of some unnecessary nsRenderingContext.h includes and nsRenderingContext forward declarations.
--HG--
extra : rebase_source : 2e682062b0c4fe3c1e916ed7c7b7ca98ec3b54d3
2014-11-06 22:07:35 +00:00
Kartikaya Gupta
371ecd8746 Bug 1093686 - Add some debug logging code for PositionedEventTargeting.cpp. r=roc 2014-11-06 08:05:51 -05:00
Milan Sreckovic
ab5bc2240d Bug 1092262 - Doxygen docs for APZ prefs. r=kats 2014-11-05 11:04:32 -05:00
Andrew Osmond
ad948ddd6a Bug 1077301 - Ensure EGL images are released when destroying the texture. r=nical 2014-11-05 08:17:00 +01:00
John Daggett
6f795700cb Bug 475891 - support unicode-range when matching userfonts (non-linux). r=jfkthame 2014-11-06 13:42:50 +09:00
Benoit Jacob
2844fab51e Bug 1093863 - Blacklist D3D on dual Intel/AMD not advertised as such in the registry - r=jrmuizel CLOSED TREE 2014-11-05 17:43:33 -05:00
Sotaro Ikeda
86ebdde1e4 Bug 1093728 - Add AddTextureClient() to CanvasClientSharedSurface::Update() r=nical 2014-11-05 08:15:48 -08:00
Jacek Caban
5f302b6b62 Bug 1092151 - Don't use dllimport/dllexport for OTS in non-shared gkmedias builds. r=glandium 2014-11-05 11:27:13 +01:00
Jonathan Watt
2ac2b5426a Bug 1093066 - Get rid of gfxContext's Stroke() methods. r=mattwoodrow 2014-11-05 09:16:37 +00:00
Robert O'Callahan
f458f27d6b Bug 1080205. Part 2: Add test. r=tn
--HG--
extra : rebase_source : 9f8a41ae255e132e572fdb5012f851554fde69d9
2014-10-30 16:33:55 +13:00
Robert O'Callahan
2cbfe40f8b Bug 1083635. Part 5: ClientLayerManager::BeginTransactionWithTarget should assert if we're not going to take a snapshot. r=mattwoodrow
--HG--
extra : rebase_source : 07cea353735743670cc82031bcbe738932f56829
2014-10-21 10:32:10 +13:00
Benoit Jacob
f3eefd4544 Bug 1021265 - Add AppNotes about blacklisting DisplayLink - r=jrmuizel 2014-11-04 18:17:11 -05:00
Benoit Girard
33d6ca45fb Bug 1089380 - Remove ClipRectInLayersCoordinates. r=mattwoodrow
--HG--
extra : rebase_source : d20c08c804f45f2a6baee9063d0e73bf755054ae
2014-10-31 16:34:30 -04:00
Benoit Jacob
ac0f0151ea Bug 1021265 - Fix bustage - no review on a CLOSED TREE 2014-11-04 14:47:15 -05:00
Benoit Jacob
0f37492ba9 Bug 1021265 - regard d3d11 as broken with displaylink on versions <= 8.6.1.36484, and fall back to basic layers - r=jrmuizel 2014-11-03 17:55:00 -05:00
Phil Ringnalda
ce69a70520 Back out 293c48ec288c (bug 1086642) for Android and OS X 10.8 ONLY NOT SEEN ON 10.6 bustage
CLOSED TREE
2014-11-03 20:44:19 -08:00
Matt Woodrow
86270b9476 Bug 1086642 - Simplify invalid reigon by area. r=jrmuizel 2014-11-04 15:12:06 +13:00
Benoit Girard
aaced0941c Backout 60fe2b1ab1ba for split-opacity-layers-1.html reftest failure.
--HG--
extra : rebase_source : 83a753f924f85b90e2d5ad07877dc3ebdbc1b8df
2014-11-03 13:37:54 -05:00
Benoit Girard
c6c34aa4a0 Bug 1089380 - Remove ClipRectInLayersCoordinates. r=mattwoodrow
--HG--
extra : rebase_source : 6793ed284fa8190c0d4e43e189ca4eb2d020d4f0
2014-10-31 16:34:30 -04:00
Jonathan Watt
660d648ee6 Bug 1092222, part 2 - Add CCWCorner, CCWCorner and CWCorner methods to BaseRect. r=roc 2014-11-03 10:01:58 +00:00
Jonathan Watt
70be113245 Bug 1092222, part 1 - Get rid of gfxContext::GraphicsLineCap and gfxContext::GraphicsLineJoin. r=roc 2014-11-03 10:01:57 +00:00
Jacek Caban
1fb284960f Bug 1092130 - Fixed build errors found by mingw after bug 1076698 landed (-Werror=missing-braces errors). r=cpearce 2014-11-03 10:28:52 +01:00
Jonathan Watt
ae26c2e5eb Bug 1091787, part 3 - Remove gfxContext::RoundedRectangle. r=mattwoodrow 2014-11-02 15:41:08 +00:00
Jeff Muizelaar
a0f8fa61fd Bug 1092582. Add support to ANGLE for using IDXGIKeyedMutex. 2014-11-01 14:11:02 -04:00
Bas Schouten
9d622e3111 Bug 1064864. Ensure the copying bounds are sane. r=jrmuizel
This prevents things from going really bad on some drivers.

--HG--
extra : rebase_source : c237cf3e6a6174696ebe6d41562a30c8cc0e564d
2014-11-01 14:02:20 -04:00
stefanh@inbox.com
14f3e74c30 Bug 1085134 - Native theming for Mac OS X disclosure buttons, widget part. r=mstange, roc. 2014-11-01 17:13:27 +01:00
Jonathan Watt
f6f8d40041 Bug 1091794 - Replace gfxCornerSizes with Moz2D's RectCornerRadii. r=mattwoodrow 2014-11-01 10:45:10 +00:00
Jonathan Watt
bf49eb7f25 Bug 651021 - Make nsRenderingContext a stack class. r=jrmuizel 2014-10-31 20:08:49 +00:00
Kartikaya Gupta
3cacbfa9b0 Bug 1091283 - Allow using the existing gtest input helpers on APZCTreeManager as well. r=botond
Thanks to the magic of templates we can reuse the code we have for dispatching
common gestures into the AsyncPanZoomController.
2014-10-31 15:31:35 -04:00
Kartikaya Gupta
8b027fe00d Bug 1091283 - Ensure that pinch gesture events actually get processed. r=botond
Currently only pinch gesture events getting created in the GestureEventListener
code will make it to AsyncPanZoomController::HandleGestureEvent. Any pinch
gesture events that the widget code dispatches into the APZCTreeManager get
ignored, which shouldn't be happening. We don't have any production code that
exercises these code paths at the moment, but fixing it up also reduces the
APIs exposed into the testing code.
2014-10-31 15:29:36 -04:00
Botond Ballo
b51aa7454f Bug 1066888 - Documentation tweaks for overscroll physics improvements. r=kats. DONTBUILD for doc changes
--HG--
extra : rebase_source : 08df59b26c6ce334c96c5ec5b635c940c8548f08
extra : amend_source : 7c1c0799b0fcc747134cad8b56a202f830b50ae3
2014-10-31 14:10:36 -04:00
Botond Ballo
a43be62c13 Bug 1066888 - Update gtests for overscroll physics improvements. r=kats 2014-10-31 12:05:29 -04:00
Botond Ballo
84f4ed3fa8 Bug 1066888 - Overscroll physics improvements. r=kats
This patch unifies the physics governing the overscroll phase of a fling
with the snap-back animation. The unified physics are spring-based, like the
physics governing the snap-back animation before, except we allow for
oscillations.
2014-10-31 12:06:31 -04:00
Jeff Muizelaar
e8dc880ddb Bug 1066312. Use IDXGIKeyedMutex for synchronization with D3D11 angle. r=jgilbert
This currently does nothing because the ANGLE we're using doesn't have keyed mutex
support.

--HG--
extra : rebase_source : 9ab74710c22c5330809206f1bb16677af5944bad
2014-10-31 10:57:32 -04:00
Nicolas Silva
9846ebae19 Bug 1074382 - Add some gfxCriticalError logging in the initialization of D3D9. r=milan 2014-10-30 18:20:23 +01:00
Jonathan Watt
cdfbe38796 Bug 1090614 follow-up to add back the Clip() change. r=mattwoodrow 2014-10-31 11:26:28 +00:00
Jonathan Watt
30f03ce29a Bug 1076910 - Add some error checks to gfxUtils::EncodeSourceSurface. r=Bas 2014-10-31 11:16:45 +00:00
Robert O'Callahan
784a439a5a Bug 1073252. Fix bustage in part 4, in a CLOSED TREE 2014-10-31 22:40:15 +13:00
Robert O'Callahan
18b9877442 Bug 1073252. Part 4: Flip hasAlpha to isOpaque for consistency. r=mattwoodrow
--HG--
extra : rebase_source : a553b4c36feb555b23cbe140a05df09f0dc2656d
2014-10-30 15:32:41 +13:00
Robert O'Callahan
a5b1507132 Bug 1073252. Part 2: Store opaque flag in LayerRenderState. r=nical
--HG--
extra : rebase_source : a0fefe94dd52a6f365c34bffcd806e094c62d76e
2014-10-30 15:32:41 +13:00
Robert O'Callahan
b34f5630d6 Bug 1073252. Part 1: Track opaqueness of gralloc TextureClient/Host. r=nical
--HG--
extra : rebase_source : de08e7a128bad27250cae94386e8ffea5fa26d6d
2014-10-30 15:32:40 +13:00
Robert O'Callahan
77c398977c Bug 1073252. Part 0: Add IsOpaque(SurfaceFormat). r=bas
--HG--
extra : rebase_source : 8aa2b0203db462573cd60046985d03a10a402fc9
2014-10-30 15:31:54 +13:00
Ryan VanderMeulen
9a87c4aa6f Merge inbound to m-c. a=merge 2014-10-30 16:03:53 -04:00
Mason Chang
06b697f7a6 bug 1087048. Dispatch touch events after vsync aligned composites. r=benwa 2014-10-30 08:48:42 -07:00
Kartikaya Gupta
f3b4fd4499 Bug 1091049 - Follow-up to fix non-unified build error. r=me 2014-10-30 11:48:54 -04:00
Carsten "Tomcat" Book
3de670ab27 Merge mozilla-central to b2g-inbound 2014-10-30 15:51:48 +01:00
Kartikaya Gupta
44e502b83b Bug 1091049 - Add fling curving to accelerate fast flicks. r=botond 2014-10-30 10:38:10 -04:00
Kartikaya Gupta
bb71ea64de Bug 1091049 - Rename gComputedTimingFunction to gZoomAnimationFunction. r=botond 2014-10-30 10:38:09 -04:00
Carsten "Tomcat" Book
a758e037c4 merge mozilla-inbound to mozilla-central a=merge 2014-10-30 14:45:37 +01:00
Jonathan Watt
591742b5ce Bug 1090494, part 4 - Add AppendRectToPath() and MakePathForRect() helpers to Moz2D's PathHelpers.h. r=mattwoodrow 2014-10-30 09:34:10 +00:00
Jonathan Watt
f47a832163 Bug 1090494, part 3 - Remove the old unused variants of AppendRoundedRectToPath and MakePathForRoundedRect. r=mattwoodrow 2014-10-30 09:34:10 +00:00
Jonathan Watt
6b502f624e Bug 1090494, part 2 - Convert the consumers of AppendRoundedRectToPath and MakePathForRoundedRect to use the new RectCornerRadii API. r=mattwoodrow 2014-10-30 09:34:10 +00:00
Jonathan Watt
ecfd6db484 Bug 1090494, part 1 - Add a RectCornerRadii struct to Moz2D's PathHelpers.h and add variants of AppendRoundedRectToPath and MakePathForRoundedRect that use it. r=mattwoodrow 2014-10-30 09:34:09 +00:00
Mike Hommey
47c853314f Bug 1077148 part 4 - Add and use new moz.build templates for Gecko programs and libraries. r=gps
There are, sadly, many combinations of linkage in use throughout the tree.
The main differentiator, though, is between program/libraries related to
Gecko or not. Kind of. Some need mozglue, some don't. Some need dependent
linkage, some standalone.

Anyways, these new templates remove the need to manually define the
right dependencies against xpcomglue, nspr, mozalloc and mozglue
in most cases.

Places that build programs and were resetting MOZ_GLUE_PROGRAM_LDFLAGS
or that build libraries and were resetting MOZ_GLUE_LDFLAGS can now
just not use those Gecko-specific templates.
2014-10-30 13:06:12 +09:00
Ryan VanderMeulen
b278f8c9e3 Merge m-c to b2g-inbound. a=merge 2014-10-29 16:53:59 -04:00
Mason Chang
fb2714672f bug 1083530. Part 2 Refactor GeckoTouchDispacher to use mozilla::Timestamp instead of nsecs_t. r=mwu 2014-10-29 13:37:06 -07:00