Граф коммитов

19915 Коммитов

Автор SHA1 Сообщение Дата
Nicolas Silva dd7b1b713a Bug 1083101 - implement the DrawingTask for Moz2D's task scheduler. r=jrmuizel 2015-08-27 14:47:24 +02:00
Nicolas Silva 70f660d10a Bug 1083101 - Win32 implementation of Moz2D's task scheduler. r=jrmuizel 2015-08-27 14:47:16 +02:00
Nicolas Silva 1cfc57a5dc Bug 1083101 - Add a task scheduler to Moz2D. r=jrmuizel 2015-08-27 14:47:12 +02:00
Nicolas Silva f6fc89b1d7 Bug 1083101 - Add a memory arena to Moz2D. r=jrmuizel 2015-08-27 14:47:07 +02:00
Robert O'Callahan 3f68002324 Bug 1182017. Call Send__delete__ immediately rather than through an event. r=nical
Kyle assures me it's safe to call Send__delete__ with references to 'this' on
the stack.

--HG--
extra : commitid : I7Wj1a8Hmb9
extra : rebase_source : 8cf8851a7f4400fb1120179423ec4cf710d75765
2015-08-27 15:40:35 +12:00
Benoit Girard 7f46e67522 Bug 1136766 - Don't allow more draw calls after culling. r=mattwoodrow
--HG--
extra : commitid : DKmD0O544RW
2015-02-27 14:17:35 -05:00
Benoit Girard 58bb8fc72f Bug 1166252 - Reject lut8/16Type with empty CLUT grid. r=jrmuizel
--HG--
extra : commitid : KiU2IKstYSk
2015-08-25 15:48:55 -04:00
Bobby Holley edfe287f26 Backed out 3 changesets (bug 1165272) for b2g sanity blocker. 2015-08-25 11:16:21 -07:00
Ryan VanderMeulen ed8f5fa5b6 Merge m-c to inbound. a=merge 2015-08-25 10:45:59 -04:00
Ryan VanderMeulen 48ef8932ac Merge inbound to m-c. a=merge 2015-08-25 10:43:34 -04:00
Mason Chang 1c24730f8d Bug 1197898 - Delete vsync refresh driver preference. r=kats 2015-08-25 09:01:40 -04:00
Kartikaya Gupta b9032e3705 Bug 1194876 - Add test. r=botond
--HG--
extra : commitid : Cg9fRSjAKgj
2015-08-25 07:50:01 -04:00
Kartikaya Gupta 4675a280c5 Bug 1194876 - Do a better job of resetting input state. r=botond
--HG--
extra : commitid : HZc9tmIjC37
2015-08-25 07:50:01 -04:00
Kartikaya Gupta ffe3909665 Bug 1194876. Reset the input state on an APZC if a new touch block targets a new APZC while there were touches still active. r=botond
--HG--
extra : commitid : LO0sHCo3M3F
2015-08-25 07:50:01 -04:00
Kartikaya Gupta d324c5c3c5 Bug 1194876 - Extract a TouchCounter class. r=botond
--HG--
extra : commitid : Au3xHqP2lQW
2015-08-25 07:50:01 -04:00
Morris Tseng ab4cf2941e Bug 1197713 - Add missing gfxPrefs.h include to TiledContentHost.cpp. r=nical 2015-08-24 01:40:00 -04:00
Milan Sreckovic a8e2c1042a Bug 1196335 - Disambiguate the strings for scoped gfx reporter and D2D1.1. r=dvander 2015-08-19 10:08:00 -04:00
John Daggett 2ebd845638 Bug 1197650 - remove duplicate validity check for newly created fonts. r=m_kato 2015-08-25 09:10:17 +09:00
Victor Porof a79634e0d2 Bug 1050498 - Record compositing operations, r=jsantell,smaug,tromey 2015-08-25 08:51:58 +03:00
Lee Salzman 5036a0f61a Bug 1190705 - Ensure that canvas 2d matrix transforms are finite. r=Bas, r=jrmuizel 2015-08-05 18:48:25 -04:00
Kartikaya Gupta cb9e675820 Bug 1180267 - Ensure that the desktop-mode viewport for Fennec is based on a 980 CSS pixel width rather than the screen size. r=snorp
--HG--
extra : commitid : EDmJyKrfnzt
2015-08-24 13:45:45 -04:00
Mason Chang 696de26763 Bug 1197201. Delete hardware vsync and vsync compositor prefs. r=kats 2015-08-24 11:27:23 -04:00
Nathan Froyd 0ecb01460a Bug 1196682 - fixup static analysis build bustage on a CLOSED TREE; r=me 2015-08-24 17:49:28 -04:00
CJKu 3bd33f9441 Bug 1196682 - DebugDataSender is not thread safe. r=kamidphish 2015-08-24 02:00:00 -04:00
Yoshi Huang de47f4b89f Bug 1165272 - Part 2: Replace getNoAppCodebasePrincipal. r=bholley 2015-08-24 01:18:00 -04:00
Kyle f67c9b28e3 Bug 1190526 - Check for overflow in vertex allocation. r=jrmuizel 2015-08-17 11:31:17 -04:00
Masayuki Nakano 66f2c27305 Bug 895274 part.1 Rename WidgetEvent::message to WidgetEvent::mMessage r=smaug 2015-08-22 10:34:51 +09:00
Andrew Comminos bf63f14959 Bug 1187203 - Implement GtkInfoBar appearance style on GTK3. r=karlt 2015-08-21 16:38:15 -04:00
Wes Kocher 9ec20f0f1d Backed out 2 changesets (bug 1136766) for osx reftest assertions
Backed out changeset c574db1b372e (bug 1136766)
Backed out changeset 674f8f76a58b (bug 1136766)
2015-08-21 13:19:48 -07:00
Kartikaya Gupta c10cfda0d4 Bug 1195401 - Use gfxPrefs (threadsafe) rather than crashing on debug builds for off-main-thread pref access. r=snorp
--HG--
extra : commitid : 5uavw49AOAg
2015-08-21 13:21:58 -04:00
Markus Stange 69f9b31b35 Bug 1136766 - Before compositing, clip the visible region of a layer to the layer's clip rect, and don't increase the complexity of the visible region. r=mattwoodrow
--HG--
extra : commitid : 2oxbaxGS6MZ
extra : rebase_source : 6d5ac3231e07f48855412a3d47471e4f2e794972
2015-02-21 18:16:53 -05:00
Markus Stange eca1fe6fec Bug 1136766 - Don't allow more draw calls after culling. r=mattwoodrow
--HG--
extra : commitid : LnCD4jAMC3I
extra : rebase_source : 75b266483cc4c2e862163a60e2b3939fc096d8c6
2015-02-27 14:17:35 -05:00
Jamie Nicol ff450822a4 Bug 1192058 - For DXGI_PRESENT_PARAMETERS, set pDirtyRects to nullptr if DirtyRectsCount == 0. r=BenWa 2015-08-18 15:11:25 +01:00
Botond Ballo fa0328a1fe Bug 1196462 - Add a pref to highlight checkerboarded areas for debugging. r=kats
--HG--
extra : source : 9d1aa5ad7e6fcb15a2b5c570115702499b75aaaf
2015-08-19 19:29:46 -04:00
Jamie Nicol 991ab71c34 Bug 1191463 - Handle possible ID3D10Texture2D::Map() failure. r=Bas
--HG--
extra : rebase_source : 848a578cce2e05580a1e0374f799931f1b4dfb0b
2015-08-18 17:53:56 +01:00
Jonathan Kew d1dd2af9df Bug 1194763 - Ensure non-cluster-start flag is set properly for a run-initial supplementary-plane combining mark when shaping text. r=jdaggett 2015-08-21 09:57:01 +01:00
Jonathan Kew e28a9d36c0 Bug 1193481 - Prefer "Firefox Emoji" font for emoji characters in GetCommonFallbackFonts on B2G. r=jdaggett 2015-08-21 09:55:52 +01:00
Mason Chang 7242153201 Bug 1196308 - Delete Software Compositor Scheduler. r=sotaro 2015-08-20 17:57:42 -07:00
Milan Sreckovic 432f04e0fb Bug 1196355: WriteAppNote should use function parameter. r=benwa 2015-08-19 13:30:57 -04:00
Milan Sreckovic 885f065a23 Bug 1195844: When checking for old DisplayLink versions, look for a few other DLLs. r=jrmuizel 2015-08-20 14:34:11 -07:00
Wes Kocher fa57aa7153 Merge m-c to inbound, a=merge 2015-08-20 12:51:40 -07:00
Wes Kocher d8fffe1765 Merge inbound to central, a=merge 2015-08-20 12:42:21 -07:00
Bas Schouten 0cbabc240d Bug 1195998: If an actor does not have an associated texture client do not attempt to call ForceRemove on it. r=nical 2015-08-20 07:28:18 +00:00
Wes Kocher e9ede9d2ea Merge m-c to b2ginbound, a=merge 2015-08-19 17:14:04 -07:00
Samael Wang 01ad2b8f56 Bug 1177335 - Skip resampling if the time difference of touches is less than 2ms. 2015-08-19 13:02:21 +08:00
Milan Sreckovic 2431defff4 Bug 1188105: Parse bad driver versions. r=botond
--HG--
extra : rebase_source : 36d4c5636604bd0ff860859cbc571644eacdf165
2015-08-19 15:14:59 -07:00
Jeff Muizelaar 8da94c8800 Bug 1186426. Avoid using D3D11 ANGLE on systems that require recreating the rendertargetview. r=jgilbert
It turns out I accidentally landed
https://bug1109718.bmoattachments.org/attachment.cgi?id=8630177 as part of
another change. This should avoid the brokeness that was caused by that and
allow us to simplify our changes to ANGLE.

