Commit Graph

7750 Commits

Author SHA1 Message Date
Ed Morley
5eb2bdb5c4 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
85d3324d5e 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
3f30003af6 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
bd9a3b58eb Bug 909607. Check if we are minimised before compositing. r=Bas 2013-09-09 09:07:01 +12:00
Nicholas Cameron
93517ad84b Bug 913298. Remove AddMaskEffect and RemoveMaskEffect declarations. r=nical 2013-09-09 09:06:57 +12:00
Nicholas Cameron
c9b5c46c68 Bug 906445. Some speculative fixes to guard against dereferencing nullptrs. r=Bas 2013-09-09 09:06:50 +12:00
Nicholas Cameron
9f7a3fcf39 Don't include mozilla-config.h in gfx.layers. No bug. r=me 2013-09-09 08:55:48 +12:00
Ryan VanderMeulen
ff842617a6 Backed out changeset 35575118c650 (bug 912794) for asserts. 2013-09-06 23:08:36 -04:00
Benoit Jacob
bd8899eab6 Bug 913603 - Avoid needlessly including nsRect.h - r=jrmuizel 2013-09-06 22:15:49 -04:00
Benoit Jacob
d51a537ff4 Bug 913603 - Trim nsRect.h - r=jrmuizel 2013-09-06 22:14:27 -04:00
Benoit Jacob
4b58797235 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
ea442d6641 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
7e8ba1c301 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
c8a6caf216 Merge m-c to mozilla-inbound. 2013-09-06 21:14:34 -04:00
Ryan VanderMeulen
e0df395830 Merge b2g-inbound to m-c. 2013-09-06 20:40:47 -04:00
Matthew Noorenberghe
cfb9aa70c3 Backout 2255560d9b6c (bug 912054) for breaking PGO builds on the UX branch (bug 913251) 2013-09-06 17:38:03 -07:00
Jeff Gilbert
be33071c27 Bug 883478 - Update ANGLE to pull from 13-08-02. r=upstream,bjacob,bas 2013-09-06 17:24:36 -07:00
Ryan VanderMeulen
ad4ed2d45b Merge m-c to b2g-inbound. 2013-09-06 18:01:09 -04:00
Nicolas Silva
1acd4e13cc 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
098c3f7141 Merge latest green b2g-inbound changeset and mozilla-central 2013-09-06 16:17:55 +01:00
Nicolas Silva
ea23ee01ca 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
390435cfcf Bug 911941 - Prevent TextureClients to be shared by several ImageLayers. r=Bas 2013-09-06 11:03:12 +02:00
Ed Morley
aff8240bf6 Merge mozilla-central and b2g-inbound 2013-09-06 16:24:22 +01:00
Benoit Jacob
13a76f721d 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
bf1faf6082 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
1195895c26 Fix an include guard in gfx/2d, no bug, r=me 2013-09-05 16:50:52 -04:00
Jeff Muizelaar
36dde4f467 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
33cdb42706 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
ad36ee41a9 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
43ad5b4dcf 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
f7bbe02558 Bug 912305 - Fix documentation of RadialGradientPattern constructor; r=bas, DONTBUILD (comment-only) 2013-09-05 09:59:54 +09:00
Mike Hommey
f1cf3b4238 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Benoit Girard
d08f66a5b1 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
e2bd26bb53 Bug 911573 - Mochitest fixup to prepare removing Components-in-content with UniversalXPConnect. r=bholley 2013-09-05 01:02:34 +09:00
Ed Morley
17f2f82cdb Merge mozilla-central and inbound 2013-09-04 16:53:03 +01:00
Benoit Jacob
590564045c 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
49cf8f1dc4 Bug 911853 - OpenGL types should be explicit-size integer types - r=jgilbert 2013-09-04 08:14:41 -04:00
Jonathan Kew
438bf47623 bug 906646 - glyphs with an SVG representation should never be considered "contained". r=roc 2013-09-04 12:16:36 +01:00
Ryan VanderMeulen
a1cfae0032 Merge m-c to b2g-inbound. 2013-09-03 17:44:34 -04:00
Kartikaya Gupta
b77f1bc2b4 Bug 910322 - Strongly type the viewport size in nsViewportInfo. r=mbrubeck, Ms2ger 2013-09-03 15:12:24 -04:00
Kartikaya Gupta
0cfd020f95 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
b3f0ec2b86 Bug 911884 - log 8-bit textruns as well as 16-bit ones. r=mkato 2013-09-03 12:42:20 +09:00
Nathan Froyd
29d457891f Bug 912054 - don't re-initialize mBoundRect in nsRegion::Init; r=BenWa 2013-09-03 10:44:34 -04:00
Jonathan Kew
886ed74228 bug 910376 - don't risk leaving mSharedBlobData uninitialized. r=karlt 2013-09-04 10:01:57 +01:00
Gregory Szorc
7693c5688d Bug 896797 - Part 2: Don't list autogenerated files in EXPORTS; r=glandium 2013-09-03 20:28:05 -07:00
Phil Ringnalda
271703650a Back out ce03cc2994aa:ae9f95fc1136 (bug 896797) for SpiderMonkey shell build bustage
CLOSED TREE
2013-09-03 23:21:30 -07:00
Gregory Szorc
f10d205e39 Bug 896797 - Part 2: Don't list autogenerated files in EXPORTS; r=glandium 2013-09-03 20:28:05 -07:00
Phil Ringnalda
88db37da09 Back out cc6f66e761d8 (bug 896797) for Windows build bustage
CLOSED TREE
2013-09-03 21:55:21 -07:00
Gregory Szorc
bceea37cd9 Bug 896797 - Part 2: Don't list autogenerated files in EXPORTS; r=glandium 2013-09-03 20:28:05 -07:00
Nicolas Silva
499dd2a99d Bug 910921 - Wrong default texture flags when using ImageClient. r=sotaro 2013-09-02 13:36:42 +02:00
Nicholas Cameron
e4770365e0 BUg 910160. IWYU for gfx/src. r=roc 2013-09-02 10:21:01 +12:00
Nicholas Cameron
8a45a37b3d 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
c23c2ef620 Bug 898929. Replace assertion with warning in gfxASurface.cpp. r=roc 2013-09-02 10:19:19 +12:00
Nicholas Cameron
822a03291b Bug 786412. Conslidate container layer methods. r=mattwoodrow 2013-09-02 10:19:18 +12:00
Bill McCloskey
3484db98fc Bug 910488 - XSync can hang indefinitely with OMTC enabled (r=bjacob) 2013-08-30 14:30:10 -07:00
Ehsan Akhgari
b283dbb4c7 Bug 911263 - Remove some unneeded nsIFrame.h #includes; r=mats 2013-08-30 17:17:07 -04:00
Guillaume Abadie
f3371476dc 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
90e148799a Merge m-c to mozilla-inbound. 2013-08-30 13:43:55 -04:00
Ed Morley
2feab2b4d9 Merge latest green inbound changeset and mozilla-central 2013-08-30 17:23:11 +01:00
Sotaro Ikeda
d6bd759a78 Bug 910928 - Fix build and class function override for new gralloc textures. r=nical 2013-08-30 10:24:05 -04:00
Makoto Kato
3de1bc9f76 Bug 910086 - Add MotoyaLMaru to common fallback font. r=jfkthame 2013-08-30 19:01:43 +09:00
Ryan VanderMeulen
f95ecf3499 Backed out changeset 67b98c1c0b7b (bug 910415) for OSX leaks. 2013-08-29 14:58:56 -04:00
Ryan VanderMeulen
e2d9dddf6b Backed out changeset 630b25ba7f69 (bug 910429) for build bustage on a CLOSED TREE. 2013-08-29 12:10:44 -04:00
Jeff Gilbert
f524fe5aa0 Bug 910429 - Implement KHR_debug in GLContext. r=bjacob 2013-08-29 11:41:08 -04:00
Guillaume Abadie
e2117e2247 bug 899855 - GLContext parse GL_VERSION - r=bjacob,jgilbert 2013-08-29 10:07:58 -04:00
James Willcox
8737f0aa85 Bug 910415 - Don't require a backing buffer in DeprecatedImageHostSingle r=nical 2013-08-29 09:51:54 -04:00
John Daggett
b9615a3014 Bug 903475 - fix iteration over coverage structs. r=behdad 2013-08-29 13:32:58 +09:00
Ryan VanderMeulen
89bb1cc5bf Merge inbound to m-c. 2013-08-29 00:00:10 -04:00
Nicolas Silva
28c91403fd Bug 907745 - Add comments to prepare for bug 908196. r=bjacob 2013-08-28 15:21:13 +02:00
Nicolas Silva
21124fcd0b Bug 907745 - cleanup ImageClient::CreateImage. r=mattwoodrow 2013-08-28 15:21:05 +02:00
James Willcox
18bcc8779e 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
5a54f98b0f Bug 907745 - Gralloc implementaion of the new texture client/host. r=pchang, bjacob 2013-08-09 17:23:46 +02:00
Makoto Kato
03cfadff33 Bug 908523 - Build Skia on GTK3 widget. r=karlt,gps 2013-08-28 20:14:47 +09:00
Brian O'Keefe
4f68eb9b02 Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal 2013-08-15 09:02:09 -04:00
Kyle Huey
22a367d0fe 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
74beac2b86 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
33a048d633 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
febbe1a12f 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
cf929b81cd Bug 910054. Remove a printf from CompositorD3D11. r=mattwoodrow 2013-08-28 16:44:03 +12:00
Nicholas Cameron
cfff2a9557 Bug 909185. Use an RAII helper class for Add/RemoveMaskEffect. r=nical 2013-08-28 16:44:03 +12:00
John Daggett
fd686e7377 Bug 906704 - fix infinite loop drawing rotated synthetic bold text. r=jrmuizel 2013-08-28 08:36:02 +09:00
Matt Woodrow
829d88b2b4 Bug 909128 - Support snapshot source surfaces in DrawTargetCG's CopySurface. r=jrmuizel 2013-08-28 10:54:52 +12:00
Justin Lebar
a12ca3e4e8 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
118513d78a Bug 908905 - Reduce blocking of packed_depth_stencil on mac+nv. r=bjacob 2013-08-27 18:00:16 -04:00
Matt Woodrow
23a2b6b7b7 Bug 907792 - Use SharedTextureClientOG for SharedTextureImage. r=nical 2013-08-28 08:16:54 +12:00
Matt Woodrow
3fb212a624 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
47b381cba3 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
382dfb6cc6 Backed out changeset a255d2d2b67f (bug 907792) for OSX mochitest asserts on a CLOSED TREE. 2013-08-27 13:07:33 -04:00
Matt Woodrow
abe69348ee Bug 907792 - Use SharedTextureClientOGL when needed. r=nical 2013-08-27 11:50:24 +12:00
Nicolas Silva
f3b9355043 Bug 909765 - Make TextureClient and CompositableClient ref counting thread-safe. r=sotaro 2013-08-27 17:03:58 +02:00
Andreas Gal
b5fd2cb3c2 Bug 909113 - Make FPS counter code a bit more readable. r=jgilbert 2013-08-27 09:01:45 -04:00
Nicolas Silva
02f17f9efb Bug 858914 - Basic backend for the new textures. r=mattwoodrow 2013-08-27 10:52:14 +02:00
Edwin Flores
390c8fb307 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
9fa9f53229 Merge inbound to m-c. 2013-08-26 20:19:26 -04:00
Guillaume Abadie
ec46ed3e56 bug 908841 - step 3 - Change the WebGL 2 validation mechanism - r=jgilbert 2013-08-26 17:12:54 -04:00
Kartikaya Gupta
c9052e6e85 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
9afedc4d99 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
9b0c21e3d3 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
81fcead6fc 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
999ab3f24d 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