gecko-dev/gfx/thebes
Ryan Hunt 16e8c5d426 Bug 1478815 part 9 - Add ability to create a DrawTargetCapture that can flush to its destination draw target. r=bas
This commit adds the ability to create a different kind of DrawTargetCapture which
has a limit on the size of which its CaptureCommandList can grow before it is
synchronously flushed to its destination DrawTarget.

Special care is taken to not do a sync flush until we would need to resize
the backing store of the CaptureCommandList. This allows us to not waste
memory we've already allocated.

The async painting content clients are updated to use it, and get a default
value from a new preference.

MozReview-Commit-ID: CJL7ffvaRzR

--HG--
extra : rebase_source : f646862dcef7a480b21dfb7ddb1fa165338ba506
extra : source : b865a866fe5a3257615cb54b7e5e790cc9331988
2018-07-26 16:33:07 -05:00
..
cairo-xlib-utils.h
CJKCompatSVS.cpp
d3dkmtQueryStatistics.h
D3D11Checks.cpp Bug 1437334 - Block DX NV12 on SandyBridge for old graphics drivers r=jrmuizel 2018-05-17 12:07:20 +09:00
D3D11Checks.h Bug 1352016 - P3. Check if NV12 rendering is usable when allocating D3D11 surface. r=mattwoodrow 2017-09-10 17:54:31 +02:00
DeviceManagerDx.cpp Bug 1465306 - Make D3D11YCbCrRecycleAllocator handle device reset r=nical 2018-05-31 09:35:24 +09:00
DeviceManagerDx.h Bug 1465306 - Make D3D11YCbCrRecycleAllocator handle device reset r=nical 2018-05-31 09:35:24 +09:00
DrawMode.h
gencjkcisvs.py Bug 1468273 - Fix flake8/pep8 issues by hand in gfx/ r=ted 2018-06-10 14:15:18 +02:00
genLanguageTagList.pl
gfx2DGlue.h Bug 1423570: Use BaseRect access methods instead of member variables in gfx/ r=bas.schouten 2017-12-19 15:48:39 -05:00
gfxAlphaRecovery.cpp
gfxAlphaRecovery.h
gfxAlphaRecoverySSE2.cpp Bug 1423570: Use BaseRect access methods instead of member variables in gfx/ r=bas.schouten 2017-12-19 15:48:39 -05:00
gfxAndroidPlatform.cpp Bug 1479641 - Don't record counting allocator amount, r=froydnj. 2018-07-31 19:22:54 +00:00
gfxAndroidPlatform.h Bug 1451296 - Make enabling of font-variation-settings and font-optical-sizing properties dependent on adequate platform support at runtime. r=lsalzman 2018-04-05 18:53:56 +01:00
gfxASurface.cpp Bug 1469769 - Part 6: Replace non-failing NS_NOTREACHED with MOZ_ASSERT_UNREACHABLE. r=froydnj 2018-06-17 22:43:11 -07:00
gfxASurface.h Bug 1377169 - Turn gfxRect into a typedef. r=jrmuizel 2017-07-05 11:22:00 -04:00
gfxBaseSharedMemorySurface.cpp
gfxBaseSharedMemorySurface.h
gfxBlur.cpp Bug 1474722 - Prevent large rect integer overflows without forbidding large nine-patches. r=Bas 2018-08-01 17:13:12 +02:00
gfxBlur.h Bug 1365876. Blur text shadows on the CPU. r=lsalzman 2017-07-24 13:48:14 -07:00
gfxColor.h
gfxContext.cpp Bug 1447834. Remove gfxContext::CurrentPoint. r=mstange 2018-03-21 18:54:32 -04:00
gfxContext.h Bug 1453795 - GFX - Initialize member fields in classes/ structures. r=nical 2018-06-16 17:42:33 +03:00
gfxCoreTextShaper.cpp Bug 1455569 - Handle variation settings of system-installed variation fonts when creating CTFont from CGFont on High Sierra. r=lsalzman 2018-04-20 17:18:03 +01:00
gfxCoreTextShaper.h Bug 1430820 - Cache any required feature-modified Core Text font instances in gfxCoreTextShaper, rather than re-creating them for each shaping call. r=jrmuizel 2018-03-29 21:53:55 +01:00
gfxDrawable.cpp Bug 1423570: Use BaseRect access methods instead of member variables in gfx/ r=bas.schouten 2017-12-19 15:48:39 -05:00
gfxDrawable.h Bug 1428535 - Add missing override specifiers to overridden virtual functions. r=froydnj 2017-11-05 19:37:28 -08:00
gfxDWriteCommon.cpp Bug 1457813 - Part 2: Replace non-asserting NS_PRECONDITIONs with MOZ_ASSERTs. r=froydnj 2018-04-28 12:50:58 -07:00
gfxDWriteCommon.h Bug 1436048: Use user defined types for font-stretch / font-style. r=jfkthame,jwatt 2018-04-23 18:22:05 +02:00
gfxDWriteFontList.cpp Bug 1468845 - Check calls to GetFontResource for failure and bail out safely. r=lsalzman 2018-06-22 17:49:41 +01:00
gfxDWriteFontList.h Backed out changeset f8dbb1d2d07c (bug 1464400) for mochitest failures on test_font_whitelist.html. CLOSED TREE 2018-06-01 19:07:24 +03:00
gfxDWriteFonts.cpp Bug 1460259 - Send synthetic oblique angle to WR. r=jfkthame 2018-07-04 10:56:40 -04:00
gfxDWriteFonts.h Bug 1449605 - part 1 - Rearrange thebes font code so that the decision whether to apply synthetic-bold is deferred until actually instantiating a font, not made during the font-matching process. r=jwatt 2018-05-01 10:30:50 +01:00
gfxEnv.h Bug 1457400 - Fix typo "ELG" to "EGL", r=milan 2018-05-10 16:48:07 +09:00
gfxFailure.h
gfxFcPlatformFontList.cpp Bug 1478716 - Ensure we only call FT_Get_MM_Var once per face (and cache the result in the font entry), to avoid being bitten by freetype bug 52955 on Ubuntu. r=lsalzman 2018-08-01 22:39:05 +01:00
gfxFcPlatformFontList.h Bug 1478716 - Ensure we only call FT_Get_MM_Var once per face (and cache the result in the font entry), to avoid being bitten by freetype bug 52955 on Ubuntu. r=lsalzman 2018-08-01 22:39:05 +01:00
gfxFont.cpp Bug 1479456: Fix some non-unified bustage in gfx/thebes. r=jrmuizel 2018-08-01 13:02:18 -04:00
gfxFont.h Bug 1460259 - Send synthetic oblique angle to WR. r=jfkthame 2018-07-04 10:56:40 -04:00
gfxFontConstants.h Bug 1452973 - Update NS_FONT_STRETCH_* constants to values based on the percentage definitions in css fonts 4. r=jwatt 2018-04-16 10:00:57 +01:00
gfxFontEntry.cpp Bug 1453795 - GFX - Initialize member fields in classes/ structures. r=nical 2018-06-16 17:42:33 +03:00
gfxFontEntry.h Bug 1478716 - Ensure we only call FT_Get_MM_Var once per face (and cache the result in the font entry), to avoid being bitten by freetype bug 52955 on Ubuntu. r=lsalzman 2018-08-01 22:39:05 +01:00
gfxFontFamilyList.h Bug 1453795 - GFX - Initialize member fields in classes/ structures. r=nical 2018-06-16 17:42:33 +03:00
gfxFontFeatures.cpp Bug 1396450 - Don't apply ToLowerCase to font feature identifiers used in @font-feature-values rules, as the spec says they're case sensitive. r=xidorn 2018-05-14 10:05:25 +01:00
gfxFontFeatures.h Backed out changeset 9035ff3757ac (bug 1415980) at request from froydnj on the suspicion that it's going to break MSVC builds when it gets merged to central. 2018-07-31 01:19:49 +03:00
gfxFontInfoLoader.cpp Bug 1479456: Fix some non-unified bustage in gfx/thebes. r=jrmuizel 2018-08-01 13:02:18 -04:00
gfxFontInfoLoader.h Bug 1453795 - GFX - Initialize member fields in classes/ structures. r=nical 2018-06-16 17:42:33 +03:00
gfxFontMissingGlyphs.cpp Bug 1481842 - Apply 50% opacity as intended to the border (or filled box on mobile) used for missing-glyph rendering. r=lsalzman 2018-08-08 17:15:42 +01:00
gfxFontMissingGlyphs.h Bug 1479456: Fix some non-unified bustage in gfx/thebes. r=jrmuizel 2018-08-01 13:02:18 -04:00
gfxFontPrefLangList.h
gfxFontSrcPrincipal.cpp Backed out 22 changesets (bug 1399787) for shutdown leaks on windows 7 debug tc-M without e10s r=backout on a CLOSED TREE 2017-12-08 13:09:56 +02:00
gfxFontSrcPrincipal.h Bug 1376964 - Part 8: Add OMT wrapper for nsIPrincipals useful for font stuff. r=jfkthame 2017-07-08 17:20:28 +08:00
gfxFontSrcURI.cpp Bug 1350958 - Finish labeling ProxyReleaseEvent, r=billm 2017-07-14 08:49:22 +02:00
gfxFontSrcURI.h Bug 1376964 - Part 5: Add OMT wrapper for nsIURIs useful for font stuff. r=jfkthame 2017-07-07 17:29:44 +08:00
gfxFontUtils.cpp Bug 1476645: Fix DEAD_STORE errors in gfx/*. r=lsalzman 2018-07-18 16:54:00 +01:00
gfxFontUtils.h Bug 1412882 - Rework gfxFontUtils::MapCharToGlyphFormat4 to be more robust. r=lsalzman 2018-05-19 08:32:22 +01:00
gfxFontVariations.h Bug 1435984 - patch 5 - Apply variation settings from the font entry when instantiating fonts on macOS. r=lsalzman 2018-02-14 22:02:05 +11:00
gfxFT2FontBase.cpp Bug 1478716 - Ensure we only call FT_Get_MM_Var once per face (and cache the result in the font entry), to avoid being bitten by freetype bug 52955 on Ubuntu. r=lsalzman 2018-08-01 22:39:05 +01:00
gfxFT2FontBase.h Bug 1478716 - Ensure we only call FT_Get_MM_Var once per face (and cache the result in the font entry), to avoid being bitten by freetype bug 52955 on Ubuntu. r=lsalzman 2018-08-01 22:39:05 +01:00
gfxFT2FontList.cpp Bug 1478716 - Ensure we only call FT_Get_MM_Var once per face (and cache the result in the font entry), to avoid being bitten by freetype bug 52955 on Ubuntu. r=lsalzman 2018-08-01 22:39:05 +01:00
gfxFT2FontList.h Bug 1478716 - Ensure we only call FT_Get_MM_Var once per face (and cache the result in the font entry), to avoid being bitten by freetype bug 52955 on Ubuntu. r=lsalzman 2018-08-01 22:39:05 +01:00
gfxFT2Fonts.cpp Bug 1460259 - Send synthetic oblique angle to WR. r=jfkthame 2018-07-04 10:56:40 -04:00
gfxFT2Fonts.h Bug 1470515 - refactor ScaledFontFreeType for Android WR. r=rhunt 2018-06-14 16:42:56 -07:00
gfxFT2Utils.cpp Bug 1457813 - Part 2: Replace non-asserting NS_PRECONDITIONs with MOZ_ASSERTs. r=froydnj 2018-04-28 12:50:58 -07:00
gfxFT2Utils.h Bug 1457103 - patch 2 - Refactor logic from gfxFontconfigFontEntry implementations of GetVariationAxes and GetVariationInstances to gfxFT2Utils, where it can be shared by the gfxFT2Fonts backend. r=jwatt 2018-04-26 17:08:18 +01:00
gfxGDIFont.cpp Bug 1460259 - Send synthetic oblique angle to WR. r=jfkthame 2018-07-04 10:56:40 -04:00
gfxGDIFont.h Bug 1458218 - Rename gfxGDIFont::mNeedsBold to mNeedsSyntheticBold. r=jfkthame 2018-04-26 12:46:18 +01:00
gfxGDIFontList.cpp Backed out changeset f8dbb1d2d07c (bug 1464400) for mochitest failures on test_font_whitelist.html. CLOSED TREE 2018-06-01 19:07:24 +03:00
gfxGDIFontList.h Backed out changeset f8dbb1d2d07c (bug 1464400) for mochitest failures on test_font_whitelist.html. CLOSED TREE 2018-06-01 19:07:24 +03:00
gfxGdkNativeRenderer.cpp Bug 1278282 - Remove the 'MOZ_WIDGET_GTK == 2' defines r=karlt,lsalzman 2018-01-10 08:52:04 +01:00
gfxGdkNativeRenderer.h Bug 1278282 - Remove the 'MOZ_WIDGET_GTK == 2' defines r=karlt,lsalzman 2018-01-10 08:52:04 +01:00
gfxGlyphExtents.cpp
gfxGlyphExtents.h Backed out changeset 9035ff3757ac (bug 1415980) at request from froydnj on the suspicion that it's going to break MSVC builds when it gets merged to central. 2018-07-31 01:19:49 +03:00
gfxGradientCache.cpp Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj 2018-06-01 10:45:27 +02:00
gfxGradientCache.h
gfxGraphiteShaper.cpp Bug 1453795 - GFX - Initialize member fields in classes/ structures. r=nical 2018-06-16 17:42:33 +03:00
gfxGraphiteShaper.h Bug 1377328 - part 2 - Annotate raw pointers used for refcounted objects in font-related code. r=milan 2017-06-29 17:52:43 -07:00
gfxHarfBuzzShaper.cpp Bug 1453795 - GFX - Initialize member fields in classes/ structures. r=nical 2018-06-16 17:42:33 +03:00
gfxHarfBuzzShaper.h Bug 1438674 - For non-OpenType/TrueType fonts, use synthesized glyph origin & advance for vertical shaping, rather than just refusing to use the font. r=dholbert 2018-02-16 12:40:43 +00:00
gfxImageSurface.cpp Bug 1453795 - GFX - Initialize member fields in classes/ structures. r=nical 2018-06-16 17:42:33 +03:00
gfxImageSurface.h
gfxLanguageTagList.cpp
gfxLineSegment.h
gfxMacFont.cpp Bug 1478720 - Increase the fractional adjustment applied to 'opsz' on macOS to avoid using the font's default setting, which may be mishandled by Core Text. r=lsalzman 2018-07-30 17:53:09 +01:00
gfxMacFont.h Bug 1449605 - part 1 - Rearrange thebes font code so that the decision whether to apply synthetic-bold is deferred until actually instantiating a font, not made during the font-matching process. r=jwatt 2018-05-01 10:30:50 +01:00
gfxMacPlatformFontList.h Backed out changeset f8dbb1d2d07c (bug 1464400) for mochitest failures on test_font_whitelist.html. CLOSED TREE 2018-06-01 19:07:24 +03:00
gfxMacPlatformFontList.mm Bug 1453795 - GFX - Initialize member fields in classes/ structures. r=nical 2018-06-16 17:42:33 +03:00
gfxMathTable.cpp Bug 1453795 - GFX - Initialize member fields in classes/ structures. r=nical 2018-06-16 17:42:33 +03:00
gfxMathTable.h
gfxMatrix.h Bug 1377090 - Turn gfxMatrix into a typedef for MatrixDouble. r=jrmuizel 2017-07-05 11:18:49 -04:00
gfxPattern.cpp Bug 1479456: Fix some non-unified bustage in gfx/thebes. r=jrmuizel 2018-08-01 13:02:18 -04:00
gfxPattern.h Bug 1379404 - Part 4. Prevent unnecessary AzureState copy in GlyphBufferAzure::Flush. r=mattwoodrow 2017-07-09 00:49:24 +08:00
gfxPlatform.cpp Bug 1478150. Restrict webrender qualified to modern Nvidia gpus. r=kats 2018-07-26 15:10:35 -04:00
gfxPlatform.h Bug 1465466 Part 1 - Use a separate compositor in recording/replaying processes, r=nical. 2018-07-23 21:46:47 +00:00
gfxPlatformFontList.cpp Bug 1473631: Part 9 - Replace pref observers with callbacks in gfxPlatformFontList. r=njn 2018-07-05 14:47:39 -07:00
gfxPlatformFontList.h Backed out changeset f8dbb1d2d07c (bug 1464400) for mochitest failures on test_font_whitelist.html. CLOSED TREE 2018-06-01 19:07:24 +03:00
gfxPlatformGtk.cpp Bug 1467128 - [Wayland] Get VSync from Gtk/Wayland, r=lsalzman 2018-06-29 13:15:41 +02:00
gfxPlatformGtk.h Bug 1467128 - [Wayland] Get VSync from Gtk/Wayland, r=lsalzman 2018-06-29 13:15:41 +02:00
gfxPlatformMac.cpp Bug 1465060 - Part 1: Fix warnings for std::move() use r=froydnj 2018-06-01 17:59:07 +02:00
gfxPlatformMac.h Bug 1457007 - Add about:support information on if tiling is used in the content process. r=nical 2018-04-30 15:05:19 -05:00
gfxPoint.h Bug 1376782 - Replace gfxPoint with a typedef to PointDouble. r=jrmuizel 2017-06-28 11:42:23 -04:00
gfxPrefs.cpp Bug 1473631: Part 0a - Make preference callbacks typesafe. r=njn 2018-07-06 12:24:41 -07:00
gfxPrefs.h Bug 1478815 part 9 - Add ability to create a DrawTargetCapture that can flush to its destination draw target. r=bas 2018-07-26 16:33:07 -05:00
gfxQuad.h
gfxQuartzNativeDrawing.cpp Implement record and replay painting for multi tiled layers (bug 1422392, r=nical) 2017-11-21 19:12:14 -05:00
gfxQuartzNativeDrawing.h
gfxQuartzSurface.cpp
gfxQuartzSurface.h
gfxQuaternion.h
gfxRect.h Bug 1377169 - Turn gfxRect into a typedef. r=jrmuizel 2017-07-05 11:22:00 -04:00
gfxScriptItemizer.cpp
gfxScriptItemizer.h
gfxSharedImageSurface.h
gfxSkipChars.cpp Bug 1479456: Fix some non-unified bustage in gfx/thebes. r=jrmuizel 2018-08-01 13:02:18 -04:00
gfxSkipChars.h Bug 1453795 - GFX - Initialize member fields in classes/ structures. r=nical 2018-06-16 17:42:33 +03:00
gfxSVGGlyphs.cpp Bug 1479456: Fix some non-unified bustage in gfx/thebes. r=jrmuizel 2018-08-01 13:02:18 -04:00
gfxSVGGlyphs.h Bug 1377328 - part 2 - Annotate raw pointers used for refcounted objects in font-related code. r=milan 2017-06-29 17:52:43 -07:00
gfxTextRun.cpp Bug 1479456: Fix some non-unified bustage in gfx/thebes. r=jrmuizel 2018-08-01 13:02:18 -04:00
gfxTextRun.h Bug 1472386 - Take overflow-wrap into account when calculating min-content intrinsic size. r=jfkthame 2018-07-09 14:54:34 +10:00
gfxTypes.h Bug 1355763 - Add gfxAlphaType for specifying opaque/premult/non-premult. - r=daoshengmu 2017-04-13 09:14:34 -07:00
gfxUserFontSet.cpp Bug 1480499 - Add profiler label frame to gfxUserFontEntry::LoadPlatformFont with the OTHER category r=mstange 2018-08-03 15:15:24 +02:00
gfxUserFontSet.h Backed out changeset 9035ff3757ac (bug 1415980) at request from froydnj on the suspicion that it's going to break MSVC builds when it gets merged to central. 2018-07-31 01:19:49 +03:00
gfxUtils.cpp Bug 1471189 - Removing 'Terminating' state in workers, r=mrbkap 2018-07-12 19:33:41 +02:00
gfxUtils.h Bug 1467552 - make VectorImage::Show force OP_OVER. r=bas 2018-06-08 12:38:13 -04:00
gfxWindowsNativeDrawing.cpp Bug 1416267 - Update gfxContext matrix functions to avoid flip-flopping between float and double matrices. r=jrmuizel 2017-11-10 21:14:09 -05:00
gfxWindowsNativeDrawing.h
gfxWindowsPlatform.cpp Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-06-02 01:03:45 +03:00
gfxWindowsPlatform.h Bug 1462555 - Remove gfxWindowsPlatform::mFeatureLevels r=jrmuizel 2018-05-21 10:11:52 +09:00
gfxWindowsSurface.cpp
gfxWindowsSurface.h
gfxXlibNativeRenderer.cpp Bug 1416267 - Update gfxContext matrix functions to avoid flip-flopping between float and double matrices. r=jrmuizel 2017-11-10 21:14:09 -05:00
gfxXlibNativeRenderer.h
gfxXlibSurface.cpp Bug 1464037 - Replace GL_PROVIDER_GLX by MOZ_X11 to build X11 dependent code, r=lsalzman 2018-05-24 14:06:31 +02:00
gfxXlibSurface.h Bug 1464037 - Replace GL_PROVIDER_GLX by MOZ_X11 to build X11 dependent code, r=lsalzman 2018-05-24 14:06:31 +02:00
moz.build Bug 1090497 - Re-enable warnings as errors on clang-cl. r=froydnj 2018-07-31 22:10:07 +09:00
nsUnicodeRange.cpp
nsUnicodeRange.h
PrintTarget.cpp Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj 2018-06-01 10:45:27 +02:00
PrintTarget.h Bug 1435286 - Stop recording draw events for reference DrawTargets returned from PrintTarget. r=bobowen 2018-01-18 12:45:18 +00:00
PrintTargetCG.h Bug 1436263 - Part 3: Remove virtual from final virtual function declarations. r=froydnj 2018-02-08 21:22:43 -08:00
PrintTargetCG.mm Bug 1435286 - Stop recording draw events for reference DrawTargets returned from PrintTarget. r=bobowen 2018-01-18 12:45:18 +00:00
PrintTargetEMF.cpp Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj 2018-06-01 10:45:27 +02:00
PrintTargetEMF.h Bug 1436263 - Part 1: Replace final override virtual function specifiers with just final. r=froydnj 2018-02-05 22:46:57 -08:00
PrintTargetPDF.cpp
PrintTargetPDF.h
PrintTargetPS.cpp
PrintTargetPS.h
PrintTargetRecording.cpp Bug 1369552. Split out DrawTargetWrapAndRecord and DrawTargetRecording. r=Bas 2017-06-12 16:52:29 -04:00
PrintTargetRecording.h Bug 1369552. Split out DrawTargetWrapAndRecord and DrawTargetRecording. r=Bas 2017-06-12 16:52:29 -04:00
PrintTargetSkPDF.cpp Bug 1453795 - GFX - Initialize member fields in classes/ structures. r=nical 2018-06-16 17:42:33 +03:00
PrintTargetSkPDF.h Bug 1436263 - Part 3: Remove virtual from final virtual function declarations. r=froydnj 2018-02-08 21:22:43 -08:00
PrintTargetThebes.cpp Bug 1435286 - Stop recording draw events for reference DrawTargets returned from PrintTarget. r=bobowen 2018-01-18 12:45:18 +00:00
PrintTargetThebes.h Bug 1436263 - Part 3: Remove virtual from final virtual function declarations. r=froydnj 2018-02-08 21:22:43 -08:00
PrintTargetWindows.cpp Bug 221706 - Use unwritable region when printing on Windows. r=jimm 2018-03-28 17:13:10 -07:00
PrintTargetWindows.h
SkMemoryReporter.cpp Bug 1458480 - Add a skia memory reporter and report on font cache usage. r=lsalzman, r=njn 2018-05-14 16:47:01 -05:00
SkMemoryReporter.h Bug 1458480 - Add a skia memory reporter and report on font cache usage. r=lsalzman, r=njn 2018-05-14 16:47:01 -05:00
SoftwareVsyncSource.cpp Bug 1372405 - Provide names for all runnables in the tree (r=froydnj) 2017-06-26 14:19:58 -07:00
SoftwareVsyncSource.h
VsyncSource.cpp
VsyncSource.h