--HG--
extra : rebase_source : 9cb479c92c196b58398e187891d998b56e5b8e1f
2015-08-19 12:01:20 -04:00
Jim Mathies eed39c9694 Bug 1163570 - Ignore pending plugin updates and hide plugin windows when a remote layer tree associated with a tab is no longer in use. r=roc
--HG--
extra : rebase_source : c0b8f2de9b4b0696daddd21bd8a808f4b27a5b3d
2015-08-19 08:47:57 -05:00
Benoit Girard 074eb08eb1 Bug 1186662 - Part 1: Add SuppressDisplayport painting and use it during tab switch. r=kats,mconley
--HG--
extra : commitid : 9fUfVIK8ikm
extra : rebase_source : e45570f97a25f965d2caf24f152da02efcf6495f
2015-08-19 17:08:41 -04:00
Mason Chang 6f859e46d4 Bug 1195098. Null check for blurred source surface. r=mstange 2015-08-18 20:43:24 -07:00
William Chen 3c9928ced9 Bug 1131470 - Part 1: Rename existing use of ScreenOrientation to ScreenOrientationInternal. r=baku
--HG--
extra : rebase_source : 72e978d48e8356da9e8c66adfa0a97983034aa5a
2015-08-18 14:55:09 -07:00
Matt Woodrow 4c2bc925a5 Bug 1195527 - Part 2: Add D3D11 video TextureClient recycler. r=jrmuizel 2015-08-18 21:04:46 -04:00
Matt Woodrow d07dcdfcf6 Bug 1195527 - Part 1: Move D3D11 texture allocation into the TextureClient. r=jrmuizel 2015-08-18 21:04:14 -04:00
Andrew Comminos 07981e6605 Bug 1195110 - Check if GLContext is destroyed before freeing resources in CompositingRenderTargetOGL. r=jrmuizel 2015-08-18 20:03:04 -04:00
Kartikaya Gupta 1db1586922 Bug 1180295 - Implement seamless snapping to the stable state. r=rbarker
--HG--
extra : commitid : BCRW1BHPhL8
2015-08-18 14:27:20 -04:00
Kartikaya Gupta 3fd3f3cf8e Bug 1180295 - Stop clipping the content while the toolbar is in the process of sliding off. r=rbarker
--HG--
extra : commitid : IMjRmklIhXd
2015-08-18 14:27:19 -04:00
Kartikaya Gupta b4105053c9 Bug 1180295 - Rip out the Fennec code to set the screen render offset. r=rbarker
--HG--
extra : commitid : 3e4iu6iVnfs
2015-08-18 14:27:18 -04:00
Kartikaya Gupta 056c55b10f Bug 1180295 - Rip out call to setContentDocumentFixedPositionMargins. r=rbarker
--HG--
extra : commitid : 7uU6xgPVZom
2015-08-18 14:27:18 -04:00
Matt Woodrow cbdfff6689 Bug 1195531 - Don't discard d3d11 textures when we move the TextureSource to a new compositor. r=jrmuizel,nical 2015-08-18 14:32:33 -04:00
Matt Woodrow d021a58868 Bug 1194753 - Wait longer when decoding the first frame of D3D9 DXVA video before deciding it is invalid. r=cpearce 2015-08-18 14:19:45 -04:00
Mason Chang bb25bd45bf Bug 1190257. Use the previous vsync timestamp on windows 10. r=jrmuizel 2015-08-18 09:11:12 -07:00
Botond Ballo ec7578e60c Bug 1187804 - When a layer is scrolled by multiple scroll frames, do an AlignFixedAndStickyLayers pass on its subtree for each of the scroll frames. r=kats
--HG--
extra : commitid : 762zKFT3GlD
2015-08-14 20:26:59 -04:00
Botond Ballo ccf025657b Bug 1187804 - Un-adjust fixed layers by the async transform of the scroll frame that they're fixed with respect to, not of the nearest ancestor scroll frame. r=kats
--HG--
extra : commitid : ULr5Fj8seF
2015-08-14 16:11:28 -04:00
Markus Stange 6fab3abcb1 Bug 1187804 - Annotate fixed-position layers with the scroll id of the scroll frame that they are fixed with respect to. r=mattwoodrow
--HG--
extra : commitid : GjQ1Npqd8Ss
2015-08-17 19:44:42 -04:00
Chris Peterson fa48ec17dc Bug 1194954 - Fix -Wunreachable-code warnings in gfx/layers and gfx/thebes. r=BenWa 2015-06-03 23:13:42 -07:00
Chris Peterson 8b1de6b820 Bug 1194948 - Build gfx/ipc in unified mode and mark as FAIL_ON_WARNINGS. r=BenWa 2015-08-13 20:46:47 -07:00
John Daggett 4fa8c01024 Bug 1195188 - add fontlist init problem telemetry for DirectWrite. r=m_kato 2015-08-18 15:15:45 +09:00
Botond Ballo e99739e5e9 Bug 1180030 - Request a fling snap when an overscroll animation completes. r=kats
--HG--
extra : source : a0d1f16850d60efb5d804b04312ed5fc4d6a2330
2015-07-29 16:23:35 -04:00
Botond Ballo aafbd2cc19 Bug 1180030 - Do not request a fling snap if the fling will overscroll on its first sample. r=kats
--HG--
extra : source : 78bd7e9e4ec436d49987bb5c8278347e7317427c
2015-07-10 17:56:59 -04:00
Mike Hommey 9fe13fc89a Bug 1194497 - Convert a few remaining PRUnichar to char16_t. r=roc 2015-08-18 08:09:14 +09:00
Botond Ballo f8a2d8a8e5 Bug 1193930 - Allow the user to start a pinch while an overscroll animation is still in progress. r=kats
--HG--
extra : rebase_source : 24ac904b5364a2f28db347e9e3c37fbc4ef4a2b9
extra : source : 97dca2b503a4eebd7ee09cd6361423c14f553205
2015-08-14 13:11:32 -04:00
Karl Tomlinson ea84d39947 bug 962719 use unsigned ints for FrameID and ProducerID for defined overflow behavior r=roc
--HG--
extra : rebase_source : 0375f04a60a548975547b80e60e5cf5dada2f86f
2015-08-12 11:02:41 +12:00
David Anderson c9c46b8efc Add driver crash guards to WebGL (bug 1190281 part 9, r=jgilbert,mattwoodrow) 2015-08-14 22:14:00 -07:00
Bill McCloskey ac32aef2fb Bug 1189125 - Allow xpcshell to use GTK (r=karlt) 2015-08-14 15:51:19 -07:00
Wes Kocher d51b493b46 Backed out changeset 956b56977688 (bug 1190281) for gfx crashes 2015-08-14 15:26:34 -07:00
Matt Woodrow 224fe499c5 Bug 1135935 - Part 6: Wait for the compositor to stop using textures before recycling them. r=jrmuizel
--HG--
extra : rebase_source : 9b24d6a0299cf50063c4ebcf7ca4322e62e182ad
2015-08-13 15:18:53 -04:00
Matt Woodrow 8e52bedb94 Bug 1135935 - Part 5: Add D3D9 texture recycler. r=jrmuizel
--HG--
extra : rebase_source : e80d662d9e70ff1fea89c385b5babc6cac53cf9e
2015-08-11 10:15:44 -04:00
Matt Woodrow b6b2040427 Bug 1135935 - Part 4: Move IDirect3DTexture9 allocations and ownership into the TextureClient. r=jrmuizel
--HG--
extra : rebase_source : 3ef1a94532980c91b850d65047493b208b1b09ce
2015-08-11 10:15:34 -04:00
Matt Woodrow 21097c326c Bug 1135935 - Part 3: Allow overriding of allocations for texture client recycling. r=sotaro
--HG--
extra : rebase_source : b93e67fd29dd805266e767f09c2df496d9256f86
2015-08-10 16:04:38 -04:00
Matt Woodrow ffbb1cdf8c Bug 1135935 - Part 2: Merge TextureClientRecycleAllocator into base class. r=sotaro
--HG--
extra : rebase_source : 7f83f4d66132531a175f17c851fa4da04fc430d9
2015-08-10 16:02:14 -04:00
Matt Woodrow 8c50fdbc72 Bug 1135935 - Part 1: Don't implement ISurfaceAllocator for the texture recycler. r=sotaro
--HG--
extra : rebase_source : 16b0a2a6e8e37f287f7aa4c6de94e6459418227c
2015-08-10 16:00:54 -04:00
David Anderson cdcd177df0 Add driver crash guards to WebGL. (bug 1190281 part 9, r=jgilbert) 2015-08-14 12:52:37 -07:00
Randall Barker cba97f4dd0 Bug 1188225 - Implement ChromeProcessController::HandleDoubleTap. r=botond
--HG--
extra : rebase_source : 305df059dcdaa23962a0864036e7fd8b179c1c42
2015-08-13 18:26:00 -04:00
Matt Woodrow f9ad8060cc Bug 1191534 - Implement BlitImageToFramebuffer for IOSurface. r=jgilbert 2015-08-14 11:50:48 -04:00
Aryeh Gregor 872bbfe767 Bug 1193298 - Part 1: Avoid RefPtr in ternary operator. r=froydnj 2015-08-11 06:43:00 -04:00
Aryeh Gregor 15205c18ac Bug 1179451 - Part 4: Don't pass nsRefPtr&& to functions that want raw pointers. r=froydnj
--HG--
extra : rebase_source : d25c43a593a72615259e39ae053376f261aa55ad
2015-08-13 15:22:48 +03:00
David Anderson 2b6cbec11a Fix bogus assert in DriverCrashGuard. (bug 1190281 followup, r=mattwoodrow) 2015-08-13 17:50:43 -07:00
Jeff Muizelaar 5d1283f868 Bug 1194335. Use a StackArray for RECTS so we see them in the minidumps. r=mattwoodrow
It will be faster too.
2015-08-13 17:01:10 -04:00
Ryan VanderMeulen 29ab476d0d Backed out changeset c6c91bdf11c0 (bug 1191534) for Werror bustage.
CLOSED TREE
2015-08-13 16:13:10 -04:00
Matt Woodrow 72e07df2de Bug 1192571 - Make sure we reparent all TextureSources when dragging a tab between windows. r=jrmuizel 2015-08-13 15:59:07 -04:00
Matt Woodrow 9a45249814 Bug 1191534 - Implement BlitImageToFramebuffer for IOSurface. r=jgilbert 2015-08-13 15:57:59 -04:00
Nathan Froyd cc763887fa Bug 1186444 - part 1 - move uses of MODULE_OPTIMIZE_FLAGS to moz.build's CFLAGS; r=mshal
Now that we have moz.build, we can be guaranteed that any flags we add
in moz.build will be added after everything else has been setup.  So any
uses of MODULE_OPTIMIZE_FLAGS can be moved to moz.build's
CFLAGS/CXXFLAGS without any unusual repercussions.  We do have to verify
that MOZ_OPTIMIZE is in effect, though.
2015-07-22 11:04:32 -04:00
Mason Chang 96798fb9ef Bug 1193842 - Delete touch resampling preference and non resampling paths. r=kats
--HG--
extra : histedit_source : e8624dd77d2993cf52f1f5970cf0eed6b1555b44
2015-08-13 08:23:14 -07:00
Jerry Shih c976708e51 Bug 1192192 - fix quad culling method. r=nical
--HG--
extra : histedit_source : 2a3cc12be6765576f55b659ca005814b960b6cf0
2015-08-13 08:22:58 -07:00
Jim Mathies 9073e3bf03 Bug 1152080 - Plugin configuration clip rects should be treated as visible rects. r=roc
--HG--
extra : histedit_source : bb4b49c29e5b66fa06771e6e1ba26e4496eb59ad
2015-08-11 13:07:34 -05:00
Sotaro Ikeda 163cac6110 Bug 1192352 - Fix fence handling of display mirroring r=nical 2015-08-13 06:52:49 -07:00
John Daggett 38517add5e Bug 1192699 - eliminate the two-stage system fontlist initialization under DirectWrite. r=m_kato 2015-08-13 15:04:25 +09:00
Jim Chen d1f529698f Bug 1192077 - Convert AndroidBridge JNIEnv calls; r=esawin 2015-08-13 00:53:39 -04:00
Nathan Froyd 0b70f91001 Bug 1193470 - silence more warnings when building skia with clang/g++; r=glandium
- Several of skia's functions are marked as deprecated, but when
  compiling Gecko, we don't really care about Skia's internal use of
  deprecated functions.

