Masayuki Nakano
ef895616c5
Bug 920425 part.28 Use mozilla::WidgetEvent::AsMouseEvent() r=smaug
2013-10-22 17:55:20 +09:00
Carsten "Tomcat" Book
9d22415bcf
Merge mozilla-central to mozilla-inbound
2013-10-18 14:13:10 +02:00
Masayuki Nakano
0260e27697
Bug 920425 part.15 Use mozilla::WidgetEvent::AsTouchEvent() r=smaug
2013-10-18 15:10:23 +09:00
Sotaro Ikeda
b019369717
Bug 925381 - Fix mpeg4 video seek failure. r=nical, r=doublec
2013-10-17 11:09:15 -04:00
Sushil Chauhan
ea611c7544
Bug 915729 - Add mixed HWC and GPU Composition. r=ncameron, r=dwilson
2013-10-15 14:01:42 -07:00
Ryan VanderMeulen
499ad08449
Backed out 8 changesets (bug 914437, bug 886999, bug 890997, bug 923114, bug 923133) for suspicion of causing frequent OSX mochitest-2 timeouts on a CLOSED TREE.
...
Backed out changeset e934fda24887 (bug 890997)
Backed out changeset 058c2432bff5 (bug 886999)
Backed out changeset 34d9056bf553 (bug 886999)
Backed out changeset 3f053c13cf4e (bug 914437)
Backed out changeset 1f436fd67cdb (bug 886999)
Backed out changeset 7c914b3e8d27 (bug 923133)
Backed out changeset e6fdf5fd28c5 (bug 923114)
Backed out changeset b0700255080c (bug 914437)
2013-10-09 14:33:01 -04:00
Markus Stange
cc60fe7720
Bug 886999 - Lock the GL context before compositing on the compositor thread or before calling setView or update on the main thread. r=mattwoodrow
...
--HG--
extra : rebase_source : 60930a858a5d52205703d14317312540387f269f
2013-10-09 10:39:23 -04:00
Markus Stange
29935321d9
Bug 914437 - Don't composite windows that are not open. r=mattwoodrow
...
--HG--
extra : rebase_source : b534eb4c339392c4a2ad60424510c7d264f13d3a
2013-10-09 10:39:22 -04:00
Kartikaya Gupta
fe7ef95446
Bug 924394 - Add some useful but default-disabled logging for APZC code. r=botond
2013-10-08 17:13:04 -04:00
Nicholas Cameron
24e0e87f57
Bug 854873. Keep scissor rect enabled. r=kats,nical
2013-10-05 01:03:09 +13:00
Nicolas Silva
0eee47d7c7
Bug 916118 - Simplify the TextureClient deallocation protocol. r=nrc
2013-10-02 13:52:04 -07:00
Masayuki Nakano
b266c80d36
Bug 920377 part.32 Get rid of nsMouseEvent r=roc
2013-10-02 15:38:27 +09:00
Wes Kocher
8c30d76bc7
Backed out changeset ac77b26ec1ee (bug 915940) for PGO build bustage
2013-10-01 14:30:13 -07:00
Ehsan Akhgari
18ef76b0d7
Bug 921753 - Part 2: Move GraphicsFilters outside of gfxPattern.h so that we won't need to #include that header everywhere GraphicsFilter is needed; r=roc
...
This patch reduces the number of files that transitively #include
gfx/2d.h from 1582 to 1362.
2013-10-01 17:01:19 -04:00
Nicholas Cameron
6e9d987d30
Bug 915940. Memory reporter for memory image surfaces. r=njn,mattwoodrow
2013-09-24 10:59:26 +12:00
Masayuki Nakano
9c18a013ca
Bug 920377 part.26 Get rid of nsInputEvent r=roc
2013-10-01 16:23:02 +09:00
Nicolas Silva
b42e1a2d95
Bug 921512 - Add a bit of documentation to layers. r=bjacob
2013-09-30 14:42:47 +02:00
Nicolas Silva
76ede3ac9e
Bug 916116 - Rename CompositableQuirks. r=bjacob
2013-09-30 14:14:38 +02:00
Matt Woodrow
f60df94d8e
Bug 886999 - Backout c3a044164b5f for causing deadlocks (Bug 920979)
2013-09-30 14:31:50 +13:00
Ed Morley
7adc57d485
Backed out changeset 08d9bbb1044f (bug 907463)
2013-09-27 11:37:00 +01:00
Nicholas Cameron
9b93c116ef
Bug 907463. Dealloc shmem on ActorDestroy. r=nical
2013-09-27 21:48:42 +12:00
Masayuki Nakano
da7066887d
Bug 920377 part.13 Get rid of nsTouchEvent r=roc
2013-09-27 15:20:57 +09:00
Nicholas Cameron
a8a95dc820
Bug 882113. Azurification of compositor classes. r=mattwoodrow
2013-09-27 12:37:19 +12:00
Nicolas Silva
5088531545
Bug 916118 - Backed out changeset bafb8bf3b279 on a CLOSED TREE
2013-09-26 19:06:12 +02:00
Nicolas Silva
00c40365a2
Bug 916118 - Simplify the deallocation flags in TextureClient/Host. r=nrc
2013-09-26 18:00:23 +02:00
Matt Woodrow
443460f257
Bug 886999 - Avoid touching the GL context from the main thread on mac, and lock the context when touching it from other threads. r=mstange
2013-09-26 15:49:59 +12:00
Masayuki Nakano
ee772d1cbc
Bug 912956 part.18 Remove nsGUIEvent.h r=roc
2013-09-25 20:21:22 +09:00
Masayuki Nakano
715f30b959
Bug 912956 part.14 mozilla/MouseEvents.h should be included directly r=roc
2013-09-25 20:21:18 +09:00
Masayuki Nakano
a362049807
Bug 912956 part.13 mozilla/TouchEvents.h should be included directly r=roc
2013-09-25 20:21:16 +09:00
Robert O'Callahan
d3c8187161
Bug 914426. Don't try to dump DeprecatedTextureHost contents unless HTML tree dumping is enabled. Also, be lenient about null values and unknown formats. r=nrc
...
--HG--
extra : rebase_source : bc7aff0dacdea4a7c71bdb659774fd96a25fa529
2013-09-09 17:08:42 -07:00
Jim Mathies
0db025652f
Bug 915213 - Add a apzc hit test helper for metrofx. r=kats
2013-09-24 16:17:26 -05:00
Jim Mathies
033e6a7012
Bug 915213 - Add a new apzc ReceiveInput method that transforms gecko events inline. r=kats
2013-09-24 16:17:26 -05:00
Jim Mathies
79e6b8b00e
Bug 915213 - Break up apzc ReceiveInput method so the logic can be shared. r=kats
2013-09-24 16:17:26 -05:00
Benoit Jacob
5a16c8030b
Bug 913872 - Take nested enums out of gfxASurface - 3/3 : remove the now-useless inclusions of gfxASurface.h - r=jrmuizel
2013-09-24 16:45:14 -04:00
Benoit Jacob
0f90257361
Bug 913872 - Take nested enums out of gfxASurface - 1/3 : automatic changes - r=jrmuizel
...
Generated by these regexes:
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(ImageFormat\|SurfaceType\|ContentType\|MemoryLocation\)[0-9A-Za-z_]*\)/gfx\1/g'
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(CONTENT_\|MEMORY_\)[0-9A-Za-z_]*\)/GFX_\1/g'
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(CONTENT_COLOR\|CONTENT_ALPHA\|CONTENT_COLOR_ALPHA\|CONTENT_SENTINEL\|MEMORY_IN_PROCESS_HEAP\|MEMORY_IN_PROCESS_NONHEAP\|MEMORY_OUT_OF_PROCESS\)\($\|[^A-Za-z0-9_]\)/\1GFX_\2\3/g'
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(ImageFormatARGB32\|ImageFormatRGB24\|ImageFormatA8\|ImageFormatA1\|ImageFormatRGB16_565\|ImageFormatUnknown\|SurfaceTypeImage\|SurfaceTypePDF\|SurfaceTypePS\|SurfaceTypeXlib\|SurfaceTypeXcb\|SurfaceTypeGlitz\|SurfaceTypeQuartz\|SurfaceTypeWin32\|SurfaceTypeBeOS\|SurfaceTypeDirectFB\|SurfaceTypeSVG\|SurfaceTypeOS2\|SurfaceTypeWin32Printing\|SurfaceTypeQuartzImage\|SurfaceTypeScript\|SurfaceTypeQPainter\|SurfaceTypeRecording\|SurfaceTypeVG\|SurfaceTypeGL\|SurfaceTypeDRM\|SurfaceTypeTee\|SurfaceTypeXML\|SurfaceTypeSkia\|SurfaceTypeSubsurface\|SurfaceTypeD2D\|SurfaceTypeMax\)\($\|[^A-Za-z0-9_]\)/\1gfx\2\3/g'
2013-09-24 16:45:13 -04:00
Ed Morley
0341739cfa
Backed out changeset 505fe9841b16 (bug 915940) on suspicion of Windows PGO-only compilation failures
2013-09-24 16:49:11 +01:00
Masayuki Nakano
0b6d808310
Bug 912956 part.2 Rename nsEvent.h to mozilla/EventForwards.h and sort out it r=roc
...
--HG--
rename : widget/nsEvent.h => widget/EventForwards.h
2013-09-24 19:04:14 +09:00
Nicholas Cameron
446d7ab751
Bug 912766. Funky refcounting to keep the gfxWindowsSurface alive during transport. r=mattwoodrow
2013-09-24 13:14:12 +12:00
Nicholas Cameron
ddb224cd5c
Bug 915940. Memory reporter for memory image surfaces. r=njn,mattwoodrow
2013-09-24 10:59:26 +12:00
Nicolas Silva
d5cca18c31
Bug 918078 - Do not require locking in TextureHost::PrintInfo. r=BenWa
2013-09-23 13:28:40 +02:00
Benoit Jacob
5f18afb9d3
Bug 916714 - Fix a faulty assertion in TextureHost - r=jrmuizel
2013-09-17 17:42:56 -04:00
Botond Ballo
d7fd790cd6
Bug 898478 - Have AsyncPanZoomControllers pass overscroll caused by panning on to their parents. r=kats
2013-08-20 19:00:57 -04:00
Botond Ballo
e77231ff49
Bug 898478 - Have AsyncPanZoomController keep a pointer to the APZCTreeManager. r=kats
2013-08-20 18:10:47 -04:00
Nicolas Silva
e7f445dcba
Bug 916116 - Move SetCompositableQuirks to AddTextureHost. r=sotaro
2013-09-17 15:28:35 +02:00
Robert O'Callahan
e5d32795d1
Bug 907048 - Skip colorlayer if other opacity layer just covers the colorlayer region, r=roc
2013-09-16 10:20:30 +08:00
Matt Woodrow
f1e0403e39
Bug 930033 - Draw layer borders for the bounding box of the visible region for ThebesLayers. r=nical
2013-10-24 16:35:29 +02:00
L. David Baron
d459af2323
Bug 929673 Patch 1: Rename mozOrigin to transformOrigin to avoid use of deprecated CSS prefixes in variable names. r=dzbarsky
2013-10-24 14:46:00 +02:00
Ryan VanderMeulen
8dcb23387e
Merge m-c to b2g-inbound.
2013-09-13 16:11:28 -04:00
Kartikaya Gupta
3115ced802
Bug 909881 - Rename some variables to make the code easier to read. r=botond
2013-09-13 10:18:38 -04:00
Kartikaya Gupta
ca1a8f5181
Bug 909881 - Save the zoom constraints in RenderFrameParent so that TabChild can send them before the APZC is created and they don't get lost. r=botond
2013-09-13 10:18:33 -04:00
Corey Ford
ca14726cf5
Bug 897105 - Part 3: Keep sticky position layers fixed during async panning, within certain scroll ranges. r=roc
2013-09-11 21:24:32 -07:00
Corey Ford
f01a1f674f
Bug 897105 - Part 2: Add layer fields for sticky positioning. r=roc
2013-09-11 21:17:58 -07:00
Sotaro Ikeda
4bf6f5d219
Bug 912134 - allocate texture per CompositableHost. r=jmuizelaar,bjacob
...
The fundamental change of approach in this patch is that now the temporary
texture is per-compositable.
Originally, the temporary texture was per-TextureHost. That was too many
temporary textures. With Nical's work in bug 875211, that switched to having a
temporary texture per compositor only. That's what turned out to be too few.
Now we have one per compositable which is fewer than one per TextureHost,
because e.g. a ContentHost, which is a single Compositable, may have 2
TextureHosts to implement double-buffering.
2013-09-12 22:39:26 -04:00
Ryan VanderMeulen
6f4ced18e9
Merge inbound to m-c.
2013-09-12 20:37:35 -04:00
Jerry Shih
6489c5114d
Bug 911730 - Only dump layer tree(using MOZ_LAYERS_HAVE_LOG). r=mattwoodrow
2013-09-12 11:08:50 -04:00
Nicolas Silva
f2973f89d7
Bug 913821 - Conservatively ensure that TextureClients/Hosts are removed at the end of a video. r=sotaro
2013-09-12 16:50:35 +02:00
Jim Mathies
217abb186c
Bug 914829 - MetroInput should forward touch input to apz first, then to content. r=kats, tabraldes
2013-09-12 06:31:34 -05:00
Kartikaya Gupta
ae3d136b21
Bug 912144 - Use the composition bounds instead of the viewport for hit testing. r=BenWa
2013-09-11 18:17:27 -04:00
Botond Ballo
13d4e37c9e
Bug 912806 - Store both cumulative and non-cumulative resolutions in FrameMetrics and use whichever is appropriate. r=kats
2013-09-05 18:26:59 -04:00
Benoit Jacob
77fe55cbfe
Bug 912725 - Do the registration of the TextureHost with the mBuffer exactly when we overwrite *mBuffer, so that in particular we don't do a bogus registration in the single-buffered case - r=nical
2013-09-11 13:39:04 -04:00
Benoit Girard
dd193089ea
Bug 914656 - Annotate the compositor thread for profiling. r=jrmuizel
2013-09-10 15:56:49 -04:00
Ed Morley
2dbe63d2e2
Backed out changeset 6776e4836c04 (bug 907048) for marionette-webapi failures on a CLOSED TREE
2013-09-10 14:31:35 +01:00
Nicolas Silva
2b26f8b179
Bug 913821 - Fix the TextureHost linked list. r=sotaro
2013-09-10 13:41:15 +02:00
Robert O'Callahan
4e9e8d41af
Bug 907048 - Skip colorlayer if other opacity layer just covers the colorlayer region, r=roc
2013-09-10 15:06:13 +08:00
Peter Chang
c39d5a310e
Backed out changeset 6776e4836c04
2013-09-10 15:04:26 +08:00
Robert O'Callahan
0a8ea18ed8
Bug 907048 - Skip colorlayer if other opacity layer just covers the colorlayer region
2013-09-10 14:48:57 +08:00
Nicholas Cameron
4ca0278592
Bug 913298. Remove AddMaskEffect and RemoveMaskEffect declarations. r=nical
2013-09-09 09:06:57 +12:00
Nicholas Cameron
cca4ba2d92
Don't include mozilla-config.h in gfx.layers. No bug. r=me
2013-09-09 08:55:48 +12:00
Benoit Jacob
5479e2b22e
Bug 913603 - Avoid needlessly including nsRect.h - r=jrmuizel
2013-09-06 22:15:49 -04:00
Nicolas Silva
4f81e6d0f1
Bug 912939 - Rename LayerTransaction.ipdlh into LayersMessages.ipdlh. r=kanru
...
--HG--
rename : gfx/layers/ipc/LayerTransaction.ipdlh => gfx/layers/ipc/LayersMessages.ipdlh
2013-09-06 17:41:00 +02:00
Ryan VanderMeulen
cf3b6bd95f
Backed out changeset 669d3fd3ea2b (bug 906877) for Mnw failures.
2013-09-03 17:22:14 -04:00
Kartikaya Gupta
169484edbe
Bug 906877 - Remove code obsoleted by multi-apzc. r=BenWa, vingtetun
...
Now that we have multi-APZC landed, we don't need BrowserElementPanning
to detect when it's about to scroll a subframe and let APZC know. So
the two messages involved in this can be completely removed.
2013-09-03 13:04:21 -04:00
Nicholas Cameron
cdc79d8299
Bug 904073. Don't crash if we can't get a texture for a render target. r=Bas
2013-09-02 10:19:19 +12:00
Nicholas Cameron
b6f3b6ba96
Bug 786412. Conslidate container layer methods. r=mattwoodrow
2013-09-02 10:19:18 +12:00
Nicholas Cameron
977411e3c7
Bug 909185. Use an RAII helper class for Add/RemoveMaskEffect. r=nical
2013-08-28 16:44:03 +12:00
Kartikaya Gupta
55c123d4d6
Bug 885023 - Convert mFrameMetrics.mZoom to a CSSToScreenScale. r=BenWa,k17e
...
The mFrameMetrics.mZoom was previously a "resolution-independent" zoom,
which meant it had to always be multiplied by the CalculateIntrinsicScale()
value to be useful. This patch converts it to a "resolution-dependent" zoom,
and includes the intrinsic scale multiplier already. This means it needs
to be updated if either the viewport or composition bounds (which determine
the intrinsic scale) change, but there are only a few places where this
happens and it makes the rest of the code cleaner.
2013-08-26 09:50:30 -04:00
Ryan VanderMeulen
9d72cb6e1e
Merge b2g-inbound to m-c.
2013-08-23 10:50:14 -04:00
Jim Mathies
e6ba4d9285
Bug 907243 - Move SetDPI to APZCTreeManager. r=kats
2013-08-22 19:28:02 -05:00
Kartikaya Gupta
ce48a63b67
Bug 907977 - Don't null out the mApzcForInputBlock prematurely. r=roc
2013-08-23 00:03:43 -04:00
Ryan VanderMeulen
1ef4f3befe
Merge inbound to m-c.
2013-08-22 15:42:18 -04:00
Nicholas Cameron
01b99f2af9
Bug 902929. Be explicit about re-attaching async video compositable hosts. r=nical
2013-08-21 13:28:53 +12:00
Jan Beich
66c4b90185
Bug 907837 - Don't include SPS headers directly. r=nrc
2013-08-22 19:11:51 +12:00
Jan Beich
de6b591a26
Bug 907837 - Fix IWYU false positive to unbreak non-SPS build. r=nrc
2013-08-22 19:11:47 +12:00
Kartikaya Gupta
3151f4b7bd
Bug 898443 - Update loops to run forward and use a size_t variable. r=BenWa
2013-08-21 12:03:03 -04:00
Kartikaya Gupta
07a7fa46a1
Bug 898443 - Always use the innermost APZC containing all touch points for multi-touch inputs. r=BenWa
2013-08-21 12:03:03 -04:00
Kartikaya Gupta
f5135c8214
Bug 898443 - Completely extract the transformation calculation from GetTargetAPZC. r=BenWa
2013-08-21 12:03:03 -04:00
Kartikaya Gupta
faf1a873b2
Bug 898443 - Ensure that all multitouch events following a START go to the same APZC instance. r=BenWa
2013-08-21 12:03:02 -04:00
Kartikaya Gupta
fa7cec9eff
Bug 898443 - Extract input transform calculations from GetAPZCAtPoint. No functional changes. r=BenWa
2013-08-21 12:03:02 -04:00
Wes Kocher
2a9e21a70f
Backed out changeset 315c9f0af9bb (bug 902929)
2013-08-20 20:50:20 -07:00
Nicholas Cameron
8acfeaece0
Bug 902929. Be explicit about re-attaching async video compositable hosts. r=nical
2013-08-21 13:28:53 +12:00
Nicholas Cameron
b5c77aec19
Bug 903816. Include-what-you-use for gfx/layers. r=roc
2013-08-12 11:17:23 +12:00
Kartikaya Gupta
ee4d416a21
Bug 906427 - When a touch event has multiple touch points, send it to the root APZC for the layer subtree. r=BenWa
2013-08-22 10:40:44 -04:00
Matt Woodrow
b58cfaa3e8
Bug 900133 - Make sure we always set TEXTURE_DEALLOCATE_HOST when required. r=nical
2013-08-20 11:39:56 +12:00
Matt Woodrow
d599f32005
Bug 900133 - Don't mark textures as being sent to the compositor until after we've drawn to them. r=nical
2013-08-20 11:39:55 +12:00
Benoit Girard ext:(%2C%20Chris%20Lord%20%3Cchrislord.net%40gmail.com%3E)
1b95e41dd6
Bug 747811 - Make the tiles backend safe across processes. r=nrc,BenWa
...
The tiles backend passes raw pointers to transfer tiled buffers between the
main thread and the compositor. This patch changes that to use shared
memory and tile descriptors instead, as well as changing the memory management
slightly to facilitate that.
2013-08-19 14:59:22 +01:00
Kartikaya Gupta
b59db3868c
Bug 890280 - Apply proper transformations when sending inputs to the APZC and back to the DOM. r=BenWa
2013-08-14 10:15:54 -04:00
Nicolas Silva
21b12f43ab
Bug 858914 - Various TextureClient/Host cleanups. r=nrc.
2013-08-08 14:53:12 +02:00
Kartikaya Gupta
30c87b92e1
Bug 903460 - Back out cset 9813b854b713 because it regresses panning behaviour on Android. r=me
2013-08-12 08:32:11 -04:00
Phil Ringnalda
26893fc5ad
Back out d393cfeb5dbf:9f82224bb8a3 (bug 903816) for Android reftest failures
...
CLOSED TREE
2013-08-11 19:21:17 -07:00
Matt Woodrow
4ea156e47f
Bug 902339 - Null check mImageHost in ImageLayerComposite before trying to access it. r=nrc
2013-08-12 12:11:09 +12:00
Nicholas Cameron
788218a793
Bug 903816. Include-what-you-use for gfx/layers. r=roc
2013-08-12 11:17:23 +12:00
Kartikaya Gupta
378f96db6d
Bug 903460 - Apply the async transform after the CSS transform for a given layer. r=BenWa
...
Since the CSS transform includes a 1/resolution scaling factor, the translation
amount in the async transform is now in LayoutDevicePixels instead of LayerPixels.
The shadow tree transform is now effectively:
(1/resolution * rest of CSS transform * async translation * async resolution)
Whereas before it was
(async translation * async resolution * 1/resolution * rest of CSS transform)
2013-08-10 11:19:47 -04:00
Nicholas Cameron
1bc1f9224a
Bug 901722. Fix up component alpha/sub-pixel AA enablement. r=mattwoodrow
2013-08-09 11:30:19 +12:00
Ed Morley
a428bbb020
Merge mozilla-central and inbound
2013-08-07 16:19:03 -07:00
Kartikaya Gupta
24718d2f2e
Bug 900742 - Fix APZC hit testing problem introduced by bug 866232. r=BenWa
2013-08-06 16:20:14 -04:00
Ryan VanderMeulen
a1195a8c19
Backed out changeset aada9eac6fd3 (bug 900742) for checktest failures.
2013-08-06 12:50:36 -04:00
Kartikaya Gupta
5cd5511bea
Bug 900742 - Fix APZC hit testing problem introduced by bug 866232. r=BenWa
2013-08-06 10:39:19 -04:00
Milan Sreckovic
536093c3dc
Bug 900729: Make TextureFlags constant names (UseNearestFilter, NeedsYFlip, AllowRepeat, NewTile, ComponentAlpha) all caps in CompositorTypes.h and prefix them with TEXTURE_ for consistency and uniqueness. r=nsilva.
2013-08-06 13:36:35 -04:00
Nicolas Silva
8e7aa5738e
Bug 899667 - Make layer borders more readable. r=BenWa
2013-08-03 00:50:17 +02:00
Nicholas Cameron
dd58f82344
Bug 874721, bug 899435. D3D9 compositor and windows OMTC window resizing. r=Bas, mattwoodrow
2013-08-04 19:46:17 +12:00
Matt Woodrow
ea28516906
Bug 900133 - Add TEXTURE_IMMEDIATE_UPLOAD to avoid racing when single buffered. r=nical
2013-08-03 13:30:28 -04:00
Wes Kocher
f304825fbc
Backed out 6 changesets (bug 900133, bug 881634, bug 893302) for build bustage
...
Backed out changeset 49632bc14e27 (bug 900133)
Backed out changeset 036780fccc89 (bug 900133)
Backed out changeset b8db58f5e209 (bug 893302)
Backed out changeset 67c3e4204e44 (bug 893302)
Backed out changeset a857a4246dd9 (bug 900133)
Backed out changeset e0e2e27af6c1 (bug 881634)
2013-08-02 20:35:39 -07:00
Matt Woodrow
e90b2b5bae
Bug 900133 - Add TEXTURE_IMMEDIATE_UPLOAD to avoid racing when single buffered. r=nical
2013-08-02 23:00:02 -04:00
Matt Woodrow
9a90b3621f
Bug 900133 - Only draw the picture rect of a tiled image. r=nical
...
--HG--
extra : rebase_source : 836d60efd38040971f2bff9c2b24e66fb084d65d
2013-08-01 21:12:16 -04:00
Matt Woodrow
aa675bfd8e
Bug 900133 - Fix leak reporting for MemoryTextureHost. r=nical
...
--HG--
extra : rebase_source : 445d3cc5ed8d82bf26e357dc878d0d1b846b113a
2013-08-01 21:12:16 -04:00
Matt Woodrow
77d440cc12
Bug 900133 - Support MaskLayers that are backed by a NewTextureHost. r=nical
...
--HG--
extra : rebase_source : 8494dd32a837fc1ca44ed7c838e4def84f3292e1
2013-08-01 21:12:16 -04:00
Mike Hommey
8cdcebc8bc
Backout changesets 8b67eb363e5c (bug 893824), 2f603fe51b71, d623d68577ec, 12adb590b761, e08e42b8435b (bug 900133) and c8230843d507 (bug 898129) for crashtest bustage on a CLOSED TREE
2013-08-02 15:35:25 +09:00
Matt Woodrow
0c8c5ad671
Bug 900133 - Only draw the picture rect of a tiled image. r=nical
2013-08-01 21:12:16 -04:00
Matt Woodrow
a4ce2d33f0
Bug 900133 - Fix leak reporting for MemoryTextureHost. r=nical
2013-08-01 21:12:16 -04:00
Matt Woodrow
3be48e4437
Bug 900133 - Support MaskLayers that are backed by a NewTextureHost. r=nical
2013-08-01 21:12:16 -04:00
Nicolas Silva
f46dc128f3
Bug 899583 - Disallow BigImage with YCbCr compositing. r=BenWa
2013-08-02 01:02:06 +02:00
Nicholas Cameron
f67c88d7e9
back out bug 874721, bug 899435
2013-08-01 18:30:46 +12:00
Nicholas Cameron
180e532323
Bug 899435. Tidy up pt 1. r=mattwoodrow
2013-08-01 17:00:16 +12:00
Nicholas Cameron
9e1943584e
Bug 874721. Ensure a compositable is valid before use. r=Bas
2013-08-01 16:52:57 +12:00
Nicholas Cameron
9d09b0b60d
Bug 874721. Fallback for EnsureAllocated and compositor, and some more sanity checks. r=mattwoodrow
2013-08-01 16:52:36 +12:00
Nicholas Cameron
068a3c90a4
Bug 874721. CompositorD3D9, r=Bas
2013-08-01 16:50:52 +12:00
Ryan VanderMeulen
02d1dbe0d8
Merge m-c to inbound.
2013-07-30 18:08:18 -04:00
Nicholas Cameron
5b1bec37f3
Bug 897839. Add some null checks for the compositor map. r=mattwoodrow
2013-07-31 09:45:42 +12:00
Timothy Nikkel
d619fd2bc6
Bug 899730. Part 2. Use nsIntRegion::Area in layers and get rid of the unneeded GetRegionArea function that does the same. r=nrc
2013-07-30 16:10:32 -05:00
Kartikaya Gupta
795301b997
Bug 866232 - Fix build breakage introduced in f69d34718660. r=me
2013-07-30 14:55:57 -04:00
Kartikaya Gupta
40271aeb0c
Bug 866232 - Break assumption of a single global root layer tree. r=BenWa, mattwoodrow
2013-07-30 14:03:43 -04:00
Kartikaya Gupta
c27169836e
Bug 866232 - Update and re-enable the test for hit detection in the APZC tree. r=BenWa
2013-07-30 14:03:41 -04:00
Kartikaya Gupta
288b98292e
Bug 866232 - Add visible region tracking and hit-testing code for APZCTreeManager. r=BenWa, mattwoodrow
2013-07-30 14:03:41 -04:00
Kartikaya Gupta
ef737ecf30
Bug 866232 - Extract a GetCurrentAsyncTransform method in APZC. r=BenWa
2013-07-30 14:03:41 -04:00
Kartikaya Gupta
81eb2a5995
Bug 866232 - Add code to build the APZC tree on layer updates. r=BenWa, mattwoodrow
2013-07-30 14:03:40 -04:00
Kartikaya Gupta
047677d3e3
Bug 866232 - Add an APZCTreeManager to encapsulate the multiple APZCs corresponding to a given layer tree. r=BenWa, mattwoodrow
2013-07-30 14:03:40 -04:00
Nicolas Silva
2b6a0c31a2
Bug 858914 - New texture classes + OGL backend (preffed off). r=bas, nrc
2013-07-30 11:59:51 +02:00
Nicolas Silva
e6812e0741
Bug 858914 - Mark some Image related classes deprecated. r=jrmuizel DONTBUILD
2013-07-24 18:08:35 +02:00
Nicolas Silva
6677c99d45
Backed out changeset 9089fe288899
2013-07-24 18:01:39 +02:00
Nicolas Silva
3e4aab0b5a
Bug 868914 - Mark some Image related classes deprecated. r=jrmuizel
2013-07-24 17:43:35 +02:00
Nicolas Silva
5038e7de67
Bug 858914 - Make CreateTexturedEffect take SurfaceFormat + TextureSource instead of TextureHost. r=Bas
2013-07-24 17:34:09 +02:00
Jim Chen
b95fd80400
Backout f26e4c26ce4a (bug 881018) to land a different patch
2013-07-24 11:10:55 -04:00
Bill McCloskey
56463b4279
Bug 896651 - Need to clean up resources for out-of-process layer trees when shutting down (r=mattwoodrow)
2013-07-23 14:53:22 -07:00
Birunthan Mohanathas
fd8b442a08
Bug 784739 - Switch from NULL to nullptr in gfx/layers/composite/; r=ehsan
...
--HG--
extra : rebase_source : c0f144ec277ed64f32c584f1be9e38bac3d1dde3
2013-07-20 11:48:55 +03:00
Chris Lord
8c0e0a398a
Bug 886298 - Convert Layers fixed position margins to typed units. r=kats
2013-07-22 09:50:13 +01:00
Chris Lord
5bcdfe829a
Bug 886298 - Convert Layers fixed position anchor to typed units. r=kats
2013-07-22 09:50:09 +01:00
Chris Lord
e4a02f9145
Bug 876542 - Restore async pan/zoom compensation behaviour during overscroll. r=roc
...
Bug 876542 introduces a patch that reworks how we maintain the position of
fixed position layers, but didn't handle overscroll/zoom. This restores the old
behaviour in this situation.
2013-07-22 09:50:07 +01:00
Chris Lord
67c9718706
Bug 876542 - Restore async fixed layer margin animation. r=roc, kats
...
Restore the reconciliation between content document fixed position margins at
render time and the fixed layer margins as retrieved via SyncViewportInfo
during async panning/zooming.
2013-07-22 09:50:05 +01:00
Robert O'Callahan
ce6e479429
Bug 876542. Rework TransformFixedLayers so that it explicitly makes layer anchor points invariant under a change in transform of a specified ancestor layer. r=Cwiiis,kats
2013-06-24 13:34:33 +12:00
Jim Chen
d29289ef8f
Bug 881018 - Save TiledLayerBuffer::mResolution to stack to help investigate crash; r=kats
2013-07-18 01:52:38 -04:00
Matt Woodrow
146fa01a1e
Bug 889953 - Add a bounds property to ColorLayer to restrict the drawing region instead of using a clip. This stops our accelerated layer backends from requiring a temporary surface to render transformed ColorLayers. r=roc
2013-07-09 10:11:00 -04:00
Benoit Girard
fe89091f81
Bug 890279 - Create ScrollInfoLayers for frames we want APZC support. r=kats
2013-07-02 11:16:05 -04:00
Matt Woodrow
28c11b7893
Backout a17b6115cdd7 for causing reftest failures
2013-07-09 12:05:04 -04:00
Matt Woodrow
efcdad9840
Bug 889953 - Add a bounds property to ColorLayer to restrict the drawing region instead of using a clip. This stops our accelerated layer backends from requiring a temporary surface to render transformed ColorLayers. r=roc
2013-07-09 10:11:00 -04:00
Nicolas Silva
71afc33248
Bug 858914 - Mark all TextureHost and TextureClient classes deprecated. r=mattwoodrow
2013-07-08 23:30:44 +02:00
Benoit Girard
d000f2c08b
Bug 890630 - Port FrameCounter to the compositor API. r=nical
2013-07-06 12:19:52 -04:00
Kartikaya Gupta
75ac2d35d5
Bug 866265 - Use the resolution from the metrics object instead of inferring it from the layer transform. r=kentuckyfriedtakahe
2013-07-04 09:13:52 -04:00
Benoit Girard
78226b8419
Bug 775459 - Make APZC attachable only to container layers. r=kats
...
--HG--
extra : rebase_source : 5a94d9958013f92e64db4781e09bdc9db4b66c9a
2013-07-02 12:01:46 -04:00
David Zbarsky
579015c5cb
Remove unused argument to AsyncCompositionManager::WalkTheTree, no bug, r=mattwoodrow over irc
2013-06-29 11:53:49 -07:00
Jeff Muizelaar
3581b92b44
Bug 886845. Paint component alpha layer borders in blue. r=nical
...
More information is more better.
2013-06-29 11:34:03 -04:00
Justin Lebar
09d2312322
Bug 820686 - Remove code after MOZ_CRASH or MOZ_ASSUME_NOT_REACHED. r=(see below)
...
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=waldo for js
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
2013-06-28 18:38:32 -07:00
Justin Lebar
cab87a0cce
Bug 802686 - s/MOZ_NOT_REACHED/MOZ_CRASH/ in Gecko. r=(see below)
...
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
This is a mechanical change made with sed. Later patches in this queue
clean up the whitespace errors and so on.
2013-06-28 18:38:30 -07:00
Benoit Girard
64525ebd6f
Bug 864441 - Add APZC tests. r=kats
2013-06-24 15:24:42 -04:00
Kartikaya Gupta
6bb3472339
Bug 883646 - Initialize transform variables for non-Fennec codepaths. r=kentuckyfriedtakahe
2013-06-21 17:03:57 -04:00
Kartikaya Gupta
facd193c59
Bug 883646 - Update the ViewTransform class to have a LayoutToScreen scale factor. r=kentuckyfriedtakahe, BenWa
2013-06-21 17:03:57 -04:00
Kartikaya Gupta
dcd5272bcc
Bug 883646 - Propagate the ScaleFactor classes far and wide. r=kentuckyfriedtakahe
2013-06-21 17:03:56 -04:00
Kartikaya Gupta
59ed1b636b
Bug 883646 - Apply the mDevPixelsPerCSSPixel scaling factor in a few places. r=kentuckyfriedtakahe
2013-06-21 17:03:55 -04:00
Ryan VanderMeulen
5ee79e7c80
Backed out 7 changesets (bug 883646) for reftest-ipc failures.
...
Backed out changeset 2272804a8e71 (bug 883646)
Backed out changeset e39d3bdf847a (bug 883646)
Backed out changeset bf46fc332efe (bug 883646)
Backed out changeset 6bb558c3136f (bug 883646)
Backed out changeset d7d5d16e27e0 (bug 883646)
Backed out changeset 14c73096a132 (bug 883646)
Backed out changeset 89f6185a271b (bug 883646)
2013-06-20 17:36:39 -04:00
Kartikaya Gupta
2b3c7e6dee
Bug 883646 - Update the ViewTransform class to have a LayoutToScreen scale factor. r=kentuckyfriedtakahe, BenWa
2013-06-20 16:10:58 -04:00
Kartikaya Gupta
f4bbce6956
Bug 883646 - Propagate the ScaleFactor classes far and wide. r=kentuckyfriedtakahe
2013-06-20 16:10:58 -04:00
Kartikaya Gupta
311eecb4d6
Bug 883646 - Apply the mDevPixelsPerCSSPixel scaling factor in a few places. r=kentuckyfriedtakahe
2013-06-20 16:10:57 -04:00
Peter Chang
c7a08d8fb4
Bug 881460 - Drawing color of CrystallSkull is not correct in master. r=vlad, r=nrc
2013-06-11 18:14:33 +08:00
Kartikaya Gupta
fcc7d1ee1f
Bug 880676 - Replace a couple of Rect scaling functions with strongly typed operators. r=BenWa
2013-06-14 16:11:31 -04:00
Kartikaya Gupta
972f8b7e26
Bug 880676 - Introduce a ScaleFactor struct and use it to type conversions between units. r=BenWa,kentuckyfriedtakahe
2013-06-14 16:11:31 -04:00
Kartikaya Gupta
f46f570933
Bug 880676 - Make the ViewTransform classes store the unscaled layer translation. r=BenWa
2013-06-14 16:11:30 -04:00
Kartikaya Gupta
e2fabdb5d0
Bug 880676 - Convert another gfx::Point to a ScreenPoint. r=BenWa
2013-06-14 16:11:29 -04:00
Nicholas Cameron
a19022c186
Bug 874855. Add some more security to attaching compositors to compositables. r=nical
2013-06-14 08:19:39 +12:00
Benoit Girard
498bf9b7c7
Bug 775459 - Add layer border for scrollable container. r=joe
2013-06-12 14:25:17 -04:00
Kartikaya Gupta
c78c6af9f4
Bug 785929 - Kill FrameMetrics.mContentRect. r=kentuckyfriedtakahe
2013-06-11 09:46:51 -04:00
Kartikaya Gupta
ca27aa8758
Bug 877728 - Use a local variable instead of a ref to store a temporary. r=Ms2ger
2013-06-10 11:37:24 -04:00
Kartikaya Gupta
8125a1cac7
Bug 879004 - Convert mDisplayport and mCriticalDisplayport in FrameMetrics to CSSRects. r=BenWa
2013-06-10 09:05:42 -04:00
Daniel Holbert
1733ebe91f
back out ac18c74b3a2c (Bug 874736) since it was independently fixed elsewhere
2013-06-07 08:16:45 -04:00
Nicholas Cameron
87f23858e6
Bug 880441. Fix erroneous assertion with double buffering; r=mattwoodrow
2013-06-07 20:52:23 +12:00
Arnaud Sourioux
e47e38e014
Bug 874736 - Annotate "using CompositableHost::EnsureTextureHost;" to fix warnings with -Woverloaded-virtual in gfx/layers/composite. r=nical
2013-06-06 12:42:57 -04:00
Nicholas Cameron
6ee6b3fdfb
Bug 862952, Re-enable Composer2D after layers refactoring. r=bjacob,f=diego
...
--HG--
extra : rebase_source : eb394b6a7157b399d2e67baf695e9684835bbfcf
2013-06-06 10:14:51 +12:00
Vladimir Vukicevic
ef8707b5f0
b=843599; use gralloc buffers for WebGL streaming on B2G; r=nical,jgilbert,jrmuizel
2013-05-27 10:12:13 -04:00
Kartikaya Gupta
a470c3e0a4
Bug 877728 - Make the screen render offset a ScreenPoint. r=BenWa
2013-06-03 10:00:02 -04:00
Kartikaya Gupta
94f09001ff
Bug 877728 - Convert the page rect passed to SetFirstPaintViewport to LayerIntRect. r=BenWa
2013-06-03 09:58:34 -04:00
Kartikaya Gupta
3bec007d2f
Bug 877728 - Convert a couple of nsInt* variables to LayerInt*. r=BenWa
2013-06-03 09:58:07 -04:00
Kartikaya Gupta
d45ced53de
Bug 877728 - Convert the scroll offset out-param to SyncViewportInfo from nsIntPoint to ScreenPoint. r=BenWa
...
Also deletes a bunch of dead code, and makes some variables local
variables instead of member variables since they are only used in
a single function and don't need to be persisted.
2013-06-03 09:53:32 -04:00
Kartikaya Gupta
83f51d55ac
Bug 877728 - Convert some CSS rects passed to Java from gfx::Rect to CSSRect. r=BenWa
2013-06-03 09:52:44 -04:00
Nicholas Cameron
32fc4ce9b4
Bug 876661. Fix function hidden warnings. r=mattwoodrow
...
--HG--
extra : rebase_source : d008e636467c573723bc7de9cd0e13262d4ee9c1
2013-05-31 16:36:19 +12:00
Nicolas Silva
f52aecfad5
Bug 868946 - Make GrallocTextureHostOGL not crash when it doesn't have a GL context. r=bjacob
2013-05-07 16:19:15 -04:00
Jeff Gilbert
028ad03f99
Bug 877382 - Remove THEBES_API decorator. - r=BenWa
2013-05-29 14:59:24 -07:00
Chris Coulson
11f269ba46
Bug 877110 - Fix format-security errors introduced by bug 867656. r=mattwoodrow
2013-05-29 19:26:41 -04:00
Nicolas Silva
56b552e21e
Bug 867656 - Part 2. Implement Dump for CompositableHost classes. r=mattwoodrow
2013-05-26 04:44:24 +02:00
Nicolas Silva
e71f1f8564
Bug 867656 - Part 1. Implement GetAsSurface for GL TextureHosts. r=bjacob
2013-05-26 04:43:43 +02:00
David Zbarsky
41dbdc53f7
Bug 788549 Part 4: Add the ability to pause and sample animations on compositors at a specified time r=roc
2013-05-27 16:47:45 -07:00
David Zbarsky
3f06d8126b
Backed out changeset 6c1cf4694a13 for not building on windows and android
2013-05-27 17:14:33 -07:00
David Zbarsky
9c87205101
Bug 788549 Part 4: Add the ability to pause and sample animations on compositors at a specified time r=roc
2013-05-27 16:47:45 -07:00