David Zbarsky
92ffaedc75
Bug 952977: Convert CompositingRenderTargetOGL to gfx::Matrix4x4 r=nical
2014-01-27 15:25:21 -05:00
David Zbarsky
9bac52255b
Bug 952977: Perform some cleanup r=nical
2014-01-27 15:25:19 -05:00
David Zbarsky
23dbba7ec5
Bug 952977: Convert shadow transforms to gfx::Matrix4x4 r=nical
2014-01-27 10:29:27 -05:00
David Zbarsky
76b8ef2eb7
Bug 952977: Convert GetTransform to gfx::Matrix4x4 r=nical
2014-01-27 10:28:47 -05:00
David Zbarsky
77535232c8
Bug 952977: Convert SetBaseTransform to gfx::Matrix4x4 r=nical
2014-01-27 10:28:33 -05:00
David Zbarsky
07f34ba029
Bug 952977: Convert GetLocalTransform to gfx::Matrix4x4 r=nical
2014-01-27 10:28:18 -05:00
David Zbarsky
77f928fb9b
Bug 952977: Convert ComputeEffectiveTransforms to gfx::Matrix4x4 r=nical
2014-01-27 10:28:04 -05:00
David Zbarsky
1e46ffbe23
Bug 952977: Convert SnapTransforms to gfx::Matrix r=nical
2014-01-27 10:27:20 -05:00
David Zbarsky
1a8648fa9e
Bug 952977: Convert GetEffectiveTransform to gfx::Matrix4x4 r=nical
2014-01-24 17:49:19 -08:00
Doug Sherk
350d820834
Bug 962278 - Adjust default APZ DPI and settings that depend on it. r=kats
2014-01-23 16:34:31 -05:00
Benoit Jacob
15ef84b8b5
Bug 959448 - Convert most of LayersTypes.h to typed enums - r=nrc
...
find content/media dom/ipc widget/ gfx/tests gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)LAYERS_\(NONE\|BASIC\|OPENGL\|D3D9\|D3D10\|D3D11\|CLIENT\|LAST\)\($\|[^A-Za-z0-9_]\)/\1LayersBackend::LAYERS_\2\3/g'
find widget gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)BUFFER_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1BufferMode::BUFFER_\2\3/g'
find widget gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)BUFFER_\(BUFFERED\)\($\|[^A-Za-z0-9_]\)/\1BufferMode::\2\3/g'
find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)CLIP_\(DRAW\|DRAW_SNAPPED\)\($\|[^A-Za-z0-9_]\)/\1DrawRegionClip::\2\3/g'
find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)CLIP_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1DrawRegionClip::CLIP_\2\3/g'
find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SURFACE_\(NONE\|OPAQUE\|SINGLE_CHANNEL_ALPHA\|COMPONENT_ALPHA\)\($\|[^A-Za-z0-9_]\)/\1SurfaceMode::SURFACE_\2\3/g'
find gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SCALE_\(STRETCH\|SENTINEL\)\($\|[^A-Za-z0-9_]\)/\1ScaleMode::\2\3/g'
find gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SCALE_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1ScaleMode::SCALE_\2\3/g'
2014-01-23 13:26:41 -05:00
Oleg Romashin
92f1bf9210
Bug 962978 - TextureHost leaking mBuffer with OMTC on Linux. r=nical
2014-01-23 07:26:59 -08:00
Nicolas Silva
8c88c3c058
Bug 962041 - Fix component apha with the new ContentClient/Host. r=mattwoodrow
2014-01-23 15:14:58 +01:00
Botond Ballo
e3038b5dcb
Bug 916813 - Fix a crash during a layer dump. r=nical
2014-01-21 16:27:01 -05:00
Kartikaya Gupta
f99d562c53
Bug 947337 - Ensure the transform of input to Gecko space accounts for inflight paint requests. r=botond
2014-01-21 16:27:20 -05:00
Dmitry Rozhkov
1aa8b3f123
Bug 960565 - Reset touch counter with every touch start event. r=kats
2014-01-22 16:06:35 +02:00
Chris Lord
d42102847c
Bug 958549 - Don't move scroll indicators for empty container layers. r=kats
...
If we've applied an async transform to an empty container layer (e.g. a layer
that corresponds to an nsDisplayScrollInfo display item), don't use that
transform on the corresponding scrollbar.
2014-01-22 14:25:44 +00:00
Wes Kocher
c6eb5d18d8
Backed out 3 changesets (bug 947337) for build test errors
...
Backed out changeset 6ade48b8b9d7 (bug 947337)
Backed out changeset f3095f92e1c3 (bug 947337)
Backed out changeset 5becc07d9dac (bug 947337)
2014-01-21 15:04:22 -08:00
Nicolas Silva
6122c73e61
Bug 959615 - Initialize the TextureChild/Parent at creation time. r= bjacob
2014-01-21 23:06:18 +01:00
Kartikaya Gupta
f7de0e7e48
Bug 947337 - Ensure the transform of input to Gecko space accounts for inflight paint requests. r=botond
2014-01-21 16:27:20 -05:00
Ryan VanderMeulen
b43ef033c1
Merge b2g-inbound to m-c.
2014-01-19 15:40:48 -05:00
Sushil Chauhan
0c00df9f0d
Bug 953303 - HwcComposer2D should honor HWC_HINT_CLEAR_FB set by hwcomposer. r=ncameron
2014-01-17 18:55:30 -08:00
Kartikaya Gupta
0779d6405a
Bug 941138 - Make the duplicated code paths consistent. r=botond
2014-01-17 09:53:08 -05:00
Kartikaya Gupta
a847a5aa1b
Bug 941138 - Remove a redundant ScreenPoint argument. r=botond
2014-01-17 09:53:08 -05:00
Kartikaya Gupta
41c17be2e7
Bug 941138 - Move the code to update the cached transform. r=botond
2014-01-17 09:52:49 -05:00
David Zbarsky
7474ed0454
Bug 952977: Switch GL world transform to gfx::Matrix r=nical
2014-01-16 02:22:19 -05:00
Botond Ballo
484926d2ef
Bug 959198 - Have APZ hit testing respect mozpasspointerevents. r=kats
...
--HG--
extra : rebase_source : aafa0b5bf9839f583b84151afc4a3c805fabee0a
2014-01-16 15:19:59 -05:00
Nick Lebedev
7ee05aa952
Bug 795567 - Part 3: Add panning restriction and retrieving of touch-action value to apzc. r=kats
2014-01-15 10:03:15 -05:00
Benoit Jacob
891756510c
Bug 950113 - Avoid destroying our texture everytime we composite a ImageHost - r=nical
2014-01-15 07:45:28 -05:00
Chris Lord
be78778251
Bug 950993 - Fix async scrolling of fixed layers within scrollable sub-layers. r=roc
...
Fixed layers are relative to their nearest scrollable ancestor, so when we
encounter a scrollable layer in AlignFixedAndStickyLayers, reset the transform
and sub-tree root to start from that scrollable layer.
This fixes async scrolling of the fixed header in the Firefox marketplace on
B2G.
2014-01-15 12:15:50 +00:00
Benoit Jacob
873406e3f0
Bug 958375 - 8/9 - Make remaining Moz2D enums typed - r=Bas
...
Specifically:
r=Bas for manual changes
f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:17 -05:00
Benoit Jacob
300f4ba3a9
Bug 958375 - 6/9 - Make BackendType and NativeSurfaceType typed enums - r=Bas
...
Specifically:
r=Bas for manual changes
f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:16 -05:00
Benoit Jacob
535a216635
Bug 958375 - 4/9 - Make SurfaceFormat a typed enum - r=Bas
...
Specifically:
r=Bas for manual changes
f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:16 -05:00
Andreas Pehrson
7bdbcdf838
Bug 877115 - Remove GetTexImage from GLContext helper. r=nical
2014-01-08 09:37:58 +01:00
Daniel Holbert
aedfdeb947
Bug 957859: Add "f" suffix to some numeric literals in Compositor.cpp and ContainerLayerComposite.cpp, to fix MSVC C4305 warnings. r=nical
2014-01-09 06:26:19 -08:00
Benoit Jacob
c3bd0d0486
Bug 956401 - 5/9 - Let DrawWindow{Under,Over}lay take care of saving and restoring GL state - r=nrc
2014-01-07 15:02:18 -05:00
Nicolas Silva
ad476e2176
Bug 938591 - Use texture flags in DataTextureSource + D3D9/11 fixes. r=nrc
2014-01-07 17:20:11 +01:00
Nicolas Silva
db6939af11
Bug 900244 - New D3D9 Textures for BufferTextures. r=nrc
2014-01-07 17:20:03 +01:00
Nicolas Silva
8aba9aaa4a
Bug 938591 - New D3D11 TextureClient/Host. r=nrc
2014-01-07 17:19:52 +01:00
Kartikaya Gupta
73446f3e6c
Bug 915985 - Refactoring to introduce a ZoomConstraints class. r=botond
2014-01-06 13:26:44 -05:00
Birunthan Mohanathas
dfbad43639
Bug 784739 - Switch from NULL to nullptr in remaining directories; r=ehsan
...
--HG--
extra : rebase_source : 1ff19b2c8fd0e77fa8e822f5007a9fa3a6b6d474
2014-01-06 10:06:04 -05:00
Ms2ger
98586cdbc1
Bug 950143 - Remove the implicit conversion operator from nsIntSize to IntSize; r=roc
2013-12-31 10:06:12 +01:00
Wes Kocher
14628d9b52
Merge inbound to m-c
2013-12-20 18:42:04 -08:00
Diego Wilson
9e48e9bdd8
Bug 950800 - Honor Composer2D toggling on the fly. r=nrc
...
Now you can toggle the hardware composer on/off at any point without restarting B2G.
2013-12-17 09:01:39 -08:00
Nicolas Silva
e2aebf6c16
Bug 951218 - Fix a bug in AutoLockTextureHost. r=bjacob
2013-12-20 23:30:52 +01:00
Tor Arvid Lund
bbfc9d5dc7
Bug 950677 - Change all remaining gfxIntSize -> IntSize refs. r=nical
2013-12-20 11:46:30 -05:00
Tor Arvid Lund
19ca402f3f
Bug 950677 - More gfxIntSize -> IntSize changes in Layer* classes. r=nical
2013-12-20 11:46:29 -05:00
Tor Arvid Lund
7b9c2a5b21
Bug 950677 - Change gfxIntSize -> gfx::IntSize some places in layers/ipc. r=nical
2013-12-20 11:46:28 -05:00
Randall Barker
bb2d67faf4
Bug 895358 - Part 2, Enable progressive tile rendering in B2G; r=BenWa,kats,Cwiiis
2013-12-19 12:19:25 -08:00
Nicolas Silva
285bc16346
Bug 951218 - Use RAII to unlock TextureHost. r=bjacob
2013-12-19 17:20:51 +01:00
Phil Ringnalda
6cc1278352
Back out 024623d015e9:fa1dd7e7aa22 (bug 895358) for Windows build bustage
...
CLOSED TREE
2013-12-17 23:36:05 -08:00
Randall Barker
ffd53db5e1
Bug 895358 - Part 2, Enable progressive tile rendering in B2G; r=BenWa,kats,Cwiiis
2013-12-17 13:41:00 -08:00
Ryan VanderMeulen
947a3e877b
Merge b2g-inbound to m-c.
2013-12-17 16:17:49 -05:00
Kartikaya Gupta
38db1b6d37
Bug 950487 - Remove unnecessary UpdateCompositionBounds function on APZC. r=Cwiiis
2013-12-17 14:25:57 -05:00
Markus Stange
8a9382d2d4
Bug 951186 - Propagate the current compositor in ContentHostBase::UseTextureHost. r=nical
2013-12-17 17:11:14 +01:00
Kartikaya Gupta
cede2efb3a
Bug 949132 - Use the FrameMetrics flag on the layers update to update APZC scroll offset instead of tracking it in widget code. r=Cwiiis
2013-12-16 12:04:46 -05:00
Tor Arvid Lund
944f0d6f3b
Bug 929513 - Replace some instances of gfxIntSize with gfx::IntSize r=nical
2013-12-13 18:32:02 +01:00
Tor Arvid Lund
ad63ca899f
Bug 929513 - Change gfxSize references to gfx::Size r=nical
2013-12-13 18:31:53 +01:00
Tor Arvid Lund
99aac8e7ec
Bug 929513 - Remove unused #include statements r=nical
2013-12-13 18:31:35 +01:00
Phil Ringnalda
2b57a7b89d
Back out b6f9dbc91dc4 (bug 947038) for Cipc crashes
2013-12-12 23:33:50 -08:00
David Anderson
a93471ff5e
Ensure that the software compositor never uses deprecated textures (bug 947038, r=mattwoodrow).
2013-12-12 20:29:14 -08:00
Kartikaya Gupta
c140804ff3
Bug 949310. r=BenWa
2013-12-12 13:34:50 -05:00
Cameron McCormack
835faf601a
Bug 773296 - Part 16: Add a ref-counted list nsCSSValue unit and use it for tranform lists; hold a strong reference to one on nsStyleDisplay. r=dbaron
...
This adds a new eCSSUnit_SharedList type for nsCSSValue, which is a
reference counted object that contains an nsCSSValueList. We need this
so that nsStyleDisplay::mSpecifiedTransform can hold a strong reference
to a specified transform list value. When 'transform' is specified
using a variable reference, the resulting nsCSSValue does not stick
around in the Declaration object, so we wouldn't be guaranteed that
it lives long enough for nsStyleDisplay to keep referencing it.
2013-12-12 13:09:44 +11:00
Benoit Jacob
777f58aa8f
Bug 897452 - Part 15 - Introduce a AtomicRefCountedWithFinalize class to factor our custom-refcounting needs - r=nical
2013-12-11 20:45:11 -05:00
Benoit Jacob
2b64514aa1
Bug 897452 - Part 13 - Host-side cleanup: remove OnActorDestroy and DestroyTextureHost* - r=nrc
2013-12-11 20:45:07 -05:00
Benoit Jacob
4002af5009
Bug 897452 - Part 10 - adapt post landing of bug 893301 - r=nical,nrc
2013-12-11 20:45:01 -05:00
Benoit Jacob
50dc540401
Bug 897452 - Part 9 - Check for null buffer in BufferTextureHost::Upload - r=nical
2013-12-11 20:44:59 -05:00
Benoit Jacob
ceed874023
Bug 897452 - Part 8 - fix TextureParent::ActorDestroy - r=nical
2013-12-11 20:44:57 -05:00
Nicolas Silva
1682796eb5
Bug 897452 - Part 4 - Make sure we release all GL resources asap when shutting down the communication channel - r=bjacob
2013-12-11 20:44:49 -05:00
Nicolas Silva
71035219a2
Bug 897452 - Part 3 - Clean up some unused code after PTexture change - r=mattwoodrow
2013-12-11 20:44:47 -05:00
Nicolas Silva
3750f7b1c7
Bug 897452 - Part 2 - PTexture deallocation logic - r=sotaro,bjacob
2013-12-11 20:44:45 -05:00
Nicolas Silva
b16fe8751c
Bug 897452 - Part 1 - Implement the PTexture protocol - r=mattwoodrow
2013-12-11 20:44:44 -05:00
Nicolas Silva
6948c2eaa2
Bug 897452 - Part 0.2 - Make sure the texture host has a compositor - r=mattwoodrow
2013-12-11 20:44:41 -05:00
Ryan VanderMeulen
469134ec10
Backed out 17 changesets (bug 897452) for OSX crashes on a CLOSED TREE.
...
Backed out changeset 11ad8608bc27 (bug 897452)
Backed out changeset 6bcc629e76f9 (bug 897452)
Backed out changeset b91c858a43f5 (bug 897452)
Backed out changeset 38ba49ee3e97 (bug 897452)
Backed out changeset ea184ef84762 (bug 897452)
Backed out changeset 686cc5122149 (bug 897452)
Backed out changeset 3685a8018e49 (bug 897452)
Backed out changeset be7ef6240068 (bug 897452)
Backed out changeset f95c20e70947 (bug 897452)
Backed out changeset 4a370d2a1c62 (bug 897452)
Backed out changeset 1222f6ab66d2 (bug 897452)
Backed out changeset 5e9d3c681ee9 (bug 897452)
Backed out changeset 3b9ddce12b7a (bug 897452)
Backed out changeset 7aec6387f3e9 (bug 897452)
Backed out changeset eb1fe464fdaf (bug 897452)
Backed out changeset 07deaa53b6fd (bug 897452)
Backed out changeset ddab7d071d69 (bug 897452)
2013-12-11 14:52:50 -05:00
Benoit Jacob
ccf97a5a57
Bug 897452 - Part 15 - Introduce a AtomicRefCountedWithFinalize class to factor our custom-refcounting needs - r=nical
2013-12-11 13:05:37 -05:00
Benoit Jacob
fa6675d130
Bug 897452 - Part 13 - Host-side cleanup: remove OnActorDestroy and DestroyTextureHost* - r=nrc
2013-12-11 13:05:34 -05:00
Benoit Jacob
22563b36d8
Bug 897452 - Part 10 - adapt post landing of bug 893301 - r=nical,nrc
2013-12-11 13:05:27 -05:00
Benoit Jacob
869b5e5d48
Bug 897452 - Part 9 - Check for null buffer in BufferTextureHost::Upload - r=nical
2013-12-11 13:05:25 -05:00
Benoit Jacob
45e7e3ac91
Bug 897452 - Part 8 - fix TextureParent::ActorDestroy - r=nical
2013-12-11 13:05:23 -05:00
Nicolas Silva
32eb25d7ec
Bug 897452 - Part 4 - Make sure we release all GL resources asap when shutting down the communication channel - r=bjacob
2013-12-11 13:05:15 -05:00
Nicolas Silva
b6411e9dfe
Bug 897452 - Part 3 - Clean up some unused code after PTexture change - r=mattwoodrow
2013-12-11 13:05:13 -05:00
Nicolas Silva
ad35a4ba98
Bug 897452 - Part 2 - PTexture deallocation logic - r=sotaro,bjacob
2013-12-11 13:05:11 -05:00
Nicolas Silva
e37fc0dc93
Bug 897452 - Part 1 - Implement the PTexture protocol - r=mattwoodrow
2013-12-11 13:05:09 -05:00
Nicolas Silva
9fe0848f78
Bug 897452 - Part 0.2 - Make sure the texture host has a compositor - r=mattwoodrow
2013-12-11 13:05:07 -05:00
Nicolas Silva
9ff91e0baa
Bug 948955 - AddMaskEffect handles locking failure. r=bjacob
2013-12-11 18:32:41 +01:00
Ryan VanderMeulen
c8bf34a922
Merge b2g-inbound to m-c.
2013-12-10 15:38:44 -05:00
Nicholas Cameron
a3ead405d2
Bug 946958 part 5. Misc tidy ups. r=mattwoodrow
2013-12-09 14:41:00 +13:00
Nicholas Cameron
141476d871
Bug 946958 part 3. Remove thebes callbacks. r=mattwoodrow
2013-12-09 14:40:59 +13:00
Nicholas Cameron
83ac5d30d9
Bug 946958 part 2. Remove methods which just forward to compositor. r=mattwoodrow
2013-12-09 14:40:59 +13:00
Nicholas Cameron
b8cb20debc
Bug 946958 part 1. Remove GetWidgetSize. r=mattwoodrow
2013-12-09 14:40:59 +13:00
Nicholas Cameron
62b1b9650d
Bug 945632. Assert we've released memory which the host should have released. r=nical
2013-12-04 22:03:29 -05:00
Kartikaya Gupta
546900080a
Bug 814435 - Apply a shadow transform to scrollbar layers to keep them in sync with async transforms. r=BenWa
2013-12-09 22:14:54 -05:00
Ryan VanderMeulen
402473c083
Merge m-c to inbound.
2013-12-05 17:56:44 -05:00
Botond Ballo
4c6324e47d
Bug 942754 - Propagate zoom constraints from parent to child APZCs. r=kats
...
--HG--
extra : rebase_source : 92c3dcac3db2cd457d650ec08abfbab03c9517ce
2013-12-02 18:01:19 -05:00
Nicholas Cameron
95b6653483
Bug 893301. Rollup patch - new textures content. r=nical,nrc
2013-12-06 07:39:22 +13:00
Sotaro Ikeda
c077b722cb
Bug 944420 - Create TextureHostOGL when Compositor is not present on gonk. r=nical
...
--HG--
extra : rebase_source : 289bb433a863d22c16ad8aacb727f2f52f7a81f3
2013-12-04 17:46:03 -05:00
Ryan VanderMeulen
185553654c
Backed out changeset 8b33af450fc6 (bug 945632) for OSX asserts.
...
CLOSED TREE
2013-12-04 22:03:29 -05:00
Nicholas Cameron
5443a00ad1
Bug 945632. Assert we don't leak on the host side. r=nical
2013-12-05 14:21:15 +13:00
Benoit Jacob
b07c30f1d5
Back out bug 893301 for accidentally disabling gralloc for thebes layers on B2G - no review, bustage fix on a CLOSED TREE
2013-12-04 12:19:50 -05:00
David Anderson
2170305c2f
Support MacIOSurface textures in the basic compositor (bug 942358, r=mattwoodrow).
2013-12-03 16:20:04 -08:00