- clang warns about unused private fields, which is a valuable warning
  for Skia developers, but not a useful warning to see during Gecko
  compilations.

- Various macros in Skia are redefined as a result of using unified
  compilation.  clang has a -Wno switch for turning this off; gcc also
  warns about it, but does not have a separate switch, so we can't do
  anything about it.
2015-08-11 23:23:26 -04:00
Milan Sreckovic 0f7c78e833 Bug 1160295: Bad DisplayLink drivers -> no acceleration. r=jrmuizel 2015-08-12 15:57:43 -07:00
David Anderson 2704e2ce18 Add a crash guard for DXVA2D3D9. (bug 1190281 part 8, r=mattwoodrow) 2015-08-11 20:22:20 -07:00
David Anderson 99f7e49fd8 Allow DriverCrashGuard to be used in content processes. (bug 1190281 part 7, r=mattwoodrow) 2015-08-11 20:22:20 -07:00
David Anderson 2a7763cd1d Factor prefs out of DriverCrashGuard. (bug 1190281 part 6, r=mattwoodrow) 2015-08-11 20:22:19 -07:00
David Anderson fc56b993a8 Move telemetry recording into D3D11LayersCrashGuard. (bug 1190281 part 5, r=mattwoodrow) 2015-08-11 20:22:19 -07:00
David Anderson be8aa250bf Pull D3D11 logic out of DriverCrashGuard. (bug 1190281 part 4, r=mattwoodrow) 2015-08-11 20:22:19 -07:00
David Anderson 129b167e20 Make DriverCrashGuard initialization lazy. (bug 1190281 part 3, r=mattwoodrow) 2015-08-11 20:22:18 -07:00
David Anderson e6a325e77b Rename DriverInitCrashDetection to DriverCrashGuard. (bug 1190281 part 2, r=mattwoodrow)
--HG--
rename : gfx/src/DriverInitCrashDetection.cpp => gfx/src/DriverCrashGuard.cpp
rename : gfx/src/DriverInitCrashDetection.h => gfx/src/DriverCrashGuard.h
2015-08-11 20:22:18 -07:00
David Anderson b122843b65 Remove static vars from DriverInitCrashDetection. (bug 1183910 part 1, r=mattwoodrow) 2015-08-11 20:22:18 -07:00
Dan Glastonbury 18084ad811 Bug 1170842 - Part 2: Wrangle glGetInternalformativ symbols. r=jgilbert 2015-08-12 11:39:39 +10:00
Dan Glastonbury 752016181a Bug 1170842 - Part 1: Sort out ARB_framebuffer_object symbol queries. r=jgilbert
Obsolete old patch.

