Commit Graph

11228 Commits

Author SHA1 Message Date
Jonathan Watt
fdee44147a Bug 1028786, part 2 - Get rid of the Thebes backed gfxContext in gfxPlatformGtk.cpp. r=mattwoodrow
--HG--
extra : rebase_source : 2920a2b3d862180a15d5a037741744ea5766b5b1
2014-06-23 23:48:59 +01:00
Jonathan Watt
34d2f1c5df Bug 1028786, part 1 - Add a gfxUtils::ClearThebesSurface() helper method. r=mattwoodrow
--HG--
extra : rebase_source : 524ffe6d276ea9b51cf01d534f65c9b74b32b950
2014-06-23 23:48:58 +01:00
David Burns
7f633e1f85 Bug 1024642: Add in rebeccapurple to color lists in gfx; r=dbaron 2014-06-23 10:24:17 +01:00
David Burns
3a9c1410f8 Bug 1024642: Remove extra white space from files, no functional changes; r=dbaron 2014-06-23 10:24:16 +01:00
Benoit Jacob
4d8d1e305a Bug 1028420 - Non-unified build fails when using --enable-warnings-as-errors - bustage fix, no review 2014-06-23 14:49:09 -04:00
Benoit Jacob
8c1b0d7cfc Bug 1028588 - Fix dangerous public destructors in gfx - r=jrmuizel 2014-06-23 14:49:07 -04:00
Kartikaya Gupta
d4f519bb27 Back out bug 1021248 for causing bug 1028271. r=backout 2014-06-23 14:38:02 -04:00
Walter Litwinczyk
a32178518a Bug 1004376 - Remove reliance on legacy skia apis GETTOTALCLIP. r=gw280 2014-06-20 11:03:09 -07:00
Ehsan Akhgari
a007389621 Bug 1028944 follow-up: remove the #ifdef altogether 2014-06-23 10:23:30 -07:00
Ehsan Akhgari
b089580f83 Bug 1028944 - Use nscore.h SEH wrapper macros in gfxWindowsPlatform.cpp; r=jrmuizel 2014-06-23 09:04:22 -07:00
Kartikaya Gupta
6372a34da2 Bug 1020778 - Reduce opacity of low-res buffer on B2G by half when compositing it to the screen. r=jrmuizel 2014-06-23 12:00:18 -04:00
Benoit Jacob
4033d06c7c Remove unused static variable that causes non-unified build to fail - trivial, no review, no bug 2014-06-23 11:53:51 -04:00
Benoit Jacob
c590a87a46 Remove unused static function that causes non-unified build to fail - trivial, no review, no bug 2014-06-23 11:50:43 -04:00
zhoubcfan
7e5658fbee Bug 891709 - Fix build bustage in gfx/2d/Factory.cpp when Skia is disabled. r=gw280 2014-05-03 04:13:00 -04:00
Geoff Brown
4fb47aace2 Bug 456899 - Avoid assertion "forgot to short-circuit a text run with zero-sized font?"; r=jfkthame 2014-06-23 08:35:52 -06:00
Kartikaya Gupta
85e9e56f4e Bug 1021085 - Miscellaneous cleanup. r=Cwiiis 2014-06-23 08:42:53 -04:00
Kartikaya Gupta
9822c7f229 Bug 1021085 - Use the entire compositor-side composition bounds as the coherent update rect on B2G. r=Cwiiis r=BenWa 2014-06-23 08:42:53 -04:00
Kartikaya Gupta
937ee7bc80 Bug 1021085 - Fix up the Fennec code path as well. r=Cwiiis 2014-06-23 08:42:53 -04:00
Kartikaya Gupta
86788006ac Bug 1021085 - Remove unnecessary transform stored on the paint data. r=Cwiiis 2014-06-23 08:42:48 -04:00
Kartikaya Gupta
ab1b3da0d8 Bug 1021085 - Inflate the painted rect a bit to deal with rounding error. r=Cwiiis 2014-06-23 08:42:19 -04:00
Kartikaya Gupta
1f7f22dbb7 Bug 1021085 - Fix up the transform used for the compositor side composition bounds. r=Cwiiis 2014-06-23 08:42:01 -04:00
Kartikaya Gupta
5a886a99f9 Bug 1021085 - Refactor code to ensure we use the same scrolling ancestor layer everywhere. r=Cwiiis 2014-06-23 08:41:09 -04:00
Mason Chang
bf3556743d Bug 990832 - Build a tool to visualize frame uniformity. r=mchang, benwa. 2014-06-19 09:33:00 +02:00
Jonathan Watt
5de5cb5700 Bug 1025537 - Stop using gfxImageSurface in gfxBlur and gfxPlatform::CreateDrawTargetForData. r=mattwoodrow 2014-06-26 08:40:12 +01:00
Jonathan Watt
d8f6a0711e Bug 1025553, part 2 - Change gfxMatrix from a struct to a class. r=Bas 2014-06-25 12:59:46 +01:00
John Daggett
4182cf602b Bug 961558 - remove smallCaps from gfxFontStyle. r=jfkthame 2014-06-23 12:09:17 +09:00
John Daggett
d9439d2441 Bug 961558 - add fallback support for font-variant-caps values. r=jfkthame 2014-06-23 12:09:16 +09:00
Matt Woodrow
c7b547f6b9 Bug 1025896 - Null check generated blur surface. r=Bas 2014-06-18 13:36:30 +12:00
Sasha Fydrich
4028b7143e Bug 1020439 - Call cairo_surface_destroy in GetCairoSurfaceForSourceSurface in case of failure. r=bas 2014-06-22 11:10:07 -07:00
Jonathan Kew
7a004be871 bug 1028134 - Remove dangerous public destructor of gfxContext. r=bjacob 2014-06-22 13:28:12 +01:00
Cgg
bcc884b13d Bug 783043 - Restore original image factory after paint operations. r=nical
---
 gfx/layers/ImageContainer.h          |    5 +++++
 gfx/layers/basic/BasicImageLayer.cpp |    7 +++++++
 2 files changed, 12 insertions(+)
