Commit Graph

65 Commits

Author SHA1 Message Date
Kevin Simons
9866760836 Bug 945314 - Workaround crash with Cairo surfaces in Skia backend. r=mstange
A patch for bug 924102 introduced a MOZ_CRASH assertion for surfaces
of type other than SURFACE_SKIA or SURFACE_DATA being passed to
DrawSurface. Previously surfaces of other types were simply ignored.
On Linux, there are still several hardcoded surfaces of type Cairo
(found in gfxXlibNativeRenderer and friends) and as a result, the
Skia backend crashes always on Linux currently.

This workaround ignores Cairo surfaces passed to DrawSurface.
2013-12-03 08:52:06 -05:00
Bas Schouten
0e17fc1044 Bug 924102 - Use FilterNodeSoftware for filter drawing in DrawTargetSkia. r=mstange 2013-11-27 12:25:28 +01:00
Bas Schouten
42d0dc60b9 Bug 924102 - Make DrawTargetSkia::DrawSurface support non-Skia DataSourceSurfaces. r=mstange 2013-11-27 12:25:27 +01:00
Andreas Gal
9b75a53f4f Bug 933567 - Clean up Mask implementation a bit. r=mattwoodrow 2013-11-25 09:22:33 -05:00
Kevin Simons
d65723b99c Bug 933567 - Implement MaskSurface for Skia. r=mattwoodrow 2013-11-25 09:20:56 -05:00
Andreas Gal
afef97f6ae Bug 934297 - Remove snapping support from Moz2D. r=mattwoodrow 2013-11-03 15:06:12 -08:00
Andreas Gal
30d020981d Bug 933030 - Eliminate thebes use from CanvasRenderingContext2D.cpp r=mattwoodrow 2013-11-03 08:28:30 -08:00
James Willcox
31af00dfd4 Bug 927254 - Purge SkiaGL texture cache on memory pressure r=gwright
--HG--
extra : rebase_source : 960582a88532e752c2bcc4bbcdf0899eb0cbe3b8
2013-11-01 08:52:06 -05:00
Andreas Gal
9a464b3340 Bug 933584 - Implement OptimizeSourceSurface for skia. r=mattwoodrow 2013-11-01 09:13:36 -04:00
Wes Kocher
800ac7346c Backed out changeset 428bea088d2b (bug 927254) for build bustage 2013-10-31 20:47:49 -07:00
James Willcox
a8d7ae2208 Bug 927254 - Purge SkiaGL texture cache on memory pressure r=gwright
--HG--
extra : rebase_source : 0b6c68c129319c96ad3056ab7b6321c04c7fbcb5
2013-10-31 10:45:41 -05:00
Andreas Gal
78d8372907 Bug 929299 - Fix DrawTargetSkia to not copy and render in place. r=gwright 2013-10-31 22:48:46 -04:00
George Wright
e4943a763f Bug 920160 - Add prefs for SkiaGL cache size r=snorp
--HG--
extra : rebase_source : 410192610d7311dead4132d2fee8fbd3fe062951
2013-10-22 14:15:24 -05:00
George Wright
10193a209f Bug 915145 - Always use soft clipping with Skia r=snorp 2013-10-08 15:05:57 -04:00
David Zbarsky
9acc4166bf [Bug 914955] Fix build warnings in Moz2D r=bas 2013-09-15 14:23:51 -04:00
James Willcox
c2779b4f41 Bug 850263 - Use reasonable SkiaGL cache size and share between instances r=mattwoodrow
--HG--
extra : rebase_source : 11a2e5ce90a693abdac91d5ca1308aaed3a29403
2013-08-28 10:08:10 -04:00
Jeff Muizelaar
ecae027e49 Bug 897532. Add support for better filtering in Azure. r=bas
This fixes the quality regression on OS X.

--HG--
extra : rebase_source : f045caa95800d05098ea49e05fe90fc933f8849f
2013-07-31 14:46:25 -04:00
Matt Brubeck
c53520d691 Back out d10581fd8202 (bug 897532) on suspicion of causing intermittent pgo-only Metro crashes 2013-08-08 14:58:00 -07:00
Jeff Muizelaar
949f85802a Bug 897532. Add support for better filtering in Azure. r=bas
This fixes the quality regression on OS X.