Had to resort to using GLFeature detection to look for (EXT/OES)_framebuffer_object. I feel like this sucks.
Replace long list of && with ||. Grr.
2015-08-12 11:39:38 +10:00
Milan Sreckovic 1bcbb7e6e8 Bug 1130195: Don't immediately crash if we can't allocate image. Carry r=bas 2015-08-11 14:07:49 -07:00
Jeff Gilbert f564deae5f Bug 1192466 - Prune header includes for SkiaGLGlue.h - r=bgirard 2015-08-07 19:27:14 -07:00
Birunthan Mohanathas 2b4a52cf2e Bug 1185763 - Part 3: Rename nsTArray::MoveElementsFrom to AppendElements. r=froydnj 2015-08-11 08:29:46 -07:00
Birunthan Mohanathas edbcd5e014 Bug 1185763 - Part 1: Always use mozilla::Move with nsTArray::MoveElementsFrom. r=froydnj 2015-08-11 08:29:46 -07:00
Sebastian Hengst c2581fad83 Backed out 8 changesets (bug 1183910, bug 1190281)
Backed out changeset 6ddbdbd66174 (bug 1190281)
Backed out changeset c85c1d11bd72 (bug 1190281)
Backed out changeset 7f904a453bdb (bug 1190281)
Backed out changeset e17123b5bafd (bug 1190281)
Backed out changeset 50edbeb8912e (bug 1190281)
Backed out changeset cf98685302b6 (bug 1190281)
Backed out changeset e98a176b4e0b (bug 1190281)
Backed out changeset e7b3b23bcc82 (bug 1183910)