2014-06-21 14:32:30 +02:00
Nicolas Silva
4dbefdf0a1 Bug 783043 - Backed out changeset 29bc4fa125d9 (commit message). r=me 2014-06-21 19:51:07 +02:00
Cgg
a77defb05f From d5e66ff9f47b4bbd59808c75ede6e30ad35a5cd4 Mon Sep 17 00:00:00 2001
Bug 783043 - Restore original image factory after paint operations. r=nical
---
 gfx/layers/ImageContainer.h          |    5 +++++
 gfx/layers/basic/BasicImageLayer.cpp |    7 +++++++
 2 files changed, 12 insertions(+)
2014-06-21 14:32:30 +02:00
Sotaro Ikeda
40addacbce Bug 1026580 - Remove an infinite loop possibility from AsyncTransactionTracker::WaitComplete() r=nical 2014-06-21 08:30:30 -07:00
Sotaro Ikeda
8f42bb3391 Bug 1025781 - Remove unnecessary gfx::SourceSurface r=nical 2014-06-21 05:15:41 -07:00
Mike Hommey
8882c26547 Bug 1027448 - Fix building gfxSurfaceRefCountTest.cpp with system cairo. r=mshal 2014-06-20 17:32:41 +09:00
Mike Hommey
85cafe2b71 Bug 1027000 - Allow binary compatibility with libpixman versions between 0.19.2 and 0.25.2 when building against system libpixman. r=jrmuizel 2014-06-20 17:31:58 +09:00
Jonathan Watt
7ba2839a4a Bug 1027645 - Eliminate all nsRenderingContext::AppUnitsPerDevPixel() callers and all non-propagating nsRenderingContext::DeviceContext() callers. r=roc 2014-06-20 07:42:30 +01:00
Brian Birtles
d4fb178556 Bug 1025709 part 1 - Move mDelay to AnimationTiming; r=heycam
This patch is the first part in preparing the way to merge ElementTransitions
with CommonElementAnimationData (which we'll eventually rename to something
nicer).

Here we move mTiming from CommonElementAnimationData to the AnimationTiming
struct. While this is not strictly necessary in order to do the later
refactoring it makes it simpler since it:

- Divides time calculation into calculation based on dynamic play state (the
  responsibility of animation players in Web Animations terms) and static
  author-specified timing parameters (a property of animations in Web Animations
  terms).
- In future we will probably put animations on the compositor during their
  delay phase so we will want the delay to be present in the AnimationTiming
  struct then.
- Makes AnimationTiming line up with the dictionary of the same name in Web
  Animations.
2014-06-20 12:39:23 +09:00
Sotaro Ikeda
d32e919388 Bug 1027088 - Ensure fence delivery for TiledContentClient on gonk r=nical 2014-06-19 19:41:36 -07:00
Benoit Girard
2c957e7952 Bug 1027496 - Stream display list and layers dump. r=mattwoodrow 2014-06-19 18:36:25 -04:00
Jonathan Watt
75a2e96e37 Bug 1027763, part 3 - Remove the old DrawTarget::GetType() method. r=Bas 2014-06-19 21:35:34 +01:00
Jonathan Watt
1cdf5f551b Bug 1027763, part 2 - Make non-Moz2D callers of DrawTarget::GetType() call DrawTarget::GetBackendType() instead. r=Bas 2014-06-19 21:35:33 +01:00
Jonathan Watt
0d1000d663 Bug 1027763, part 1 - Rename DrawTarget::GetType() to DrawTarget::GetBackendType() in Moz2D code. r=Bas 2014-06-19 21:35:33 +01:00
Benoit Girard
d34fdfc599 Bug 1027794 - Don't copy the visible region when rendering. r=bjacob 2014-06-19 16:14:46 -04:00
Kartikaya Gupta
00440d3443 Bug 1021248 - Update the low-res tiles even when not in risk of checkerboarding. r=Cwiiis 2014-06-19 09:27:32 -04:00
Kartikaya Gupta
baf9034eeb Bug 1026756 - Detect when a scroll offset update is going to remove checkerboarding, and don't leave things in a low-precision state. r=Cwiiis 2014-06-19 09:27:31 -04:00
Nicolas Silva
677877442e Bug 1027365 - Activate ImageBridge by default when OMTC on. r=sotaro 2014-06-19 11:45:19 +02:00
Jonathan Kew
569f582d7b bug 871453 - part 3 - support font-synthesis options through the fontconfig backend. r=jdaggett 2014-06-19 08:09:00 +01:00
Jonathan Kew
30b98aa2e5 bug 871453 - part 2 - support font-synthesis options through the platform-font-list backends. r=jdaggett 2014-06-19 08:08:58 +01:00
Jonathan Kew
da86af6995 bug 871453 - part 1 - pass the font-synthesis flags down to gfxFontStyle. r=jdaggett 2014-06-19 08:08:55 +01:00
Jonathan Kew
b88760e7ce bug 1025076 - handle negative glyph advance more sensibly in gfxGDIFont. r=jdaggett 2014-06-18 17:46:04 +01:00
Birunthan Mohanathas
617866f602 Bug 1026535 - Fix mismatched class/struct tags. r=ehsan 2014-06-18 17:57:51 -07:00
Birunthan Mohanathas
c910458886 Bug 1016240 - Exterminate CR+LF line endings. r=briansmith,cpearce,ehsan,gavin 2014-06-18 17:56:02 -07:00
Benoit Jacob
e01bd7ff0c Bug 1027251 - Fix or whitelist dangerous public destructors in gfx/ - r=jrmuizel 2014-06-18 22:28:59 -04:00
Nicholas Nethercote
bb9d51e11e Bug 1010064 - Allow memory reports to be anonymized. r=bsmedberg.
--HG--
extra : rebase_source : 5eb756b17a97e751deb0f47e909fdb35533cb23b
2014-05-20 23:06:54 -07:00
Jeff Gilbert
0d8f255d01 Bug 1000640 - Crash if we try to use the Gralloc path in TextureHost. - r=mattwoodrow 2014-06-18 17:04:06 -07:00
Jeff Gilbert
4ffbabe4bc Bug 1000640 - Use new StreamTextureClient/Host with OMTC. - r=mattwoodrow 2014-06-18 17:04:06 -07:00
Jeff Gilbert
df64a4a5ba Bug 1000640 - Update Gralloc and ANGLE ShSurf backends. - r=mattwoodrow 2014-06-18 17:04:05 -07:00
Jeff Gilbert
848f7a9baa Bug 1000640 - Death to whitespace. - r=mattwoodrow 2014-06-18 17:04:05 -07:00
Jeff Gilbert
2c846dda69 Bug 1000640 - Handle non-premult alpha in Layers. - r=mattwoodrow 2014-06-18 17:04:05 -07:00
Benjamin Smedberg
2ae2942f4b Bug 768395 - Crash in CDevice::DriverInternalErrorCB because the d3d device is set to crash on error instead of merely returning error codes. Explicitly set the exception mode on device creation, and assert it every time we get it again. r=jrmuizel 2014-06-17 13:00:13 -04:00
Sotaro Ikeda
72bfb0e2d1 Bug 1022167 - Ensure fence delivery of thebes layer in b2g process r=nical 2014-06-18 12:13:27 -07:00
Nicolas Silva
cba735449e Bug 1014355 - Fix ownership issue in X11TextureClient. r=cwiiis 2014-06-18 19:11:12 +02:00
Sotaro Ikeda
0d9f76da1a Bug 1026432 - Add GetCompositorChild() to ClientLayerManager r=nical 2014-06-17 19:42:34 -07:00
Bas Schouten
c0a768da55 Bug 1019909: Properly initialize white buffer to white. r=nical 2014-06-18 00:55:31 +02:00
Benoit Girard
63335138a5 Bug 1015659 - Replace frame-counter by qrcode to tag video frames. r=jrmuizel 2014-06-17 16:34:42 -04:00
Botond Ballo
d28131c9fb Bug 1019996 - Apply overscroll effect to fixed and sticky layers. r=kats, r=Cwiiis 2014-06-12 20:27:32 -04:00
Botond Ballo
d1869da29c Bug 1019996 - Remove an unnecessary call to AlignFixedAndStickyLayers. r=Cwiiis 2014-06-12 16:40:35 -04:00
Jeff Muizelaar
740e816034 Bug 1026461. #include intrin.h in pixman-x86.c for __cpuid.
This is required to build with clang-cl because it wraps the msvc
intrinsics in intrin.h

