Commit Graph

405 Commits

Author SHA1 Message Date
Kartikaya Gupta
b172a54ae2 Bug 941138 - Remove a redundant ScreenPoint argument. r=botond 2014-01-17 09:53:08 -05:00
Kartikaya Gupta
6ad34c19ec Bug 941138 - Move the code to update the cached transform. r=botond 2014-01-17 09:52:49 -05:00
David Zbarsky
3e4ce3885c Bug 952977: Switch GL world transform to gfx::Matrix r=nical 2014-01-16 02:22:19 -05:00
Nick Lebedev
1651d2c5bb 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
1dd66d999b Bug 950113 - Avoid destroying our texture everytime we composite a ImageHost - r=nical 2014-01-15 07:45:28 -05:00
Chris Lord
9123b70f17 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
f447d87c57 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
ccaa35314d 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
a1e7c32630 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
0955c3684b Bug 877115 - Remove GetTexImage from GLContext helper. r=nical 2014-01-08 09:37:58 +01:00
Daniel Holbert
4d86d9a617 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
f89d762216 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
e8b4b086ed Bug 938591 - Use texture flags in DataTextureSource + D3D9/11 fixes. r=nrc 2014-01-07 17:20:11 +01:00
Nicolas Silva
4d8b6b278e Bug 900244 - New D3D9 Textures for BufferTextures. r=nrc 2014-01-07 17:20:03 +01:00
Nicolas Silva
d77e8606a1 Bug 938591 - New D3D11 TextureClient/Host. r=nrc 2014-01-07 17:19:52 +01:00
Kartikaya Gupta
570d06ad25 Bug 915985 - Refactoring to introduce a ZoomConstraints class. r=botond 2014-01-06 13:26:44 -05:00
Birunthan Mohanathas
d05644b6b3 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
fc0c5d7215 Bug 950143 - Remove the implicit conversion operator from nsIntSize to IntSize; r=roc 2013-12-31 10:06:12 +01:00
Wes Kocher
53c4b1ac6a Merge inbound to m-c 2013-12-20 18:42:04 -08:00
Diego Wilson
78b4c2402e 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
058260c070 Bug 951218 - Fix a bug in AutoLockTextureHost. r=bjacob 2013-12-20 23:30:52 +01:00
Tor Arvid Lund
a9bab1983c Bug 950677 - Change all remaining gfxIntSize -> IntSize refs. r=nical 2013-12-20 11:46:30 -05:00
Tor Arvid Lund
c652a133f6 Bug 950677 - More gfxIntSize -> IntSize changes in Layer* classes. r=nical 2013-12-20 11:46:29 -05:00
Tor Arvid Lund
0cb3c8eff8 Bug 950677 - Change gfxIntSize -> gfx::IntSize some places in layers/ipc. r=nical 2013-12-20 11:46:28 -05:00
Randall Barker
08972a99be Bug 895358 - Part 2, Enable progressive tile rendering in B2G; r=BenWa,kats,Cwiiis 2013-12-19 12:19:25 -08:00
Nicolas Silva
1602ad6cbf Bug 951218 - Use RAII to unlock TextureHost. r=bjacob 2013-12-19 17:20:51 +01:00
Phil Ringnalda
64afb91b4b Back out 024623d015e9:fa1dd7e7aa22 (bug 895358) for Windows build bustage
CLOSED TREE
2013-12-17 23:36:05 -08:00
Randall Barker
5f29e6fa80 Bug 895358 - Part 2, Enable progressive tile rendering in B2G; r=BenWa,kats,Cwiiis 2013-12-17 13:41:00 -08:00
Ryan VanderMeulen
f0ceb6aaa5 Merge b2g-inbound to m-c. 2013-12-17 16:17:49 -05:00
Kartikaya Gupta
0ea9aefa0c Bug 950487 - Remove unnecessary UpdateCompositionBounds function on APZC. r=Cwiiis 2013-12-17 14:25:57 -05:00
Markus Stange
904a99263d Bug 951186 - Propagate the current compositor in ContentHostBase::UseTextureHost. r=nical 2013-12-17 17:11:14 +01:00
Kartikaya Gupta
0b8bb93d3e 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
3d5f99f7f3 Bug 929513 - Replace some instances of gfxIntSize with gfx::IntSize r=nical 2013-12-13 18:32:02 +01:00
Tor Arvid Lund
eaa77f044b Bug 929513 - Change gfxSize references to gfx::Size r=nical 2013-12-13 18:31:53 +01:00
Tor Arvid Lund
71bbbd7eb2 Bug 929513 - Remove unused #include statements r=nical 2013-12-13 18:31:35 +01:00
Phil Ringnalda
ef063fb0d4 Back out b6f9dbc91dc4 (bug 947038) for Cipc crashes 2013-12-12 23:33:50 -08:00
David Anderson
f853c97cb8 Ensure that the software compositor never uses deprecated textures (bug 947038, r=mattwoodrow). 2013-12-12 20:29:14 -08:00
Kartikaya Gupta
6c7c9a5200 Bug 949310. r=BenWa 2013-12-12 13:34:50 -05:00
Cameron McCormack
ae655160b2 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
9f063375a9 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
01bec9054e Bug 897452 - Part 13 - Host-side cleanup: remove OnActorDestroy and DestroyTextureHost* - r=nrc 2013-12-11 20:45:07 -05:00
Benoit Jacob
94263041e6 Bug 897452 - Part 10 - adapt post landing of bug 893301 - r=nical,nrc 2013-12-11 20:45:01 -05:00
Benoit Jacob
67fcd5e48f Bug 897452 - Part 9 - Check for null buffer in BufferTextureHost::Upload - r=nical 2013-12-11 20:44:59 -05:00
Benoit Jacob
0d718a571c Bug 897452 - Part 8 - fix TextureParent::ActorDestroy - r=nical 2013-12-11 20:44:57 -05:00
Nicolas Silva
bffd72633e 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
3629fbc964 Bug 897452 - Part 3 - Clean up some unused code after PTexture change - r=mattwoodrow 2013-12-11 20:44:47 -05:00
Nicolas Silva
21bd46b628 Bug 897452 - Part 2 - PTexture deallocation logic - r=sotaro,bjacob 2013-12-11 20:44:45 -05:00
Nicolas Silva
6d4b3e3b43 Bug 897452 - Part 1 - Implement the PTexture protocol - r=mattwoodrow 2013-12-11 20:44:44 -05:00
Nicolas Silva
bf82b9d838 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
c269bf8ea6 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