Kartikaya Gupta
9ae1485883
Bug 915985 - Refactoring to introduce a ZoomConstraints class. r=botond
2014-01-06 13:26:44 -05:00
Birunthan Mohanathas
c293ca84b8
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
Anthony Jones
3b3605ff77
Bug 951463 - Rename ClampRect to ForceInside; r=botond
2014-01-06 10:05:07 -05:00
Nicholas Nethercote
82b05b710d
Bug 955942 (part 2) - Remove MemoryUniReporter. r=mccr8.
...
--HG--
extra : rebase_source : 9d70016cb19637ffece6409a184bf41d574cc6b4
2013-12-07 22:09:10 -08:00
Benoit Jacob
8135029813
Bug 949347 - Temporary strong reference to the actor in case mActor might be nulled concurrently - r=nical
2014-01-02 17:54:13 -05:00
Alessandro Decina
b59ddbf399
Bug 952769 - Add explicit strides to YCbCrImageDataSerializer. r=nical
2014-01-02 10:50:14 -05:00
Benoit Jacob
4bf0659d81
Bug 949819 - Move remaining ReadPixels and GetTexImage helpers out of GLContext - r=jgilbert
2014-01-02 10:17:29 -05:00
Benoit Jacob
457cb85bb0
Bug 949814 - Remove GetEGLContext and GetLibraryEGL from GLContext - r=jgilbert
2014-01-02 10:17:25 -05:00
Benoit Jacob
77e2828333
Bug 945586 - Move GLReadTexImageHelper out of GLContext - r=jgilbert
2014-01-02 10:17:22 -05:00
Andreas Pehrson
2c6b1f5c4f
Bug 877115 - [Moz2Dify] Part 6. Moz2Dify SharedSurface_EGLImage::GetPixels. r=nical
2013-12-16 15:50:53 -05:00
Andreas Pehrson
3c4223ff5d
Bug 877115 - [Moz2Dify] Part 3. Change gfxIntSize to gfx::IntSize in GLContext::OffscreenSize and dependendent classes. r=nical
2013-12-10 17:11:58 +01:00
Ms2ger
9b8e245bf9
Bug 950143 - Remove the implicit conversion operator from nsIntSize to IntSize; r=roc
2013-12-31 10:06:12 +01:00
Robert O'Callahan
7df40b24c3
Bug 945203. Part 2: Fix bogus comment. r=mattwoodrow
...
--HG--
extra : rebase_source : a7ef13ff14808109b003a72a6e55b21014801bc0
2013-12-17 00:01:02 +13:00
Robert O'Callahan
0b88239e0f
Bug 945203. Part 1: Add Layers API to annotate layers with hit-test regions. r=kats
...
--HG--
extra : rebase_source : baa695c0d6104f620a5b45a83e5b230ef584abd9
2013-12-16 23:47:06 +13:00
Wes Kocher
6bc4f795b0
Merge inbound to m-c
2013-12-20 18:42:04 -08:00
Diego Wilson
c2ae3452cf
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
c0a386612c
Bug 951218 - Fix a bug in AutoLockTextureHost. r=bjacob
2013-12-20 23:30:52 +01:00
Benoit Jacob
5790c973fd
Bug 949347 - reference-count TextureChild and have TextureClient hold on to it - r=nical,sotaro
2013-12-20 16:44:30 -05:00
Tor Arvid Lund
018c04cd13
Bug 950677 - Fix compile errors on Windows/FFOS builds. r=nical
...
The errors were discovered when running on the try server. Chose #include
in GrallocImages because there were problems with fwd declarations again.
2013-12-20 11:46:31 -05:00
Tor Arvid Lund
4476fdeea4
Bug 950677 - Change all remaining gfxIntSize -> IntSize refs. r=nical
2013-12-20 11:46:30 -05:00
Tor Arvid Lund
3263cb3c82
Bug 950677 - gfxIntSize -> IntSize in ThebesLayer* classes. r=nical
2013-12-20 11:46:30 -05:00
Tor Arvid Lund
9730e53aed
Bug 950677 - gfxIntSize -> IntSize for Texture* classes. r=nical
2013-12-20 11:46:30 -05:00
Tor Arvid Lund
7ca62e387f
Bug 950677 - gfxIntSize -> IntSize in ipc/Shadow* files. r=nical
2013-12-20 11:46:30 -05:00
Tor Arvid Lund
ad062d0b9d
Bug 950677 - gfxIntSize -> IntSize in ipc/ directory. r=nical
...
(Detail: Chose to put an #include for Point.h in a header instead of a
forward declaration because a fwd decl caused an "Already defined" error
and having neither fwd decl or #include caused another compile failure
saying IntSize was undefined)
2013-12-20 11:46:29 -05:00
Tor Arvid Lund
512fabebbf
Bug 950677 - More gfxIntSize -> IntSize changes in Layer* classes. r=nical
2013-12-20 11:46:29 -05:00
Tor Arvid Lund
0f9fdd2d39
Bug 950677 - Change gfxIntSize to gfx::IntSize in ImageContainer.h. r=nical
2013-12-20 11:46:29 -05:00
Tor Arvid Lund
88f20c01ba
Bug 950677 - Change gfxIntSize to gfx::IntSize in DirectX files. r=nical
2013-12-20 11:46:29 -05:00
Tor Arvid Lund
63ea87829c
Bug 950677 - Change gfxIntSize -> gfx::IntSize some places in layers/ipc. r=nical
2013-12-20 11:46:28 -05:00
Anthony Jones
68093fc158
Bug 952116 - Add mutex around APZC::CancelAnimation; r=kats
2013-12-20 09:58:24 +13:00
Randall Barker
155a01ed55
Bug 895358 - Part 2, Enable progressive tile rendering in B2G; r=BenWa,kats,Cwiiis
2013-12-19 12:19:25 -08:00
Nicolas Silva
1ff99ae9e0
Bug 951218 - Use RAII to unlock TextureHost. r=bjacob
2013-12-19 17:20:51 +01:00
Ryan VanderMeulen
b2d26bcc16
Merge m-c to inbound.
2013-12-18 21:28:22 -05:00
Ryan VanderMeulen
5abbd7ae72
Merge b2g-inbound to m-c.
2013-12-18 21:27:05 -05:00
Vivien Nicolas
689da9f8e1
Bug 951321 - [B2G][Messages] Create New Message button gets selected but does not open New Message page. r=kats
2013-12-19 01:12:47 +01:00
Vivien Nicolas
98328f91d5
Bug 951290 - [B2G] [Browser] The first swipe after zooming has no effect. r=kats
2013-12-19 01:12:47 +01:00
Benoit Jacob
40cfd97476
Bug 950203 - Let GfxInfo on Android create its own GL context to get GL strings, instead of waiting on the compositor's - r=jrmuizel
2013-12-18 15:49:13 -05:00
Markus Stange
4ce81395a5
Bug 951302 - Fix BasicCompositor handling of mask layers. r=mattwoodrow
2013-12-18 12:19:47 +01:00
Phil Ringnalda
315bb1c7fb
Back out 024623d015e9:fa1dd7e7aa22 (bug 895358) for Windows build bustage
...
CLOSED TREE
2013-12-17 23:36:05 -08:00
Randall Barker
e3b106bec9
Bug 895358 - Part 2, Enable progressive tile rendering in B2G; r=BenWa,kats,Cwiiis
2013-12-17 13:41:00 -08:00
Ryan VanderMeulen
9a9778b79a
Merge m-c to b2g-inbound.
2013-12-17 16:22:49 -05:00
Ryan VanderMeulen
2184455416
Merge b2g-inbound to m-c.
2013-12-17 16:17:49 -05:00
Kartikaya Gupta
7911d4daea
Bug 951256 - Dump the APZC guid in rendertrace output. r=Cwiiis
2013-12-17 15:20:21 -05:00
Kartikaya Gupta
f9ff7e3429
Bug 951256 - Add a GetGuid function with return value to APZC. r=Cwiiis
2013-12-17 15:20:20 -05:00
Kartikaya Gupta
95529e3ebf
Bug 950487 - Remove unnecessary UpdateCompositionBounds function on APZC. r=Cwiiis
2013-12-17 14:25:57 -05:00
Markus Stange
8ef9116036
Bug 951186 - Propagate the current compositor in ContentHostBase::UseTextureHost. r=nical
2013-12-17 17:11:14 +01:00
Chris Lord
2fab05a2c9
Bug 950696 - Cache the 'enable tiles' layers pref. r=bgirard
...
Rename layers.force-tiles to layers.enable-tiles and cache it with the other
layers prefs in gfxPlatform.
2013-12-17 14:02:16 +00:00
Ryan VanderMeulen
c8efa29df1
Backed out changeset 96b0ddfc63f7 (bug 893304) for causing bug 950589.
2013-12-16 22:49:02 -05:00
Alessandro Decina
89c3e4ffb9
Bug 928806 - Allow SharedPlanarYCbCrImage images to optionally have padding
...
Overload YCbCrImageDataSerializer.InitializeBufferInfo to take explicit plane
offsets. Make SharedPlanarYCbCrImage::SetDataNoCopy set the offsets based on the
Y, Cb and Cr plane pointers passed by the caller. r=nical
2013-12-16 17:33:47 -05:00
Chris Lord
5ed0aa176f
Bug 943846 - Don't constrain generated display-ports to composition bounds. r=kats
2013-12-16 17:33:30 -05:00
Kartikaya Gupta
831e00fbf5
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
Kartikaya Gupta
8109167828
Bug 949132 - Add a flag to FrameMetrics indicating a non-APZ scroll (original patch by mstange). r=tn
2013-12-16 12:04:45 -05:00
Matt Woodrow
7e4d69c48b
Bug 913503 - Update windowed plugin positions before we schedule a composite with OMTC. r=roc
2013-12-16 18:38:42 +13:00
Nicholas Cameron
09d8e541fe
Bug 950504. Remove MatrixForThebesMatrix. r=mattwoodrow
...
--HG--
extra : rebase_source : 77103221abbb55d23f9d399d4973ef0b8f269079
2013-12-16 11:17:58 +13:00
Phil Ringnalda
b50ac273d3
Back out e9ca04f323d0 (bug 928806) on suspicion of causing ASan and Linux debug gtest crashes
...
CLOSED TREE
2013-12-15 13:58:28 -08:00
Alessandro Decina
44a6b4da32
Bug 928806 - Allow SharedPlanarYCbCrImage images to optionally have padding. r=nical
...
Overload YCbCrImageDataSerializer.InitializeBufferInfo to take explicit plane
offsets. Make SharedPlanarYCbCrImage::SetDataNoCopy set the offsets based on the
Y, Cb and Cr plane pointers passed by the caller.
2013-12-15 14:06:14 -05:00
Kartikaya Gupta
b1616aec68
Bug 951320 - Use the composition bounds in CSS pixels when expanding the scrollable rect. r=k17e
2013-12-18 09:13:52 -05:00
Ryan VanderMeulen
832ea94fdc
Merge m-c to inbound.
2013-12-13 16:16:46 -05:00
Ryan VanderMeulen
62591c8121
Merge inbound to m-c.
2013-12-13 16:15:52 -05:00
Vivien Nicolas
de215e0940
Bug 949404 - Applications are half repainted once the keyboard is closed. r=Cwiiis
2013-12-13 18:23:47 +01:00
Morris Tseng
d39f34dbbd
Bug 893304 - Convert CanvasClient to new TextureClient/Host. r=nical, r=snorp, r=jgilbert
2013-12-13 12:45:13 -05:00
Tor Arvid Lund
a8c09b0aa0
Bug 929513 - Fix compile errors on Windows/Android r=nical
...
Forgot an include in the ImageLayerD3D9.cpp file (though I am unable to
reproduce the issue on my own windows installation).
Also seems in my previous attempt to fix the build, I introduced a
breakage for Android. Hopefully this will fix things.
2013-12-13 18:32:10 +01:00
Tor Arvid Lund
1fb97ff74a
Bug 929513 - Replace gfxIntSize in layers/AutoOpenSurface.h r=nical
...
This rippled into other replacements in layers and in gfx/gl.
2013-12-13 18:32:06 +01:00
Tor Arvid Lund
af7e76f848
Bug 929513 - Replace some instances of gfxIntSize with gfx::IntSize r=nical
2013-12-13 18:32:02 +01:00
Tor Arvid Lund
b50cf641f1
Bug 929513 - Add YCbCrUtils class and change gfxIntSize in BasicCompositor r=nical
...
The purpose of this patch is to replace usages of gfxIntSize with
gfx::IntSize in BasicCompositor.
The new class YCbCrUtils has two methods ported from gfxUtils in thebes.
BasicCompositor now uses these methods instead of the ones in gfxUtils.
Also changed gfxIntSize to gfx::IntSize and gfxImageFormat to
gfx::SurfaceFormat.
2013-12-13 18:31:57 +01:00
Tor Arvid Lund
a98f5ad615
Bug 929513 - Change gfxSize references to gfx::Size r=nical
2013-12-13 18:31:53 +01:00
Tor Arvid Lund
0894e1269d
Bug 929513 - Remove unused #include statements r=nical
2013-12-13 18:31:35 +01:00
Chris Lord
55e846c259
Bug 936500 - Don't copy Axis when creating a FlingAnimation. r=kats
...
FlingAnimation was, likely accidentally, creating copies of the axes it was
animating and operating on those, which lead to problems when displayports
were calculated based on the original copies which housed old values.
2013-12-13 19:37:42 +00:00
Benoit Girard
ecabcc60cf
Bug 941095 - Part 2: Disable subpixelaa + component alpha. r=mattwoodrow
...
--HG--
extra : rebase_source : 7e3a0d3710fb29b47615cc0254135d3b44637ed8
2013-12-13 13:53:18 -05:00
Wes Kocher
aa49cfcd54
Merge inbound to m-c
2013-12-12 19:12:51 -08:00
Kartikaya Gupta
f5fa7a6026
Bug 949310. r=BenWa
2013-12-12 13:34:50 -05:00
Carsten "Tomcat" Book
81059f072a
Merge mozilla-central to b2g-inbound
2013-12-12 16:17:29 +01:00
Mike Hommey
3325256d97
Bug 945042 - Move NO_PROFILE_GUIDED_OPTIMIZE to moz.build. r=gps,r=njn
2013-12-09 13:39:26 +09:00
Ryan VanderMeulen
cb5b5eee51
Merge m-c to inbound on a CLOSED TREE.
2013-12-11 22:39:20 -05:00
Dale Harvey
7870fd7c06
Bug 942929 - Use longtapup event to handle firing clicks when longtap not handled. r=kats
2013-12-12 00:39:06 +00:00
Ryan VanderMeulen
ab2b6eed46
Merge m-c to b-i.
2013-12-11 13:37:13 -05:00
Dale Harvey
1b81491cd0
Bug 946661 - Dont send tapconfirmed event when tapup was handled. r=kats
2013-12-11 17:19:42 +00:00
Kartikaya Gupta
7d224d3070
Bug 947931 - Remove unnecessary locking now to avoid potential for deadlock. r=botond,BenWa
2013-12-11 12:15:10 -05:00
Edwin Flores
ef0e39f7ad
Bug 934412 - Pass surface image format into CreateTextureImage r=nical
2013-12-11 15:14:16 +01:00
Cameron McCormack
ff1a22b1fb
Bug 773296 - Part 16a: Followup to move to using nsCSSValueSharedList in OMTA code. r=roc
2013-12-12 13:09:44 +11:00
Cameron McCormack
6f8dcf77b4
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
Nicholas Cameron
96dafdf224
Bug 948555. Fix a bogus assert in CompositorParent. r=mattwoodrow
2013-12-11 16:51:00 +13:00
Ryan VanderMeulen
6fb3114a62
Merge m-c to inbound.
2013-12-10 15:48:16 -05:00
Ryan VanderMeulen
e58ec03427
Merge b2g-inbound to m-c.
2013-12-10 15:38:44 -05:00
Nicholas Cameron
ab00caccc4
Bug 946958 part 5. Misc tidy ups. r=mattwoodrow
2013-12-09 14:41:00 +13:00
Nicholas Cameron
f215004cc4
Bug 946958 part 4. Tidy up interaction with widgets. r=kats
2013-12-09 14:40:59 +13:00
Nicholas Cameron
1eb16399af
Bug 946958 part 3. Remove thebes callbacks. r=mattwoodrow
2013-12-09 14:40:59 +13:00
Nicholas Cameron
d58229b635
Bug 946958 part 2. Remove methods which just forward to compositor. r=mattwoodrow
2013-12-09 14:40:59 +13:00
Nicholas Cameron
394fe4e5f2
Bug 946958 part 1. Remove GetWidgetSize. r=mattwoodrow
2013-12-09 14:40:59 +13:00
Nicholas Cameron
7d1613c786
Bug 865033 part 2. Add mCompositor to CompositorParent. r=mattwoodrow
2013-12-09 14:40:58 +13:00
Nicholas Cameron
8205294bd7
Bug 865033 part 1. Remove GetLayerManager from CompositorParent. r=mattwoodrow
2013-12-09 14:40:58 +13:00
Nicholas Cameron
6cf651cf5e
Bug 945632. Assert we've released memory which the host should have released. r=nical
2013-12-04 22:03:29 -05:00
Dan Glastonbury
79b2dce11c
Bug 942506 - Remove Bind method from AutoBindTexture - r=bjacob
...
Refactored the places where AutoBindTexture::Bind was used. Replaced with a
simplier class that just saves the texture id bound to a texture unit. The
texture is bound directly instead of via the helper.
I didn't eliminate all occurences of AutoBindTexture because I a few places it
was cleaner than using AutoSaveTexture + TextureSourceOGL->BindTexture.
I extracted the cut'n'paste code that bound the mask texture to program into
BindMaskTextureForProgram. I dislike cut'n'paste code in multiple spots.
2013-12-10 16:50:52 +10:00
Dan Glastonbury
defcd6a300
Bug 942506 - Remove ApplyFilterToBoundTexture from GLContext - r=bjacob
...
Move it to CompositorOGL.
2013-12-09 14:07:18 +10:00
Dan Glastonbury
c31338cb36
Bug 942502 - Move EGLImage/GraphicBuffer-specific helpers out of GLContext - r=bjacob
...
Extracted methods CreateEGLImageForNativeBuffer and DestroyEGLImage from
GLContext and moved to EGLImageHelpers.[h|cpp]. Renamed to
EGLImageCreateFromNativeBuffer and EGLImageDestroy.
2013-12-10 15:47:19 +10:00
Benoit Jacob
feae46d599
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
308e353ac4
Bug 897452 - Part 14 - Implement CompositableChild::ActorDestroy clearing the back-reference to it - r=nical
2013-12-11 20:45:09 -05:00
Benoit Jacob
74487acc2d
Bug 897452 - Part 13 - Host-side cleanup: remove OnActorDestroy and DestroyTextureHost* - r=nrc
2013-12-11 20:45:07 -05:00
Benoit Jacob
81c944e909
Bug 897452 - Part 12 - remove CompositableClient::OnActorDestroy - r=nrc
2013-12-11 20:45:05 -05:00
Benoit Jacob
c9c5a7012c
Bug 897452 - Part 11 - remove TextureClient::OnActorDestroy - r=nrc
2013-12-11 20:45:03 -05:00
Benoit Jacob
e395fa1e58
Bug 897452 - Part 10 - adapt post landing of bug 893301 - r=nical,nrc
2013-12-11 20:45:01 -05:00