Commit Graph

7799 Commits

Author SHA1 Message Date
Sotaro Ikeda
4bf6f5d219 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
6d247d1353 Bug 915944. Don't set TEXTURE_DEALLOCATE_HOST for deprecated canvas clients. r=mattwoodrow 2013-09-13 14:33:07 +12:00
Ryan VanderMeulen
0c7227eaf3 Merge m-c to b2g-inbound. 2013-09-12 20:41:54 -04:00
Ryan VanderMeulen
6f4ced18e9 Merge inbound to m-c. 2013-09-12 20:37:35 -04:00
Jim Mathies
cf11506223 Bug 915385 - Add a hidden pref for disabling apz zoom. r=kats 2013-09-12 12:30:05 -05:00
Jerry Shih
6489c5114d Bug 911730 - Only dump layer tree(using MOZ_LAYERS_HAVE_LOG). r=mattwoodrow 2013-09-12 11:08:50 -04:00
Nicolas Silva
f2973f89d7 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
d196d86d68 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
89f8fd063e Merge mozilla-central and b2g-inbound 2013-09-12 12:09:58 +01:00
Sotaro Ikeda
81b1a4b5b1 Bug 871364 - Support GonkNativeWindow on gonk-JB r=jmuizelaar,mwu,doublec,mikeh,glandium 2013-09-12 11:40:26 +02:00
Matt Woodrow
42c3c9e699 Bug 907926 - Avoid pushing a group if we can in DrawTargetCairo::DrawSurface. r=Bas 2013-09-11 17:08:53 +12:00
Matt Woodrow
afe792aec9 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
e2dab065a5 Bug 907926 - Add support for windows surfaces in DrawTargetCairo size lookup. r=Bas 2013-09-11 17:08:52 +12:00
Matt Woodrow
a13d1d68bd 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
9283daa4fd Merge b2g-inbound to m-c. 2013-09-11 20:58:14 -04:00
Kartikaya Gupta
ae3d136b21 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
8f86825acb Bug 914547 Ensure the DirectX headers can be found when necessary r=jgilbert 2013-09-11 19:18:53 +01:00
Botond Ballo
13d4e37c9e 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
77fe55cbfe 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
dd193089ea Bug 914656 - Annotate the compositor thread for profiling. r=jrmuizel 2013-09-10 15:56:49 -04:00
John Daggett
f04bb70fe1 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
b3764b73eb 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
0a21d2e6ac Bug 912974 - Add two missing include guards. r=bjacob 2013-09-10 21:10:47 -04:00
Ryan VanderMeulen
f682c92d27 Merge m-c to inbound on a CLOSED TREE. 2013-09-10 16:43:06 -04:00
Brad Lassey
599def879e 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
9618b4a696 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
2dbe63d2e2 Backed out changeset 6776e4836c04 (bug 907048) for marionette-webapi failures on a CLOSED TREE 2013-09-10 14:31:35 +01:00
Nicolas Silva
2b26f8b179 Bug 913821 - Fix the TextureHost linked list. r=sotaro 2013-09-10 13:41:15 +02:00
Vladan Djeric
61628c8947 Backed out changeset 78f1f02b6b36 (bug 907926) for TART regressions 2013-09-11 13:32:23 -04:00
Vladan Djeric
7731d88199 Backed out changeset a2f85a996314 (bug 907926) for TART regressions 2013-09-11 13:31:53 -04:00
Vladan Djeric
45a0a24f12 Backed out changeset b5d9ee3b3538 (bug 907926) for TART regressions 2013-09-11 13:31:24 -04:00
Vladan Djeric
6de66eb7d0 Backed out changeset 091d82cb377e (bug 907926) for TART regressions 2013-09-11 13:30:24 -04:00
Kartikaya Gupta
abd5cb0f8b 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
0c3ba6dc34 Bug 913821 - TextureID should be uint64 in the ipdl code. r=sotaro 2013-09-10 10:53:58 +02:00
Robert O'Callahan
4e9e8d41af 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
c39d5a310e Backed out changeset 6776e4836c04 2013-09-10 15:04:26 +08:00
Robert O'Callahan
0a8ea18ed8 Bug 907048 - Skip colorlayer if other opacity layer just covers the colorlayer region 2013-09-10 14:48:57 +08:00
Nicholas Nethercote
fd238cabbe 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
f093bd0ef8 Bug 907926 - Enable azure cairo content for windows. r=nrc 2013-09-11 17:08:53 +12:00
Matt Woodrow
57c0fd4157 Bug 907926 - Avoid pushing a group if we can in DrawTargetCairo::DrawSurface. r=Bas 2013-09-11 17:08:53 +12:00
Matt Woodrow
130f818a0b 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
795eeb8c27 Bug 907926 - Add support for windows surfaces in DrawTargetCairo size lookup. r=Bas 2013-09-11 17:08:52 +12:00
Jim Mathies
217abb186c 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
afe7983f63 Bug 913329 - Use CopySurface to draw to the screen using OMTC basic. r=mattwoodrow 2013-09-09 11:49:56 -04:00
George Wright
5af8dc28d8 Bug 899672 - Change egltrace.so default location to /data/local/tmp r=kats 2013-07-30 14:16:49 -04:00
Ryan VanderMeulen
982559c42b Merge m-c to inbound. 2013-09-11 22:20:33 -04:00
Andreas Gal
eb0bc54bee Follow-up fix for bug 915342 (pushed the original patch without fixing a nit). 2013-09-12 00:07:29 +02:00
Andreas Gal
c3c7cba2c5 Display fill ratio when showing FPS counter (bug 915342, r=bgirard). 2013-09-11 23:57:23 +02:00
Jeff Muizelaar
c18eea3d30 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
50ba829a39 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
9d7bc3d7f1 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
fde62e307a 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
32382be3ce Bug 909607. Check if we are minimised before compositing. r=Bas 2013-09-09 09:07:01 +12:00
Nicholas Cameron
4ca0278592 Bug 913298. Remove AddMaskEffect and RemoveMaskEffect declarations. r=nical 2013-09-09 09:06:57 +12:00
Nicholas Cameron
b6a0233b1c Bug 906445. Some speculative fixes to guard against dereferencing nullptrs. r=Bas 2013-09-09 09:06:50 +12:00
Nicholas Cameron
cca4ba2d92 Don't include mozilla-config.h in gfx.layers. No bug. r=me 2013-09-09 08:55:48 +12:00
Ryan VanderMeulen
d2e73511c3 Backed out changeset 35575118c650 (bug 912794) for asserts. 2013-09-06 23:08:36 -04:00
Benoit Jacob
5479e2b22e Bug 913603 - Avoid needlessly including nsRect.h - r=jrmuizel 2013-09-06 22:15:49 -04:00
Benoit Jacob
8dc80c7e0c Bug 913603 - Trim nsRect.h - r=jrmuizel 2013-09-06 22:14:27 -04:00
Benoit Jacob
2a47884307 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
ef4844e56a 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
ec49f86c3b 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
4b311fcfaf Merge m-c to mozilla-inbound. 2013-09-06 21:14:34 -04:00
Ryan VanderMeulen
6b37c37a3d Merge b2g-inbound to m-c. 2013-09-06 20:40:47 -04:00
Matthew Noorenberghe
f1569ff842 Backout 2255560d9b6c (bug 912054) for breaking PGO builds on the UX branch (bug 913251) 2013-09-06 17:38:03 -07:00
Jeff Gilbert
059a87b9eb Bug 883478 - Update ANGLE to pull from 13-08-02. r=upstream,bjacob,bas 2013-09-06 17:24:36 -07:00
Ryan VanderMeulen
66630c23e9 Merge m-c to b2g-inbound. 2013-09-06 18:01:09 -04:00
Nicolas Silva
4f81e6d0f1 Bug 912939 - Rename LayerTransaction.ipdlh into LayersMessages.ipdlh. r=kanru
--HG--
rename : gfx/layers/ipc/LayerTransaction.ipdlh => gfx/layers/ipc/LayersMessages.ipdlh
2013-09-06 17:41:00 +02:00
Ed Morley
59d1c1d15b Merge latest green b2g-inbound changeset and mozilla-central 2013-09-06 16:17:55 +01:00
Nicolas Silva
a8cd16012b Bug 912040 - Make sure deallocating shared texture data doesn't race with TextureClient access. r=sotaro 2013-09-06 11:04:50 +02:00
Nicolas Silva
b14d7014f3 Bug 911941 - Prevent TextureClients to be shared by several ImageLayers. r=Bas 2013-09-06 11:03:12 +02:00
Ed Morley
9bfc81af4d Merge mozilla-central and b2g-inbound 2013-09-06 16:24:22 +01:00
Benoit Jacob
781d5526ac Bug 905227 - On Android Emulator, assume that OES_rgb8_rgba8 is available even though it's not in the GL_EXTENSIONS string - r=nical 2013-09-06 08:03:08 -04:00
Markus Stange
c65a774064 Bug 912953 - Don't fluff out the invalidation region from the inactive layer manager. r=roc 2013-09-06 11:29:13 +02:00
David Zbarsky
cf0aa8a52a Fix an include guard in gfx/2d, no bug, r=me 2013-09-05 16:50:52 -04:00
Jeff Muizelaar
94a064e04b Bug 897007. Implement ScaledFontMac::GetFontFileData. r=bas
This implements GetFontFileData by reconstructing a truetype font from the
table data.

