Mason Chang
16285cd3eb
Bug 990017. Prevent skia accelerated canvas backends from rendering content. r=jmuizelaar
2015-12-02 09:11:52 -08:00
Mike Hommey
ce9a5909d1
Bug 1225682 - Don't use nsAuto{,C}String as class member variables in gfx/. r=jrmuizel
2015-12-02 11:04:37 +09:00
David Anderson
fa0c646a19
Remove "bad APZ pref" warnings in about:support. (bug 1214170 part 3, r=kats)
...
--HG--
extra : rebase_source : 77bf9992083045c88c96ae688d7dc949cbdceab1
2015-12-01 13:49:01 -08:00
David Anderson
83e664a4cd
Add APZ support for mousewheel.acceleration prefs. (bug 1214170 part 1, r=kats)
...
--HG--
extra : rebase_source : b97121b98c3e42a83135f7e8fa186575b4fbfcb5
2015-12-01 13:45:49 -08:00
Milan Sreckovic
1c2f56d5f0
Bug 1228287 - Make sure we can't do SkiaGL without the pref set. r=benwa
...
--HG--
extra : rebase_source : 601d27a896f5d97353051e7e8ac85be0ccf92cda
2015-11-26 11:00:00 +01:00
David Anderson
249352a00c
Include vendor and device ids in content process DXGI adapter matching. (bug 1228905, r=jrmuizel)
...
--HG--
extra : rebase_source : e751c66e50c5d706af08eeb113f18f0137f635bd
2015-11-30 12:46:22 -08:00
Xidorn Quan
6fdb9fbeaa
Bug 1040668 part 10 - Implement emphasis mark rendering. r=jfkthame
...
--HG--
extra : source : 1c53ccbaece3931ffe1da5610977e92fcce5f3f6
2015-11-28 11:56:33 +11:00
Xidorn Quan
d80f4dcc15
Bug 1040668 part 7 - Add NO_EMPHASIS_MARK flag in CompressedGlyph. r=jfkthame
...
--HG--
extra : source : 5c13435d3c7ffbc551350beb817a1abb027d5f58
2015-11-28 11:56:33 +11:00
Xidorn Quan
185af4c21b
Bug 1040668 part 6 - Add some specifier on gfxTextRun and gfxShapedWord so that compilers are able to reason out certain optimizations. r=jfkthame
...
--HG--
extra : source : d1f878808c0dc8b159180f387ea563c3561c806a
2015-11-28 11:56:33 +11:00
Xidorn Quan
d70c4e533c
Bug 1040668 part 5 - Avoid unnecessary allocation inside EnsureComplexGlyph helper function. r=jfkthame
...
SetGlyphs does the allocation and copy it into the storage anyway.
--HG--
extra : source : 558a89f9791f297f18ba17d19015e3363b94165b
2015-11-28 11:56:33 +11:00
Xidorn Quan
376e37ea32
Bug 1040668 part 4 - Add helper function for ensuring a glyph is a complex glyph. r=jfkthame
...
--HG--
extra : source : 8bca69909dc703b60b69eef08fa0be68e3bb16fc
2015-11-28 11:56:33 +11:00
Xidorn Quan
43a7a409cb
Bug 1040668 part 3 - Add helper function gfxTextRun::GetAdvanceForGlyph. r=jfkthame
...
--HG--
extra : source : 48bbf945343431b077bb0e3f788828f8d1606992
2015-11-28 11:56:33 +11:00
Carsten "Tomcat" Book
44189adf88
Merge mozilla-central to mozilla-inbound
2015-11-26 16:56:09 +01:00
Carsten "Tomcat" Book
358e4575c4
merge mozilla-inbound to mozilla-central a=merge
2015-11-26 16:54:27 +01:00
John Daggett
14ad4bf8f6
Bug 1224975 - add telemetry for font loading. r=m_kato
...
--HG--
extra : rebase_source : ef31e321366f6edcc465ad9a4474c1e8287a6054
2015-11-25 14:48:16 +09:00
Carsten "Tomcat" Book
4478aaa8da
Merge mozilla-central to b2g-inbound
2015-11-25 14:00:32 +01:00
Yoshi Huang
4b500464f5
Bug 1209162 - Create OriginAttributes subtypes. IGNORE IDL r=sicking.
2015-11-03 09:50:54 +08:00
Kartikaya Gupta
36bf0301ba
Bug 960317 - Remove cross-slide code from APZC. r=botond
...
--HG--
extra : commitid : HZ0FIlYFgg0
2015-11-25 10:30:36 -05:00
Phil Ringnalda
71a6f5da62
Back out changeset 2f614bcd9405 (bug 1221822) for test_conformance__extensions__ext-sRGB.html and test_webgl2_alpha_luminance.html failures
2015-11-23 21:55:59 -08:00
Boris Zbarsky
9a3137dfcc
Bug 1224596 part 13. Switch gfxUtils to using the new WorkerMainThreadRunnable::Dispatch signature. r=khuey
2015-11-24 00:04:21 -05:00
Jeff Gilbert
87397c265b
Bug 1221822 - Finish the WebGL texture refactor. r=kamidphish,mattwoodrow,bz
2015-11-23 19:27:13 -08:00
David Anderson
85927e2032
Don't assume D3D11CreateDevice() gives back non-null devices. (bug 1209268, r=milan)
2015-11-23 13:07:40 -08:00
Nigel Babu
29e98fdbc3
Backed out changeset ebb6fb453cca (bug 1214170) for build bustage on a CLOSED TREE
2015-11-25 16:22:16 +05:30
David Anderson
859092e6a5
Add APZ support for mousewheel.acceleration prefs. (bug 1214170, r=kats)
2015-11-25 01:12:33 -08:00
Jeff Gilbert
19d84fb0fe
Bug 1221822 - Finish the WebGL texture refactor. r=kamidphish,mattwoodrow,bz
2015-11-24 20:15:29 -08:00
Dan Glastonbury
5b14b3a87d
Bug 618898 - Add D3D11SharedSurfaceInterop. r=jgilbert
...
--HG--
extra : commitid : LSoMbZrQQSO
extra : rebase_source : d207b87eafc300a1d3c99c0c85403056008b1bf6
2015-11-06 10:19:24 +10:00
Mason Chang
e74c79f0e3
Bug 1221840. Support repeating images in 1 axis. r=seth
2015-11-23 08:17:35 -08:00
Lee Salzman
6fea42974e
Bug 1224974 - fix GTK shaped window drawing. r=bas
2015-11-19 17:23:43 -05:00
Wes Kocher
023e779c11
Backed out changeset 7b113a6167e9 (bug 1215265) for mass bustage CLOSED TREE
...
--HG--
extra : commitid : 4fRgovywnch
extra : histedit_source : 18da44a556f563d9aabadd24ed7780e9b29771bf
2015-11-22 23:02:18 -08:00
Robert O'Callahan
c5bea366b2
Bug 1215265. Don't leak CompositorChild in content processes. r=nical
...
This makes the shutdown sequence of CrossProcessCompositorParent
work very much like the shutdown sequence of CompositorParent:
the child does SendStop(); the parent's RecvStop does some cleanup
and then queues a DeferredDestroy task; DeferredDestroy releases
the parent, destroying it; IPDL sends a message to destroy the child.
--HG--
extra : commitid : BSzF9OvSEK9
extra : rebase_source : 2c4ebbadb7064289b032da06cfbd17a3fd2f6ed2
2015-11-18 13:39:47 +13:00
John Daggett
b788233f65
Bug 1213280 - fix OSX font selection under 10.11. r=jfkthame
2015-11-20 22:01:12 +09:00
Jonathan Kew
8bec41298a
Bug 1223002 - Always call ReleaseGrFace to balance GetGrFace, even if the face is null. r=jdaggett
2015-11-20 06:09:59 +00:00
John Daggett
15444a76a4
Bug 1119062 - enable unicode-range in release builds. r=dbaron
2015-11-20 14:46:47 +09:00
John Daggett
dcfcd94766
Bug 1224965 p2 - tweak the handling of generic substitutions. r=karlt
2015-11-20 13:35:15 +09:00
John Daggett
fbf9fafe6b
Bug 1224965 p1 - add pref for max substitutions for generics under fontconfig. r=m_kato
2015-11-20 13:35:15 +09:00
John Daggett
67aa034f9a
Bug 1214490 - fix-up system font name warning. r=mstange
2015-11-19 09:18:19 +09:00
David Anderson
6458429618
Search for a matching DXGI adapter in content processes. (bug 1225283 part 2, r=jrmuizel)
...
--HG--
extra : rebase_source : 958d320e527c871b927f888598c00b95189faf0d
2015-11-18 12:13:40 -08:00
David Anderson
a461be8bed
Add IPC helpers to marshal DXGI_ADAPTER_DESC. (bug 1225283 part 1, r=mattwoodrow)
...
--HG--
extra : rebase_source : 3733dd6db625c9f93f34725d246b4efb6b63b191
2015-11-18 12:11:52 -08:00
Mason Chang
d7f814c9e2
Bug 1208636 - Adjust displayport size based on available system memory. r=kats
2015-11-18 15:48:19 -08:00
Nicolas Silva
578a8ccc95
Bug 1224254 - Don't try to allocate unreasonably large textures. r=Bas
2015-11-18 16:59:11 +01:00
Wes Kocher
f4535ab455
Backed out 2 changesets (bug 1225283) for Windows build bustage CLOSED TREE
...
Backed out changeset a2dc8e863533 (bug 1225283)
Backed out changeset 5f456b78cccc (bug 1225283)
2015-11-17 14:41:42 -08:00
David Anderson
49d9ee1086
Search for a matching DXGI adapter in content processes. (bug 1225283 part 2, r=jrmuizel)
2015-11-17 13:40:38 -08:00
David Anderson
91684610bf
Add IPC helpers to marshal DXGI_ADAPTER_DESC. (bug 1225283 part 1, r=mattwoodrow)
2015-11-17 13:38:12 -08:00
Sotaro Ikeda
88d1681a84
Bug 1144103 - Support screen recording r=mwu
2015-11-17 02:04:40 -08:00
John Daggett
fcabcac70e
Bug 1163487 - sniff LANGUAGE when determining language for lang group. r=karlt
2015-11-17 11:39:58 +09:00
John Daggett
2402be3a35
Bug 1173260 - support multiple families for generics. r=heycam
2015-11-16 08:48:40 +09:00
John Daggett
d005a8f2b6
Bug 1167284 - implement localized name lookup for fontconfig font families. r=karlt
2015-11-16 08:48:36 +09:00
Nathan Froyd
3d5a31b8f3
Bug 1216644 - part 2 - make gfxFontEntry::mUVSData a UniquePtr; r=jrmuizel
...
This patch could have been in the last patch, but it felt like modifying
ReadCMAPTableFormat14 to accept a UniquePtr<> made the code clearer.
This change was therefore separated into its own patch for easier
review.
2015-10-20 12:12:41 -04:00
Nathan Froyd
634bee4a27
Bug 1216644 - part 1 - simple s/nsAutoArrayPtr/UniquePtr/ changes in gfx/; r=jrmuizel
...
This patch handles all the cases where we just want to swap out
nsAutoArrayPtr for UniquePtr and don't require code changes other than
updating uses that implicitly converted to T* to follow UniquePtr's
conventions.
2015-10-20 13:13:35 -04:00
Nicholas Nethercote
489c83b1dd
Bug 1223690 - Remove implicit Rect conversions. r=jrmuizel.
...
gfxRect can be implicitly constructed from IntRect, which hides a number of
implicit conversion points, makes Moz2Dification harder, and has some
surprising effects.
This patch removes the implicit constructor and replaces it with an explicit
conversion function:
gfxRect ThebesRect(const IntRect&)
This is the obvious outcome of removing the constructor.
But there is also a second, less obvious outcome: currently we do a number of
IntRect-to-Rect conversions using ToRect(), which (surprisingly) works because
it turns into an implicit IntRect-to-gfxRect conversion (via the implicit
constructor) combined with an explicit gfxRect-to-Rect conversion (via
ToRect()). I.e. we do two conversions, going from a Moz2D type to a Thebes
type and back to a Moz2D type!
So this patch also changes these conversion. It moves this existing function:
Rect ToRect(const IntRect&)
from gfx2DGlue.h -- where it doesn't really belong because it doesn't involve
any Thebes types -- to gfx/2d/Rect.h, templatifying and renaming it as
IntRectToRect() in the process.
The rest of the patch deals with fall-out from these changes. The call sites
change as follows:
- IntRect-to-gfxRect conversions:
- old: implicit
- new: ThebesRect()
- IntRect-to-Rect conversions:
- old: ToRect()
- new: IntRectToRect()
--HG--
extra : rebase_source : e4e4c2ad10b36ecad4d57d1630158f3374e403be
2015-11-11 14:23:14 -08:00