Commit Graph

135 Commits

Author SHA1 Message Date
George Wright
2207d4b864 [PATCH 3/6] Bug 985217 - Minor changes to gfx/2d for API changes in Skia r=snorp 2014-03-20 14:07:36 -04:00
George Wright
b69de4710e Bug 976184 - Apply a drop shadow image filter to our SkPaint when drawing a surface with a shadow r=mattwoodrow 2014-03-06 16:33:39 -05:00
James Willcox
dbd7710a49 Bug 939276 - Use a single GLContext for all SkiaGL canvases r=jgilbert,vlad,gwright,bjacob 2014-03-05 15:49:37 -06:00
Ehsan Akhgari
f99eb29b59 Bug 935778 - Part 0.6: Add support for MOZ_DECLARE_REFCOUNTED_VIRTUAL_TYPENAME and use it in moz2d
X-Git-Commit-ID: bc256ac44cbba52b04f8f0390965632ec4507608
2014-02-24 08:23:37 -05:00
Wes Kocher
efe2ecb071 Backed out changeset cf6a31bca4e0 (bug 939276) for webgl reftest crash 2014-02-20 15:23:52 -08:00
James Willcox
51a7c02955 Bug 939276 - Use a single GLContext for all SkiaGL canvases r=vlad,gwright,bjacob 2014-02-20 16:20:28 -06:00
George Wright
c7d1dcb536 Bug 910754 - Update gfx/2d's Skia code to use the new Skia APIs r=snorp 2013-12-05 23:01:53 -05:00
George Wright
11b993165d Back out changesets from bug 910754 due to build bustage 2014-02-18 17:54:04 -05:00
George Wright
a8f5d47f80 Bug 910754 - Update gfx/2d's Skia code to use the new Skia APIs r=snorp 2013-12-05 23:01:53 -05:00
Ehsan Akhgari
16c5a334d9 Backed out 2 changesets (bug 939276) because of build bustage
Backed out changeset 1cedc759f877 (bug 939276)
Backed out changeset 61cef3b533ba (bug 939276)
2014-02-14 18:48:05 -05:00
James Willcox
81769a9d59 Bug 939276 - Use a single GLContext for all SkiaGL canvases r=bjacob,gwright,dglastonbury 2014-02-14 15:55:58 -06:00
Peter Chang
a98e2915c4 Bug 956432 - Fix the rounding inside DrawTargetSkia::DrawSurface(), r=gw280 2014-01-15 15:16:39 +08:00
James Kolb
3e9f1ce6ce Bug 603488 part 3: Modified DrawTargetSkia to accept non-skia sourcesurfaces. r=nrc 2014-01-13 13:29:48 +13:00
Benoit Jacob
61c6bc7c4e Bug 958375 - 8/9 - Make remaining Moz2D 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:17 -05:00
Benoit Jacob
84b2cb358d 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
23af944896 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
Benoit Jacob
f634d4797a Bug 958375 - 4/9 - Make SurfaceFormat a typed enum - 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
7a2cb34f70 Bug 958375 - 1/9 - Make SurfaceType a typed enum - 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 13:55:24 -05:00
Kevin Simons
1b8d893b4f Bug 951686 - Set the SkBitmapDevice to opaque for BGRX surfaces. r=gwright 2014-01-06 10:03:55 -05:00
Andreas Gal
3e26a09044 Bug 946541 - Fix Skia cache purging. r=gw280 2013-12-04 23:52:03 -05:00
Kevin Simons
464fbf6f1c 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
39328bf126 Bug 924102 - Use FilterNodeSoftware for filter drawing in DrawTargetSkia. r=mstange 2013-11-27 12:25:28 +01:00
Bas Schouten
5befd1cb76 Bug 924102 - Make DrawTargetSkia::DrawSurface support non-Skia DataSourceSurfaces. r=mstange 2013-11-27 12:25:27 +01:00
Andreas Gal
5538bd7414 Bug 933567 - Clean up Mask implementation a bit. r=mattwoodrow 2013-11-25 09:22:33 -05:00
Kevin Simons
d942dbe20a Bug 933567 - Implement MaskSurface for Skia. r=mattwoodrow 2013-11-25 09:20:56 -05:00
Andreas Gal
8b23213b98 Bug 934297 - Remove snapping support from Moz2D. r=mattwoodrow 2013-11-03 15:06:12 -08:00
Andreas Gal
103121775a Bug 933030 - Eliminate thebes use from CanvasRenderingContext2D.cpp r=mattwoodrow 2013-11-03 08:28:30 -08:00
James Willcox
cbe2959306 Bug 927254 - Purge SkiaGL texture cache on memory pressure r=gwright 2013-11-01 08:52:06 -05:00
Andreas Gal
855bad55e3 Bug 933584 - Implement OptimizeSourceSurface for skia. r=mattwoodrow 2013-11-01 09:13:36 -04:00
Wes Kocher
893d8702fb Backed out changeset 428bea088d2b (bug 927254) for build bustage 2013-10-31 20:47:49 -07:00
James Willcox
9a5c7f7699 Bug 927254 - Purge SkiaGL texture cache on memory pressure r=gwright 2013-10-31 10:45:41 -05:00
Andreas Gal
8df07d13ff Bug 929299 - Fix DrawTargetSkia to not copy and render in place. r=gwright 2013-10-31 22:48:46 -04:00
George Wright
df8b036b19 Bug 920160 - Add prefs for SkiaGL cache size r=snorp 2013-10-22 14:15:24 -05:00
George Wright
9759ff16c1 Bug 915145 - Always use soft clipping with Skia r=snorp 2013-10-08 15:05:57 -04:00
David Zbarsky
ab7bc17904 [Bug 914955] Fix build warnings in Moz2D r=bas 2013-09-15 14:23:51 -04:00
James Willcox
20e22842f4 Bug 850263 - Use reasonable SkiaGL cache size and share between instances r=mattwoodrow 2013-08-28 10:08:10 -04:00
Jeff Muizelaar
3233fa0b5c Bug 897532. Add support for better filtering in Azure. r=bas
This fixes the quality regression on OS X.
2013-07-31 14:46:25 -04:00
Matt Brubeck
625fd6969a Back out d10581fd8202 (bug 897532) on suspicion of causing intermittent pgo-only Metro crashes 2013-08-08 14:58:00 -07:00
Jeff Muizelaar
5d75895e8e Bug 897532. Add support for better filtering in Azure. r=bas
This fixes the quality regression on OS X.
2013-07-31 14:46:25 -04:00
Matt Woodrow
6c114a2b0d Bug 881634 - Only use a single snapshot with DrawTargetSkia. r=Bas 2013-08-01 21:12:16 -04:00
Wes Kocher
55965cdc4b 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
0f291209ab Bug 881634 - Only use a single snapshot with DrawTargetSkia. r=Bas 2013-08-01 21:12:16 -04:00
James Willcox
e76aa62241 Bug 895036 - Lower the SkiaGL texture cache size r=gwright 2013-07-09 16:12:49 -04:00
James Willcox
665a0ecef6 Bug 885632 - Always use soft clipping with SkiaGL r=mattwoodrow 2013-06-21 15:28:10 -04:00
James Willcox
0104794aad Bug 887927 - Hold a ref to DrawTargetSkia within SourceSurfaceSkia r=mattwoodrow 2013-06-28 22:59:19 -04:00
Benoit Jacob
8af467a017 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
1f7e0999fd 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
6a8b2a2bf1 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
4fb9f273c9 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
9b7f711c7d Bug 875218 - Ensure the GrContext's lifetime is managed properly by DrawTargetSkia r=bjacob 2013-05-29 14:04:25 -04:00