Lee Salzman
f9d4573bec
Bug 1082598 - Part 2: Fix Moz2D Skia usage for Skia update. r=jrmuizel
2015-12-18 13:53:25 -05:00
Wes Kocher
6ebc8a4b00
Backed out 10 changesets (bug 1082598) for 2d.path.arcTo.shape.curve1.html failures on OSX
...
Backed out changeset 018c2a3031f4 (bug 1082598)
Backed out changeset 8f60e42aca2e (bug 1082598)
Backed out changeset c4297c82165f (bug 1082598)
Backed out changeset c22c1bfd091a (bug 1082598)
Backed out changeset 8754fd718869 (bug 1082598)
Backed out changeset da976e4cd253 (bug 1082598)
Backed out changeset 3c8f87df8c68 (bug 1082598)
Backed out changeset 3183d30eb549 (bug 1082598)
Backed out changeset c239a7bc6cba (bug 1082598)
Backed out changeset aa3805015270 (bug 1082598)
--HG--
extra : commitid : LJSl0Bo8Hqr
2015-12-17 14:30:50 -08:00
Lee Salzman
6239163dbb
Bug 1082598 - Part 2: Fix Moz2D Skia usage for Skia update. r=jrmuizel
2015-12-17 14:45:44 -05:00
Lee Salzman
d75fbddd08
Bug 1223740 - enforce max surface size for DrawTargetSkia. r=bas
2015-11-19 13:35:31 -05:00
Lee Salzman
f15be30759
Bug 1188462 - Fix inclusion of skia headers to use correct directory prefixes. r=jrmuizel
2015-07-29 16:31:40 -04:00
Birunthan Mohanathas
a8939590de
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
Nathan Froyd
974d8120f2
Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan
...
This conversion was done with the script:
find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl' | \
egrep -v 'cairo-win32-refptr.h|RefPtr.h|TestRefPtr.cpp' | \
xargs sed -i -e 's/mozilla::TemporaryRef</already_AddRefed</g' \
-e 's/TemporaryRef</already_AddRefed</g'
Manual fixups were performed in the following instances:
- We handled mfbt/RefPtr.h manually so as to not convert TemporaryRef itself
into already_AddRefed.
- The following files had explicit Move() calls added to make up for the lack
of a copy constructor on already_AddRefed:
dom/base/ImageEncoder.cpp
dom/media/MediaTaskQueue.{h,cpp}
dom/media/webaudio/PannerNode.cpp
- A redundant overload for MediaTaskQueue::Dispatch was deleted.
- A few manual fixups were required in mfbt/tests/TestRefPtr.cpp.
- Comments, using declarations, and forward declarations relating to
TemporaryRef in dom/canvas/ and gfx/layers/ were changed to refer to
already_AddRefed.
2015-06-17 10:00:52 -04:00
Carsten "Tomcat" Book
6838712a26
Backed out changeset af2af798ad8f (bug 1165710) for OS X 10.6 crashes
2015-05-26 09:00:19 +02:00
Matt Woodrow
1dada312ad
Bug 1165710 - Make DrawTargetSkia own its snapshot instead of the other way around. r=gw280
...
--HG--
extra : rebase_source : 3183fae0715d29a6ebc6eaa5f649a222cc0d4470
2015-05-26 15:10:25 +12:00
Markus Stange
6d1154e100
Bug 1160789 - Make DrawTargetSkia support subpixel antialiasing for text. r=jrmuizel
...
--HG--
extra : rebase_source : e9b2808120831abbe6fba630b1a5bd0263583d18
2015-05-04 13:23:54 -04:00
Lee Salzman
e38cad0b37
Bug 1127752 - fixes for using Skia and OMTC with GTK3. r=jrmuizel
2015-05-13 11:54:17 +09:00
Ehsan Akhgari
883849ee32
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Ehsan Akhgari
ffb386847f
Bug 1118419 - Mark virtual overridden functions as MOZ_OVERRIDE in graphics; r=jrmuizel
2015-01-07 10:09:17 -05:00
George Wright
2131560b58
[PATCH 15/15] Bug 1017113 - Use RefPtrSkia instead of SkRefPtr as it no longer exists. r=mattwoodrow
2014-08-06 12:01:44 -04:00
Jonathan Watt
11950fdff5
Bug 1027763, part 4 - Add a new DrawTarget::GetType() method and three generic type enum values for it to return. r=Bas, r=jrmuizel
2014-06-27 10:17:49 +01:00
Jonathan Watt
28a408b329
Bug 1027763, part 1 - Rename DrawTarget::GetType() to DrawTarget::GetBackendType() in Moz2D code. r=Bas
2014-06-19 21:35:33 +01:00
Matt Woodrow
0c71819122
Bug 1011865 - Create optimized source surfaces when skia-gl is enabled since we want to cache the GPU texture. r=gw280
2014-05-23 17:09:34 +12:00
Jonathan Watt
1aa51ae65a
Bug 996673 - Stop using |#pragma once| in Moz2D headers. r=Bas
2014-04-16 17:17:22 +01:00
James Willcox
83c16f28e8
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
9ba6fe2dd0
Backed out changeset a0827d7c8a02 (bug 981621)
2014-03-26 15:14:57 +00:00
James Willcox
41af8c05dd
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
dfee0058ef
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
Ehsan Akhgari
e1b60f2947
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
8d647a6ec0
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
91032a3dca
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
Ehsan Akhgari
5643b79842
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
ee9a1556e5
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
Benoit Jacob
f447d87c57
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
ccaa35314d
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 Gal
62ef63ce40
Bug 946541 - Fix Skia cache purging. r=gw280
2013-12-04 23:52:03 -05:00
Bas Schouten
a7185ffe65
Bug 924102 - Use FilterNodeSoftware for filter drawing in DrawTargetSkia. r=mstange
2013-11-27 12:25:28 +01:00
Andreas Gal
f3a2bc3a94
Bug 933567 - Clean up Mask implementation a bit. r=mattwoodrow
2013-11-25 09:22:33 -05:00
Kevin Simons
b95c755355
Bug 933567 - Implement MaskSurface for Skia. r=mattwoodrow
2013-11-25 09:20:56 -05:00
James Willcox
f44cfbba54
Bug 927254 - Purge SkiaGL texture cache on memory pressure r=gwright
...
--HG--
extra : rebase_source : 960582a88532e752c2bcc4bbcdf0899eb0cbe3b8
2013-11-01 08:52:06 -05:00
George Wright
ecae0e66b7
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
3e594cd47b
Bug 915145 - Always use soft clipping with Skia r=snorp
2013-10-08 15:05:57 -04:00
James Willcox
387dd0d446
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
Matt Woodrow
47aaa7c4a1
Bug 881634 - Only use a single snapshot with DrawTargetSkia. r=Bas
2013-08-01 21:12:16 -04:00
Wes Kocher
67614e96b8
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
efa3e6d5de
Bug 881634 - Only use a single snapshot with DrawTargetSkia. r=Bas
2013-08-01 21:12:16 -04:00
James Willcox
4e4bee4669
Bug 885632 - Always use soft clipping with SkiaGL r=mattwoodrow
2013-06-21 15:28:10 -04:00
Benoit Jacob
aa62cf2418
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
2647d72fc9
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
df877b614e
Bug 875218 - Ensure the GrContext's lifetime is managed properly by DrawTargetSkia r=bjacob
2013-05-29 14:04:25 -04:00
Bas Schouten
28ede182a7
Bug 887916: Implement recording for MaskSurface calls. r=jrmuizel
2013-06-27 20:20:30 +00:00
James Willcox
e96260d704
Bug 854556 - Only hold SkCanvas in DrawTargetSkia r=mattwoodword
2013-05-29 12:49:40 -04:00
George Wright
b48b6ce203
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
64496fbfb2
[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
Matt Joras
aae7d1c44d
Bug 798033 - Removes "using namespace" directive from gfx headers - r=jmuizelaar
2012-10-25 16:12:59 -04:00
Benoit Jacob
96865bc6d7
back out 621cfd13ceaf for build failures
2012-10-15 13:34:42 -04:00