Commit Graph

112 Commits

Author SHA1 Message Date
Bas Schouten
a04eac5441 Bug 1118328 - Part 1: Expose DoesBackendSupportDataDrawTarget function to test backend capabilities. r=jrmuizel 2015-01-07 22:58:20 +01:00
Wes Kocher
e0a70c89f3 Backout 0d091f3311b4 (bug 1118328) for build bustage on a CLOSED TREE 2015-01-07 16:54:14 -08:00
Bas Schouten
cd5fcfeb14 Bug 1107718: Properly deal with a D3D11 device reset. r=nical 2015-01-08 00:10:49 +00:00
Bas Schouten
145f27376b Bug 1118328 - Part 1: Expose DoesBackendSupportDataDrawTarget function to test backend capabilities. r=jrmuizel 2015-01-07 22:58:20 +01:00
Ryan VanderMeulen
47a9f5c2f5 Bug 1114577 - GFX cleanups now that Windows SDK 8.1 is the minimum supported version. r=jmuizelaar, r=glandium 2015-01-07 11:32:07 -05:00
Milan Sreckovic
24a732e527 Bug 1101685 - Optionally assert in loggers, default to true on gfxCriticalError. Clean up the calls where large texture sizes were triggering the asserts in tests. r=nical 2014-12-17 17:54:04 -05:00
Carsten "Tomcat" Book
4c225d7e54 Backed out changeset 8b751f12a3ad (bug 1101685) for windows 7 debug crashtest/reftest crashes 2014-12-17 12:56:04 +01:00
Milan Sreckovic
46b29f1150 Bug 1101685 - Optionally assert in loggers, default to true on gfxCriticalError. Clean up the calls where large texture sizes were triggering the asserts in tests. r=nical 2014-12-16 13:22:26 -05:00
Neil Rashbrook
835839d298 Bug 1101130 Followup to add a missing #ifdef r=Bas 2014-11-23 23:53:00 +00:00
Nicolas Silva
096edd5eaf Bug 1086670 - Add some gfxCriticalError logs around DrawTarget creation. r=Bas 2014-11-20 15:48:07 +01:00
Bas Schouten
218b3cfb39 Bug 1101130: Make Direct2D 1.1 clean up its resources on shutdown. r=jrmuizel 2014-11-20 00:16:48 +00:00
Milan Sreckovic
7ece31d5c9 Bug 1074952 - Part 3. Redo the const values and optimize for the case where we decide runtime not to log messages. Move the decision about newline to OutputMessage. Make [GFX#] the default automatic prefix. r=bschouten 2014-10-24 13:54:26 -04:00
Milan Sreckovic
69a2fba4b0 Bug 1074952 - Part 1. Expose the level of logging as a preference. r=bschouten 2014-10-24 13:54:20 -04:00
Markus Stange
0f8ae00cdc Bug 1055622 - Add support for specifying the font smoothing background color to Moz2D. r=Bas, r=jrmuizel 2014-10-24 18:32:23 +02:00
Nicholas Nethercote
b23cd74bf3 Bug 1083624 - Fix assertion failure in Factory::GetDirect3D10Device(). r=bas.
--HG--
extra : rebase_source : e28b1575b8bd4706d7d203696a1280c76e103ef6
2014-10-16 19:02:51 -07:00
Nicolas Silva
b5292e09c1 Bug 1068613 - Part 1: Add gfxCriticalError() log to Moz2D. r=bas 2014-09-17 23:23:02 +02:00
Matt Woodrow
8c5c06f212 Bug 1046550 - Part 2: Allow creating D2D 1.1 DrawTargets for D3D11 textures. r=bas 2014-09-14 23:51:27 +02:00
Bas Schouten
5b50de1033 Bug 1066811: Add a SupportsD2D1() method to the Moz2D factory. r=jrmuizel 2014-09-14 23:51:26 +02:00
Michael Wu
e58cfe332e Bug 1063733 - Optimize DataSourceSurface allocation, r=bas,seth 2014-09-10 17:54:16 -04:00
Robert O'Callahan
eaae02626a Bug 1063754. Cache result of Factory::HasSSE2(). r=bas
--HG--
extra : rebase_source : 3d25afdc6d679303ea1b73cc9ef1dbd9b971c5c0
2014-09-06 16:16:06 +12:00
Milan Sreckovic
735f45f426 Bug 1033310: Handle CreateDataSourceSurface* returning nullptr. f=nsilva, r=bschouten 2014-08-27 11:57:43 -04:00
zhoubcfan
2ec301a262 Bug 891709 - Fix build bustage in gfx/2d/Factory.cpp when Skia is disabled. r=gw280 2014-05-03 04:13:00 -04:00
Benjamin Smedberg
58acd9c659 Bug 768395 - Crash in CDevice::DriverInternalErrorCB because the d3d device is set to crash on error instead of merely returning error codes. Explicitly set the exception mode on device creation, and assert it every time we get it again. r=jrmuizel 2014-06-17 13:00:13 -04:00
Jonathan Watt
344fb8cd20 Bug 1024983 - Stop addrefing and releasing excessively in the Moz2D code in functions that return a TemporaryRef. r=mstange 2014-06-13 17:09:23 +01:00
Bas Schouten
34a17e2c5d Bug 992491: Add DrawTargetTiled for redirecting drawing to multiple tiles. r=mattwoodrow 2014-06-11 19:53:02 +00:00
Matt Woodrow
b4ecb7164e Bug 1003707 - Pass surfaces sizes in to CreateSourceSurfaceFromNativeSurface instead of trying to extract it from cairo. r=Bas 2014-05-08 11:23:44 +12:00
peter chang
c67c61909f Bug 970007 Fix incorrect colorformat when using CairoSurface, r=gal 2014-04-15 11:46:31 +08:00
James Willcox
d426ef8502 Bug 981621 - Don't crash if we fail to create SkiaGL backing texture r=gwright 2014-03-26 13:21:50 -05:00
Ed Morley
dc0b983f13 Backed out changeset a0827d7c8a02 (bug 981621) 2014-03-26 15:14:57 +00:00
James Willcox
0fa0cf2fe2 Bug 981621 - Don't crash if we fail to create SkiaGL backing texture r=gwright 2014-03-26 09:10:12 -05:00
James Willcox
15d30be7c6 Bug 939276 - Use a single GLContext for all SkiaGL canvases r=jgilbert,vlad,gwright,bjacob
--HG--
rename : gfx/gl/GLContextSkia.cpp => gfx/gl/SkiaGLGlue.cpp
2014-03-05 15:49:37 -06:00
Botond Ballo
dd5c96c7ee Bug 958596 - Allow gfx/2d/Logging.h to be used outside of gfx/2d. r=Bas 2014-02-18 21:59:34 -05:00
Wes Kocher
09174e398b Backed out changeset cf6a31bca4e0 (bug 939276) for webgl reftest crash
--HG--
rename : gfx/gl/SkiaGLGlue.cpp => gfx/gl/GLContextSkia.cpp
2014-02-20 15:23:52 -08:00
James Willcox
1715424e2c Bug 939276 - Use a single GLContext for all SkiaGL canvases r=vlad,gwright,bjacob
--HG--
rename : gfx/gl/GLContextSkia.cpp => gfx/gl/SkiaGLGlue.cpp
extra : rebase_source : 8e85dd34a67c2e193480e9f1f5baf68a898790fe
2014-02-20 16:20:28 -06:00
Ali Akhtarzada
538b0d12df Bug 974314 - Fix memleak in CreateDrawTargetForData when backend is skia. r=gal 2014-02-19 11:37:26 -05:00
Ehsan Akhgari
de8052b706 Backed out 2 changesets (bug 939276) because of build bustage
Backed out changeset 1cedc759f877 (bug 939276)
Backed out changeset 61cef3b533ba (bug 939276)

--HG--
rename : gfx/gl/SkiaGLGlue.cpp => gfx/gl/GLContextSkia.cpp
2014-02-14 18:48:05 -05:00
James Willcox
48175fc2e0 Bug 939276 - Use a single GLContext for all SkiaGL canvases r=bjacob,gwright,dglastonbury
--HG--
rename : gfx/gl/GLContextSkia.cpp => gfx/gl/SkiaGLGlue.cpp
2014-02-14 15:55:58 -06:00
Markus Stange
3e2c4e4e25 Bug 944579 - Refuse to create gigantic DrawTargets and surfaces. r=Bas 2014-01-17 11:06:17 +01:00
Ryan VanderMeulen
25157d7478 Backed out changeset aa8e746be488 (bug 944579) for bustage. 2014-01-16 11:41:40 -05:00
Markus Stange
3bf750f3ce Bug 944579. r=Bas 2014-01-16 11:21:13 -05:00
Benoit Jacob
3a7886f0e9 Bug 958375 - 7/9 - Make Font-related enums typed - r=Bas
Specifically:
  r=Bas for manual changes
  f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:16 -05:00
Benoit Jacob
2d5774ca0a Bug 958375 - 6/9 - Make BackendType and NativeSurfaceType typed enums - r=Bas
Specifically:
  r=Bas for manual changes
  f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:16 -05:00
Andreas Pehrson
02e70c1a10 Bug 877115 - Add factory method for DataSourceSurfaces with custom stride. r=bas 2013-12-19 10:31:07 -05:00
Andreas Gal
e6549702a5 Bug 946541 - Fix Skia cache purging. r=gw280 2013-12-04 23:52:03 -05:00
Bas Schouten
1e2183726f Bug 937145 - Allow Moz2D recordings to grab the existing content of a DrawTarget. r=BenWa 2013-11-27 12:21:57 +01:00
Ehsan Akhgari
ce2bb30fb7 Bug 936446 - Only define HasCPUIDBit on 32-bit platforms; r=jrmuizel
--HG--
extra : rebase_source : 0728a7247cbb23e34cd7c6d2bfa57c5359ccef63
2013-11-08 18:00:21 -05:00
Bas Schouten
d58038dce4 Bug 934287: Add size and for data DrawTarget creation functions. r=mattwoodrow 2013-11-04 00:57:36 +01:00
James Willcox
37a537638d Bug 927254 - Purge SkiaGL texture cache on memory pressure r=gwright
--HG--
extra : rebase_source : 960582a88532e752c2bcc4bbcdf0899eb0cbe3b8
2013-11-01 08:52:06 -05:00
Robert O'Callahan
8d5377f495 Bug 924679. Part 4: Add Factory::CreateSourceSurfaceForCairoSurface. r=mattwoodrow
--HG--
extra : rebase_source : 0c9187e8b9597e47e9d0d63d6da757db9a8c8a5c
2013-10-25 23:25:40 +02:00
George Wright
bbee419bc7 Bug 920160 - Add prefs for SkiaGL cache size r=snorp
--HG--
extra : rebase_source : 410192610d7311dead4132d2fee8fbd3fe062951
2013-10-22 14:15:24 -05:00