Commit Graph

4464 Commits

Author SHA1 Message Date
Kartikaya Gupta
25034980f6 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
ba83c919c7 Bug 1021085 - Fix up the Fennec code path as well. r=Cwiiis 2014-06-23 08:42:53 -04:00
Kartikaya Gupta
f5cf0ffe04 Bug 1021085 - Remove unnecessary transform stored on the paint data. r=Cwiiis 2014-06-23 08:42:48 -04:00
Kartikaya Gupta
478fab5ea7 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
03566ace86 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
72cfca8a60 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
6d23a7db96 Bug 990832 - Build a tool to visualize frame uniformity. r=mchang, benwa. 2014-06-19 09:33:00 +02: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
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
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
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
Birunthan Mohanathas
f475f7189b Bug 1026535 - Fix mismatched class/struct tags. r=ehsan 2014-06-18 17:57:51 -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
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
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
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
90d9a5c55c Bug 1025497 - Stop using gfxImageSurface in Cocoa widget code. r=mstange 2014-06-17 10:37:45 +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
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
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
"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
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
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
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
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
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
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
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
"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
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
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
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
Nicolas Silva
990da3c99a Bug 1000103 - Fix intermittent OSX crash in TextureImageTextureSourceOGL::GetFormat. r=mattwoodrow 2014-06-09 17:30:53 -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