--HG--
rename : gfx/src/DriverCrashGuard.cpp => gfx/src/DriverInitCrashDetection.cpp
rename : gfx/src/DriverCrashGuard.h => gfx/src/DriverInitCrashDetection.h
2015-08-11 10:13:43 +02:00
David Anderson f55d77eadf Add a crash guard for DXVA2D3D9. (bug 1190281 part 8, r=mattwoodrow) 2015-08-11 00:29:08 -07:00
David Anderson 0581a52de4 Allow DriverCrashGuard to be used in content processes. (bug 1190281 part 7, r=mattwoodrow) 2015-08-11 00:29:08 -07:00
David Anderson 3f58b0b15d Factor prefs out of DriverCrashGuard. (bug 1190281 part 6, r=mattwoodrow) 2015-08-11 00:29:08 -07:00
David Anderson ec5c7a536a Move telemetry recording into D3D11LayersCrashGuard. (bug 1190281 part 5, r=mattwoodrow) 2015-08-11 00:29:08 -07:00
David Anderson f01a0269f5 Pull D3D11 logic out of DriverCrashGuard. (bug 1190281 part 4, r=mattwoodrow) 2015-08-11 00:29:08 -07:00
David Anderson 6e5a461ad7 Make DriverCrashGuard initialization lazy. (bug 1190281 part 3, r=mattwoodrow) 2015-08-11 00:29:08 -07:00
David Anderson c70534a3cb Rename DriverInitCrashDetection to DriverCrashGuard. (bug 1190281 part 2, r=mattwoodrow)
--HG--
rename : gfx/src/DriverInitCrashDetection.cpp => gfx/src/DriverCrashGuard.cpp
rename : gfx/src/DriverInitCrashDetection.h => gfx/src/DriverCrashGuard.h
2015-08-11 00:29:08 -07:00
David Anderson d159b692c1 Remove static vars from DriverInitCrashDetection. (bug 1183910 part 1, r=mattwoodrow) 2015-08-11 00:29:08 -07:00
David Anderson 5953408ea9 Don't mix GPU adapters across processes. (bug 1183910 part 10, r=jmuizelaar) 2015-08-10 20:27:06 -07:00
Kartikaya Gupta 2bdce7079c Bug 1191886 - Change a couple of scrollbar async-repositioning tests so they don't get tripped up by rounding error. r=botond
--HG--
extra : commitid : 9l1enEaFhZu
2015-08-10 17:08:25 -04:00
Kartikaya Gupta 136c2d72c3 Bug 1189443 - Don't round down the margin amounts when inflating the displayport. r=dvander
--HG--
extra : commitid : C4Vo2zwNRgo
2015-08-10 18:30:45 -04:00
Andrea Marchesini da64d8ff8f Bug 1186725 - InitTextures should check if LockRect() returns an error, r=mattwoodrow 2015-08-10 14:47:22 +01:00
Matt Woodrow f9b2b22d30 Bug 1061525 - Part 6: Add readback code for converting NV12 MacIOSurfaces into RGB. r=nical 2015-08-10 22:04:27 +10:00
Matt Woodrow 92794eca74 Bug 1061525 - Part 4: Add an NV12 effect, and implement it for CompositorOGL. r=nical 2015-08-10 22:04:26 +10:00
Matt Woodrow 4087f8188c Bug 1061525 - Part 3: Add shaders for NV12 to OGLShaderProgram. r=BenWa 2015-08-10 22:04:26 +10:00
Matt Woodrow 98a666796b Bug 1061525 - Part 2: Make MacIOSurfaceTextureHostOGL understand planar MacIOSurfaces. r=jrmuizel 2015-08-10 22:04:26 +10:00
Matt Woodrow 7c20977d1c Bug 1061525 - Part 1: Add support for planar MacIOSurfaces. r=BenWa 2015-08-10 22:04:25 +10:00
Jonathan Kew 7fbcb7e3c8 Bug 1105807 - Fall back to GetGlyphIndicesW in gfxGDIFont::GetGlyph if ScriptGetCMap fails, for legacy Type1 fonts. r=jdaggett 2015-08-10 09:39:49 +01:00
Jonathan Kew 84708c3880 Bug 1191167 - Update graphite2 library to release 1.3.0. r=jdaggett 2015-08-10 09:38:46 +01:00
John Daggett 688cc90bfc Bug 1176637 - annotate known assertion in pango font branch. r=m_kato 2015-08-10 13:29:04 +09:00
Khaled Hosny 4851eca724 Bug 729993 - Use finer HarfBuzz cluster level. r=jfkthame 2015-08-09 22:01:32 +01:00
Jonathan Kew be9c788bd0 Bug 729993 - Cherry-pick harfbuzz fixes for finer-grained cluster support (9099e48e29, c7dfe316f8). r=behdad (upstream) 2015-08-09 22:01:28 +01:00
Sotaro Ikeda 499f383427 Bug 1186000 - Support screen mirroring to HDMI display on gonk r=mwu,mattwoodrow 2015-08-08 13:50:47 -07:00
Matt Woodrow 741dbc133e Bug 1191040 - Ensure that we only compute the tile size once. r=BenWa
--HG--
extra : rebase_source : 1f3024d724384955220b95db5d347d12df4d22a8
2015-08-07 15:37:56 -04:00
Ryan VanderMeulen 55a80b1971 Backed out changeset 4e63305fe592 (bug 1191040) for Linux gtest crashes.
CLOSED TREE
2015-08-07 16:24:59 -04:00
Benoit Girard dd944c9f77 Bug 1150552 - Fix partial present bug with FPS counter. r=mattwoodrow
--HG--
extra : commitid : 9KkH0zuMbgj
extra : rebase_source : eb1df181c5320f299bab3aab66bd3bc2bc7f65a4
2015-08-07 14:11:18 -04:00
Matt Woodrow 1e2e762f3c Bug 1191040 - Ensure that we only compute the tile size once. r=BenWa
--HG--
extra : rebase_source : ffe1817416bc678c4ea8a0a42d809afd4d3db86d
2015-08-07 15:37:56 -04:00
Matt Woodrow cbcf9a014e Bug 1191527 - Fix the YCbCr shaders in BlitImageToFramebuffer. r=jgilbert
--HG--
extra : rebase_source : a5360145d7ade0f0d5ed4137bb30f9b7f2eaca51
2015-08-07 15:37:54 -04:00
Nicholas Nethercote 3e45a7cea0 Bug 1189156 (part 5) - Add FontEntryTable typedef and factor out some related code. r=jfkthame.
--HG--
extra : rebase_source : 4943f681f5c88d39b3ab97340b95b124d9ec4f92
2015-08-04 18:05:19 -07:00
Nathan Froyd a82c7ce24e Bug 1192070 - avoid complaining about missing override keywords in skia; r=glandium 2015-08-07 01:34:57 -04:00
Nathan Froyd 7894c2fd13 Bug 1191900 - remove superfluous check for GCC force_align_arg_pointer attribute; r=glandium
qcms and libav use __attribute__((force_align_arg_pointer))
unconditionally; the libav use case suggests that the attribute has been
around since GCC 4.2.  We're well past that point with GCC, and clang
supports it also.  So we can simply assume the compiler has it in the
appropriate places.

