Commit Graph

12876 Commits

Author SHA1 Message Date
Botond Ballo
394397cc79 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
0d500136ea Bug 898478 - Have AsyncPanZoomController keep a pointer to the APZCTreeManager. r=kats 2013-08-20 18:10:47 -04:00
Nicolas Silva
fbfc359172 Bug 916116 - Avoid some code duplication in Gralloc textures. r=sotaro 2013-09-17 15:29:19 +02:00
Nicolas Silva
5105ebac1e Bug 916116 - Move SetCompositableQuirks to AddTextureHost. r=sotaro 2013-09-17 15:28:35 +02:00
Nicolas Silva
dcc027a23f Bug 916116 - Remove useless #if 1. r=bjacob 2013-09-16 19:04:36 +02:00
Robert O'Callahan
4168a4671f Bug 907048 - Skip colorlayer if other opacity layer just covers the colorlayer region, r=roc 2013-09-16 10:20:30 +08:00
Ryan VanderMeulen
a3f1ea6990 Backed out 7 changesets (bug 902525) for B2G reftest failures.
Backed out changeset bbca63772c83 (bug 902525)
Backed out changeset edb386989dbd (bug 902525)
Backed out changeset 3137dadb4fcd (bug 902525)
Backed out changeset e562afcb3c89 (bug 902525)
Backed out changeset 8ef3a516bd68 (bug 902525)
Backed out changeset 520fcd422150 (bug 902525)
Backed out changeset 4e553e8da44e (bug 902525)
2013-09-15 18:59:27 -04:00
Rik Cabanier
16d99585fd Bug 902525 - Part 5: Fixes for blending of HTML elements. r=roc 2013-09-15 16:24:36 -04:00
Rik Cabanier
80eedaeab4 Bug 902525 - Part 2: Create layers for isolated groups when blending is involved. r=roc 2013-09-15 16:24:06 -04:00
Rik Cabanier
492ade5e96 Bug 902525 - Part 1: Layers changes. r=roc 2013-09-15 16:23:52 -04:00
Brian R. Bondy
4202bb63ca Bug 877225 - Transition from snapped view shows stretched page for a moment. r=bas 2013-09-15 15:30:11 -07:00
David Zbarsky
335b06601b [Bug 914955] Fix build warnings in Moz2D r=bas 2013-09-15 14:23:51 -04:00
Corey Ford
f17aaa5a04 Bug 914919 - Downgrade BaseRect::Set*Edge assertions to be non-fatal. r=dholbert 2013-09-11 16:27:14 -07:00
Jonathan Kew
757c2d5ea1 bug 871961 pt 4 - on xpcom-shutdown notification, release any SVG-glyphs documents held by fonts. r=roc 2013-05-22 23:48:55 +08:00
Jonathan Kew
c9f388d0f2 bug 916048 - SVG-in-OpenType glyphs should use the font's unitsPerEm value. r=roc 2013-09-14 12:40:57 +01:00
Jeff Muizelaar
21df65f091 Bug 914195. Improve type safety in cairo_win32_surface_create_with_d3dsurface9. r=benwa
This avoids a crash by writing to d3d9surface member on surfaces
that are not win32

