Commit Graph

7950 Commits

Author SHA1 Message Date
Edwin Flores
a6a7666b83 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
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
Nicholas Cameron
cdc79d8299 Bug 904073. Don't crash if we can't get a texture for a render target. r=Bas 2013-09-02 10:19:19 +12:00
Nicholas Cameron
fa596f142e Bug 898929. Replace assertion with warning in gfxASurface.cpp. r=roc 2013-09-02 10:19:19 +12:00
Nicholas Cameron
b6f3b6ba96 Bug 786412. Conslidate container layer methods. r=mattwoodrow 2013-09-02 10:19:18 +12:00
Bill McCloskey
14949db0b2 Bug 910488 - XSync can hang indefinitely with OMTC enabled (r=bjacob) 2013-08-30 14:30:10 -07:00
Ehsan Akhgari
dc804b0ed5 Bug 911263 - Remove some unneeded nsIFrame.h #includes; r=mats 2013-08-30 17:17:07 -04:00
Guillaume Abadie
c923b6053d bug 911199 - Bug fix on GL version comparaison causing crash on devices supporting OpenGL ES 3.0 - r=bjacob 2013-08-30 14:17:43 -04:00
Ryan VanderMeulen
176ab0bc99 Merge m-c to mozilla-inbound. 2013-08-30 13:43:55 -04:00
Ed Morley
49ca5b33d6 Merge latest green inbound changeset and mozilla-central 2013-08-30 17:23:11 +01:00
Sotaro Ikeda
2b856354d2 Bug 910928 - Fix build and class function override for new gralloc textures. r=nical 2013-08-30 10:24:05 -04:00
Makoto Kato
811b2dc607 Bug 910086 - Add MotoyaLMaru to common fallback font. r=jfkthame 2013-08-30 19:01:43 +09:00
Ryan VanderMeulen
8f4379b006 Backed out changeset 67b98c1c0b7b (bug 910415) for OSX leaks. 2013-08-29 14:58:56 -04:00
Ryan VanderMeulen
3163cb5520 Backed out changeset 630b25ba7f69 (bug 910429) for build bustage on a CLOSED TREE. 2013-08-29 12:10:44 -04:00
Jeff Gilbert
3eac375fa9 Bug 910429 - Implement KHR_debug in GLContext. r=bjacob 2013-08-29 11:41:08 -04:00
Guillaume Abadie
8ac2eaa86c bug 899855 - GLContext parse GL_VERSION - r=bjacob,jgilbert 2013-08-29 10:07:58 -04:00
James Willcox
589c32583f Bug 910415 - Don't require a backing buffer in DeprecatedImageHostSingle r=nical 2013-08-29 09:51:54 -04:00
John Daggett
dbaefe4e44 Bug 903475 - fix iteration over coverage structs. r=behdad 2013-08-29 13:32:58 +09:00
Ryan VanderMeulen
1d7bdba295 Merge inbound to m-c. 2013-08-29 00:00:10 -04:00
Nicolas Silva
ead42beefc Bug 907745 - Add comments to prepare for bug 908196. r=bjacob 2013-08-28 15:21:13 +02:00
Nicolas Silva
588e1f0ebd Bug 907745 - cleanup ImageClient::CreateImage. r=mattwoodrow 2013-08-28 15:21:05 +02:00
James Willcox
c2779b4f41 Bug 850263 - Use reasonable SkiaGL cache size and share between instances r=mattwoodrow
--HG--
extra : rebase_source : 11a2e5ce90a693abdac91d5ca1308aaed3a29403
2013-08-28 10:08:10 -04:00
Nicolas Silva
17e512124b Bug 907745 - Gralloc implementaion of the new texture client/host. r=pchang, bjacob 2013-08-09 17:23:46 +02:00
Makoto Kato
eb9c8af10f Bug 908523 - Build Skia on GTK3 widget. r=karlt,gps 2013-08-28 20:14:47 +09:00
Brian O'Keefe
0ee041b9fd Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal 2013-08-15 09:02:09 -04:00
Kyle Huey
b967782465 Bug 909563: Part 3 - Rename nsDOMParser and drop Bindings.conf annotations. r=bz
--HG--
rename : content/base/src/nsDOMParser.cpp => content/base/src/DOMParser.cpp
rename : content/base/src/nsDOMParser.h => content/base/src/DOMParser.h
2013-08-30 10:16:32 -07:00
Nicholas Nethercote
7b7acd41ea Bug 831193 (part 12) - Don't use NS_MEMORY_REPORTER_IMPLEMENT in gfxWindowsPlatform.cpp. r=jmuizelaar.
--HG--
extra : rebase_source : 7e7af6f1a59a8df65dcd6c9e16eff605c9b68572
2013-01-17 16:45:11 -08:00
Nicholas Nethercote
a7cb958343 Bug 831193 (part 11) - Don't use NS_MEMORY_REPORTER_IMPLEMENT in gfxAndroidPlatform.cpp. r=jlebar.
--HG--
extra : rebase_source : b683f7c4f991deefa99f460de89d37dbee56c1e4
2013-01-17 16:45:11 -08:00
Nicholas Nethercote
56844b8076 Bug 831193 (part 10) - Don't use NS_MEMORY_REPORTER_IMPLEMENT in parts of gfx/. r=bjacob.
--HG--
extra : rebase_source : 433b12748c8562b384a02fbee6d98e3bc991802d
2013-01-17 16:45:11 -08:00
Nicholas Cameron
2bfb2c736d Bug 910054. Remove a printf from CompositorD3D11. r=mattwoodrow 2013-08-28 16:44:03 +12:00
Nicholas Cameron
977411e3c7 Bug 909185. Use an RAII helper class for Add/RemoveMaskEffect. r=nical 2013-08-28 16:44:03 +12:00
John Daggett
cc0a077126 Bug 906704 - fix infinite loop drawing rotated synthetic bold text. r=jrmuizel 2013-08-28 08:36:02 +09:00
Matt Woodrow
9fd4f7c1c4 Bug 909128 - Support snapshot source surfaces in DrawTargetCG's CopySurface. r=jrmuizel 2013-08-28 10:54:52 +12:00
Justin Lebar
4aeeb65d91 Bug 909514 - Include <new> before mozilla::Maybe (and move Maybe into mfbt/Maybe.h). r=waldo
--HG--
rename : mfbt/Util.h => mfbt/Maybe.h
2013-08-27 15:10:28 -07:00
Jeff Gilbert
3c332b6649 Bug 908905 - Reduce blocking of packed_depth_stencil on mac+nv. r=bjacob 2013-08-27 18:00:16 -04:00
Matt Woodrow
d1463f4b25 Bug 907792 - Use SharedTextureClientOG for SharedTextureImage. r=nical 2013-08-28 08:16:54 +12:00
Matt Woodrow
00f7d4acb2 Bug 907792 - Refactor texture flags so that we set the deallocate flags based on the texture type. r=nical 2013-08-28 08:16:03 +12:00
George Wright
86c98898a6 Bug 899702 - Only attempt load of egltrace.so when a pref is set r=vlad 2013-07-30 14:54:29 -04:00
Ryan VanderMeulen
76ad621e29 Backed out changeset a255d2d2b67f (bug 907792) for OSX mochitest asserts on a CLOSED TREE. 2013-08-27 13:07:33 -04:00
Matt Woodrow
711b716949 Bug 907792 - Use SharedTextureClientOGL when needed. r=nical 2013-08-27 11:50:24 +12:00
Nicolas Silva
7897f25f43 Bug 909765 - Make TextureClient and CompositableClient ref counting thread-safe. r=sotaro 2013-08-27 17:03:58 +02:00
Andreas Gal
2006d0a939 Bug 909113 - Make FPS counter code a bit more readable. r=jgilbert 2013-08-27 09:01:45 -04:00
Nicolas Silva
a0feb7b33c Bug 858914 - Basic backend for the new textures. r=mattwoodrow 2013-08-27 10:52:14 +02:00
Edwin Flores
37cb83eb09 Bug 801467 - Give SVG glyph documents a legitimate principal and URI so that references to paint servers are able to be resolved. r=roc,bz 2013-06-10 13:25:12 +01:00
Ryan VanderMeulen
52ef962a16 Merge inbound to m-c. 2013-08-26 20:19:26 -04:00
Guillaume Abadie
f84767874b bug 908841 - step 3 - Change the WebGL 2 validation mechanism - r=jgilbert 2013-08-26 17:12:54 -04:00
Kartikaya Gupta
55c123d4d6 Bug 885023 - Convert mFrameMetrics.mZoom to a CSSToScreenScale. r=BenWa,k17e
The mFrameMetrics.mZoom was previously a "resolution-independent" zoom,
which meant it had to always be multiplied by the CalculateIntrinsicScale()
value to be useful. This patch converts it to a "resolution-dependent" zoom,
and includes the intrinsic scale multiplier already. This means it needs
to be updated if either the viewport or composition bounds (which determine
the intrinsic scale) change, but there are only a few places where this
happens and it makes the rest of the code cleaner.
2013-08-26 09:50:30 -04:00
Robert O'Callahan
8bdab20fd7 Bug 906521. Part 6: Make gfxSVGGlyphs understand the new table format. r=jfkthame
This also adds a bunch of buffer sanity checks to the code. This may not be
strictly necessary, thanks to OTS, but I think we should code defensively here
too.

