Commit Graph

125 Commits

Author SHA1 Message Date
Markus Stange
4dd0b54e56 Bug 944579 - Refuse to create gigantic DrawTargets and surfaces. r=Bas 2014-01-17 11:06:17 +01:00
Ryan VanderMeulen
1f794625e7 Backed out changeset aa8e746be488 (bug 944579) for bustage. 2014-01-16 11:41:40 -05:00
Markus Stange
6dd5ffa031 Bug 944579. r=Bas 2014-01-16 11:21:13 -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
Andreas Pehrson
7f21292f53 Bug 877115 - Add factory method for DataSourceSurfaces with custom stride. r=bas 2013-12-19 10:31:07 -05:00
Andreas Gal
3e26a09044 Bug 946541 - Fix Skia cache purging. r=gw280 2013-12-04 23:52:03 -05:00
Bas Schouten
cafe3ad489 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
d62fb3a54e Bug 936446 - Only define HasCPUIDBit on 32-bit platforms; r=jrmuizel 2013-11-08 18:00:21 -05:00
Bas Schouten
0b3209d44f Bug 934287: Add size and for data DrawTarget creation functions. r=mattwoodrow 2013-11-04 00:57:36 +01:00
James Willcox
cbe2959306 Bug 927254 - Purge SkiaGL texture cache on memory pressure r=gwright 2013-11-01 08:52:06 -05:00
Robert O'Callahan
fc0b8f080a Bug 924679. Part 4: Add Factory::CreateSourceSurfaceForCairoSurface. r=mattwoodrow 2013-10-25 23:25:40 +02:00
George Wright
df8b036b19 Bug 920160 - Add prefs for SkiaGL cache size r=snorp 2013-10-22 14:15:24 -05:00
Matt Woodrow
a4c7dbce29 Bug 893824 - Don't allow 0 sized SourceSurfaces with Moz2D. r=jrmuizel 2013-07-15 13:28:04 -04:00
Nicolas Silva
a2b5c6070d Bug 892505 - Implement gfx::Factory::CreateDataSourceSurface. r=bas 2013-07-17 16:07:44 +02:00
Bas Schouten
c53d35a554 Bug 883004 - Part 3: Add Direct2D 1.1 backend to Moz2D. r=jrmuizel 2013-07-17 14:12:22 +02:00
Jeff Muizelaar
99d98c8f82 Bug 891660. Add support for Azure on Mac with OMTC. r=mattwoodrow
This is not the best approach but it works for now.  We basically pull the cg
context from gfxASurface and wrap a DrawTarget around it. In the end we'll need
to plumb the DrawTarget through more.
2013-07-09 21:02:41 -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
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
George Wright
c4971191e0 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
35ddd04009 [PATCH 8/9] Bug 751418 - Plumb through GL-backed CanvasLayers for Skia/GL r=mattwoodrow
From ac18dd134e69cc734dc6a9e16498e43207de4e9a Mon Sep 17 00:00:00 2001
---
 content/canvas/src/CanvasRenderingContext2D.cpp | 42 +++++++++++++++++++++++--
 content/canvas/src/CanvasRenderingContext2D.h   |  5 +++
 gfx/2d/2D.h                                     |  8 +++++
 gfx/2d/Factory.cpp                              | 10 ++++++
 gfx/thebes/gfxPlatform.cpp                      | 34 ++++++++++++++++++++
 gfx/thebes/gfxPlatform.h                        | 12 +++++++
 6 files changed, 109 insertions(+), 2 deletions(-)