--HG--
extra : rebase_source : db1945bfceec5e9657f7bc93de0256b20bab70a1
2014-06-17 14:09:35 -04:00
Jonathan Watt
d8f30cbd1f Bug 1025553, part 1 - Change the names of the members of gfxMatrix to match the names of the members of Moz2D's Matrix. r=Bas 2014-06-17 18:35:51 +01:00
Jonathan Watt
b72e83de89 Bug 1025494 - Remove dead code in ThebesLayerD3D10 that creates a gfxD2DSurface. r=Bas 2014-06-17 18:35:51 +01:00
Jonathan Watt
a2c85753d8 Bug 1025490 - Stop using gfxImageSurface in the layers code. r=Bas 2014-06-17 18:35:51 +01:00
Jonathan Watt
ccdf9306e6 Bug 1025489 - Stop using gfxImageSurface in the GL code. r=Bas 2014-06-17 18:35:50 +01:00
Kartikaya Gupta
7044ff91e7 Bug 1025562 - Remove improper use of viewport in tiling calculations. r=Cwiiis 2014-06-17 12:44:12 -04:00
Kartikaya Gupta
54a13ce49d Bug 1025562 - Add logging to TiledContentClient. r=Cwiiis 2014-06-17 12:43:12 -04:00
Jonathan Watt
5975958b8b Bug 1025858 - Remove gfxPlatform's SourceSnapshotDetached. r=gal 2014-06-17 10:37:46 +01:00
Jonathan Watt
03ee096c80 Bug 1025497 - Stop using gfxImageSurface in Cocoa widget code. r=mstange 2014-06-17 10:37:45 +01:00
Jonathan Watt
410ac1cd84 Bug 1022031 - Rework gfxPlatform::GetSourceSurfaceForSurface so that it doesn't need to use a Thebes backed gfxContext (Moz2D conversion). r=mattwoodrow 2014-06-17 10:08:23 +01:00
Wes Kocher
8f64c566cd Backed out changeset 66f9a0038c67 (bug 774388) for various frequent intermittent failures including mochitest-2 on a CLOSED TREE 2014-06-16 19:00:15 -07:00
Sotaro Ikeda
a95491f0e3 Bug 1025781 - Add CreateDataSourceSurface() failure checks r=nical 2014-06-16 16:47:28 -07:00
David Zbarsky
d4b32d6e6d Bug 1015644 - Clean up ActiveElementManager r=botond 2014-06-16 18:50:16 -04:00
Benoit Girard
b555f48399 Bug 1024148 - Part 2: Merge nsDisplayOpacity into nsDisplayBackgroundColor. r=mattwoodrow
--HG--
extra : rebase_source : c48cc799414ff83b74caff8df5503a743dbf74b1
2014-06-14 11:10:45 -04:00
Michael Wu
6682b8f84f Bug 1024166 - Misc header/namespace cleanups in imglib, r=seth 2014-06-16 18:25:43 -04:00
Benoit Jacob
7270c0b0fc Bug 774388 - Patch 6: fix a silly double negation - r=nical 2014-06-06 09:51:27 -04:00
Mike Hommey
5e3fc93a3b Bug 1025576 - Fix crash in TSymbolTableLevel::~TSymbolTableLevel with GCC 4.9. r=bjacob 2014-06-17 07:15:36 +09:00
Benoit Jacob
83a8c031b4 Bug 774388 - Patch 5: Properly manage the lifetime of the compositor thread, by waiting for CrossProcessCompositorParents to die before destroying it - r=nical,mattwoodrow 2014-06-06 09:51:26 -04:00
Ryan VanderMeulen
9fa26cbf9c Merge m-c to inbound on a CLOSED TREE. a=merge 2014-06-16 14:26:54 -04:00
Kartikaya Gupta
718eb8f23e Bug 1023882 - Part 8 - Remove the argument to EndPaint. r=Cwiiis 2014-06-11 12:42:46 -04:00
Kartikaya Gupta
1201a3220c Bug 1023882 - Part 7 - Move down the calculation of the low-precision invalid region so it happens later. r=Cwiiis 2014-06-11 12:42:46 -04:00
Kartikaya Gupta
5c90297023 Bug 1023882 - Part 6 - Move all SetRepeatTransaction calls into ClientTiledThebesLayer so it's easier to follow the flow. r=Cwiiis 2014-06-11 12:42:45 -04:00
Kartikaya Gupta
0f3ab418b4 Bug 1023882 - Part 5 - Move the invalid region calculation up a bit. r=Cwiiis 2014-06-11 12:42:45 -04:00
Kartikaya Gupta
69631acc84 Bug 1023882 - Part 4 - Extract a RenderLowPrecision helper function. r=Cwiiis 2014-06-11 12:42:45 -04:00
Kartikaya Gupta
8f19ec21c5 Bug 1023882 - Part 3 - Extract a RenderHighPrecision helper function. r=Cwiiis 2014-06-11 12:42:45 -04:00
Kartikaya Gupta
6b9f49fd00 Bug 1023882 - Part 2 - Create a first-transaction block for all the first-transaction code. r=Cwiiis 2014-06-11 12:42:44 -04:00
Kartikaya Gupta
e17a5ffb6e Bug 1023882 - Part 1 - Small refactorings. r=Cwiiis 2014-06-11 12:42:44 -04:00
Solomon Chiu
0377b0bd09 Bug 973777 - Breaking down the information of GrallocReporter. r=njn 2014-06-15 23:27:00 +08:00
Phil Ringnalda
049f5b7475 Back out 53e5f619cb62 (bug 1025497) for build bustage
CLOSED TREE
2014-06-14 19:04:52 -07:00
Jonathan Watt
086da1aee1 Bug 1025497 - Stop using gfxImageSurface in Cocoa widget code. r=mstange 2014-06-15 01:44:46 +01:00
Jonathan Watt
9a507b878e Bug 1025491 - Remove the DumpAsPNG() code in FilterNodeSoftware.cpp. r=mstange 2014-06-15 01:34:01 +01:00
Jeff Muizelaar
299397f68f Bug 1022059. Rewrite MergeRects in a saner, more like pixman style. r=mwoodrow
--HG--
extra : rebase_source : 8fdaf374b8757f33c7df8905a84ad1055a05a591
2014-06-13 23:16:13 -04:00
Mats Palmgren
6a32467840 Bug 427928 - part 2, Add NS_THEME_FOCUS_OUTLINE to support drawing a native themed focus outline. r=roc 2014-06-14 12:48:07 +00:00
"Kan-Ru Chen (陳侃如)"
304410dce4 Bug 1020169 - Part 2. Register nested LayerTree. r=mattwoodrow
Use PCompositor::NotifyChildCreated which was ill-defined for
cross-process case.

