Commit Graph

91 Commits

Author SHA1 Message Date
zhoubcfan
7e5658fbee 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
2ae2942f4b 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
87a7c1550f 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
b33c0b3b70 Bug 992491: Add DrawTargetTiled for redirecting drawing to multiple tiles. r=mattwoodrow 2014-06-11 19:53:02 +00:00
Matt Woodrow
8b44365ba0 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
e901f54132 Bug 970007 Fix incorrect colorformat when using CairoSurface, r=gal 2014-04-15 11:46:31 +08:00
James Willcox
108a4757be 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
b9ee929f4c Backed out changeset a0827d7c8a02 (bug 981621) 2014-03-26 15:14:57 +00:00
James Willcox
146bae5aff 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
39bceadc21 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
f435a42cd8 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
a774349143 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
df0c006a7c 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
095c305910 Bug 974314 - Fix memleak in CreateDrawTargetForData when backend is skia. r=gal 2014-02-19 11:37:26 -05:00
Ehsan Akhgari
dc28f1ce88 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
7b82ee95c1 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
b6bdce4d8e Bug 944579 - Refuse to create gigantic DrawTargets and surfaces. r=Bas 2014-01-17 11:06:17 +01:00
Ryan VanderMeulen
781c2427f6 Backed out changeset aa8e746be488 (bug 944579) for bustage. 2014-01-16 11:41:40 -05:00
Markus Stange
f4043e78a7 Bug 944579. r=Bas 2014-01-16 11:21:13 -05:00
Benoit Jacob
d73dfad4ba 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
300f4ba3a9 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
7c766323a3 Bug 877115 - Add factory method for DataSourceSurfaces with custom stride. r=bas 2013-12-19 10:31:07 -05:00
Andreas Gal
28fb485602 Bug 946541 - Fix Skia cache purging. r=gw280 2013-12-04 23:52:03 -05:00
Bas Schouten
d24aad8e90 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
e292c13f5d 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
a47a04180d Bug 934287: Add size and for data DrawTarget creation functions. r=mattwoodrow 2013-11-04 00:57:36 +01: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
Robert O'Callahan
2a8665e0e6 Bug 924679. Part 4: Add Factory::CreateSourceSurfaceForCairoSurface. r=mattwoodrow
--HG--
extra : rebase_source : 0c9187e8b9597e47e9d0d63d6da757db9a8c8a5c
2013-10-25 23:25:40 +02: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
Matt Woodrow
82f9ee14d2 Bug 893824 - Don't allow 0 sized SourceSurfaces with Moz2D. r=jrmuizel
--HG--
extra : rebase_source : dc5e18fe96966a86cbb3b2fbaa508247cbe73142
2013-07-15 13:28:04 -04:00
Nicolas Silva
4251e90afe Bug 892505 - Implement gfx::Factory::CreateDataSourceSurface. r=bas 2013-07-17 16:07:44 +02:00
Bas Schouten
9f559af1e2 Bug 883004 - Part 3: Add Direct2D 1.1 backend to Moz2D. r=jrmuizel 2013-07-17 14:12:22 +02:00
Jeff Muizelaar
d4c95018cd 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.

--HG--
rename : dom/ipc/PTabContext.ipdlh => dom/ipc/PContent.ipdl
extra : rebase_source : 49eac0354864ae9f2e7434b8b1efacc37d69fc23
2013-07-09 21:02:41 -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
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
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
956f0960a4 [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
7e0d47c24b 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
19fd7aceb1 Bug 793719 - Fix for D2D error on shutdown with VS2012. r=bas 2012-11-25 14:00:31 -05:00
Nathan Froyd
f9b2a74082 Bug 806618 - rewrite PR_NewLogModule calls to not generate static initializers; r=ehsan 2012-10-29 19:32:10 -04:00
Bas Schouten
f879626948 Bug 792207 - Part 5: Add code to Azure to allow initializing recording. r=jrmuizel 2012-09-24 15:02:50 +00:00
Bas Schouten
32bb90c285 Bug 792207 - Part 3: Add UserData to ScaledFont. r=jrmuizel 2012-09-24 15:02:49 +00:00
Bas Schouten
c93c7afc69 Bug 790222: Fix azure stand-alone build. r=BenWa 2012-09-11 13:51:39 +00: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
Benoit Girard
1283cbb069 Bug 724666 - Part 2: Add CGIOSurfaceContext to azure. r=jmuizelaar 2012-07-31 11:17:43 -04:00
Nicolas Silva
ac9c907a9b Bug 775226 - Support CreateDrawTargetForData with Azure's CoreGraphics backend, r=jrmuizel 2012-07-26 14:06:23 -04:00
Anthony Jones
4f689acacc Bug 761895; Fixed Azure/Cairo canvas font support on gtk and android. r=karl 2012-07-24 22:18:39 +12:00