2012-11-30 18:58:00 -05:00
Daniel Holbert
cdf21f0ff6 Bug 839257: Mark Factory.cpp's HasCPUIDBit() as inline, to fix build warnings on some configurations about the function being defined but not used. r=Bas 2013-02-17 00:45:10 -08:00
Brian R. Bondy
2afb1f34a0 Bug 793719 - Fix for D2D error on shutdown with VS2012. r=bas 2012-11-25 14:00:31 -05:00
Nathan Froyd
cb4c9c2a0d Bug 806618 - rewrite PR_NewLogModule calls to not generate static initializers; r=ehsan 2012-10-29 19:32:10 -04:00
Bas Schouten
fc084ef730 Bug 792207 - Part 5: Add code to Azure to allow initializing recording. r=jrmuizel 2012-09-24 15:02:50 +00:00
Bas Schouten
e236eb9e7a Bug 792207 - Part 3: Add UserData to ScaledFont. r=jrmuizel 2012-09-24 15:02:49 +00:00
Bas Schouten
64f1570a6f Bug 790222: Fix azure stand-alone build. r=BenWa 2012-09-11 13:51:39 +00:00
Joe Drew
3f0afe00d0 Bug 782416 - Switch from NULL to nullptr in gfx::2d. r=Bas 2012-08-14 14:06:12 -04:00
Joe Drew
0a4da78c18 Back out 98d2c24ce932 for failing to build r=moron 2012-08-15 12:51:33 -04:00
Joe Drew
123b07964c Bug 782416 - Switch from NULL to nullptr in gfx::2d. r=Bas 2012-08-14 14:06:12 -04:00
Benoit Girard
d0141bb4a3 Bug 724666 - Part 2: Add CGIOSurfaceContext to azure. r=jmuizelaar 2012-07-31 11:17:43 -04:00
Nicolas Silva
385b95cda7 Bug 775226 - Support CreateDrawTargetForData with Azure's CoreGraphics backend, r=jrmuizel 2012-07-26 14:06:23 -04:00
Anthony Jones
7a29c2a62b Bug 761895; Fixed Azure/Cairo canvas font support on gtk and android. r=karl 2012-07-24 22:18:39 +12:00
Nicholas Cameron
a2fbd8f927 Bug 764125; pass around the size of a gfxASurface when creating a DrawTarget. r=Bas 2012-07-24 22:18:38 +12:00
Nicholas Cameron
78660e3506 Bug 764125; small Windows Cairo text fix. r=Bas 2012-07-24 22:18:38 +12:00
Nicholas Cameron
3c9935e75a Back out bug 746883, bug 764125, bug 761895, bug 746883, bug 748116 2012-07-26 18:48:24 +12:00
Anthony Jones
fdbc437aa7 Bug 761895; Fixed Azure/Cairo canvas font support on gtk and android. r=karl 2012-07-24 22:18:39 +12:00
Nicholas Cameron
7ec9ac4fc5 Bug 764125; pass around the size of a gfxASurface when creating a DrawTarget. r=Bas 2012-07-24 22:18:38 +12:00
Nicholas Cameron
c48e1a224c Bug 764125; small Windows Cairo text fix. r=Bas 2012-07-24 22:18:38 +12:00
Bas Schouten
6930c37ad7 Bug 738189 - Followup: Properly move functions into #ifdef. r=bustage 2012-06-21 00:32:52 +02:00
Bas Schouten
7a413a89c7 Bug 738189: Add memory reporting for Azure VRAM usage. r=jrmuizel 2012-06-20 23:41:16 +02:00
Nicholas Cameron
94ce4c3920 Bug 752380. Refactor gfxFont out of Azure. r=Bas 2012-05-17 10:30:10 +12:00
Bas Schouten
956d41fcdd Bug 756767 - Part 1: Simplify SourceSurfaceD2D and add DataSourceSurface support. r=jrmuizel 2012-05-21 17:27:30 +02:00
Ed Morley
44e4c7a72d Backout a693c64dc64e (bug 715768), c520957cc03f & 713ed280a80d (bug 756767), 20cb25a8b8ba (bug 756454), f3b5ad2320cb (bug 756424) for crashes 2012-05-21 18:56:46 +01:00
Bas Schouten
b2eb0b34bc Bug 756767 - Part 1: Simplify SourceSurfaceD2D and add DataSourceSurface support. r=jrmuizel 2012-05-21 17:27:30 +02:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Makoto Kato
63a96fa648 Bug 753772 - [VC8 (SeaMonkey)] gfx/2d/Factory.cpp compilation fails since bug 732985 landed. r=bas 2012-05-16 17:40:51 +09:00
Bas Schouten
11ecfced6b Bug 732985 - Part 1: Add image scaling code to Azure. r=jrmuizel 2012-05-10 06:31:14 +02:00
Bas Schouten
54b40721c2 Backout bug 732985(f453201647a1,ca29dc47986a,f0ca5eb320c4,94ffc045ba89). 2012-05-08 04:58:37 +02:00