--HG--
extra : rebase_source : afbf0c332c23933096fa97a022698dc992908c12
2013-07-31 14:46:25 -04:00
Matt Woodrow
25906e852f Bug 881634 - Only use a single snapshot with DrawTargetSkia. r=Bas 2013-08-01 21:12:16 -04:00
Wes Kocher
f304825fbc Backed out 6 changesets (bug 900133, bug 881634, bug 893302) for build bustage
Backed out changeset 49632bc14e27 (bug 900133)
Backed out changeset 036780fccc89 (bug 900133)
Backed out changeset b8db58f5e209 (bug 893302)
Backed out changeset 67c3e4204e44 (bug 893302)
Backed out changeset a857a4246dd9 (bug 900133)
Backed out changeset e0e2e27af6c1 (bug 881634)
2013-08-02 20:35:39 -07:00
Matt Woodrow
0eff0999b8 Bug 881634 - Only use a single snapshot with DrawTargetSkia. r=Bas 2013-08-01 21:12:16 -04:00
James Willcox
019945aae0 Bug 895036 - Lower the SkiaGL texture cache size r=gwright 2013-07-09 16:12:49 -04:00
James Willcox
23ccf56611 Bug 885632 - Always use soft clipping with SkiaGL r=mattwoodrow 2013-06-21 15:28:10 -04:00
James Willcox
a9ed9eaf16 Bug 887927 - Hold a ref to DrawTargetSkia within SourceSurfaceSkia r=mattwoodrow 2013-06-28 22:59:19 -04:00
Benoit Jacob
61388fa881 Bug 875218 - Fix all the Skia leaks! By avoiding addref'ing a second time the GrGLInterface and GrContext r=mattwoodrow 2013-06-17 13:45:04 -04:00
Benoit Jacob
f0a1c91ea8 Bug 875218 - Refactor the ownership model under DrawTargetSkia, so that DrawTargetSkia now owns a GLContext, and the only reference that the Skia GrGLInterface gets to the non-Skia world is a pointer back to the DrawTargetSkia r=mattwoodrow 2013-06-16 22:07:18 -04:00
George Wright
6c6f1ec95a Bug 869178 - Use SkCanvas::drawBitmapRect instead of a bitmap SkShader; it's slightly faster r=snorp 2012-11-15 19:57:40 -05:00
George Wright
18f4f04c76 Bug 736276 - Rename ScaledFontFreeType to ScaledFontCairo, and use Skia's API to create an SkTypeface from a cairo_scaled_font_t r=jrmuizel 2013-06-05 13:48:59 -04:00
George Wright
dc4ca76cb2 Bug 875218 - Ensure the GrContext's lifetime is managed properly by DrawTargetSkia r=bjacob 2013-05-29 14:04:25 -04:00
George Wright
fadeba4d82 Bug 848491 - Update DrawTarget and gfxPlatform to use the new Skia APIs r=mattwoodrow 2013-04-09 15:57:22 -04:00
James Willcox
0d335d769a Bug 854556 - Only hold SkCanvas in DrawTargetSkia r=mattwoodword 2013-05-29 12:49:40 -04:00
George Wright
0940cffd4b Bug 849253 - Make SkiaGL a build-time option independent of Skia, and disable it on PPC[64] r=mattwoodrow 2013-03-13 19:29:47 -04:00
George Wright
3acf70f12b [PATCH 7/9] Bug 751418 - Add support for the Skia/GL backend to DrawTargetSkia r=mattwoodrow
From 0792589a5679ba3af020708233bacbd83a0c611e Mon Sep 17 00:00:00 2001
---
 gfx/2d/DrawTargetSkia.cpp | 24 ++++++++++++++++++++++++
 gfx/2d/DrawTargetSkia.h   |  4 ++++
 gfx/2d/HelpersSkia.h      | 20 ++++++++++++++++++++
 3 files changed, 48 insertions(+)
2012-11-30 18:57:38 -05:00
George Wright
cf706b0313 Bug 751418 - Move common functions from DrawTargetSkia to HelpersSkia r=mattwoodrow 2012-10-16 17:16:45 -04:00
Andrew Quartey
24a0485f96 Bug 793201 - Fix compiler warnings in Azure with MSVC r=bas 2012-09-28 13:21:40 -04:00
George Wright
323359d051 Bug 777614 - Handle BGRX SourceSurfaces in Skia by converting them to BGRA r=nrc 2012-09-18 15:41:37 -04:00
George Wright
6a0058a6d0 Bug 777614 - Use Skia's Conical gradient shader instead of Radial to be in line with the canvas spec. r=nrc 2012-09-18 15:41:37 -04:00
Joe Drew
d8748ac877 Bug 782416 - Switch from NULL to nullptr in gfx::2d. r=Bas
--HG--
extra : rebase_source : cfa9fc8ae592880e22e1f14cee42539b4f911668
2012-08-14 14:06:12 -04:00
Joe Drew
0375708f8e Back out 98d2c24ce932 for failing to build r=moron 2012-08-15 12:51:33 -04:00
Joe Drew
f072936338 Bug 782416 - Switch from NULL to nullptr in gfx::2d. r=Bas
--HG--
extra : rebase_source : 9b12a2af4c55f4dc383e8075b400e7a1fbe1ac23
2012-08-14 14:06:12 -04:00
George Wright
2656b05f5e Bug 774728 - Do a null pointer check before using any gradient shaders in DrawTargetSkia r=mattwoodrow
--HG--
extra : rebase_source : 7db2d28692a3cd9cccbd542ca752950f5df90511
2012-07-25 20:11:17 -04:00
Nicholas Cameron
2a39d6cdd8 Bug 761890 (was 746883); bug fixing Skia fonts; r=gw280 2012-04-26 10:04:35 +12:00
Matt Brubeck
72ef8c96fc Back out bug 761890, bug 746896, and bug 759036 because of reftest failures
--HG--
extra : rebase_source : b5bdad8a69eab8e9ba35d21637c0bbcb18bce703
2012-06-11 22:50:31 -07:00
Nicholas Cameron
ed4d4e45c3 Bug 761890 (was 746883); bug fixing Skia fonts; r=gw280
--HG--
extra : rebase_source : 89b3501dad46f0c1284107afe906869548623992
2012-04-26 10:04:35 +12:00
George Wright
9dcb1bb771 Bug 761201 - Trigger Skia's RGB565 blitter fast path by using SrcOver instead of Src. r=jrmuizel 2012-05-31 14:56:33 -04:00
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Matt Woodrow
721e5429cc Bug 719776: Kill some external dependencies inside Azure code. r=Bas 2012-03-05 13:12:15 +13:00
Bas Schouten
c098f1f9b2 Bug 736134 - Part 1: Add GlyphRenderingOptions API to Azure. r=jrmuizel 2012-03-19 19:20:17 +00:00
Matt Woodrow
196bdab913 Bug 716415 - Enable soft clipping with Skia in Azure. r=gwright 2012-01-19 17:48:35 +13:00