--HG--
extra : rebase_source : 26b11505aa143fae6f63cd5858c87a259bb54b50
2013-08-20 01:08:43 +12:00
Robert O'Callahan
fc5637dc25 Bug 906521. Part 5: Make OTS recognize the new table format. r=jfkthame
--HG--
extra : rebase_source : 1fcc97a248823ce98ebf1319aa9ea138be6547cb
2013-08-20 01:08:43 +12:00
Robert O'Callahan
ced25abc79 Bug 906521. Part 4: gfxSVGGlyphs should also check the version because it also does table parsing. r=jfkthame
--HG--
extra : rebase_source : 63d3e82908d1e42ab6990f280cb752f2547ab6cc
2013-08-20 01:08:43 +12:00
Robert O'Callahan
5e947a6a9a Bug 906521. Part 3: OTS should recognize version 0 of the SVG table. r=jfkthame
--HG--
extra : rebase_source : fb7431e890cd8b5a01a3f34a511d5b7c4aa575bf
2013-08-20 01:08:43 +12:00
Robert O'Callahan
419b3b6eac Bug 906521. Part 2: Change from using the 'glyphid' attribute to using id='glyphNNN'. r=jfkthame
--HG--
extra : rebase_source : 5ce6484e72faacf6412987b27ca8179d495e0067
2013-08-20 01:08:43 +12:00
Robert O'Callahan
f1723fc430 Bug 906521. Part 1: Remove support for 'glyphchar' since it's no longer in the spec. r=jfkthame
--HG--
extra : rebase_source : 1d694f6e8579b20dbbe5c5d02411f078d7c67a83
2013-08-20 01:08:43 +12:00
Matt Woodrow
f6e05d5b54 Bug 908822 - Disable azure content on windows for now. r=nrc 2013-08-26 21:06:37 +12:00
Matt Woodrow
9981e0e2a8 Bug 909000 - Make SupportsAzureContentForBackend only return true for backends allowed by the current prefs. r=nrc 2013-08-26 16:13:24 +12:00
Matt Woodrow
335a18b7c9 Bug 908006 - use 4 bytes aligned stride in ImageDataSerializer. r=nical 2013-08-26 16:13:22 +12:00
Gabriele Svelto
619cc7ccf1 Bug 907798 - Remove TimeStamp.h includes from source files that do not need it; r=ehsan 2013-08-24 08:12:51 +02:00
Ms2ger
b5df99e7e3 Revert this CLOSED TREE to changeset 4d3e221584a0. 2013-08-24 13:31:48 +02:00
Gabriele Svelto
b6e8140bfc Bug 907798 - Remove TimeStamp.h includes from source files that do not need it; r=ehsan 2013-08-24 08:12:51 +02:00
Guillaume Abadie
c0847c450a bug 905161 - Remove the return type of GLContext::MarkUnsupported - r=jgilbert 2013-08-23 19:33:42 -04:00
Guillaume Abadie
18342a834d bug 905161 - Cache OpenGL features in GLContext - r=jgilbert 2013-08-23 19:33:42 -04:00
Ryan VanderMeulen
9491355bd0 Merge inbound to m-c. 2013-08-23 17:49:37 -04:00
Ryan VanderMeulen
cf7631c510 Backed out changesets aed22a2d8353 and c61fe8e1f887 (bug 908006) for OSX reftest failures. 2013-08-23 15:45:27 -04:00
Ryan VanderMeulen
6c745be1f4 Merge m-c to b2g-inbound. 2013-08-23 10:52:20 -04:00
Ryan VanderMeulen
9d72cb6e1e Merge b2g-inbound to m-c. 2013-08-23 10:50:14 -04:00
Matt Woodrow
f1907aafe6 Bug 907926 - Follow-up to make sure we only enable Azure on the platforms we meant to. 2013-08-23 20:12:30 +12:00
Matt Woodrow
74a66227cb Bug 908006 - use gfxImageSurface for A8 mask layers. r=nical 2013-08-23 16:43:17 +12:00
Matt Woodrow
376d7e5e7f Bug 908006 - use 4 bytes aligned stride in ImageDataSerializer. r=nical 2013-08-23 16:43:12 +12:00
Andreas Gal
e48e7f4315 Bug 905589 - Use VBO instead of client side rendering. r=bas 2013-08-22 15:04:55 -04:00
Ehsan Akhgari
ac5ab842c2 Bug 908671 - Don't #include gfxMatrix.h in gfx3DMatrix.h; r=jrmuizel 2013-08-23 13:22:49 -04:00
Matt Woodrow
1b896b5ba3 Bug 907926 - Make ContentClientBasic support Azure content. r=nrc 2013-08-23 18:13:55 +12:00
Matt Woodrow
11914fb596 Bug 907926 - Supprt having different content/canvas backends in gfxPlatform. r=nrc 2013-08-23 18:13:55 +12:00
Matt Woodrow
4239d87f2d Bug 907011 - Enable Azure content for windows. r=Bas 2013-08-23 16:54:14 +12:00
Matt Woodrow
323cf741f0 Bug 907011 - Don't copy surface contents into the snapshot when destroying DrawTargetCairo. r=Bas 2013-08-23 16:54:03 +12:00
Matt Woodrow
cd8a7c72ac Bug 907011 - Expose cairo objects from gfxContext when using Azure/cairo. r=Bas 2013-08-23 16:53:53 +12:00
Matt Woodrow
d9875997c1 Bug 907011 - Use the window device context for font metrics when using Azure. r=Bas 2013-08-23 16:53:30 +12:00
Bas Schouten
0d76cdc56d Bug 907011 - Workaround precision bugs in pixman when doing PopGroupToSource by drawing in device-space. r=mattwoodrow 2013-08-23 16:53:12 +12:00
Matt Woodrow
65fcce9289 Bug 907011 - Add support for Azure in ThebesLayerD3D9. r=Bas 2013-08-23 16:51:27 +12:00
Benoit Girard
d6b9b9b872 Bug 907286 - Implement Frame Counter for non OMTC basic. r=jmuizel,tnikkel
--HG--
extra : rebase_source : a2cf8295ead1af3f0a66491fd9455d37e7b3985d
2013-08-22 12:54:05 -04:00
Jim Mathies
78b96f65d5 Bug 904214 - Add missing assert per review comments. r=nrc 2013-08-22 20:54:49 -05:00
Jim Mathies
a81fcc97ef Bug 904214 - Don't initialize component alpha blend state if its not in use. r=nrc 2013-08-22 19:28:03 -05:00
Jim Mathies
e6ba4d9285 Bug 907243 - Move SetDPI to APZCTreeManager. r=kats 2013-08-22 19:28:02 -05:00
Guillaume Abadie
fcd4bed6e9 bug 907946 - re-enable EXT_packed_depth_stencil on OS X 10.9 - r=bjacob,jgilbert 2013-08-22 20:13:59 -04:00
Kartikaya Gupta
ce48a63b67 Bug 907977 - Don't null out the mApzcForInputBlock prematurely. r=roc 2013-08-23 00:03:43 -04:00
Ryan VanderMeulen
4629c7334d Merge m-c to inbound. 2013-08-22 15:44:40 -04:00
Ryan VanderMeulen
1ef4f3befe Merge inbound to m-c. 2013-08-22 15:42:18 -04:00
Ryan VanderMeulen
cdf56a6889 Backed out changeset 230120afcbbf (bug 905589) for Android and B2G bustage on a CLOSED TREE. 2013-08-22 14:17:49 -04:00
Andreas Gal
e712f7caa3 Bug 905589 - Use VBO instead of client side rendering. r=bas 2013-08-22 12:54:21 -04:00
Guillaume Abadie
a7c1b726c7 bug 904330 - step 05 - Rename GLContextExtensionGroupQueries.cpp to GLContextFeatures.cpp - r=jgilbert
--HG--
rename : gfx/gl/GLContextExtensionGroupQueries.cpp => gfx/gl/GLContextFeatures.cpp
2013-08-22 13:42:05 -04:00
Guillaume Abadie
9cedc865f6 bug 904330 - step 04 - Remove old extension group queries - r=jgilbert 2013-08-22 13:42:05 -04:00
Guillaume Abadie
72ecad07aa bug 904330 - step 03 - Uses mozilla::GLFeature instead of old extension group queries - r=jgilbert 2013-08-22 13:42:05 -04:00
Guillaume Abadie
1c781d30ce bug 904330 - step 02 - Changes GLContext's extension group query names - r=jgilbert 2013-08-22 13:42:05 -04:00
Guillaume Abadie
6ed63b80b7 bug 904330 - step 01 - Add mozilla::GLFeature - r=jgilbert 2013-08-22 13:42:04 -04:00
Nicholas Cameron
d027b19178 Bug 907901. Remove NS_lround from rect.h. r=Bas 2013-08-22 21:10:35 +12:00
Nicholas Cameron
01b99f2af9 Bug 902929. Be explicit about re-attaching async video compositable hosts. r=nical 2013-08-21 13:28:53 +12:00
Nicholas Cameron
485fad14c4 Bug 902929. Assert that we don't have a compositable child for ImageBridgeClients. r=nical 2013-08-21 13:27:05 +12:00
Ms2ger
4af9d89266 Merge m-c to inbound 2013-08-22 10:38:48 +02:00
Ms2ger
f8f8a40a0a Bug 906619 - Part a: Move unconditional CSRCS to moz.build; r=mshal 2013-08-22 08:56:02 +02:00
Ms2ger
d54dfa0c57 Bug 904831 - Part c: Move conditional MSVC_ENABLE_PGO definitions into moz.build and remove empty makefiles; r=mshal 2013-08-22 08:56:01 +02:00
Ms2ger
19f3e043e3 Bug 904831 - Part b: Move unconditional MSVC_ENABLE_PGO definitions into moz.build; r=gps 2013-08-22 08:56:01 +02:00
Ms2ger
cb6087d9f7 Bug 883284 - Part g: Move conditional LIBXUL_LIBRARY assignments into moz.build; r=gps 2013-08-22 08:56:01 +02:00
Ms2ger
8085d723ed Bug 883284 - Part d: Move LIBXUL_LIBRARY into moz.build (f-j); r=bsmedberg 2013-08-22 08:56:00 +02:00
Ms2ger
5c981f7ca9 Bug 906412 - Cleanup some random parts of the build system; r=mshal 2013-08-22 08:55:59 +02:00
Ms2ger
66214743ad Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps 2013-08-22 08:55:59 +02:00
Ms2ger
badb581ba0 Bug 904178 - Part f: Remove some includes from nsPIDOMWindow.h; r=mounir 2013-08-22 08:30:55 +02:00
Ryan VanderMeulen
908be1856b Merge inbound to m-c. 2013-08-21 17:14:32 -04:00
Kartikaya Gupta
3151f4b7bd Bug 898443 - Update loops to run forward and use a size_t variable. r=BenWa 2013-08-21 12:03:03 -04:00
Kartikaya Gupta
07a7fa46a1 Bug 898443 - Always use the innermost APZC containing all touch points for multi-touch inputs. r=BenWa 2013-08-21 12:03:03 -04:00
Kartikaya Gupta
f5135c8214 Bug 898443 - Completely extract the transformation calculation from GetTargetAPZC. r=BenWa 2013-08-21 12:03:03 -04:00
Kartikaya Gupta
faf1a873b2 Bug 898443 - Ensure that all multitouch events following a START go to the same APZC instance. r=BenWa 2013-08-21 12:03:02 -04:00
Kartikaya Gupta
fa7cec9eff Bug 898443 - Extract input transform calculations from GetAPZCAtPoint. No functional changes. r=BenWa 2013-08-21 12:03:02 -04:00
Kartikaya Gupta
438bcc477f Bug 898443 - Add a parent pointer to the AsyncPanZoomController class. r=BenWa 2013-08-21 12:03:02 -04:00
Ed Morley
6e9119b21e Merge mozilla-central and b2g-inbound 2013-08-21 13:10:57 +01:00
Kartikaya Gupta
06c5db076e Bug 907372 - Fix incorrect comment in FrameMetrics.h. r=k17e 2013-08-21 07:46:05 -04:00
Wes Kocher
a62887bc50 Backed out changeset 6356b67f6c87 (bug 902929) 2013-08-20 20:50:26 -07:00
Wes Kocher
2a9e21a70f Backed out changeset 315c9f0af9bb (bug 902929) 2013-08-20 20:50:20 -07:00
Nicholas Cameron
8acfeaece0 Bug 902929. Be explicit about re-attaching async video compositable hosts. r=nical 2013-08-21 13:28:53 +12:00
Nicholas Cameron
1caed203b3 Bug 902929. Assert that we don't have a compositable child for ImageBridgeClients. r=nical 2013-08-21 13:27:05 +12:00
Nicholas Cameron
4f4d777bc8 Bug 907466. Support large canvases with d3d11. r=mattwoodrow 2013-08-21 13:13:57 +12:00
Jan Beich
66c4b90185 Bug 907837 - Don't include SPS headers directly. r=nrc 2013-08-22 19:11:51 +12:00
Jan Beich
de6b591a26 Bug 907837 - Fix IWYU false positive to unbreak non-SPS build. r=nrc 2013-08-22 19:11:47 +12:00
Botond Ballo
fe4f404898 Bug 898580 - Remove updating of scroll offset in AsyncPanZoomController::NotifyLayersUpdated. It is now no longer needed by any platform. r=bbondy, r=kats 2013-08-15 11:30:27 -04:00
Nicholas Cameron
b5c77aec19 Bug 903816. Include-what-you-use for gfx/layers. r=roc 2013-08-12 11:17:23 +12:00
Nicholas Cameron
9b7d0b4cf3 Bug 903816. Fixups in non-layers files. r=roc 2013-08-12 11:15:10 +12:00
Matt Woodrow
e00658a518 Bug 907011 - Implement CopyGlyphsToBuilder for Cairo Azure backend. r=Bas 2013-08-21 11:58:27 +12:00
Matt Woodrow
e9ede790d9 Bug 907011 - Implement pattern matrices for the Cairo Azure backend. r=Bas 2013-08-21 11:57:57 +12:00
Matt Woodrow
6775b7dfee Bug 907011 - Implement antialias mode for the Cairo Azure backend. r=Bas 2013-08-21 11:56:27 +12:00
Matt Woodrow
e790df95f3 Bug 904884 - Assign RAII class instances to variables in PathCario so that they stay alive for the correct scope. r=nrc 2013-08-21 11:55:53 +12:00
Matt Woodrow
68fc511900 Bug 904981 - Clear surface devices offsets in DrawTargetCairo since we don't use them. r=Bas 2013-08-21 11:52:20 +12:00
Matt Woodrow
9c51651626 Bug 906147 - Make sure we lock component alpha textures in the correct order to prevent deadlocks. r=nrc 2013-08-21 11:49:31 +12:00
Kartikaya Gupta
ee4d416a21 Bug 906427 - When a touch event has multiple touch points, send it to the root APZC for the layer subtree. r=BenWa 2013-08-22 10:40:44 -04:00
Kartikaya Gupta
0089237c64 Bug 907906 - Finish templating the gfx::Margin type, and add a gfx::IntMargin type to go with it. r=Cwiiis 2013-08-22 12:41:51 -04:00
Nicolas Silva
81ab7b7667 Bug 907745 - Prepare for texture locking support. r=mattwodrow 2013-08-26 14:50:16 +02:00
Guillaume Abadie
fd835cd828 bug 903481 - step 2 - [WebGL 2.0] transform feedback: add symbols in GLContext - r=jgilbert 2013-08-20 11:36:20 -04:00
Joseph Yasi
765349f839 Bug 896287 - NVIDIA specific GLX server vendor check for pixmap depth and fbConfig depth. r=karlt 2013-08-20 08:30:26 -04:00
Mike Hommey
32e7b2318d Bug 901208 - Fix Skia for ARM v4t. r=derf 2013-08-20 09:14:01 +09:00
Matt Woodrow
b58cfaa3e8 Bug 900133 - Make sure we always set TEXTURE_DEALLOCATE_HOST when required. r=nical 2013-08-20 11:39:56 +12:00
Matt Woodrow
d599f32005 Bug 900133 - Don't mark textures as being sent to the compositor until after we've drawn to them. r=nical 2013-08-20 11:39:55 +12:00
Matt Woodrow
4d9a2a8167 Bug 904620 - Always send a transaction when we get a WebGL update to ensure that we get a composite. r=nrc 2013-08-20 11:39:55 +12:00
Ryan VanderMeulen
fc58488cf2 Merge m-c to inbound on a CLOSED TREE. 2013-08-19 17:05:12 -04:00
Ryan VanderMeulen
9278f21e00 Merge m-c to b2g-inbound. 2013-08-19 11:53:02 -04:00
Kartikaya Gupta
19cd81339f Bug 906109 - Make the GestureEventListener realize when a touch point disappears. r=k17e
When receiving a touch event arrives that is missing previously-known
touch points, remove them from the list. This makes the GestureEventListener
more robust so that it doesn't keeping doing pinches when there should
be pans.
2013-08-19 09:38:43 -04:00
David Anderson
69dc419e91 Force OMTC on when enabling multi-process tabs (bug 897502, r=ncameron). 2013-08-19 00:13:32 -07:00
Nicholas Cameron
35c388ed22 Bug 904343. Clear surface descriptors. r=nical. 2013-08-19 11:08:43 +12:00
Daniel Holbert
2f7a0b6179 Bug 903065: Update switch statement in LayersLogging.cpp to include new FILTER_GOOD enum value. r=jrmuizel 2013-08-18 12:40:58 -07:00
Nicholas Cameron
41056e2efb Bug 905790. Let canvases use fallback texure clients like images clients can. r=mattwoodrow 2013-08-18 18:46:21 +12:00
Nicholas Cameron
d45b9fe216 Bug 903893. Backend fallback for OMTC. r=mattwoodrow 2013-08-18 18:46:16 +12:00
Chris Lord
ce468943a9 Bug 747811 - Add gfxReusableImageSurfaceWrapper. r=BenWa
Add an implementation of gfxReusableSurfaceWrapper based on gfxImageSurface
and use it on Android to avoid the overhead of shared memory.
2013-08-19 14:59:27 +01:00
Chris Lord
53810eb0be Bug 747811 - Separate gfxReusableSurfaceWrapper into a base class and implementation. r=BenWa
Split gfxReusableSurfaceWrapper into gfxReusableSurfaceWrapper and
gfxReusableSharedImageSurfaceWrapper, to allow for non gfxSharedImage-based
implementations.

--HG--
rename : gfx/thebes/gfxReusableSurfaceWrapper.cpp => gfx/thebes/gfxReusableSharedImageSurfaceWrapper.cpp
2013-08-19 14:59:25 +01:00
Benoit Girard ext:(%2C%20Chris%20Lord%20%3Cchrislord.net%40gmail.com%3E)
1b95e41dd6 Bug 747811 - Make the tiles backend safe across processes. r=nrc,BenWa
The tiles backend passes raw pointers to transfer tiled buffers between the
main thread and the compositor. This patch changes that to use shared
memory and tile descriptors instead, as well as changing the memory management
slightly to facilitate that.
2013-08-19 14:59:22 +01:00
Jeff Muizelaar
be2cbcb453 Bug 898525. Separate out Gfx helpers into GfxMessageUtils.h. r=bent
This helps us include less.

--HG--
extra : rebase_source : bb9ca934a9dade9ef21cecfee7ae8e860f9c60c1
2013-07-26 15:28:31 -04:00