It is, however, x86 only (x86-64 appropriately aligns the stack at all
times), so we need to adjust the libpixman build code appropriately.
2015-08-06 21:07:57 -04:00
David Anderson 1af4366a28 Remove the backend flag to TextureClient::CreateForDrawing. (bug 1183910 part 9, r=mattwoodrow) 2015-08-06 17:27:36 -07:00
Kyle 8d63b8b86a Bug 1136428 - Change implementation of WebGLContext::DrawBuffers such that it goes through GLScreenBuffer to change the draw buffer. Added a variable to GLScreenBuffer to cache the draw buffer mode. r=jgilbert 2015-07-31 15:56:32 -04:00
Sotaro Ikeda 226e6417ae Bug 1191457 - Revert SetDispAcquireFence() calling change r=nical 2015-08-06 06:50:02 -07:00
Carsten "Tomcat" Book 26f2018b57 Backed out 2 changesets (bug 1183910) for bustage on a CLOSED TREE
Backed out changeset 9617a34de78f (bug 1183910)
Backed out changeset d8f79432c768 (bug 1183910)
2015-08-06 12:09:52 +02:00
David Anderson 4e15c1f1eb Don't mix GPU adapters across processes. (bug 1183910 part 10, r=jmuizelaar) 2015-08-06 02:42:04 -07:00
David Anderson ff609fc994 Remove the backend flag to TextureClient::CreateForDrawing. (bug 1183910 part 9, r=mattwoodrow) 2015-08-06 02:41:07 -07:00
Bas Schouten f99f040ff9 Bug 1190950: Check mappings and surfaces for UpdateFromSurface more robustly. r=mattwoodrow 2015-08-06 02:29:47 +00:00
Nathan Froyd e622b5e3e8 Bug 1132966 - use relaxed Atomic integers for tracking graphics surface memory usage; r=njn
Graphics surface memory usage tracking is done manually, with a global
array containing the number of bytes per each type of surface used.
Since the members of the array can be touched by several different
threads, dynamic race checkers such as TSan complain about To assuage
TSan's sensibilities, we need to use atomics with relaxed memory
consistency; this change generates code identical to what we had before,
but the atomic type assures TSan that it's OK to access members on
multiple threads.  We use the relaxed memory consistency to avoid memory
barriers in the generated code.
2015-07-31 22:43:24 -04:00
Bas Schouten e2ed929e0c Bug 1188752 - Addendum: Make PersistentBufferProviderBasic constructor explicit. r=bustage on a CLOSED TREE 2015-08-05 19:37:23 +00:00
Bas Schouten 7214209e15 Bug 1188752: Ensure persistence of DrawTarget when using InitializeWithSurface. r=jrmuizel 2015-08-05 19:00:03 +00:00
Kartikaya Gupta 17ecefdf0b Bug 1190936 - Attempt some graceful handling for an unexpected situation that otherwise crashes the browser. r=botond
--HG--
extra : commitid : 5JOyeQ0xZLq
2015-08-05 14:40:11 -04:00
Botond Ballo 199b95a880 Bug 1056356 - Remove the hand-rolled mechanism used to get nsRefPtr<const OverscrollHandoffChaiin> to work. r=kats
--HG--
extra : rebase_source : b064c9389e596a0953aa59e92fc842f8fc561ef2
2015-07-29 19:52:42 -04:00
Ryan VanderMeulen cf74a0c719 Backed out changeset 6ee70eb03b02 (bug 1183788) for Android crashes. 2015-08-05 10:24:55 -04:00
Dylan Roeh f7ba5d71aa Bug 1183788 - Move all CanDetach/InitCanDetach logic into gfxPlatform.h/cpp. r=snorp 2015-08-04 17:02:18 -05:00
David Anderson a976b3be5c Don't create a D3D11 compositor device on content processes. (bug 1183910 part 8, r=bas,mattwoodrow) 2015-08-05 02:45:06 -07:00
Mason Chang [:mchang] f83fc0b5b6 Bug 1073209 - Eliminate usage of CreateSamplingRestrictedDrawable on d2d backends. r=jrmuizel 2015-08-04 08:13:00 +02:00
John Daggett ac07166426 Bug 1189129 - annotate no default font aborts. r=bas 2015-08-05 11:03:41 +09:00
Arthur Edelstein 5bcc983fed Bug 1190590 - Fix MinGW cross-compile for --enable-bundled-fonts. r=jfkthame 2015-08-03 14:59:00 -04:00
JerryShih 1f237a5ad2 Bug 1186236 - Fix drawQuad culling bug. r=nical
Consider the render target size for drawQuad culling.
2015-08-04 03:16:00 -04:00
Benoit Girard 8069df27ae Bug 1189924 - Add a background color to the APZ minimap. r=kats
--HG--
extra : transplant_source : D%F2%A9%AA%2C1%A3%C0%A3%8D%1B%B7%E0%3Dm%3C%B2%E8%7C%BB
2015-07-31 16:47:52 -04:00
CJKu 47ef1eb36a Bug 1190176 - Make LayerScopeWebSocketManager thread safe. r=:djg
--HG--
extra : rebase_source : 8ec753a1c645d1043cc903ef7f014ba49dcf4b4d
2015-08-03 22:22:00 +02:00
Nicholas Nethercote d98d14fa1e Bug 1189156 (part 4) - Don't use enumeration style for nsBaseHashtable::SizeOf{In,Ex}cludingThis(). r=erahm,jfkthame.
After this change, we have ShallowSizeOf{In,Ex}cludingThis(), which don't do
anything to measure children. (They can be combined with iteration to measure
children.)

