Commit Graph

11199 Commits

Author SHA1 Message Date
Jonathan Kew
362b0439cc bug 1028134 - Remove dangerous public destructor of gfxContext. r=bjacob 2014-06-22 13:28:12 +01:00
Cgg
3642ea4e9d 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
8e43d830f3 Bug 783043 - Backed out changeset 29bc4fa125d9 (commit message). r=me 2014-06-21 19:51:07 +02:00
Cgg
d2892f8176 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
794054fb0b Bug 1026580 - Remove an infinite loop possibility from AsyncTransactionTracker::WaitComplete() r=nical 2014-06-21 08:30:30 -07:00
Sotaro Ikeda
f219fecf9d Bug 1025781 - Remove unnecessary gfx::SourceSurface r=nical 2014-06-21 05:15:41 -07:00
Mike Hommey
a28854c595 Bug 1027448 - Fix building gfxSurfaceRefCountTest.cpp with system cairo. r=mshal 2014-06-20 17:32:41 +09:00
Mike Hommey
df1f9d8adf 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
f1d16eb1ff 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
292c410c9e 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
0e32a771bf Bug 1027088 - Ensure fence delivery for TiledContentClient on gonk r=nical 2014-06-19 19:41:36 -07:00
Benoit Girard
c1e4a09735 Bug 1027496 - Stream display list and layers dump. r=mattwoodrow 2014-06-19 18:36:25 -04:00
Jonathan Watt
b8c5e8c8f4 Bug 1027763, part 3 - Remove the old DrawTarget::GetType() method. r=Bas 2014-06-19 21:35:34 +01:00
Jonathan Watt
f0cc7f7531 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
3480cabb15 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
e99f6cd57d Bug 1027794 - Don't copy the visible region when rendering. r=bjacob 2014-06-19 16:14:46 -04:00
Kartikaya Gupta
82c59d2853 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
46339827a7 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
72ac06e54c Bug 1027365 - Activate ImageBridge by default when OMTC on. r=sotaro 2014-06-19 11:45:19 +02:00
Jonathan Kew
2ce9cef08b bug 871453 - part 3 - support font-synthesis options through the fontconfig backend. r=jdaggett 2014-06-19 08:09:00 +01:00
Jonathan Kew
330a007108 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
176feefe44 bug 871453 - part 1 - pass the font-synthesis flags down to gfxFontStyle. r=jdaggett 2014-06-19 08:08:55 +01:00
Jonathan Kew
1d711914d6 bug 1025076 - handle negative glyph advance more sensibly in gfxGDIFont. r=jdaggett 2014-06-18 17:46:04 +01:00
Birunthan Mohanathas
f475f7189b Bug 1026535 - Fix mismatched class/struct tags. r=ehsan 2014-06-18 17:57:51 -07:00
Birunthan Mohanathas
ec8396a564 Bug 1016240 - Exterminate CR+LF line endings. r=briansmith,cpearce,ehsan,gavin 2014-06-18 17:56:02 -07:00
Benoit Jacob
dd18742280 Bug 1027251 - Fix or whitelist dangerous public destructors in gfx/ - r=jrmuizel 2014-06-18 22:28:59 -04:00
Nicholas Nethercote
39f29c384a 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
f50b8dc737 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
bde621b73d Bug 1000640 - Use new StreamTextureClient/Host with OMTC. - r=mattwoodrow 2014-06-18 17:04:06 -07:00
Jeff Gilbert
2c7936586a Bug 1000640 - Update Gralloc and ANGLE ShSurf backends. - r=mattwoodrow 2014-06-18 17:04:05 -07:00
Jeff Gilbert
3d1f5ae620 Bug 1000640 - Death to whitespace. - r=mattwoodrow 2014-06-18 17:04:05 -07:00
Jeff Gilbert
0cb400b638 Bug 1000640 - Handle non-premult alpha in Layers. - r=mattwoodrow 2014-06-18 17:04:05 -07:00
Benjamin Smedberg
58acd9c659 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
5c5370ecfe Bug 1022167 - Ensure fence delivery of thebes layer in b2g process r=nical 2014-06-18 12:13:27 -07:00
Nicolas Silva
293ecd5541 Bug 1014355 - Fix ownership issue in X11TextureClient. r=cwiiis 2014-06-18 19:11:12 +02:00
Sotaro Ikeda
6492121503 Bug 1026432 - Add GetCompositorChild() to ClientLayerManager r=nical 2014-06-17 19:42:34 -07:00
Bas Schouten
907bcc7b65 Bug 1019909: Properly initialize white buffer to white. r=nical 2014-06-18 00:55:31 +02:00
Benoit Girard
c42847d4c6 Bug 1015659 - Replace frame-counter by qrcode to tag video frames. r=jrmuizel 2014-06-17 16:34:42 -04:00
Botond Ballo
6d1e6271e0 Bug 1019996 - Apply overscroll effect to fixed and sticky layers. r=kats, r=Cwiiis 2014-06-12 20:27:32 -04:00
Botond Ballo
3f3c080e26 Bug 1019996 - Remove an unnecessary call to AlignFixedAndStickyLayers. r=Cwiiis 2014-06-12 16:40:35 -04:00
Jeff Muizelaar
cdf18ee886 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
0324bd5749 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
17c6b8a1da Bug 1025494 - Remove dead code in ThebesLayerD3D10 that creates a gfxD2DSurface. r=Bas 2014-06-17 18:35:51 +01:00
Jonathan Watt
c403ea836d Bug 1025490 - Stop using gfxImageSurface in the layers code. r=Bas 2014-06-17 18:35:51 +01:00
Jonathan Watt
131a0c83b6 Bug 1025489 - Stop using gfxImageSurface in the GL code. r=Bas 2014-06-17 18:35:50 +01:00
Kartikaya Gupta
e5c59ed0a1 Bug 1025562 - Remove improper use of viewport in tiling calculations. r=Cwiiis 2014-06-17 12:44:12 -04:00
Kartikaya Gupta
3c9920cebf Bug 1025562 - Add logging to TiledContentClient. r=Cwiiis 2014-06-17 12:43:12 -04:00
Jonathan Watt
2287c6e3f0 Bug 1025858 - Remove gfxPlatform's SourceSnapshotDetached. r=gal 2014-06-17 10:37:46 +01:00
Jonathan Watt
90d9a5c55c Bug 1025497 - Stop using gfxImageSurface in Cocoa widget code. r=mstange 2014-06-17 10:37:45 +01:00
Jonathan Watt
16b38eb033 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
32fd73ab80 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
d5975a06bb Bug 1025781 - Add CreateDataSourceSurface() failure checks r=nical 2014-06-16 16:47:28 -07:00
David Zbarsky
c2ae0c2650 Bug 1015644 - Clean up ActiveElementManager r=botond 2014-06-16 18:50:16 -04:00
Benoit Girard
2175dbff83 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
eb62b17d81 Bug 1024166 - Misc header/namespace cleanups in imglib, r=seth 2014-06-16 18:25:43 -04:00
Benoit Jacob
e1d175abc7 Bug 774388 - Patch 6: fix a silly double negation - r=nical 2014-06-06 09:51:27 -04:00
Mike Hommey
7676a50542 Bug 1025576 - Fix crash in TSymbolTableLevel::~TSymbolTableLevel with GCC 4.9. r=bjacob 2014-06-17 07:15:36 +09:00
Benoit Jacob
2d074cbb04 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
4ba5134f55 Merge m-c to inbound on a CLOSED TREE. a=merge 2014-06-16 14:26:54 -04:00
Kartikaya Gupta
3b4cd586ea Bug 1023882 - Part 8 - Remove the argument to EndPaint. r=Cwiiis 2014-06-11 12:42:46 -04:00
Kartikaya Gupta
e93f73042e 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
b4f8a15744 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
03bb0fd0b1 Bug 1023882 - Part 5 - Move the invalid region calculation up a bit. r=Cwiiis 2014-06-11 12:42:45 -04:00
Kartikaya Gupta
e5d1682b21 Bug 1023882 - Part 4 - Extract a RenderLowPrecision helper function. r=Cwiiis 2014-06-11 12:42:45 -04:00
Kartikaya Gupta
ae907a679a Bug 1023882 - Part 3 - Extract a RenderHighPrecision helper function. r=Cwiiis 2014-06-11 12:42:45 -04:00
Kartikaya Gupta
59bb779b6e 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
604587a2ad Bug 1023882 - Part 1 - Small refactorings. r=Cwiiis 2014-06-11 12:42:44 -04:00
Solomon Chiu
7eef5bc932 Bug 973777 - Breaking down the information of GrallocReporter. r=njn 2014-06-15 23:27:00 +08:00
Phil Ringnalda
09bbd3df0c Back out 53e5f619cb62 (bug 1025497) for build bustage
CLOSED TREE
2014-06-14 19:04:52 -07:00
Jonathan Watt
78c58e82c7 Bug 1025497 - Stop using gfxImageSurface in Cocoa widget code. r=mstange 2014-06-15 01:44:46 +01:00
Jonathan Watt
eaefe307f9 Bug 1025491 - Remove the DumpAsPNG() code in FilterNodeSoftware.cpp. r=mstange 2014-06-15 01:34:01 +01:00
Jeff Muizelaar
295e41a73c 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
2398341e8a 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 (陳侃如)"
65f9a38509 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
7f59b84876 Bug 1022719 - Ignore additional touches when in overscrolled state. r=kats 2014-06-10 19:43:20 -04:00
Botond Ballo
15747752a9 Bug 1022719 - Further improve const correctness in AsyncPanZoomController. r=kats 2014-06-12 18:17:26 -04:00
Benoit Jacob
4e23e75d75 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
a5f66d9e89 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
6e49daf08b 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
6f5d631e30 Bug 1015785 - Fix Moz2D's AlignedArray::Realloc() to not over allocate. r=Bas 2014-06-13 22:03:52 +01:00
Chris Lord
43310b9b82 Bug 1006084 - Allow ThebesLayers to be recreated when the creation hint changes. r=mattwoodrow 2014-06-13 17:11:08 +01:00
Jonathan Watt
344fb8cd20 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
521c803f91 Bug 1024713 - Fix a compilation error in cairo with clang-cl; r=jrmuizel 2014-06-13 11:34:07 -04:00
Jonathan Kew
8cba6e47c5 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
aab72559f5 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
e0a5ad60f4 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
d665ba4a86 Bug 1024144 - Deliver acquire fence to HwComposer r=sushil,nical 2014-06-12 18:46:25 -07:00
Ryan VanderMeulen
8e063af010 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
6b3fa8dfeb 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
f027d0b87d Bug 1024643: Create and upload D2D bitmaps in separate steps. r=mattwoodrow 2014-06-12 19:05:37 +00:00
Botond Ballo
eea908de56 Bug 1023491 - Deserialize FrameMetrics::mContentDescription correctly over IPC. r=kats 2014-06-10 17:09:02 -04:00
chiajung hung
e819a9c130 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
0decbd2563 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
81b839f0ff Backed out changeset cd50c7187a48 (bug 1022821) for compilation errors 2014-06-12 13:00:19 +01:00
Jonathan Watt
49531a0e15 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
103ebc2c65 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
8a37187aab 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
a3cdadf936 Backed out changeset bc9031f59e1c (bug 1021248) for Werror bustage 2014-06-11 14:46:59 -07:00
Kartikaya Gupta
671cfa747f 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
60b11ddfdd 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
34a17e2c5d Bug 992491: Add DrawTargetTiled for redirecting drawing to multiple tiles. r=mattwoodrow 2014-06-11 19:53:02 +00:00
Nicolas Silva
114ff5488a Bug 1023350 - Rename TextureClient::GetAsDrawTarget into TextureClient::BorrowDrawTarget and fix TextureClientX11. r=bjacob 2014-06-11 14:57:58 -04:00
Nicolas Silva
bda1e9d9c1 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
3bc1787dd5 Bug 1023882 - Part 8 - Remove the argument to EndPaint. r=Cwiiis 2014-06-11 12:42:46 -04:00
Kartikaya Gupta
6636718d0c 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
2b117390de 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
d7d8e98e3e Bug 1023882 - Part 5 - Move the invalid region calculation up a bit. r=Cwiiis 2014-06-11 12:42:45 -04:00
Kartikaya Gupta
b810042623 Bug 1023882 - Part 4 - Extract a RenderLowPrecision helper function. r=Cwiiis 2014-06-11 12:42:45 -04:00
Kartikaya Gupta
0581b32836 Bug 1023882 - Part 3 - Extract a RenderHighPrecision helper function. r=Cwiiis 2014-06-11 12:42:45 -04:00
Kartikaya Gupta
0e8632cc76 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
c8356e8eea Bug 1023882 - Part 1 - Small refactorings. r=Cwiiis 2014-06-11 12:42:44 -04:00
Ed Morley
f4f73110c9 Backed out changeset bfb5297101cd (bug 1000640) for compilation failures on B2G 2014-06-11 17:07:41 +01:00
Ed Morley
fafda556fb Backed out changeset 11bb536cdede (bug 1000640) 2014-06-11 17:07:17 +01:00
Ed Morley
5b1380718b Backed out changeset d1b96309bb9d (bug 1000640) 2014-06-11 17:07:14 +01:00
Ed Morley
9f7b529e36 Backed out changeset c4681bf6680c (bug 1000640) 2014-06-11 17:07:10 +01:00
Jeff Gilbert
b08b8a5c86 Bug 1000640 - Use new StreamTextureClient/Host with OMTC. - r=mattwoodrow 2014-06-04 15:20:26 -07:00
Jeff Gilbert
bae2b5a2b2 Bug 1000640 - Update Gralloc and ANGLE ShSurf backends. - r=mattwoodrow 2014-06-04 15:20:25 -07:00
Jeff Gilbert
d800b22456 Bug 1000640 - Death to whitespace. - r=mattwoodrow 2014-06-04 15:20:25 -07:00
Jeff Gilbert
474eadbf89 Bug 1000640 - Handle non-premult alpha in Layers. - r=mattwoodrow 2014-06-04 15:20:24 -07:00
Jeff Muizelaar
3425c20c5f 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
a1b0189796 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
185e732d7d 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
eeff5cfb5a Bug 1011569 - Remove PreferMemoryOverShmem in favour of IsSameProcess. r=nical 2014-06-11 14:52:19 +01:00
Robert Longson
7713ef6340 Bug 989230 - SVG gradient spreadMethod="reflect" doesn't work. r=gal 2014-06-11 10:38:43 +01:00
"Kan-Ru Chen (陳侃如)"
da1abf1e93 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
1a6a27a3ec Bug 940845 - Part 6: Cache blurs when possible. r=Bas 2014-06-10 17:51:24 -04:00
Matt Woodrow
d0501e85e9 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
c16d71e95b 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
6eb6d71957 Bug 1022624 - Rename numStops to stopCount. 2014-06-10 22:29:03 +02:00
Markus Stange
f3f989876c Bug 1022624 - Share code for constructing repeated linear and radial gradients. r=jrmuizel 2014-06-10 22:27:45 +02:00
Markus Stange
1dd3880ba2 Bug 1022624 - Implement support for radial gradients with ExtendMode::REFLECT in DrawTargetCG. r=jrmuizel 2014-06-10 22:26:58 +02:00
Markus Stange
37a45d0830 Bug 1022624 - Implement support for linear gradients with ExtendMode::REFLECT in DrawTargetCG. r=jrmuizel 2014-06-10 22:26:32 +02:00
Jonathan Watt
f89b0cfb12 Bug 1021973, part 2 - Remove gfxPlatformMac/gfxQtPlatform::OptimizeImage(). r=Bas 2014-06-10 19:12:37 +01:00
Nicolas Silva
6ed53c8aad Bug 1008211 - Don't use CreateBufferTextureClient with CanvasClient2D on Windows. r=bas 2014-06-10 14:02:16 -04:00
Jonathan Watt
e5e56ceb61 Bug 1022667, part 6 - Remove some unused code from ShadowLayerUtilsGralloc.cpp. r=mattwoodrow 2014-06-10 16:42:24 +01:00
Jonathan Watt
e1a2391d93 Bug 1022667, part 4 - Remove some font related functions from gfxWindowsPlatform.cpp. r=jfkthame 2014-06-10 16:42:23 +01:00
Jonathan Watt
1e42671a22 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
cdb7e21837 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
894ac7427a Bug 1021973 - Remove gfxPlatform::OptimizeImage(). r=Bas 2014-06-10 07:02:21 +01:00
John Daggett
d5709003c5 Bug 1022792 - treat -moz-fixed as monospace. r=heycam 2014-06-10 14:21:41 +09:00
Nicolas Silva
990da3c99a Bug 1000103 - Fix intermittent OSX crash in TextureImageTextureSourceOGL::GetFormat. r=mattwoodrow 2014-06-09 17:30:53 -04:00
Frédéric Wang
a61943f22f 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
1c61e8f0e5 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
7e67ca6a2a 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
d20024b5d5 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
8032d91d71 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
8234e8745c 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
a7844bf3d0 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
45ef935bdf Bug 1018387 - Add some logging for the tile drawing code. r=Cwiiis 2014-06-09 14:02:39 -04:00
Kartikaya Gupta
7e285bdc23 Bug 1018387 - Log the composition bounds in layer dumps. r=Cwiiis 2014-06-09 14:02:38 -04:00
Chris Lord
36fd5d4bda Bug 1017427 - Fix CompositorOGL RenderOffset not offsetting clipping rect. r=nical 2014-06-09 16:53:35 +01:00
Kartikaya Gupta
f847d55091 Bug 1021384 - Ensure animations are cancelled before destroying the APZC instance. r=botond 2014-06-08 16:37:34 -04:00
Botond Ballo
b19e985e0e 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
64ebf81674 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
fc6ec3cd46 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
eb678948e0 Bug 1001417 - Forward fence objects in SharedSurfaceGralloc to Compositor r=jgilbert,nical 2014-06-08 06:18:53 -07:00
Ryan VanderMeulen
f3454be2d1 Backed out changeset abdb3afb7208 (bug 1014815) for B2G reftest failures. 2014-06-07 00:02:28 -04:00
Ehsan Akhgari
b299d803a2 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
a986c2df8c 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
e9a71f280e 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
009531d2bf 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
1e15f90fb6 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
e596612b87 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
d76b1b0d7a Bug 974900 - re-unify the Skia build - r=ehsan 2014-06-06 15:38:08 -04:00
Benoit Jacob
aeb02c3a89 Bug 974900 - #undef interface defined by windows headers - r=gw280 2014-06-06 15:38:06 -04:00
Benoit Jacob
a26b0ad0bd Bug 974900 - Add missing include guards to Skia headers - r=gw280 2014-06-06 15:38:04 -04:00
Botond Ballo
2dcd7e4865 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
d94aeee60a 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
d08dc47ea7 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
df415c9a1c 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
5c0e3bed25 Bug 1018255 - Stop fling more quickly when overscrolled. r=kats
--HG--
extra : source : 79355b184bc52616567cc16d8f8c61ab31789d67
2014-06-05 15:16:14 -04:00
Benoit Girard
38d340c6a0 Bug 1016678 - Add textured compositor benchmark. r=jrmuizel
--HG--
extra : rebase_source : 11465ad7c287db421fc68022269823b7da992835
2014-06-04 18:37:18 -04:00
Michael Wu
19d86c1d8f Bug 994081 - [3/3] Optimize surfaces on Cairo X11, r=Bas f=karlt 2014-05-22 20:06:16 -04:00
Michael Wu
82821675ed Bug 994081 - [2/3] Convert imgFrame to SourceSurfaces, r=seth 2014-04-19 21:28:38 -04:00
Ed Morley
65f098a0bd Backed out changeset 7a0d8feb1575 (bug 774388) for build failures during startup cache precompilation; CLOSED TREE 2014-06-06 16:01:43 +01:00
Ed Morley
72cc27b160 Backed out changeset 6f2e001c5f39 (bug 774388) 2014-06-06 15:58:58 +01:00
Ed Morley
81e6659113 Backed out changeset 0f81ceab808a (bug 774388) 2014-06-06 15:58:54 +01:00
Ed Morley
ce8f39be3d Backed out changeset 4cfb80678174 (bug 774388) 2014-06-06 15:58:51 +01:00
Benoit Jacob
71a90cd757 Bug 774388 - Bustage fix: don't try to shut down layers IPC if we didn't initialize it because we were running xpcshell only - no review 2014-06-06 10:28:50 -04:00
Benoit Jacob
a47d198749 Bug 774388 - Patch 6: fix a silly double negation - r=nical 2014-06-06 09:51:27 -04:00
Benoit Jacob
b5c7b5da96 Bug 774388 - Patch 5: Wrap the global raw compositor thread pointer, and global raw refcount integer, into a proper refcounted singleton class - r=nical,mattwoodrow 2014-06-06 09:51:26 -04:00
Benoit Jacob
2ad326a319 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
Nicolas Silva
968473a639 Bug 1014518 - Document shared MozSurfaces in a separate design document. r=sotaro 2014-06-06 15:03:32 +02:00
Reed Koser
b7aff93098 Bug 965967, part 1 - Get rid of some Thebes backed gfxContexts in the plugin code (Moz2D migration). r=mattwoodrow
--HG--
extra : rebase_source : 54fd4a60da6031b64598ca697b84437e672d126b
2014-06-06 10:24:24 +01:00
Jonathan Watt
88385d6c96 Bug 1019753, part 1 - Add a ClearDataSourceSurface() helper to DataSurfaceHelpers. r=Bas 2014-06-04 08:08:39 +01:00
John Daggett
be68cb997f Bug 280443 p5 - fixup problem with MathML stretchy fallback. r=fredw 2014-06-06 15:09:24 +09:00
John Daggett
6ad68a5fc7 Bug 280443 p3 - use fontlist struct in gfx. r=roc,fredw 2014-06-06 15:09:23 +09:00
John Daggett
5c970abf2f Bug 280443 p1 - define struct for font family lists. r=roc 2014-06-06 15:09:23 +09:00
Brian Birtles
dba77091dc Bug 77992 part 1.0 - Add timeStamp to WidgetEvent; r=smaug
This patch adds a timeStamp member to WidgetEvent alongside the existing 'time'
member. In the future we would like to remove 'time' and just keep timeStamp but
that depends on it being web-compatible. For now we introduce both members
side-by-side. Later we will add a pref to determine which one to return. If no
compatibility issues arise we will remove 'time' altogether.
2014-06-06 14:29:49 +09:00
Benoit Jacob
c25997af09 Bug 774388 - Patch 3: remove sCompositorLoop, it's redundant - r=nical,mattwoodrow 2014-06-05 16:42:13 -04:00
Benoit Jacob
90fb44fc74 Bug 774388 - Patch 2: remove sCompositorThreadID, it's redundant - r=nical,mattwoodrow 2014-06-05 16:42:13 -04:00
Benoit Jacob
037248b0ef Bug 774388 - Patch 1: remove StartUpWithExistingThread, it's unused - r=nical 2014-06-05 16:42:13 -04:00
Honza Bambas
4f2a59d172 Bug 999577 - disable addon access to cache v1 IDLs, r=michal+jduell 2014-06-05 20:14:07 +02:00
Ryan VanderMeulen
d4516e53a4 Backed out changeset d405928cb934 (bug 999577) and changeset 940d041073c7 (bug 938186) for xpcshell failures.
CLOSED TREE
2014-06-05 13:32:04 -04:00
Honza Bambas
b1feb7e13a Bug 999577 - disable addon access to cache v1 IDLs, r=michal+jduell 2014-06-05 18:27:38 +02:00
Sotaro Ikeda
2e0263e975 Bug 1020003 - Always use AsyncTransactionTracker on ImageBridge on gonk r=nical 2014-06-05 08:39:45 -07:00
Sotaro Ikeda
1be5b053a7 Bug 1019877 - fix deadlock at AsyncTransactionTrackersHolder r=nical 2014-06-05 07:24:05 -07:00
Tatiana Meshkova
91e9ffd8dd Bug 1019405 - Fix offscreen rendering for top level Layer manager. r=jgilbert 2014-06-03 20:41:00 +02:00
Vivien Nicolas
c92b722305 Bug 1005888 - Remove unused #ifdef for gfx/thebes/gfxFT2FontList.cpp. r=jfkthame 2014-06-04 20:11:05 +02:00
Jonathan Kew
8e5e8d4af2 bug 1020008 - use mozilla::ArrayLength for array size. r=smontagu 2014-06-05 11:15:26 +01:00