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
Phil Ringnalda
cd46a21b2c
Merge f-t to m-c
2013-12-14 18:21:57 -08:00
Jim Mathies
d85f619b11
Bug 941774 - Centralize various dpi related queries on Windows. r=bbondy
2013-12-14 14:40:55 -06: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
Wes Kocher
aa49cfcd54
Merge inbound to m-c
2013-12-12 19:12:51 -08:00
Kevin Simons
68173a4652
Bug 944646 - Implement Skia path in ScaledFontBase::CopyGlyphsToBuilder. r=mattwoodrow
...
Handle PathBuilderSkia with a separate path specifically for
BACKEND_SKIA DrawTarget instances.
2013-12-12 17:37:00 -05:00
Kevin Simons
306ee6f1e6
Bug 944646 - Check the DrawTarget type before downcasting PathBuilders. r=mattwoodrow
...
Previously the ScaledFontBase::CopyGlyphsToBuilder methods in the
various ScaledFont subclasses static_cast-ed the passed in PathBuilder
objects without checking which sort of DrawSurface they were created by.
2013-12-12 17:37:00 -05: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
Jonathan Watt
3576e7b904
Bug 944704, part 4 - Fix PathBuilderCG::Arc to sweep in the correct direction. r=Bas
2013-12-14 11:09:36 +00:00
Bas Schouten
2d33b1945d
Bug 946540: Deal with inflection points that all lie outside of (0, 1). r=jrmuizel
2013-12-13 15:22:37 +01:00
Jonathan Watt
d4bb10c7ab
Bug 944704, part 1 - Extend Moz2D's ArcToBezier helper so that it can draw ellipse arcs in addition to circle arcs. r=Bas
2013-12-13 12:14:36 +00:00
Jeff Muizelaar
4fa43a6bda
Bug 951216. Avoid unnecessary Snapshot() copies by clearing the pattern. r=Bas
...
gfxSurfaceDrawable::Draw() sets a gfxPattern(Snapshot()) to the gfxContext's
pattern. If the gfxSurfaceDrawable is created by
CreateSamplingRestrictedDrawable it will be destroyed before the Snapshot().
This causes the Snapshot to be copied unnecessarily.
If we set the pattern to something else we'll destroy the snapshot before the
gfxSurfaceDrawable and save a copy.
--HG--
extra : rebase_source : 03864e8a0fe021940747cf691df30ec51e4d8b2d
2013-12-17 13:33:34 -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
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
bb5ac9289e
Bug 946661 - Add APZC tests for short and medium length taps. r=daleharvey
2013-12-11 17:19:33 +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
Jacek Caban
66134a8c07
Bug 945230 - Fixed char16_t/wchar_t mismatch in gfx/thebes/. r=bas.schouten
2013-12-11 10:46:41 +01: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
John Daggett
e494c89c89
Bug 947812 - log font name loading times. r=bas
2013-12-11 09:58:27 +09:00
John Daggett
24ab4b6feb
Bug 947812 - use DirectWrite API for fullname/psname lookup. r=bas
2013-12-11 09:58:19 +09: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
Jeff Muizelaar
4264e2fab0
Bug 947379. Remove MOZ_PANGO. r=jfkthame
...
We haven't been able to build with this since
2008. Time for it to go.
--HG--
extra : rebase_source : 0e25f91e2a4308d3873ca2c240347b25d70d69c5
2013-12-09 10:03:28 -05:00
Ehsan Akhgari
d4490ee3c7
Bug 947736 - Build modules/libpref/ in unified mode; r=bsmedberg
2013-12-10 18:10:01 -05:00
John Daggett
1f5a3fb130
merge
2013-12-12 10:50:57 +09:00
John Daggett
ad51a7094b
Bug 947812 - bracket log calls with #ifdef PR_LOGGING. r=heycam
2013-12-12 09:28:40 +09:00
Matt Woodrow
47153c6c2d
Bug 946475 - Avoid using AutoSaveRestoreClippedOut for ClearRect when the cumulative clip can be represented as a single axis aligned rectangle. r=Bas
2013-12-12 10:11:37 +13:00
Matt Woodrow
4cd7701567
Bug 946475 - Clip to the clear area in DrawTargetD2D::ClearRect so that we don't accidentally restore pixels that weren't drawn. r=Bas
2013-12-12 10:11:07 +13:00
Matt Woodrow
d9683d5ba3
Bug 948221 - Part 6: Make UnpremultiplyImageSurface work on surfaces that don't have matching strides. r=roc
2013-12-12 10:05:26 +13:00
Matt Woodrow
9602bddb2a
Bug 948221 - Part 5: Make GetSourceSurfaceForSurface use the screen reference draw target if one isn't specified. r=Bas
2013-12-12 10:05:26 +13: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
Dan Glastonbury
699b5b1669
Bug 942502 - Remove dead GLContext code - r=bjacob
2013-12-06 14:19:15 +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
Benoit Jacob
2f4d3655f4
Bug 897452 - Part 9 - Check for null buffer in BufferTextureHost::Upload - r=nical
2013-12-11 20:44:59 -05:00
Benoit Jacob
4fccd4cb43
Bug 897452 - Part 8 - fix TextureParent::ActorDestroy - r=nical
2013-12-11 20:44:57 -05:00
Benoit Jacob
7f6d92ec4c
Bug 897452 - Part 7 - Implement TextureChild::ActorDestroy to notify its TextureClient - r=nical
2013-12-11 20:44:55 -05:00
Benoit Jacob
62d30b6844
Bug 897452 - Part 6 - assert that the forwarder we're initializing our TextureChild with is non null - r=nical
2013-12-11 20:44:53 -05:00
Nicolas Silva
97b38370cc
Bug 897452 - Part 5 - Fix a TextureClient gtest crash - r=BenWa
2013-12-11 20:44:51 -05:00
Nicolas Silva
b2259dbfa7
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
f8d884874b
Bug 897452 - Part 3 - Clean up some unused code after PTexture change - r=mattwoodrow
2013-12-11 20:44:47 -05:00
Nicolas Silva
0f1647175e
Bug 897452 - Part 2 - PTexture deallocation logic - r=sotaro,bjacob
2013-12-11 20:44:45 -05:00
Nicolas Silva
2c99be0508
Bug 897452 - Part 1 - Implement the PTexture protocol - r=mattwoodrow
2013-12-11 20:44:44 -05:00
Nicolas Silva
6372f3cc1c
Bug 897452 - Part 0.2 - Make sure the texture host has a compositor - r=mattwoodrow
2013-12-11 20:44:41 -05:00
Nicolas Silva
f94900f3dd
Bug 897452 - Part 0.1 - Make it possible for TextureClient to call virtual methods just before its destructor. r=bjacob
2013-12-11 20:44:40 -05:00
Nicholas Nethercote
bdfbbf7bcd
Bug 947798 (part 2) - Remove MemoryMultiReporter, because it's no longer helpful. r=mccr8.
...
--HG--
extra : rebase_source : f6f74de69d8c1d79d38b84b19dff5439efc41075
2013-12-07 21:39:47 -08:00
Nicholas Nethercote
0b9a804eb0
Bug 947798 (part 1) - Rename NS_MEMORY_REPORTER_MALLOC_SIZEOF_FUN as MOZ_DEFINE_MALLOC_SIZE_OF. r=mccr8.
...
--HG--
extra : rebase_source : ec09d4c31264c15befb020375bf001a1ad1df6b8
2013-12-07 21:38:32 -08:00
Jeff Muizelaar
c497846462
Bug 947847. Avoid reseting to empty rects. r=BenWa
...
pixman_region32_reset will give an error if the rectangle you pass to it is
empty. We can just check before hand if the rect is empty and in that case just
call pixman_region32_clear instead of pixman_region32_reset.
--HG--
extra : rebase_source : dbdde170f391b6e5c8808717039677b026adb701
2013-12-09 18:22:45 -05:00
Matt Woodrow
0cfc75c3ec
Bug 948221 - Part 4: Add a gfxSurfaceDrawable constructor that takes a SourceSurface. r=roc
2013-11-27 14:05:03 +13:00
Matt Woodrow
6133167fe4
Bug 948221 - Part 3: Fix a bug where a SurfacePattern created by gfxPattern didn't respect the requested filter mode. r=Bas
2013-12-12 10:05:26 +13:00
Kartikaya Gupta
7582e1a784
Bug 814435 - Prevent scrollbars from fading out while user is scrolling. r=botond
2013-12-09 22:14:55 -05:00
Kartikaya Gupta
0612b4fc6d
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
Kartikaya Gupta
1af8763544
Bug 814435 - Annotate layers for scrollbars as such. r=tn, BenWa
2013-12-09 22:14:53 -05:00
Nicholas Cameron
a96fda05ae
Bug 945088. Use the correct device offset in gfxContext. r=mattwoodrow
2013-12-09 21:04:44 +13:00
Birunthan Mohanathas
4fc8d6dc86
Bug 798033 - Remove 'using namespace' from gfx/ headers. r=jrmuizel
2013-12-08 21:53:26 -05:00
Birunthan Mohanathas
759ab69b0a
Bug 713082 - Part 2: Rename Util.h to ArrayUtils.h. r=Waldo
...
--HG--
rename : mfbt/Util.h => mfbt/ArrayUtils.h
2013-12-08 21:52:54 -05:00
Birunthan Mohanathas
2a97f4dc0d
Bug 713082 - Part 1: Remove unnecessary Util.h includes. r=Waldo
2013-12-08 21:52:33 -05:00
Phil Ringnalda
617e2b2636
Backed out 7 changesets (bug 946958, bug 865033)
...
Backed out changeset 6dd0a6cb9ab3 (bug 946958)
Backed out changeset 498152aec5b1 (bug 946958)
Backed out changeset 7d035322f51d (bug 946958)
Backed out changeset 99f8ad7561ef (bug 946958)
Backed out changeset 4639c5abea80 (bug 946958)
Backed out changeset 9d1a4d83eccf (bug 865033)
Backed out changeset 41839e4026bc (bug 865033)
2013-12-08 18:43:45 -08:00
Nicholas Cameron
db15917f8c
Bug 946958 part 5. Misc tidy ups. r=mattwoodrow
2013-12-09 14:41:00 +13:00
Nicholas Cameron
ebb90c9836
Bug 946958 part 4. Tidy up interaction with widgets. r=kats
2013-12-09 14:40:59 +13:00
Nicholas Cameron
89b7990640
Bug 946958 part 3. Remove thebes callbacks. r=mattwoodrow
2013-12-09 14:40:59 +13:00
Nicholas Cameron
d8b85a8d7f
Bug 946958 part 2. Remove methods which just forward to compositor. r=mattwoodrow
2013-12-09 14:40:59 +13:00
Nicholas Cameron
feeffb08cf
Bug 946958 part 1. Remove GetWidgetSize. r=mattwoodrow
2013-12-09 14:40:59 +13:00
Nicholas Cameron
bd97008ccc
Bug 865033 part 2. Add mCompositor to CompositorParent. r=mattwoodrow
2013-12-09 14:40:58 +13:00
Nicholas Cameron
31581c859c
Bug 865033 part 1. Remove GetLayerManager from CompositorParent. r=mattwoodrow
2013-12-09 14:40:58 +13:00