Commit Graph

4199 Commits

Author SHA1 Message Date
Matt Woodrow
2d5096129b 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
072cc3fe96 Bug 1069954 - Remove us-ascii as a Gecko-canonical encoding name. r=emk. 2014-09-22 16:15:34 +03:00
Christoph Kerschbaumer
7a5f6bc06f Bug 1038756: Callsites creating a channel in /gfx/ (r=roc) 2014-09-21 09:45:49 -07:00
Jonathan Kew
313a75d924 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
7a91965ba7 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
086cbf0103 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
8e86fc0d5c Bug 1068613 - Addendum: Fix bustage in ASAN builds. r=bustage on a CLOSED TREE 2014-09-18 00:25:23 +02:00
Ehsan Akhgari
cff5b616df Bug 1068193 - Use the correct return type for Factory::CreateWrappingDataSourceSurface; r=jrmuizel 2014-09-17 17:55:17 -04:00
Nicolas Silva
4140f5cec4 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
5a0cd66f24 Bug 1068590 - gfxWindowsPlatform does not build on WinXP. r=bas 2014-09-17 18:35:00 +01:00
Jonathan Watt
038b7a5ff6 Bug 1067998 - Fix OOM crash in gfxAlphaBoxBlur::Init on large blur surface. r=Bas 2014-09-17 08:46:42 +01:00
Jonathan Kew
5cadcfeab8 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
50b0ff2a5d 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
c6416e4f55 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
904d9ad030 Bug 1067093 - Get rid of gfxContext::AntialiasMode in favor of Moz2D AntialiasMode. r=Bas 2014-09-15 12:10:30 +01:00
Seth Fowler
7d3ef1ca8c 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
Bas Schouten
cd7a317e2d Bug 1066677: Pass on D2D 1.0 as a fallback when using D2D1.1. r=BenWa 2014-09-14 23:52:41 +02:00
Bas Schouten
de9ee8155b Bug 1066144: Accept D2D paths for D2D 1.1 backends. r=jrmuizel 2014-09-14 23:51:32 +02:00
Bas Schouten
5503ad618b Bug 1060588: Use PushClipRect when possible in ClipToRegionInternal. r=jrmuizel 2014-09-14 23:51:30 +02:00
Matt Woodrow
b1adcf8934 Bug 1046550 - Part 3: Use Direct2D 1.1 when preffed on. r=bas 2014-09-14 23:51:27 +02:00
Bas Schouten
00d3edd7d3 Bug 1046550 - Part 1: Add content device to gfxWindowsPlatform. r=mattwoodrow 2014-09-14 23:51:27 +02:00
Matt Woodrow
1bf2884b6f Bug 1054838, part 4 - Stop using the gfxASurface ctor for gfxPattern in gfxWindowsNativeDrawing. r=Bas 2014-09-14 10:58:56 +01:00
Matt Woodrow
80a01d06fa Bug 1054838, part 3 - Convert gfxPattern to Moz2D. r=Bas 2014-09-14 10:58:56 +01:00
Matt Woodrow
5056e93044 Bug 1054838, part 2 - Remove callers of DrawTarget::Mask. r=Bas,jwatt 2014-09-12 08:20:12 +01:00
Matt Woodrow
810fbe5243 Bug 1054838, part 1 - Remove dead code supporting cairo_surface_t wrapping gfxPattern. r=Bas 2014-09-14 10:58:55 +01:00
Matt Woodrow
384ef32e14 Bug 1044702 - Use Moz2D source clipping when we can. r=Bas
--HG--
extra : rebase_source : 24eb333909db5278ff1a8babf9b4b907650695fa
2014-09-12 17:18:21 +12:00
Sotaro Ikeda
5cb1b77a4e Bug 1049251 - Partially disable SkiaGL on Low total system memory r=jrmuizel 2014-09-11 16:52:42 -07:00
Jonathan Watt
53f8ce1ac6 Bug 1064084, part 5 - Convert all consumers of gfxContext::NudgeCurrentMatrixToIntegers()/MultiplyAndNudgeToIntegers() to use gfxContext::SetMatrix(). r=Bas 2014-09-11 07:57:39 +01:00
Jonathan Watt
2a0767dbda Bug 1064084, part 4 - Convert all consumers of gfxContext::IdentityMatrix() to use gfxContext::SetMatrix(). r=Bas 2014-09-11 07:57:39 +01:00
Jonathan Watt
d4d2f025b9 Bug 1064084, part 3 - Convert all consumers of gfxContext::Rotate() to use gfxContext::SetMatrix()/Multiply(). r=Bas 2014-09-11 07:57:38 +01:00
Jonathan Watt
99fd7ba00e Bug 1064084, part 2 - Convert all consumers of gfxContext::Scale() to use gfxContext::SetMatrix()/Multiply(). r=Bas 2014-09-11 07:57:38 +01:00
Jonathan Watt
93e59c8bd5 Bug 1064084, part 1 - Convert all consumers of gfxContext::Translate() to use gfxContext::SetMatrix()/Multiply(). r=Bas 2014-09-11 07:57:38 +01:00
Jonathan Watt
56ee18012c Bug 1065764, part 1 - Make gfxMatrix::NudgeToIntegers() return a reference. r=Bas 2014-09-11 01:46:19 +01:00
Jonathan Watt
d1a93f6238 Bug 1065718 - Make gfxMatrix's Translate(), Scale() and Rotate() methods return a non-const reference. r=Bas 2014-09-11 01:45:04 +01:00
Jonathan Watt
da22957ff0 Bug 1065526, part 2 - Add a Copy() method to gfxMatrix. r=Bas 2014-09-10 21:41:51 +01:00
Felipe Gomes
382f4efc2f Bug 1063848 - Disable e10s in safe mode. r=bsmedberg,ally. 2014-09-10 15:53:55 -03:00
Jonathan Watt
423fda249a Bug 1065031, part 2 - Changes to Moz2D consuming code to update callers of Moz2D Matrix's Translate, Scale and Rotate methods to use these methods' new names. r=Bas 2014-09-10 18:29:35 +01:00
Jonathan Watt
62cd61e1b7 Bug 1065127 - Avoid Matrix().Translate()/Scale()/Rotate() multiplication in lots of places. r=Bas 2014-09-10 14:26:12 +01:00
Carsten "Tomcat" Book
31ab875e26 Backed out changeset e6b766d8a815 (bug 1065127) for bustage 2014-09-10 14:30:36 +02:00
Jonathan Watt
ee916d4351 Bug 1065127 - Avoid Matrix().Translate()/Scale()/Rotate() multiplication in lots of places. r=Bas
--HG--
extra : rebase_source : ef075258c31973c4943b9b3a9229685a9bb83917
2014-09-10 11:45:42 +01:00
Ehsan Akhgari
d3f6eb924f Bug 1064354 - Fix more bad implicit constructors in gfx; r=jrmuizel 2014-09-08 20:48:12 -04:00
Botond Ballo
92fda10b76 Bug 1063227 - Make APZ axis locking constants preffable. r=kats
--HG--
extra : source : 83f2d844c5a9833a40b2d0d9021597652e707a1a
2014-09-05 20:07:52 -04:00
Jonathan Kew
123708b9c7 bug 1063931 - support cmap subtable format 10 in gfxHarfBuzzShaper::GetGlyph. r=jdaggett 2014-09-08 09:53:29 +01:00
John Daggett
123c797bde Bug 1062058 part 3 - make userfont entry a container of the platform font entry. r=heycam 2014-09-08 16:23:20 +09:00
John Daggett
53967d717d Bug 1062058 part 2 - rename userfont classes and adjust flags. r=heycam 2014-09-08 16:23:20 +09:00
John Daggett
6f2c0ee7ec Bug 1062058 part 1 - avoid passing around proxy font entry object. r=heycam 2014-09-08 16:23:19 +09:00
Kearwood (Kip) Gilbert
5f59b02c90 Bug 1022825 - Implement Asynchronous Smooth Scrolling on Compositor Thread. r=kats
- Extended nsIScrollableFrame and nsGfxScrollFrame to return destination
  of smooth scrolls which are to be animated on the compositor thread.
