Commit Graph

3929 Commits

Author SHA1 Message Date
Bas Schouten
b7069da61a Bug 1074272: Use exception mode 0 for our D3D11 devices. r=jrmuizel 2014-09-30 17:51:09 +02:00
Jeff Muizelaar
a21377d891 Bug 1073086. Remove broken snapping code. r=mwoodrow
We generate a Rect from integers and then round them to do the snapping.

-      Rect rect(r->x, r->y, r->width, r->height);
-
-      rect.Round();

This accomplishes nothing.

Just rip it out.

--HG--
extra : rebase_source : 3194652ca83f2e66ae1cbd02573ab86c444bd2fb
2014-09-25 14:01:10 -04:00
Jonathan Kew
9407713a2b Bug 1065002 pt 1.3 - Add an Orientation parameter to gfxFont::GetMetrics and dispatch to horizontal or vertical as needed. r=jdaggett 2014-09-30 07:38:26 +01:00
Jonathan Kew
cbdf2b8244 Bug 1065002 pt 1.2 - Add CreateVerticalMetrics to gfxFont, to read/synthesize metrics for vertical layout. r=jdaggett 2014-09-30 07:38:06 +01:00
Jonathan Kew
08e2504e53 Bug 1065002 pt 1.1 - Rename gfxFont::GetMetrics to GetHorizontalMetrics, and add a GetMetrics wrapper to access it. r=jdaggett 2014-09-30 07:37:40 +01:00
Jonathan Kew
21d25f9507 Bug 727276 - Use emoji-style variation selector to help GetCommonFallbackFonts make an appropriate choice. r=roc 2014-09-30 07:27:55 +01:00
Matt Woodrow
8f4b4f5ec3 Bug 1070722 - Backout accidental inclusions in a4ae53da4fe6 2014-09-30 16:12:28 +13:00
Matt Woodrow
8b99f454e7 Bug 1070722 - Fix reftest annotation for OSX 10.6 2014-09-30 15:26:40 +13:00
Matt Woodrow
28bf18759d Bug 1067588 - Don't use source clipping if the draw won't resample. r=Bas 2014-09-30 13:20:35 +13:00
Ed Morley
a6cf46ecc9 Backed out changeset 318fa507832d (bug 1073086) 2014-09-29 17:42:34 +01:00
Jeff Muizelaar
91bc7be99d Bug 1073086. Remove broken snapping code. r=mwoodrow
We generate a Rect from integers and then round them to do the snapping.

-      Rect rect(r->x, r->y, r->width, r->height);
-
-      rect.Round();

This accomplishes nothing.

Just rip it out.