Assume that for all LayerTrees managed by a CrossProcessCompositorParent
all share the same CompositorParent.
2014-06-14 15:25:02 +08:00
Botond Ballo
81838e66b3 Bug 1022719 - Ignore additional touches when in overscrolled state. r=kats 2014-06-10 19:43:20 -04:00
Botond Ballo
2a975088d6 Bug 1022719 - Further improve const correctness in AsyncPanZoomController. r=kats 2014-06-12 18:17:26 -04:00
Benoit Jacob
c704395d39 Bug 774388 - Patch 4: Flatten the way that we track whether we are using OMTC, and move Layers IPC shutdown code back to gfxPlatform (but still triggered by ShutdownXPCOM) - r=nical,sotaro 2014-06-06 09:51:24 -04:00
Jonathan Watt
e5cec405a1 Bug 1023336, part 2 - Use the new BufferSizeFromStrideAndHeight helper where appropriate in Moz2D code. r=Bas 2014-06-13 22:03:52 +01:00
Jonathan Watt
1ddc596cc2 Bug 1023336, part 1 - Add a Moz2D helper to consistently limit the size of data-wrapping DataSourceSurface buffers. r=Bas 2014-06-13 22:03:52 +01:00
Jonathan Watt
295bc31bc0 Bug 1015785 - Fix Moz2D's AlignedArray::Realloc() to not over allocate. r=Bas 2014-06-13 22:03:52 +01:00
Chris Lord
a859698da6 Bug 1006084 - Allow ThebesLayers to be recreated when the creation hint changes. r=mattwoodrow 2014-06-13 17:11:08 +01:00
Jonathan Watt
87a7c1550f Bug 1024983 - Stop addrefing and releasing excessively in the Moz2D code in functions that return a TemporaryRef. r=mstange 2014-06-13 17:09:23 +01:00
Ehsan Akhgari
79a6a76cb1 Bug 1024713 - Fix a compilation error in cairo with clang-cl; r=jrmuizel 2014-06-13 11:34:07 -04:00
Jonathan Kew
4a13080c9f bug 985220 pt 3 - when zeroing the width of mark glyphs, also update their offset to overstrike preceding glyph. r=behdad 2014-06-09 15:54:10 +01:00
Jonathan Kew
dd35e0a8ba bug 985220 pt 2 - replace the use of GetGlyphIndicesW with ScriptGetCMap in gfxGDIFont::GetGlyph. r=jdaggett 2014-06-09 16:43:16 +01:00
Jonathan Kew
72edf6d50c bug 985220 - remove the old GDI, Uniscribe and DWrite text-shaping code paths, as we now use HarfBuzz or Graphite for all shaping on Windows. r=jdaggett 2014-06-09 15:47:31 +01:00
Sotaro Ikeda
6635575960 Bug 1024144 - Deliver acquire fence to HwComposer r=sushil,nical 2014-06-12 18:46:25 -07:00
Ryan VanderMeulen
b0ba4efcce Backed out changeset a461a267cf62 (bug 1021248) for suspicion of causing B2G fixed-1.html perma-fail.
CLOSED TREE
2014-06-12 17:06:06 -04:00
Jonathan Watt
fceca40178 Bug 1022821, part 2 - In gfx code, stop returning RefPtr and, where not an out-param, stop using RefPtr arguments. r=Cwiiis 2014-06-12 20:24:05 +01:00
Bas Schouten
877517037b Bug 1024643: Create and upload D2D bitmaps in separate steps. r=mattwoodrow 2014-06-12 19:05:37 +00:00
Botond Ballo
af064a29d7 Bug 1023491 - Deserialize FrameMetrics::mContentDescription correctly over IPC. r=kats 2014-06-10 17:09:02 -04:00
chiajung hung
3573fa4057 Bug 1012961 - ABORT: Invalid SurfaceDescriptor passed in: file gfx/layers/opengl/GrallocTextureHost.cpp, line 292. r=nical 2014-06-12 02:06:00 -04:00
Kartikaya Gupta
1ed8c68d07 Bug 1021248 - Update the low-res tiles even when not in risk of checkerboarding. r=Cwiiis 2014-06-12 09:17:04 -04:00
Ed Morley
614c1eedc7 Backed out changeset cd50c7187a48 (bug 1022821) for compilation errors 2014-06-12 13:00:19 +01:00
Jonathan Watt
e25d24ac3a Bug 1022821, part 2 - In gfx code, stop returning RefPtr and, where not an out-param, stop using RefPtr arguments. r=Cwiiis 2014-06-12 12:33:12 +01:00
Wes Kocher
710c6fb59e Backed out 8 changesets (bug 1023882) for b2g mochitest-4 orange on a CLOSED TREE
Backed out changeset 501167f9e525 (bug 1023882)
Backed out changeset 811d536995cf (bug 1023882)
Backed out changeset c38a0cb1e00c (bug 1023882)
Backed out changeset 4ba2f2a98114 (bug 1023882)
Backed out changeset 42e44e1eb363 (bug 1023882)
Backed out changeset a92435f75f89 (bug 1023882)
Backed out changeset 039cfd09fa32 (bug 1023882)
Backed out changeset 05e8c4ee536d (bug 1023882)
2014-06-11 16:39:01 -07:00
Jonathan Watt
76d996544d Bug 1022821, part 1 - Stop using a RefPtr for QuartzSupport::AttachIOSurface's aSurface argument. r=BenWa 2014-06-11 23:08:17 +01:00
Wes Kocher
746ccc9c7b Backed out changeset bc9031f59e1c (bug 1021248) for Werror bustage 2014-06-11 14:46:59 -07:00
Kartikaya Gupta
e7972e699e Bug 1021248 - Update the low-res tiles even when not in risk of checkerboarding. r=Cwiiis 2014-06-11 17:22:00 -04:00
Kartikaya Gupta
ee25244a8c Bug 1022577 - Ensure we flush the repaint _after_ taking the scroll offset from content. r=botond 2014-06-11 16:51:30 -04:00
Bas Schouten
b33c0b3b70 Bug 992491: Add DrawTargetTiled for redirecting drawing to multiple tiles. r=mattwoodrow 2014-06-11 19:53:02 +00:00
Nicolas Silva
1f897c8bef Bug 1023350 - Rename TextureClient::GetAsDrawTarget into TextureClient::BorrowDrawTarget and fix TextureClientX11. r=bjacob 2014-06-11 14:57:58 -04:00
Nicolas Silva
24170d99b1 Bug 1019000 - Add a null-check in CairoImage::GetTextureClient to fix a crash. r=mattwoodrow 2014-06-11 13:33:37 -04:00
Kartikaya Gupta
f433b5d66c Bug 1023882 - Part 8 - Remove the argument to EndPaint. r=Cwiiis 2014-06-11 12:42:46 -04:00
Kartikaya Gupta
d5c83e8ec1 Bug 1023882 - Part 7 - Move down the calculation of the low-precision invalid region so it happens later. r=Cwiiis 2014-06-11 12:42:46 -04:00
Kartikaya Gupta
7c0cca50e9 Bug 1023882 - Part 6 - Move all SetRepeatTransaction calls into ClientTiledThebesLayer so it's easier to follow the flow. r=Cwiiis 2014-06-11 12:42:45 -04:00
Kartikaya Gupta
9b304e3278 Bug 1023882 - Part 5 - Move the invalid region calculation up a bit. r=Cwiiis 2014-06-11 12:42:45 -04:00
Kartikaya Gupta
555d7abc76 Bug 1023882 - Part 4 - Extract a RenderLowPrecision helper function. r=Cwiiis 2014-06-11 12:42:45 -04:00
Kartikaya Gupta
923f72094c Bug 1023882 - Part 3 - Extract a RenderHighPrecision helper function. r=Cwiiis 2014-06-11 12:42:45 -04:00
Kartikaya Gupta
bb4bee7345 Bug 1023882 - Part 2 - Create a first-transaction block for all the first-transaction code. r=Cwiiis 2014-06-11 12:42:44 -04:00
Kartikaya Gupta
08aa2460d4 Bug 1023882 - Part 1 - Small refactorings. r=Cwiiis 2014-06-11 12:42:44 -04:00
Ed Morley
8b6fb691bd Backed out changeset bfb5297101cd (bug 1000640) for compilation failures on B2G 2014-06-11 17:07:41 +01:00
Ed Morley
32338f43fe Backed out changeset 11bb536cdede (bug 1000640) 2014-06-11 17:07:17 +01:00
Ed Morley
37bf9a31ca Backed out changeset d1b96309bb9d (bug 1000640) 2014-06-11 17:07:14 +01:00
Ed Morley
eea2dcd242 Backed out changeset c4681bf6680c (bug 1000640) 2014-06-11 17:07:10 +01:00
Jeff Gilbert
03f417f180 Bug 1000640 - Use new StreamTextureClient/Host with OMTC. - r=mattwoodrow 2014-06-04 15:20:26 -07:00
Jeff Gilbert
844a81be35 Bug 1000640 - Update Gralloc and ANGLE ShSurf backends. - r=mattwoodrow 2014-06-04 15:20:25 -07:00
Jeff Gilbert
8c1e713b28 Bug 1000640 - Death to whitespace. - r=mattwoodrow 2014-06-04 15:20:25 -07:00
Jeff Gilbert
a0b2d200ef Bug 1000640 - Handle non-premult alpha in Layers. - r=mattwoodrow 2014-06-04 15:20:24 -07:00
Jeff Muizelaar
9d6f48d1af Bug 1023691. Support Data surfaces in DrawTargetSkia::CopySurface. r=mwoodrow
--HG--
extra : rebase_source : 99278192158953367d79c9b87470b69546d12d09
2014-06-11 11:38:41 -04:00
Jeff Muizelaar
8443fa7ea1 Bug 1020629. DrawTargetSkia::CopySurface is broken with A8 surfaces. r=gw280
If we clear the surface before doing drawBitmap we end up with
the right results. This also adds some writePixels code
that we could try out later.

