stefanh@inbox.com
13348e25c7
Bug 1280827 - Remove some obsolete OS X version checks in gfx/. r=jrmuizel.
2016-07-10 13:11:33 +02:00
Jonathan Kew
c60f6a1ae4
Bug 1266391 - Introduce an enum class mozilla::unicode::Script, and use this instead of bare integers to specify script codes for better type checking. r=masayuki
2016-04-21 18:58:59 +01:00
Markus Stange
0466d2c67d
Bug 1265568 - Don't require component alpha layers for text with -moz-osx-font-smoothing:grayscale. r=jfkthame,mattwoodrow
...
MozReview-Commit-ID: KujmkbgadPo
--HG--
extra : rebase_source : df1db96206175e846652f3d5b247978fb5005bd2
2016-04-18 19:41:50 -04:00
Masatoshi Kimura
66f8a469ef
Bug 1255973 - Remove redundant overrides from gfxPlatform subclasses. r=jfkthame
2016-03-18 21:43:38 +09:00
Milan Sreckovic
9ca74932b6
Bug 1249640: Part 3 Update Mac to use the new blocking. r=mchang
2016-02-24 10:25:00 +01:00
Sebastian Hengst
38e8f42dfb
Backed out changeset 8151f4102646 (bug 1249640)
2016-02-24 19:01:50 +01:00
Milan Sreckovic
ef6d814a88
Bug 1249640: Part 3 Update Mac to use the new blocking. r=mchang
2016-02-19 14:40:00 +01:00
Milan Sreckovic
c0c9e1c9f0
Bug 1249312: UseAcceleratedCanvas on Mac should really be UseAcceleratedSkiaCanvas. r=mchang
2016-02-18 14:00:53 -05:00
Markus Stange
258bcc1298
Bug 1187322 - Don't require accelerated OpenGL contexts for BasicCompositor on OS X. r=jrmuizel
...
--HG--
extra : commitid : D8wNlw49VVb
extra : rebase_source : f0c93866f09de396e835a2920d5db54efe53ffda
extra : amend_source : 7ed5dda1bd555ecc353137bfc9b00b10992a86a1
2015-12-23 16:22:55 +01:00
John Daggett
b788233f65
Bug 1213280 - fix OSX font selection under 10.11. r=jfkthame
2015-11-20 22:01:12 +09:00
John Daggett
f4458274bd
Bug 543715 p1 - distinguish between italic and oblique. r=jfkthame
2015-10-19 11:16:43 +09:00
Phil Ringnalda
adfbc1f710
Back out 2 changesets (bug 543715) because Mulet is why we can't have nice things
...
Backed out changeset 2d1d8e9b095c (bug 543715)
Backed out changeset bc90276ec090 (bug 543715)
2015-10-18 11:22:22 -07:00
John Daggett
72b6bcd6d6
Bug 543715 p1 - distinguish between italic and oblique. r=jfkthame
2015-10-18 22:17:46 +09:00
John Daggett
1b7d8ac5fd
Bug 1201318 - revise OSX system font handling. r=mstange
...
Rework system font lookup under OSX so that the style system passes around the same "meta" name used by Webkit, -apple-system. This makes it so that the hidden system fonts used aren't exposed to authors. It also allows us to handle the two optical sizes of font families used under OSX 10.11, which uses San Francisco as the new UI font, with one family for text sizes and another for larger, display sizes. The patch here:
- moves system font lookup into gfxMacPlatformFontList
- assigns the font family name to "-apple-system"
- derives FindFamily to take a gfxFontStyle parameter to allow size-based lookups
- maintains a list of hidden system font families (not exposed to authors)
- maintains a mapping from -apple-system to the underlying hidden font families
2015-10-08 15:04:08 +09:00
John Daggett
06366cd453
Bug 1203809 - pass textperf obj into gfxFontGroup constructor. r=m_kato
...
--HG--
extra : rebase_source : c9e9f4765b710937b046941a15e82eaf83c86b03
2015-09-11 13:24:33 +09:00
David Anderson
65475c97d0
Move compositor backend decisions into gfxPlatform. (bug 1179051 part 3, r=mattwoodrow)
...
--HG--
extra : rebase_source : 43cdb0e1b5d464f8d6a0cc7a0b2e36d1b34e8595
2015-07-16 15:18:05 -07: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
Lee Salzman
dfce3fe4ef
Bug 1170390 - Make gfxPlatform::CreateOffscreenSurface use explicit format rather than guess. r=jrmuizel
2015-07-06 21:21:47 -04: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
David Anderson
da020904ab
Show APZ wheel support in about:support on Mac OS X. (bug 1155881, r=mstange)
...
--HG--
extra : rebase_source : 5fdf05418fd70e4a13f17afcf8ca8cc43c5d61d9
2015-04-19 16:12:14 -04: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
Markus Stange
9f8bb48452
Bug 1101635 - Enable tiling on 10.6. r=jrmuizel f=milan
2014-12-19 14:48:33 -05:00
Mason Chang
8840203e64
Bug 1101974. Part 4 - Refactor VsyncSource on OS X. r=mstange
2014-12-18 08:30:06 -08:00
Milan Sreckovic
e181f2a9bf
Bug 1100530 - Clean up OS X version constants. f=jgilbert, r=mstange
2014-11-28 17:28:59 -05:00
Mason Chang
74c80403e2
bug 552020 Part 1: Hook into CVDisplayLink to get vsync events on OSX. r=benwa,mstange
2014-11-18 13:28:42 -08:00
Kartikaya Gupta
e230d54989
Bug 1072093 - Support progressive-paint on OS X 10.7 or later. r=BenWa
2014-11-07 14:17:14 -05:00
Jonathan Kew
87cc3a2642
Bug 727276 - Use emoji-style variation selector to help GetCommonFallbackFonts make an appropriate choice. r=roc
2014-09-30 07:27:55 +01:00
Seth Fowler
7d3ef1ca8c
Bug 1054079 (Part 1) - Add a way to check if it's safe to render content to data surfaces to gfxPlatform. r=mattwoodrow
2014-09-14 15:22:44 -07:00
John Daggett
6f2c0ee7ec
Bug 1062058 part 1 - avoid passing around proxy font entry object. r=heycam
2014-09-08 16:23:19 +09:00
Matt Woodrow
7c3d1c2e1a
Bug 982338 - Disable tiling for OSX 10.6. r=Bas
2014-07-25 12:49:45 +12:00
Phil Ringnalda
e63feb3849
Backed out 8 changesets (bug 982338, bug 1057212, bug 1059033) for build bustage
...
CLOSED TREE
Backed out changeset 4df1bd30364d (bug 982338)
Backed out changeset b68664a02904 (bug 1057212)
Backed out changeset 07b3695aa02f (bug 1059033)
Backed out changeset bb3885b57d48 (bug 1059033)
Backed out changeset 76897f52ac2c (bug 1059033)
Backed out changeset 31e89a2a409f (bug 1059033)
Backed out changeset 8e81f6f74182 (bug 1059033)
Backed out changeset c5bbf22f2f28 (bug 1059033)
2014-09-01 18:07:57 -07:00
Matt Woodrow
f9ac204f27
Bug 982338 - Enable tiling for OSX 10.8. r=Bas
...
--HG--
extra : rebase_source : c55a42c7e47413966cd5d67a3ae2eb65d142c860
2014-07-25 12:49:45 +12:00
Carsten "Tomcat" Book
1e05505fc7
Backed out changeset 7de1b4a42f1c (bug 982338) for OS X Crash Bustage on a CLOSED TREE
2014-09-01 09:58:39 +02:00
Matt Woodrow
14ca0ef931
Bug 982338 - Enable tiling for OSX 10.8. r=Bas
2014-07-25 12:49:45 +12:00
Jonathan Watt
98e3e25338
Bug 1034702 - Remove gfxPlatform::GetThebesSurfaceForDrawTarget(). r=Bas
2014-07-10 10:58:09 +01:00
Benoit Jacob
8f1cf755a9
Bug 774388 - Patch 4: Flatten the way that we track whether we are using OMTC, and move Layers IPC shutdown code back to gfxPlatform (but still triggered by ShutdownXPCOM) - r=nical,sotaro
2014-06-06 09:51:24 -04:00
Jonathan Watt
79946b069e
Bug 1021973, part 2 - Remove gfxPlatformMac/gfxQtPlatform::OptimizeImage(). r=Bas
2014-06-10 19:12:37 +01:00
John Daggett
8259cc74f5
Bug 280443 p3 - use fontlist struct in gfx. r=roc,fredw
2014-06-06 15:09:23 +09:00
Jonathan Watt
dd0a3a7c18
Bug 1019690 - Remove gfxPlatform::CreateOffscreenImageSurface(). r=Bas
...
--HG--
extra : rebase_source : 3c79945a1179d7b7bb128278eae0642156460df0
2014-06-05 01:02:44 +01:00
David Zbarsky
02a20c5e41
Bug 991142 - Remove CreateThebesSurfaceAliasForDrawTarget_hack r=benwa
2014-04-06 19:21:27 -04:00
John Daggett
40a7bf22f9
Bug 975460 - avoid CTFontCopyTable on OSX 10.6 to avoid crash. r=smichaud
2014-03-28 14:40:42 +09:00
Ms2ger
42aa546e2f
Bug 952033 - Part b: Use IntSize in CreateOffscreenSurface; r=roc
2014-02-09 09:04:38 +01:00
guozhu cheng
cf3277421c
Bug 907196 - Split CreateCMSOutputProfile profile loading into GetCMSOutputProfileData. r=BenWa, r=jmuizelaar
2013-11-07 18:20:08 +08:00
Ryan VanderMeulen
5ced299fa2
Backed out changeset ef14be22d6f7 (bug 907196) for Windows bustage.
...
CLOSED TREE
2014-01-13 10:25:52 -05:00
guozhu cheng
46a51e4e02
Bug 907196 - Split CreateCMSOutputProfile profile loading into GetCMSOutputProfileData. r=BenWa, r=jmuizelaar
2013-11-07 18:20:08 +08:00
Isura Edirisinghe
ffae418d41
Bug 676907 - Refactor (replace) calls to Gestalt because it is deprecated in OS X 10.8 and will not work in after 10.9. r=BenWa
2013-12-19 11:42:19 -05:00
Ehsan Akhgari
eff9a278ad
Bug 924221 - Minimize the #includes in gfx/thebes; r=bjacob
...
--HG--
extra : rebase_source : af198eb9b9739ce718ba0d16c385624a722cde51
2013-10-07 19:15:59 -04:00
Benoit Jacob
55d6cf1e20
Bug 913872 - Take nested enums out of gfxASurface - 1/3 : automatic changes - r=jrmuizel
...
Generated by these regexes:
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(ImageFormat\|SurfaceType\|ContentType\|MemoryLocation\)[0-9A-Za-z_]*\)/gfx\1/g'
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(CONTENT_\|MEMORY_\)[0-9A-Za-z_]*\)/GFX_\1/g'
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(CONTENT_COLOR\|CONTENT_ALPHA\|CONTENT_COLOR_ALPHA\|CONTENT_SENTINEL\|MEMORY_IN_PROCESS_HEAP\|MEMORY_IN_PROCESS_NONHEAP\|MEMORY_OUT_OF_PROCESS\)\($\|[^A-Za-z0-9_]\)/\1GFX_\2\3/g'
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(ImageFormatARGB32\|ImageFormatRGB24\|ImageFormatA8\|ImageFormatA1\|ImageFormatRGB16_565\|ImageFormatUnknown\|SurfaceTypeImage\|SurfaceTypePDF\|SurfaceTypePS\|SurfaceTypeXlib\|SurfaceTypeXcb\|SurfaceTypeGlitz\|SurfaceTypeQuartz\|SurfaceTypeWin32\|SurfaceTypeBeOS\|SurfaceTypeDirectFB\|SurfaceTypeSVG\|SurfaceTypeOS2\|SurfaceTypeWin32Printing\|SurfaceTypeQuartzImage\|SurfaceTypeScript\|SurfaceTypeQPainter\|SurfaceTypeRecording\|SurfaceTypeVG\|SurfaceTypeGL\|SurfaceTypeDRM\|SurfaceTypeTee\|SurfaceTypeXML\|SurfaceTypeSkia\|SurfaceTypeSubsurface\|SurfaceTypeD2D\|SurfaceTypeMax\)\($\|[^A-Za-z0-9_]\)/\1gfx\2\3/g'
2013-09-24 16:45:13 -04:00
Josh Aas
76e240d671
Bug 899473 - Remove OS X 10.4 and 10.5 code from gfx. r=jmuizelaar
2013-08-06 17:52:52 -04:00