--HG--
extra : rebase_source : 620d4c9b4e6951e42441db336de2badb69c4a39c
2014-09-25 14:01:10 -04:00
Jonathan Watt
8345574117 Bug 1074012, part 2 - Mark gfxPattern::GetPattern's DrawTarget parameter as const. r=Bas 2014-09-29 14:26:15 +01:00
Jonathan Watt
5debeae954 Bug 1074012, part 1 - Temporarily expose some gfxContext fill/stroke API to help with porting to Moz2D. r=Bas 2014-09-29 14:26:15 +01:00
Jonathan Watt
5cc9353fbd Bug 1073972 - Get rid of gfxContext's FillRule enum in favor of Moz2D's. r=Bas 2014-09-29 14:15:19 +01:00
Jonathan Watt
9ee5dc4050 Bug 1073964 - Pass a const DrawTarget* through to nsSVGPaintServerFrame::GetPaintServerPattern so that it can create a pattern of the appropriate type. r=Bas 2014-09-29 14:15:19 +01:00
Jonathan Watt
e6d7a3300f Bug 1073363, part 3 - Convert some Mozilla code to use Moz2D's new GeneralPattern class. r=Bas 2014-09-29 14:12:06 +01:00
Jonathan Watt
bd299b4b21 Bug 1073363, part 1 - Rename gfxContext's GeneralPattern to PatternFromState. r=Bas 2014-09-29 14:12:05 +01:00
Henri Sivonen
2342d13717 Bug 964225 addendum - Adjust gfx to use Encoding Standard encoding names when decoding the names of legacy Chinese Mac fonts. r=emk. 2014-09-29 15:05:15 +03:00
Markus Stange
abdabfe784 Bug 1073103 - SReplace 'Thebes' with 'Painted' in some more places. r=roc 2014-09-26 13:07:06 -04:00
Jonathan Kew
d47bb541a6 Bug 923007 - Check for unexpected font substitution during Core Text shaping, and fall back to harfbuzz if this occurs. r=jdaggett 2014-09-26 09:20:20 +01:00
Kartikaya Gupta
6aea3474d4 Bug 1073024 - Make a pref to control building event regions. r=roc 2014-09-26 02:44:34 -04:00
John Daggett
6fb8e38803 Bug 998869 part 5 - lazily load userfonts (non-linux). r=jfkthame 2014-09-25 12:16:54 +09:00
John Daggett
b08eeaabee Bug 998869 part 4 - rename fontgroup methods. r=heycam 2014-09-25 12:16:54 +09:00
John Daggett
ec86ee2a35 Bug 998869 part 3 - rename userfont class methods. r=heycam 2014-09-25 12:16:53 +09:00
John Daggett
8d40c31973 Bug 998869 part 2 - switch to GetFontAt(0) to GetFirstValidFont(). r=jfkthame 2014-09-25 12:16:53 +09:00
John Daggett
4346fec693 Bug 998869 part 1 - build fontlist more lazily (non-linux). r=jfkthame 2014-09-25 12:16:52 +09:00
Markus Stange
91bc96aa11 Bug 1072533 - Remove gfxASurface::GetDefaultContextFlags(). r=jwatt 2014-09-24 17:16:54 -04:00
Bas Schouten
e225e93649 Bug 1072404: Firefox may crash when the D3D device is removed while rendering. r=mattwoodrow 2014-09-24 17:12:10 +00:00
Milan Sreckovic
d7d75e21f2 Bug 1068784 - Since the tiling is now not a simple pref choices, but it depends on some platform specific criteria, stop using the pref directly, and always use gfxPlatform::UseTiling instead. r=mwoodrow 2014-09-17 13:55:23 -04:00
Milan Sreckovic
a5497821d4 Bug 980036 - Move image prefs to gfxPrefs. r=seth 2014-09-22 17:30:20 -04:00
Nicolas Silva
053427c423 Bug 1066139 - Put stereo video behind a pref (off by default). r=Bas 2014-09-23 17:57:14 -04:00
Nicolas Silva
d1b829ea88 Bug 1071825 - Remove simple tiling code. r=mattwoodrow 2014-09-23 17:44:48 -04:00
Georg Fritzsche
8bee7684a2 Bug 1067989 - Unify some more binary search uses. r=waldo 2014-09-17 15:46:24 +02:00
Botond Ballo
500737115d Bug 1062483 - Make the overscroll effect harder to trigger accidentally. r=kats
--HG--
rename : gfx/layers/apz/src/OverscrollHandoffChain.cpp => gfx/layers/apz/src/OverscrollHandoffState.cpp
rename : gfx/layers/apz/src/OverscrollHandoffChain.h => gfx/layers/apz/src/OverscrollHandoffState.h
extra : rebase_source : 155c68fcd76c5f1e7a4e57818d238908bc8eb3c2
2014-09-23 11:38:05 -04:00
Matt Woodrow
c22a53a4ed Bug 1067311 - Don't crash if a gfxSurfaceDrawable failed to allocate a SourceSurface. r=Bas 2014-09-22 16:49:40 -04:00
Henri Sivonen
80c69719d3 Bug 1069954 - Remove us-ascii as a Gecko-canonical encoding name. r=emk. 2014-09-22 16:15:34 +03:00
Christoph Kerschbaumer
0382bfbd36 Bug 1038756: Callsites creating a channel in /gfx/ (r=roc) 2014-09-21 09:45:49 -07:00
Jonathan Kew
353c631894 Bug 1067343 - Check that mAvailableFonts[i] is non-null before trying to use it. r=jdaggett 2014-09-18 10:48:00 +01:00
Bas Schouten
0fb1d83b18 Bug 1068613 - Addendum 4: Fix bustage due to stray character. r=bustage on a CLOSED TREE 2014-09-18 01:40:13 +02:00
Bas Schouten
50ffbf0899 Bug 1068613 - Addendum 3: Fix bustage due to stray character. r=bustage on a CLOSED TREE 2014-09-18 01:04:07 +02:00
Bas Schouten
2e768633ad Bug 1068613 - Addendum: Fix bustage in ASAN builds. r=bustage on a CLOSED TREE 2014-09-18 00:25:23 +02:00
Ehsan Akhgari
6c76365ab1 Bug 1068193 - Use the correct return type for Factory::CreateWrappingDataSourceSurface; r=jrmuizel 2014-09-17 17:55:17 -04:00
Nicolas Silva
6c1d4fc37f Bug 1068613 - Part 2: Add an ErrorReporter that appends the error to app notes in the crash report. r=bas 2014-09-17 23:23:08 +02:00
Robert Longson
919cdd6467 Bug 1068590 - gfxWindowsPlatform does not build on WinXP. r=bas 2014-09-17 18:35:00 +01:00
Jonathan Watt
1b3886f900 Bug 1067998 - Fix OOM crash in gfxAlphaBoxBlur::Init on large blur surface. r=Bas 2014-09-17 08:46:42 +01:00
Jonathan Kew
8a86870edc bug 1057331 - add orientation flags to gfxShapedText/gfxTextRun and to glyph runs within the text run, and split glyph runs on orientation changes. r=jdaggett 2014-09-16 12:25:45 +01:00
Jonathan Kew
08babb6a11 bug 1066043 - split gfxFont.cpp and .h into more manageably-sized pieces. r=jdaggett
--HG--
rename : gfx/thebes/gfxFont.cpp => gfx/thebes/gfxFontEntry.cpp
rename : gfx/thebes/gfxFont.h => gfx/thebes/gfxFontEntry.h
rename : gfx/thebes/gfxFont.cpp => gfx/thebes/gfxGlyphExtents.cpp
rename : gfx/thebes/gfxFont.h => gfx/thebes/gfxGlyphExtents.h
rename : gfx/thebes/gfxFont.cpp => gfx/thebes/gfxTextRun.cpp
rename : gfx/thebes/gfxFont.h => gfx/thebes/gfxTextRun.h
2014-09-16 10:58:12 +01:00
Jonathan Watt
1457b8c01c Bug 1067222 - Make the gfxPattern code much easier to understand (by giving variables meaningful names, adding comments, and integrating the mysterious AdjustTransformForPattern into gfxPattern::GetPattern). r=Bas 2014-09-15 16:24:03 +01:00
Jonathan Watt
7f41dd89c9 Bug 1067093 - Get rid of gfxContext::AntialiasMode in favor of Moz2D AntialiasMode. r=Bas 2014-09-15 12:10:30 +01:00
Seth Fowler
e215791292 Bug 1054079 (Part 1) - Add a way to check if it's safe to render content to data surfaces to gfxPlatform. r=mattwoodrow 2014-09-14 15:22:44 -07:00