--HG--
rename : content/base/test/xcsp/chrome.ini => content/base/test/csp/chrome.ini
rename : content/base/test/xcsp/file_CSP.sjs => content/base/test/csp/file_CSP.sjs
rename : content/base/test/xcsp/file_CSP_evalscript_main.html => content/base/test/csp/file_CSP_evalscript_main.html
rename : content/base/test/xcsp/file_CSP_evalscript_main.html^headers^ => content/base/test/csp/file_CSP_evalscript_main.html^headers^
rename : content/base/test/xcsp/file_CSP_evalscript_main.js => content/base/test/csp/file_CSP_evalscript_main.js
rename : content/base/test/xcsp/file_CSP_evalscript_main_getCRMFRequest.html => content/base/test/csp/file_CSP_evalscript_main_getCRMFRequest.html
rename : content/base/test/xcsp/file_CSP_evalscript_main_getCRMFRequest.html^headers^ => content/base/test/csp/file_CSP_evalscript_main_getCRMFRequest.html^headers^
rename : content/base/test/xcsp/file_CSP_evalscript_main_getCRMFRequest.js => content/base/test/csp/file_CSP_evalscript_main_getCRMFRequest.js
rename : content/base/test/xcsp/file_CSP_evalscript_no_CSP_at_all.html => content/base/test/csp/file_CSP_evalscript_no_CSP_at_all.html
rename : content/base/test/xcsp/file_CSP_evalscript_no_CSP_at_all.html^headers^ => content/base/test/csp/file_CSP_evalscript_no_CSP_at_all.html^headers^
rename : content/base/test/xcsp/file_CSP_evalscript_no_CSP_at_all.js => content/base/test/csp/file_CSP_evalscript_no_CSP_at_all.js
rename : content/base/test/xcsp/file_CSP_frameancestors.sjs => content/base/test/csp/file_CSP_frameancestors.sjs
rename : content/base/test/xcsp/file_CSP_frameancestors_main.html => content/base/test/csp/file_CSP_frameancestors_main.html
rename : content/base/test/xcsp/file_CSP_frameancestors_main.js => content/base/test/csp/file_CSP_frameancestors_main.js
rename : content/base/test/xcsp/file_CSP_inlinescript_main.html => content/base/test/csp/file_CSP_inlinescript_main.html
rename : content/base/test/xcsp/file_CSP_inlinescript_main.html^headers^ => content/base/test/csp/file_CSP_inlinescript_main.html^headers^
rename : content/base/test/xcsp/file_CSP_inlinestyle_main.html => content/base/test/csp/file_CSP_inlinestyle_main.html
rename : content/base/test/xcsp/file_CSP_inlinestyle_main.html^headers^ => content/base/test/csp/file_CSP_inlinestyle_main.html^headers^
rename : content/base/test/xcsp/file_CSP_main.html => content/base/test/csp/file_CSP_main.html
rename : content/base/test/xcsp/file_CSP_main.html^headers^ => content/base/test/csp/file_CSP_main.html^headers^
rename : content/base/test/xcsp/file_CSP_main.js => content/base/test/csp/file_CSP_main.js
rename : content/base/test/xcsp/file_csp_bug768029.html => content/base/test/csp/file_csp_bug768029.html
rename : content/base/test/xcsp/file_csp_bug768029.sjs => content/base/test/csp/file_csp_bug768029.sjs
rename : content/base/test/xcsp/file_csp_bug773891.html => content/base/test/csp/file_csp_bug773891.html
rename : content/base/test/xcsp/file_csp_bug773891.sjs => content/base/test/csp/file_csp_bug773891.sjs
rename : content/base/test/xcsp/file_csp_redirects_main.html => content/base/test/csp/file_csp_redirects_main.html
rename : content/base/test/xcsp/file_csp_redirects_page.sjs => content/base/test/csp/file_csp_redirects_page.sjs
rename : content/base/test/xcsp/file_csp_redirects_resource.sjs => content/base/test/csp/file_csp_redirects_resource.sjs
rename : content/base/test/xcsp/file_csp_report.sjs => content/base/test/csp/file_csp_report.sjs
rename : content/base/test/xcsp/file_multi_policy_injection_bypass.html => content/base/test/csp/file_multi_policy_injection_bypass.html
rename : content/base/test/xcsp/file_multi_policy_injection_bypass.html^headers^ => content/base/test/csp/file_multi_policy_injection_bypass.html^headers^
rename : content/base/test/xcsp/file_multi_policy_injection_bypass_2.html => content/base/test/csp/file_multi_policy_injection_bypass_2.html
rename : content/base/test/xcsp/file_multi_policy_injection_bypass_2.html^headers^ => content/base/test/csp/file_multi_policy_injection_bypass_2.html^headers^
rename : content/base/test/xcsp/file_redirect_content.sjs => content/base/test/csp/file_redirect_content.sjs
rename : content/base/test/xcsp/file_redirect_report.sjs => content/base/test/csp/file_redirect_report.sjs
rename : content/base/test/xcsp/file_subframe_run_js_if_allowed.html => content/base/test/csp/file_subframe_run_js_if_allowed.html
rename : content/base/test/xcsp/file_subframe_run_js_if_allowed.html^headers^ => content/base/test/csp/file_subframe_run_js_if_allowed.html^headers^
rename : content/base/test/xcsp/mochitest.ini => content/base/test/csp/mochitest.ini
rename : content/base/test/xcsp/moz.build => content/base/test/csp/moz.build
rename : content/base/test/xcsp/test_301_redirect.html => content/base/test/csp/test_301_redirect.html
rename : content/base/test/xcsp/test_302_redirect.html => content/base/test/csp/test_302_redirect.html
rename : content/base/test/xcsp/test_303_redirect.html => content/base/test/csp/test_303_redirect.html
rename : content/base/test/xcsp/test_307_redirect.html => content/base/test/csp/test_307_redirect.html
rename : content/base/test/xcsp/test_CSP.html => content/base/test/csp/test_CSP.html
rename : content/base/test/xcsp/test_CSP_evalscript.html => content/base/test/csp/test_CSP_evalscript.html
rename : content/base/test/xcsp/test_CSP_evalscript_getCRMFRequest.html => content/base/test/csp/test_CSP_evalscript_getCRMFRequest.html
rename : content/base/test/xcsp/test_CSP_frameancestors.html => content/base/test/csp/test_CSP_frameancestors.html
rename : content/base/test/xcsp/test_CSP_inlinescript.html => content/base/test/csp/test_CSP_inlinescript.html
rename : content/base/test/xcsp/test_CSP_inlinestyle.html => content/base/test/csp/test_CSP_inlinestyle.html
rename : content/base/test/xcsp/test_csp_bug768029.html => content/base/test/csp/test_csp_bug768029.html
rename : content/base/test/xcsp/test_csp_bug773891.html => content/base/test/csp/test_csp_bug773891.html
rename : content/base/test/xcsp/test_csp_redirects.html => content/base/test/csp/test_csp_redirects.html
rename : content/base/test/xcsp/test_multi_policy_injection_bypass.html => content/base/test/csp/test_multi_policy_injection_bypass.html
rename : content/base/test/xcsp/test_subframe_run_js_if_allowed.html => content/base/test/csp/test_subframe_run_js_if_allowed.html
rename : js/src/parjs-benchmarks/obsolete/README.txt => js/src/parjs-benchmarks/README.txt
extra : rebase_source : 5dcfaa47c4e4305f2c2c4fdec46cf68e07fc9166
2014-06-10 23:42:32 -04:00
Chris Lord
3bd5791fea Bug 1011572 - Only do platform-sync on layer transactions when !IsSameProcess. r=nical
There's no need to do platform syncing when the compositor is in the same
process as the content thread, as they'll share a connection to the display
server.
2014-06-11 14:52:20 +01:00
Chris Lord
4c60c6453c Bug 1011569 - Remove PreferMemoryOverShmem in favour of IsSameProcess. r=nical 2014-06-11 14:52:19 +01:00
Robert Longson
81368ccaf1 Bug 989230 - SVG gradient spreadMethod="reflect" doesn't work. r=gal 2014-06-11 10:38:43 +01:00
"Kan-Ru Chen (陳侃如)"
0eedfd3ad4 Bug 879475 - Part 007. Allow nested remote mozbrowsers to push layer transactions to the compositor r=mattwoodrow
Based on original patch by David Zbarsky <dzbarsky@gmail.com>
2014-06-11 13:44:39 +08:00
Matt Woodrow
49b66a5b27 Bug 940845 - Part 6: Cache blurs when possible. r=Bas 2014-06-10 17:51:24 -04:00
Matt Woodrow
54bed3c65e Bug 1019164 - Invalidate the old visible region when we change mask layers since the visible region might have changed at the same time. r=tn 2014-06-10 17:46:42 -04:00
Botond Ballo
739c98b1cf Bug 1022381 - Enforce that strongly-typed geometric classes are used with a proper coordinate system tag type. r=kats 2014-06-10 12:43:52 -04:00
Markus Stange
91a07c522d Bug 1022624 - Rename numStops to stopCount. 2014-06-10 22:29:03 +02:00
Markus Stange
1f65090652 Bug 1022624 - Share code for constructing repeated linear and radial gradients. r=jrmuizel 2014-06-10 22:27:45 +02:00
Markus Stange
acb23fb776 Bug 1022624 - Implement support for radial gradients with ExtendMode::REFLECT in DrawTargetCG. r=jrmuizel 2014-06-10 22:26:58 +02:00
Markus Stange
3f309a1d20 Bug 1022624 - Implement support for linear gradients with ExtendMode::REFLECT in DrawTargetCG. r=jrmuizel 2014-06-10 22:26:32 +02:00
Jonathan Watt
cc155d7eb9 Bug 1021973, part 2 - Remove gfxPlatformMac/gfxQtPlatform::OptimizeImage(). r=Bas 2014-06-10 19:12:37 +01:00
Nicolas Silva
e439a026d1 Bug 1008211 - Don't use CreateBufferTextureClient with CanvasClient2D on Windows. r=bas 2014-06-10 14:02:16 -04:00
Jonathan Watt
08a9b4f96c Bug 1022667, part 6 - Remove some unused code from ShadowLayerUtilsGralloc.cpp. r=mattwoodrow 2014-06-10 16:42:24 +01:00
Jonathan Watt
62e83dea64 Bug 1022667, part 4 - Remove some font related functions from gfxWindowsPlatform.cpp. r=jfkthame 2014-06-10 16:42:23 +01:00
Jonathan Watt
8fd56c44b0 Bug 1022667, part 3 - Remove various bits of dead code from D3D layers code. r=Bas 2014-06-10 16:42:22 +01:00
Jonathan Watt
26701fe5b1 Bug 1022930 - Fix crash in imgFrame::Draw() when drawing for an SVG mask. r=mwu 2014-06-10 07:02:22 +01:00
Jonathan Watt
6b4563c7ca Bug 1021973 - Remove gfxPlatform::OptimizeImage(). r=Bas 2014-06-10 07:02:21 +01:00
John Daggett
17f867da98 Bug 1022792 - treat -moz-fixed as monospace. r=heycam 2014-06-10 14:21:41 +09:00
Nicolas Silva
fad7865258 Bug 1000103 - Fix intermittent OSX crash in TextureImageTextureSourceOGL::GetFormat. r=mattwoodrow 2014-06-09 17:30:53 -04:00
Frédéric Wang
cd430b3c44 Bug 1020927 - Update OTS to d6018b62bf41f6b419aeae6d2795725a55715481 to accept 0 lookup for lookup, feature or script offset. r=jfkthame 2014-06-05 11:09:00 -04:00
Frédéric Wang
20f980ff6e Bug 1020927 - Part 2: Update OTS to bf4afceb8b441f3a219dd7cfea5613c18183836c so that we fix the compile warnings. r=jfkthame 2014-06-05 11:09:00 -04:00
Frédéric Wang
29a349ec0c Bug 1020927 - Part 1: Update OTS to 06372729b075619ec94aa2e075afcabc894b6069 so that WOFF2 can be disabled at build time. This excludes the change of 9f5b6e2e6a5c0182e4c89233aff8a4f6414d55e0 that was causing a crash. r=jfkthame 2014-06-05 11:08:00 -04:00
Ehsan Akhgari
570bcb4788 Bug 1021290 - More Atomics.h build fixes for clang-cl. r=froydnj
This is basically more of bug 932454
2014-06-09 14:49:34 -04:00
Kartikaya Gupta
78af99be30 Bug 1022398 - Remove declaration for method that was removed a long time ago. r=nical 2014-06-09 14:02:40 -04:00
Kartikaya Gupta
cc7374606f Bug 1018387 - Fix some calculations that were wrong because of confusion between LayoutDevice and Layer pixel spaces. r=botond 2014-06-09 14:02:40 -04:00
Kartikaya Gupta
b7b8cadfe4 Bug 1018387 - Update various variables and comments to reflect the fact that the values are in layer pixels and not layout device pixels. r=Cwiiis 2014-06-09 14:02:39 -04:00
Kartikaya Gupta
c8f063bc24 Bug 1018387 - Add some logging for the tile drawing code. r=Cwiiis 2014-06-09 14:02:39 -04:00
Kartikaya Gupta
45fd22063d Bug 1018387 - Log the composition bounds in layer dumps. r=Cwiiis 2014-06-09 14:02:38 -04:00
Chris Lord
d52be08f83 Bug 1017427 - Fix CompositorOGL RenderOffset not offsetting clipping rect. r=nical 2014-06-09 16:53:35 +01:00
Kartikaya Gupta
a566302cbc Bug 1021384 - Ensure animations are cancelled before destroying the APZC instance. r=botond 2014-06-08 16:37:34 -04:00
Botond Ballo
b9214c5fa1 Bug 1014280 - Fill blank areas created by overscroll transform with background color. r=mattwoodrow,BenWa,nical
--HG--
extra : source : 4323c71f0e921b50a1774e46ec700b354b479c7a
2014-06-05 14:48:53 -04:00
Botond Ballo
98f8d2f7d1 Bug 1014280 - Add a background color attribute to scrollable ContainerLayers. r=tn,BenWa
--HG--
extra : source : dff750e410e5f4e1ed019527ea17f37e53dd8fe6
2014-06-06 16:50:20 -04:00
Botond Ballo
72a1d277b5 Bug 1019999 - Clear overscroll if snap-back animation is cancelled. r=kats
--HG--
extra : source : 20ace5785615d1cc7d0edbe7e09f8691166c6166
2014-06-06 13:58:48 -04:00
Sotaro Ikeda
2cb7465aa3 Bug 1001417 - Forward fence objects in SharedSurfaceGralloc to Compositor r=jgilbert,nical 2014-06-08 06:18:53 -07:00
Ryan VanderMeulen
2959413a50 Backed out changeset abdb3afb7208 (bug 1014815) for B2G reftest failures. 2014-06-07 00:02:28 -04:00
Ehsan Akhgari
ec1fd6e139 Bug 1022033 - Disable NS_lroundup30 on clang-cl; r=jrmuizel
This function contains inline assembly which clang-cl can't compile yet.
2014-06-06 20:13:48 -04:00
Markus Stange
df8c181bc0 Bug 944938 - Add event structs and APZ event handling for pan gesture events that can be used for Mac touchpad scrolling. r=kats 2014-06-07 00:49:49 +02:00
Benoit Girard
23efee93e4 Bug 1014815 - Add a delay stage for webgl on b2g to let frame resolve. r=jgilbert
--HG--
extra : rebase_source : ca0d405db3af1e7f8f38456fedbb8b27b9f3b249
2014-06-04 14:25:18 -04:00
Jonathan Kew
45da1b971c backout changeset 59b2dd6b5048 (bug 985220) due to MS Sans Serif regression with Thai system locale (see bug 1020826). 2014-06-06 22:41:09 +01:00
Jonathan Kew
f518f9e102 backout changeset 48b74ab18f92 (bug 1018034) due to MS Sans Serif regression with Thai system locale (see bug 1020826). 2014-06-06 22:41:07 +01:00
Jonathan Kew
59404181ec backout changeset 3e9d9aa535c7 (bug 1018551) due to MS Sans Serif regression with Thai system locale (see bug 1020826). 2014-06-06 22:41:04 +01:00
Benoit Jacob
46bedabc32 Bug 974900 - re-unify the Skia build - r=ehsan 2014-06-06 15:38:08 -04:00
Benoit Jacob
04efc69e51 Bug 974900 - #undef interface defined by windows headers - r=gw280 2014-06-06 15:38:06 -04:00
Benoit Jacob
dbf2980ac3 Bug 974900 - Add missing include guards to Skia headers - r=gw280 2014-06-06 15:38:04 -04:00
Botond Ballo
54600b3cab Bug 1018255 - Use spring physics for snap-back animation. r=kats
--HG--
extra : source : f7f4c40fc818c2342fe6c49c0351c1573f6e9f3d
2014-06-03 13:59:35 -04:00
Botond Ballo
c305f84c22 Bug 1018255 - Make the translation (in the direction of overscroll) more pronounced than the zoom. r=kats
--HG--
extra : source : da6418a2a57e4665b2f03e84ff50052902658f45
2014-06-03 18:03:55 -04:00
Botond Ballo
9e1f336af9 Bug 1018255 - Fix a short-circuit evaluation bug in OverscrollSnapBackAnimation::Sample. r=kats
--HG--
extra : source : c01a9ce7adb6693dbf5819fe853d4c7076bbd75a
2014-06-03 17:31:25 -04:00
Botond Ballo
aa74c31159 Bug 1018255 - Don't bother doing the computations in ApplyOverscrollEffect if we are not overscrolled. r=kats
--HG--
extra : source : 028af891515ee1093e889d20142f989cb19621b2
2014-06-03 16:20:50 -04:00
Botond Ballo
49f6fb288a Bug 1018255 - Stop fling more quickly when overscrolled. r=kats
--HG--
extra : source : 79355b184bc52616567cc16d8f8c61ab31789d67
2014-06-05 15:16:14 -04:00