--HG--
extra : rebase_source : 02a7c5af079854cce02c1e9794a4da6f1fc8bce1
2013-07-24 16:23:57 -04:00
Robert O'Callahan
8ca63f18ef Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
--HG--
extra : rebase_source : 0787130b1814c74bfb38dc178de94022f0b2e64e
2013-09-02 20:41:57 +12:00
Phil Ringnalda
3914af6be4 Back out 4537337759b7 (bug 910517) because nobody expects the talos inquisition
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryMultiReporterWrapper.h
2013-09-04 22:42:06 -07:00
Nicholas Nethercote
86b7ae4c3a 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 : 9142be547b2eeef37a8073a710ce23070f98cf65
2013-08-27 16:24:51 -07:00
Brian Birtles
723987fcda Bug 912305 - Fix documentation of RadialGradientPattern constructor; r=bas, DONTBUILD (comment-only) 2013-09-05 09:59:54 +09:00
Mike Hommey
05b3f24e0e Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Benoit Girard
68543ba60b Bug 907544 - Pass the D3DSurface9 down into Cairo for LockRect. r=jrmuizel
--HG--
extra : rebase_source : 71c0f776360435d242987ffd3e2cbab8a3535c67
2013-09-04 16:53:54 -04:00
Masatoshi Kimura
216f76200c Bug 911573 - Mochitest fixup to prepare removing Components-in-content with UniversalXPConnect. r=bholley 2013-09-05 01:02:34 +09:00
Ed Morley
f509dcbf07 Merge mozilla-central and inbound 2013-09-04 16:53:03 +01:00
Benoit Jacob
94f74c705d Bug 912042 - Avoid including GLContext.h in headers that don't need it - r=jrmuizel 2013-09-04 08:14:52 -04:00
Benoit Jacob
20d3a7a3bc Bug 911853 - OpenGL types should be explicit-size integer types - r=jgilbert 2013-09-04 08:14:41 -04:00
Jonathan Kew
92b2b26b2a bug 906646 - glyphs with an SVG representation should never be considered "contained". r=roc 2013-09-04 12:16:36 +01:00
Ryan VanderMeulen
c6e97adff4 Merge m-c to b2g-inbound. 2013-09-03 17:44:34 -04:00
Kartikaya Gupta
e928b156af Bug 910322 - Strongly type the viewport size in nsViewportInfo. r=mbrubeck, Ms2ger 2013-09-03 15:12:24 -04:00
Kartikaya Gupta
169484edbe Bug 906877 - Remove code obsoleted by multi-apzc. r=BenWa, vingtetun
Now that we have multi-APZC landed, we don't need BrowserElementPanning
to detect when it's about to scroll a subframe and let APZC know. So
the two messages involved in this can be completely removed.
2013-09-03 13:04:21 -04:00
John Daggett
68703aac3d Bug 911884 - log 8-bit textruns as well as 16-bit ones. r=mkato 2013-09-03 12:42:20 +09:00
Nathan Froyd
d767fac335 Bug 912054 - don't re-initialize mBoundRect in nsRegion::Init; r=BenWa 2013-09-03 10:44:34 -04:00
Jonathan Kew
e9d8d271dd bug 910376 - don't risk leaving mSharedBlobData uninitialized. r=karlt 2013-09-04 10:01:57 +01:00
Gregory Szorc
4672bbb630 Bug 896797 - Part 2: Don't list autogenerated files in EXPORTS; r=glandium 2013-09-03 20:28:05 -07:00
Phil Ringnalda
c1c484bd50 Back out ce03cc2994aa:ae9f95fc1136 (bug 896797) for SpiderMonkey shell build bustage
CLOSED TREE
2013-09-03 23:21:30 -07:00
Gregory Szorc
fab628e981 Bug 896797 - Part 2: Don't list autogenerated files in EXPORTS; r=glandium 2013-09-03 20:28:05 -07:00
Phil Ringnalda
eb3f8a45e2 Back out cc6f66e761d8 (bug 896797) for Windows build bustage
CLOSED TREE
2013-09-03 21:55:21 -07:00
Gregory Szorc
295f553e4e Bug 896797 - Part 2: Don't list autogenerated files in EXPORTS; r=glandium 2013-09-03 20:28:05 -07:00
Nicolas Silva
363a50c0c2 Bug 910921 - Wrong default texture flags when using ImageClient. r=sotaro 2013-09-02 13:36:42 +02:00
Nicholas Cameron
a937f9cc25 BUg 910160. IWYU for gfx/src. r=roc 2013-09-02 10:21:01 +12:00