Commit Graph

7754 Commits

Author SHA1 Message Date
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