- Added apz.smooth_scroll_repaint_interval preference.
- Implemented AsyncPanZoomController::PanZoomState::SMOOTH_MSD_SCROLL state
  and AsyncPanZoomController::SmoothScrollAnimation class to animate smooth
  scroll animations on the compositor thread.
- Extended FrameMetrics to report requests for smooth scrolls to be animated
  on the compositor thread and their corresponding destination positions.
- AsyncPanZoomController now checks FrameMetrics for requests to perform
  smooth scrolling on the compositor thread.  It will ensure that they
  are cancelled as needed by mousewheel, touchpanel, keyboard, and
  CSSOM-View instant scrolling DOM methods.
- The layout/generic/test/test_scroll_behavior.html mochitest has been
  commented as depending on Bug 1062609 before being enabled for APZ.
2014-07-10 11:52:40 -07:00
Sotaro Ikeda
79d583db14 Bug 1061943 - Purge all GradientCache on memory-pressure r=jrmuizel 2014-09-04 10:28:43 -07:00
Matt Woodrow
7c3d1c2e1a Bug 982338 - Disable tiling for OSX 10.6. r=Bas 2014-07-25 12:49:45 +12:00
Sotaro Ikeda
7c6e154476 Bug 1060790 - Call glFlush() to SkiaGL's GLContext on memory-pressure r=gw280 2014-09-02 18:49:06 -07:00