--HG--
extra : rebase_source : f98420176f50990bbc5a25e35788328154cfeb00
2015-07-30 21:19:57 -07:00
Nicholas Nethercote fea58e7707 Bug 1189156 (part 3) - Factor out FontTable better. r=jfkthame.
--HG--
extra : rebase_source : 696db4f6384229336966ca86fa47faaf21382f1e
2015-07-30 21:15:16 -07:00
Nicholas Nethercote 1059c1de13 Bug 1189156 (part 2) - Don't use enumeration style for nsTHashtable::SizeOf{In,Ex}cludingThis(). r=erahm.
After this change, we have ShallowSizeOf{In,Ex}cludingThis(), which don't do
anything to measure children. (They can be combined with iteration to measure
children.)

And we still have the existing single-arg SizeOf{In,Ex}cluding() functions,
which work if the entry type itself defines SizeOfExcludingThis().

--HG--
extra : rebase_source : f93de9b789c21b1b148bed9de795f663f77c9dd9
2015-07-29 01:50:52 -07:00
Wes Kocher b822a1fdfc Backed out 6 changesets (bug 1061525) for mochitest-2 failures in test_BufferedSeek_mp4.html CLOSED TREE
Backed out changeset 5e90b9dab7fa (bug 1061525)
Backed out changeset ef5ce3d6412a (bug 1061525)
Backed out changeset 19c8682665a6 (bug 1061525)
Backed out changeset b48d13edb48d (bug 1061525)
Backed out changeset fae6602192a7 (bug 1061525)
Backed out changeset 5dfbd6e73c7a (bug 1061525)
2015-08-03 19:53:33 -07:00
Bobby Holley 71c3de0d20 Bug 1190117 - Track mLastProducerID and mLastFrameID explicitly in ImageLayerProperties. r=roc 2015-08-03 15:03:25 -07:00
Matt Woodrow 78e39b283c Bug 1061525 - Part 6: Add readback code for converting NV12 MacIOSurfaces into RGB. r=nical 2015-08-03 17:57:54 -04:00
Matt Woodrow 8e06ddd10e Bug 1061525 - Part 4: Add an NV12 effect, and implement it for CompositorOGL. r=nical 2015-08-03 17:57:39 -04:00
Matt Woodrow b85c277659 Bug 1061525 - Part 3: Add shaders for NV12 to OGLShaderProgram. r=BenWa 2015-08-03 17:57:33 -04:00
Matt Woodrow 8c9b1c60ba Bug 1061525 - Part 2: Make MacIOSurfaceTextureHostOGL understand planar MacIOSurfaces. r=jrmuizel 2015-08-03 17:57:26 -04:00
Matt Woodrow 54dc21c8b3 Bug 1061525 - Part 1: Add support for planar MacIOSurfaces. r=BenWa 2015-08-03 17:57:19 -04:00
CJ Ku 009a82453e Bug 1061393 - Export display list info to layer scope viewer. r=kamidphish 2015-08-03 02:11:00 -04:00
Jamie Nicol 3e0de12cde Bug 1187619 - Only optmimize FrameLayerBuilder visibility calculations if correct. r=mattwoodrow
Bug 1176077 introduced the parameter aDirtyRegion to
DrawPaintedLayerCallback, which allows the callback to recompute the
visibility of all items to be painted in that transaction in a single
go. However, this parameter can not always be determined correctly
when using RotatedBuffer, and using an incorrect value was causing
graphical glitches.