--HG--
extra : rebase_source : 0aa7a67151c8d30f0b57e50a1f8570abd18081ca
2013-09-13 13:39:38 -04:00
Wes Kocher
a4893cf330 Merge inbound to m-c 2013-09-13 18:14:32 -07:00
Ryan VanderMeulen
fd45cb64f6 Merge m-c to b2g-inbound. 2013-09-13 16:11:28 -04:00
Diego Wilson
8dd43184bd Bug 911391 - Add Jellybean support to HwcComposer2D. r=mwu 2013-09-11 15:10:33 +02:00
Kartikaya Gupta
087cb08bd4 Bug 909881 - Rename some variables to make the code easier to read. r=botond 2013-09-13 10:18:38 -04:00
Kartikaya Gupta
0f52824527 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
Nathan Froyd
192bc00d31 Bug 913640 - sprinkle MOZ_CONSTEXPR on gfx's typed units to reduce static constructors; r=kats 2013-09-13 12:34:20 -04:00
Edwin Flores
43e0322c30 Bug 798843 - Replace instances of 'object' with 'context' to match change in CSS values r=roc 2013-05-16 14:35:12 +12:00
Ryan VanderMeulen
f6f2b44c8f Backed out changesets 6c097bdfc079, 51f5d900cd27, 9fdf99c07466, and b322938b37ef (bug 798843) due to intermittent Windows test failures. 2013-09-13 11:15:54 -04:00
Brian R. Bondy
b2b48b0721 Bug 901002 - Add Windows 8.1 to the OS list for gfx driver blacklisting. r=bas 2013-09-13 11:08:05 -07:00
Corey Ford
5eef149568 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
69aaac73df Bug 897105 - Part 2: Add layer fields for sticky positioning. r=roc 2013-09-11 21:17:58 -07:00
Corey Ford
bcbedb574b Bug 897105 - Part 1: Add RectTyped::operator== to allow use in IPDL structs. r=roc 2013-09-11 21:09:43 -07:00
Robert O'Callahan
defc38fb5c Bug 906643. Part 7: Hook up animation support for gfxSVGGlyphs. r=jfkthame
There's a few things mashed together in this patch:
-- Enable animations in glyph documents
-- Make gfxSVGGlyphsDocument monitor the document's refresh driver to detect
updates
-- Forward updates to the gfxFontEntry
2013-08-20 01:08:45 +12:00
Robert O'Callahan
1c69a44bd3 Bug 906643. Part 6: Add gfxFontEntry::NotifyGlyphsChanged, which calls new gfxFont::NotifyGlyphsChanged, which calls new gfxGlyphExtents::NotifyGlyphsChanged; these methods flush out existing glyph extents and notify all affected gfxUserFontGroups of the glyph changes. r=jfkthame 2013-08-20 01:08:45 +12:00
Robert O'Callahan
f163a5c915 Bug 906643. Part 5.2: Add gfxFont::GlyphChangeObserver. r=jfkthame 2013-09-02 16:30:10 +12:00
Robert O'Callahan
e75649fb2d Bug 906643. Part 4: Make each gfxFontEntry track its gfxFonts with SVG glyphs. r=jfkthame
--HG--
extra : rebase_source : cd2cbdc8f6722e71f523c3fbe19e515a0e44f043
2013-08-20 01:08:44 +12:00
Edwin Flores
b10976f9b2 Bug 798843 - Replace instances of 'object' with 'context' to match change in CSS values r=roc 2013-05-16 14:35:12 +12:00
Sotaro Ikeda
59015a6eb6 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
Nicholas Cameron
a48d09aed2 Bug 915944. Don't set TEXTURE_DEALLOCATE_HOST for deprecated canvas clients. r=mattwoodrow 2013-09-13 14:33:07 +12:00
Ryan VanderMeulen
fd143fc064 Merge m-c to b2g-inbound. 2013-09-12 20:41:54 -04:00
Ryan VanderMeulen
e4754304bc Merge inbound to m-c. 2013-09-12 20:37:35 -04:00
Jim Mathies
1241a6a4cc Bug 915385 - Add a hidden pref for disabling apz zoom. r=kats 2013-09-12 12:30:05 -05:00
Jerry Shih
f5df1aeb05 Bug 911730 - Only dump layer tree(using MOZ_LAYERS_HAVE_LOG). r=mattwoodrow 2013-09-12 11:08:50 -04:00
Nicolas Silva
1393f32821 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
Nicolas Silva
f8616ba377 Bug 901224 - Postpone deallocation of shared data to the end of the next transaction. r=sotaro 2013-09-12 16:50:28 +02:00
Ed Morley
ebfcb6a119 Merge mozilla-central and b2g-inbound 2013-09-12 12:09:58 +01:00
Sotaro Ikeda
422e8f19e2 Bug 871364 - Support GonkNativeWindow on gonk-JB r=jmuizelaar,mwu,doublec,mikeh,glandium 2013-09-12 11:40:26 +02:00
Matt Woodrow
5c0ccaac57 Bug 907926 - Avoid pushing a group if we can in DrawTargetCairo::DrawSurface. r=Bas 2013-09-11 17:08:53 +12:00
Matt Woodrow
39c60b3152 Bug 907926 - Don't ignore the composition operator in the Azure paths through ThebesLayerBuffer. r=roc 2013-09-11 17:08:53 +12:00
Matt Woodrow
7790f9d502 Bug 907926 - Add support for windows surfaces in DrawTargetCairo size lookup. r=Bas 2013-09-11 17:08:52 +12:00
Matt Woodrow
fc0b8ab200 Bug 914505 - Make sure that ThebesLayerBuffer::SupportsAzureContent is correct for the first frame. r=nrc 2013-09-12 16:53:46 +12:00
Ryan VanderMeulen
a352effd6a Merge b2g-inbound to m-c. 2013-09-11 20:58:14 -04:00
Kartikaya Gupta
5f62aa5009 Bug 912144 - Use the composition bounds instead of the viewport for hit testing. r=BenWa 2013-09-11 18:17:27 -04:00
Neil Rashbrook
4fe46da40e Bug 914547 Ensure the DirectX headers can be found when necessary r=jgilbert 2013-09-11 19:18:53 +01:00
Botond Ballo
0f2c4e94ea 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
e77507fa87 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
f11fc41386 Bug 914656 - Annotate the compositor thread for profiling. r=jrmuizel 2013-09-10 15:56:49 -04:00
John Daggett
a103db7527 Bug 901845 - add a pref to specify the max entries in a word cache. r=jfkthame 2013-09-11 10:36:57 +09:00
John Daggett
007662fa1d Bug 901845 - add a pref to specify the length limit of words in word caches. r=jfkthame 2013-09-11 10:36:57 +09:00
Benoit Jacob
58c2081999 Bug 912974 - Add two missing include guards. r=bjacob 2013-09-10 21:10:47 -04:00
Ryan VanderMeulen
902df2d447 Merge m-c to inbound on a CLOSED TREE. 2013-09-10 16:43:06 -04:00
Brad Lassey
658df973b5 bug 887819 - Investigate using the tiled layers backend, create pref to enable tiles r=BenWa 2013-09-10 14:21:37 -04:00
Milan Sreckovic
b4d9d2a9b0 Bug 913614 - When the input is invalid, skip the work as we won't get anything useful anyway. r=jmuizelaar 2013-09-06 12:22:20 -07:00
Ed Morley
832cd91616 Backed out changeset 6776e4836c04 (bug 907048) for marionette-webapi failures on a CLOSED TREE 2013-09-10 14:31:35 +01:00
Nicolas Silva
52456e1b28 Bug 913821 - Fix the TextureHost linked list. r=sotaro 2013-09-10 13:41:15 +02:00
Vladan Djeric
dfb99ebe18 Backed out changeset 78f1f02b6b36 (bug 907926) for TART regressions 2013-09-11 13:32:23 -04:00
Vladan Djeric
b6d0b0a524 Backed out changeset a2f85a996314 (bug 907926) for TART regressions 2013-09-11 13:31:53 -04:00
Vladan Djeric
ea6835bffd Backed out changeset b5d9ee3b3538 (bug 907926) for TART regressions 2013-09-11 13:31:24 -04:00
Vladan Djeric
735ddcd0a2 Backed out changeset 091d82cb377e (bug 907926) for TART regressions 2013-09-11 13:30:24 -04:00
Kartikaya Gupta
1b7a51767f Bug 909281 - Add some strongly-typed conversion functions for margins and use them in RecordFrameMetrics. r=BenWa 2013-09-11 13:20:43 -04:00
Nicolas Silva
d5fc397967 Bug 913821 - TextureID should be uint64 in the ipdl code. r=sotaro 2013-09-10 10:53:58 +02:00
Robert O'Callahan
daaeba9a4f 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
508f75aed0 Backed out changeset 6776e4836c04 2013-09-10 15:04:26 +08:00
Robert O'Callahan
fff54dba41 Bug 907048 - Skip colorlayer if other opacity layer just covers the colorlayer region 2013-09-10 14:48:57 +08:00
Nicholas Nethercote
7983bb2a7f Bug 910517 (3rd attempt) - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 2b2a1b2667d6562fcf803ec48b4a8c10fdd519a3
2013-08-27 16:24:51 -07:00
Matt Woodrow
f15c628d67 Bug 907926 - Enable azure cairo content for windows. r=nrc 2013-09-11 17:08:53 +12:00
Matt Woodrow
a0360873d9 Bug 907926 - Avoid pushing a group if we can in DrawTargetCairo::DrawSurface. r=Bas 2013-09-11 17:08:53 +12:00
Matt Woodrow
73266c5cdf Bug 907926 - Don't ignore the composition operator in the Azure paths through ThebesLayerBuffer. r=roc 2013-09-11 17:08:53 +12:00
Matt Woodrow
7a686f2aeb Bug 907926 - Add support for windows surfaces in DrawTargetCairo size lookup. r=Bas 2013-09-11 17:08:52 +12:00
Jim Mathies
20b0503b1d Bug 914829 - MetroInput should forward touch input to apz first, then to content. r=kats, tabraldes 2013-09-12 06:31:34 -05:00
Benoit Girard
90cc807e87 Bug 913329 - Use CopySurface to draw to the screen using OMTC basic. r=mattwoodrow 2013-09-09 11:49:56 -04:00
George Wright
9816a9fe9f Bug 899672 - Change egltrace.so default location to /data/local/tmp r=kats 2013-07-30 14:16:49 -04:00
Ryan VanderMeulen
10c13ed83a Merge m-c to inbound. 2013-09-11 22:20:33 -04:00
Andreas Gal
2dd06df490 Follow-up fix for bug 915342 (pushed the original patch without fixing a nit). 2013-09-12 00:07:29 +02:00
Andreas Gal
5ba463915b Display fill ratio when showing FPS counter (bug 915342, r=bgirard). 2013-09-11 23:57:23 +02:00
Jeff Muizelaar
2a2bc9017a Bug 908726. Add AppUnits.h so we don't need nsDeviceContext.h for AppUnitsPerCSSPixel(). r=ehsan 2013-09-06 16:15:04 -04:00
Ed Morley
f7bce95a91 Backed out changeset 5c9f3fb14995 (bug 910517) for Android talos failures
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryMultiReporterWrapper.h
2013-09-09 16:07:48 +01:00
Nicholas Nethercote
cc604f4854 Bug 910517 - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 76bf96ce8d6e16c8573584d9e8e70c80371f66eb
2013-08-27 16:24:51 -07:00
Matt Woodrow
fa8f16578a Bug 912173 - Always AddRef and Release the GLContext when sharing a SurfaceStream to avoid mismatches. r=nrc 2013-09-09 14:35:20 +12:00
Nicholas Cameron
fa21b5c5db Bug 909607. Check if we are minimised before compositing. r=Bas 2013-09-09 09:07:01 +12:00
Nicholas Cameron
f3efa82044 Bug 913298. Remove AddMaskEffect and RemoveMaskEffect declarations. r=nical 2013-09-09 09:06:57 +12:00
Nicholas Cameron
89686c5e44 Bug 906445. Some speculative fixes to guard against dereferencing nullptrs. r=Bas 2013-09-09 09:06:50 +12:00
Nicholas Cameron
6bb0b5ed84 Don't include mozilla-config.h in gfx.layers. No bug. r=me 2013-09-09 08:55:48 +12:00
Ryan VanderMeulen
66808396a3 Backed out changeset 35575118c650 (bug 912794) for asserts. 2013-09-06 23:08:36 -04:00
Benoit Jacob
4dbb3d0ca3 Bug 913603 - Avoid needlessly including nsRect.h - r=jrmuizel 2013-09-06 22:15:49 -04:00
Benoit Jacob
93331e8e3f Bug 913603 - Trim nsRect.h - r=jrmuizel 2013-09-06 22:14:27 -04:00
Benoit Jacob
a653be5aa4 Bug 912974 - Split two classes out of GLContext.h, and remove many #includes in GLContext.h - r=jrmuizel 2013-09-06 22:13:37 -04:00
Benoit Jacob
29823d2d34 Bug 912042 - Remove the last occurences of #include "GLContext.h" in remaining headers - r=jrmuizel 2013-09-06 22:11:41 -04:00
Milan Sreckovic
5413b28258 Bug 912794 - Separate out the CMS globals and prefs into a singleton gfxColorManagement. r=ncameron
Preferences are now initialized at startup, then updated with callbacks. The methods that access the cached values are not checking the preferences. This lets us better control which thread reads the prefs.

--HG--
rename : gfx/thebes/gfxPlatform.cpp => gfx/thebes/gfxColorManagement.cpp
rename : gfx/thebes/gfxPlatform.h => gfx/thebes/gfxColorManagement.h
2013-09-06 12:48:17 -07:00
Ryan VanderMeulen
21aafe3cc3 Merge m-c to mozilla-inbound. 2013-09-06 21:14:34 -04:00
Ryan VanderMeulen
c5419bc9e5 Merge b2g-inbound to m-c. 2013-09-06 20:40:47 -04:00
Matthew Noorenberghe
d52864cae3 Backout 2255560d9b6c (bug 912054) for breaking PGO builds on the UX branch (bug 913251) 2013-09-06 17:38:03 -07:00
Jeff Gilbert
9c551bd436 Bug 883478 - Update ANGLE to pull from 13-08-02. r=upstream,bjacob,bas 2013-09-06 17:24:36 -07:00
Ryan VanderMeulen
6e6b0eb9c7 Merge m-c to b2g-inbound. 2013-09-06 18:01:09 -04:00