Make the parameter optional, and on null values do not perform the
optimisation. Pass null from ClientPaintedLayer, which uses
RotatedBuffer and was causing problems, but continue to pass the
correct value from other Layer implementations. This optimisation was
most important for tiled layers using progressive paint, so this is
okay.
2015-08-03 04:07:00 -04:00
Lee Salzman 20e9dbbf1a Bug 1186875 - check if FcFontSort returns non-null. r=jtd 2015-07-31 14:37:19 -04:00
Lee Salzman 87798607f1 Bug 1185636 - Part 4 - Implement CSS border corners by splitting geometry instead of gradients with hard stops. r=mstange 2015-07-31 14:27:19 -04:00
Lee Salzman 6e0365acf0 Bug 1185636 - Part 3 - Refactor ArcToBezier so that its implementation can be more easily reused. r=jmuizelaar 2015-07-27 12:12:22 -04:00
Lee Salzman 8008d7c037 Bug 1185636 - Part 2 - Add some utility methods to Point and Size. r=jmuizelaar 2015-07-20 14:53:24 -04:00
Jonathan Kew ceab5405df Bug 1146151 - Update harfbuzz to release 1.0.1, to pick up recent fixes and the new Universal Shaping Engine for Win10 parity. r=jdaggett 2015-08-03 10:15:45 +01:00
Jonathan Kew fad47169f8 Bug 1184473 - Bypass the word cache for graphite fonts that include space contextuals. r=jdaggett 2015-08-03 09:04:59 +01:00
Makoto Kato 50e851b877 Bug 830801 - Part 2. Remove NOMINMAX define from moz.build. r=mshal 2015-08-03 10:07:09 +09:00
Bobby Holley b3cb004ac9 Bug 1167215 - Re-apply CompositeUntil calls when we get a new batch of textures. r=roc 2015-08-02 17:36:42 -07:00
Bobby Holley b881db962e Bug 1167215 - Composite on every vsync until the scheduled one. r=roc 2015-08-02 17:36:42 -07:00
David Anderson ac8c6304a9 Use the same graphics device parameters across processes. (bug 1183910 part 7, r=mattwoodrow) 2015-08-02 13:59:33 -07:00
Matt Woodrow 9d73d12d9d Backout 104b0bbd714f (Bug 1189399) and re-enable single tiling for B2G since the issues should be resolved now. 2015-07-31 17:06:04 -04:00
Matt Woodrow b9f9e00ba3 Bug 1189710 - Use correct offset for LayerRenderState in TiledContentHost. r=jrmuizel 2015-07-31 17:04:43 -04:00
Matt Woodrow a1da098a25 Bug 1189261 - Mark tile invalid region in coordinates relative to the tile. r=jrmuizel 2015-07-31 17:03:58 -04:00
Jesse Ruderman 7ed9e0fe1b Bug 1024259: Use NS_FREE_PERMANENT_DATA more consistently. r=mccr8 2015-07-31 12:11:48 -07:00
Benoit Girard d3906909ed Bug 1189611 - Improve the APZ minimap position and ignore trivial APZ. r=kats
--HG--
extra : transplant_source : I%97%5C%A48u%E6%86_%83%D8g%84yRV%E8%A7%ABR
extra : histedit_source : bbb746920ae90214ab3ea0f815d0d97a26db7090
2015-07-31 13:24:24 -04:00
Benoit Girard f8d5b33a49 Bug 1072313 - Check for more leaks in the layers code. r=mstange
--HG--
extra : commitid : EgwkF8ok3Nr
2015-07-29 11:57:03 -04:00
John Daggett 6052d1cb31 Bug 1189158 - shutdown font loader thread in separate event. r=m_kato 2015-07-31 10:10:31 +09:00
Matt Woodrow 7741e388ea Bug 1189399 - Disable single tile painting for b2g because of regressions. r=jrmuizel
--HG--
extra : rebase_source : 22f52714b1e389eef642261e260c523a1be86fbd
2015-07-30 17:44:03 -04:00
Sotaro Ikeda 9a1e9cd34d Bug 1186264 - Add error check to GrallocTextureHostOGL::GetAsSurface() r=nical 2015-07-30 14:43:59 -07:00
Jeff Muizelaar 5a4d300b4c Bug 1186431. Backout "Recreate the RenderTargetView on demand" r=jgilbert
This reverts commit 8d5da151b0df

--HG--
extra : rebase_source : 4925147d4793e2e1b4ce968a073af6791e732212
2015-07-29 10:44:05 -04:00
Lee Salzman f15be30759 Bug 1188462 - Fix inclusion of skia headers to use correct directory prefixes. r=jrmuizel 2015-07-29 16:31:40 -04:00