Mats Palmgren
60ccae9fe3
Bug 817574 - Replace NS_ABS with std::abs. r=roc
2012-12-04 13:33:33 +01:00
Mats Palmgren
a8536927f1
Bug 817459 - Include mozilla/mozalloc.h when needed to avoid link errors. r=tbsaunde
2012-12-03 20:53:27 +01:00
Trevor Saunders
10f6d4b56d
bug 801466 - part 2 remove usage of prmem in gfx/ r=jmuizelaar
2012-12-02 15:33:59 -05:00
Nicholas Nethercote
0a76089154
Bug 711901 - When possible, measure, don't compute, the size of imgFrame::mImageSurface. r=joedrew.
...
--HG--
extra : rebase_source : 72dc61c2618166262ec6d83778d7bd2a3a7b5d61
2012-11-26 16:29:56 -08:00
Oleg Romashin
962c7d9b70
Bug 814979 - Fennec build fails with Mer SDK: invalid inclusion of GLXLibrary.h. r=glandium,mattwoodrow
2012-11-26 00:08:22 -08:00
Brian R. Bondy
317076c311
Bug 793719 - Fix for D2D error on shutdown with VS2012. r=bas
2012-11-25 14:00:31 -05:00
Bas Schouten
bf4c845d16
Bug 814101: Respect system-wide cleartype setting. r=jrmuizel,jfkthame
2012-11-23 02:53:12 +01:00
Chris Lord
11a5503d3c
Bug 783368 - Add a pref to control low precision tile rendering. r=bgirard
...
Add pref 'layers.low-precision-buffer', enabled on mobile/android.
2012-11-21 22:34:20 +00:00
Chris Lord
221843e04f
Bug 783368 - Disable ReusableTileStoreOGL by default. r=blassey
...
Add layers.reuse-invalid-tiles to control use of the reusable tile store and
disable it by default.
2012-11-21 22:34:19 +00:00
Ehsan Akhgari
abcfaa316e
Backed out 11 changesets (bug 783368) because of build bustage on a CLOSED TREE
...
Backed out changeset 2bc4310263c4 (bug 783368)
Backed out changeset a35c83a8d99d (bug 783368)
Backed out changeset afb9b2a661ba (bug 783368)
Backed out changeset 3926f510f9be (bug 783368)
Backed out changeset 9d1fe200ff87 (bug 783368)
Backed out changeset b6e4f88f5730 (bug 783368)
Backed out changeset bc53f7dba7c6 (bug 783368)
Backed out changeset 1948fa2fccc1 (bug 783368)
Backed out changeset 9af163388fd1 (bug 783368)
Backed out changeset 7a2256e1aa7c (bug 783368)
Backed out changeset 4da1958a9885 (bug 783368)
2012-11-21 14:57:02 -05:00
Chris Lord
9ec8b6a2e5
Bug 783368 - Add a pref to control low precision tile rendering. r=bgirard
...
Add pref 'layers.low-precision-buffer', enabled on mobile/android.
2012-11-21 19:16:53 +00:00
Chris Lord
53df955001
Bug 783368 - Disable ReusableTileStoreOGL by default. r=blassey
...
Add layers.reuse-invalid-tiles to control use of the reusable tile store and
disable it by default.
2012-11-21 19:16:52 +00:00
Justin Lebar
87d10b80f8
Bug 812957 - Follow-up: Replace void\n* with void*\n. r=oops DONTBUILD
2012-11-19 23:14:14 -05:00
Nicholas Nethercote
531f2b1bb2
Bug 812957 - Add memory reporter for Freetype. r=karlt,jlebar
2012-11-19 22:00:19 -05:00
Jeff Muizelaar
dc0080366e
Bug 813071. Remove unncessary AOSP License block. r=gerv
...
This code is the same as the public domain code at
"Bit Twiddling Hacks"
--HG--
extra : rebase_source : 813c7bec84250227bee13a51e2f2ca23c628055b
2012-11-19 13:27:41 -05:00
Jonathan Kew
aabc57a9d0
bug 811312 - part 2 - fold CGFontEntry subclass into MacOSFontEntry. r=jdaggett
2012-11-19 10:22:10 +00:00
Jonathan Kew
ca87de67d9
bug 811312 - part 1 - remove the ATSFontEntry class (not needed on 10.6 and later). r=jdaggett
2012-11-19 10:01:43 +00:00
Ryan VanderMeulen
bd692e864a
Backed out changeset 224fe2a12a04 (bug 779029) for Windows reftest failures.
2012-11-15 21:34:14 -05:00
Bas Schouten
4a93ce1d26
Bug 779029: Try to respect EXTEND_NONE when masking. r=jrmuizel
2012-11-16 00:30:08 +00:00
Jeff Muizelaar
dd29583933
Bug 809603. Simplify border radius drawing. r=roc
...
This adds a RoundedRect class that we use to do the offsetting. This class can
probably also be used elsewhere. With this patch we handle the Gmail checkboxes
in a single draw instead of in pieces like we currently do.
--HG--
extra : rebase_source : 8809f12b386eef2ce7364fb98e681fba343efdfe
2012-11-12 17:55:26 -08:00
Brendan Dahl
6172f2923b
Bug 791466 - Fix direct write cairo scaled font. r=Bas
2012-11-12 11:35:49 -08:00
Justin Lebar
8c64b0474c
Bug 802366 - The main event: Let a browser process inherit its app's id. r=bz,cjones
...
The main bug fixed here is that in half of our interfaces, we use "is browser frame/element" to mean "browser or app", and in the other half, we use it to mean "is browser not app".
There's a related, functional bug also fixed here, which is that a browser process doesn't inherit its parent's app-id. This causes problems e.g. for IndexedDB: If a browser inside an app uses IndexedDB, the DB should have the app's app-id.
I also modified Tab{Parent,Child} and nsFrameLoader to call "app" "ownOrContainingApp", to emphasize that we might have inherited the app from a parent process. I left nsIDocShell::appId alone, because changing that would have necessitated changing nsILoadGroup and therefore a /lot/ of users in Necko; it's also not clear it would have clarified anything in those cases.
2012-11-10 10:32:37 -08:00
Ryan VanderMeulen
f774dcd8ba
Backed out 12 changesets (bug 806127, bug 802366, bug 806168) for Windows build bustage.
...
--HG--
rename : dom/indexedDB/test/webapp_clearBrowserData.js => dom/indexedDB/test/test_webapp_clearBrowserData.html
2012-11-09 20:14:40 -05:00
Justin Lebar
19b287d268
Bug 802366 - The main event: Let a browser process inherit its app's id. r=bz,cjones
...
The main bug fixed here is that in half of our interfaces, we use "is browser frame/element" to mean "browser or app", and in the other half, we use it to mean "is browser not app".
There's a related, functional bug also fixed here, which is that a browser process doesn't inherit its parent's app-id. This causes problems e.g. for IndexedDB: If a browser inside an app uses IndexedDB, the DB should have the app's app-id.
I also modified Tab{Parent,Child} and nsFrameLoader to call "app" "ownOrContainingApp", to emphasize that we might have inherited the app from a parent process. I left nsIDocShell::appId alone, because changing that would have necessitated changing nsILoadGroup and therefore a /lot/ of users in Necko; it's also not clear it would have clarified anything in those cases.
2012-11-09 16:37:39 -08:00
Brian R. Bondy
d0195c204d
Bug 797013 - CheckInterfaceSupport fails on some hardware in metrofx. Do not rely on it. r=bas
2012-11-08 21:34:44 -05:00
Benoit Girard
a678c602e4
Bug 794337 - Properly alias canvas image data when using Quartz compositing. r=jrmuizel
...
--HG--
extra : rebase_source : fb4c0e1a9bac0ac1cf54ddc23c66756060bbfdab
2012-11-02 16:24:37 -04:00
Matt Woodrow
b5b0a2f7d2
Bug 808469 - Use gfxQuartzSurface for OMTC drawing on mac. r=cjones
2012-11-07 19:56:56 +13:00
Matt Woodrow
7ce4642106
Bug 808469 - Make gfxSharedImageSurface take a template parameter for the base surface type. r=cjones
...
--HG--
rename : gfx/thebes/gfxSharedImageSurface.cpp => gfx/thebes/gfxBaseSharedMemorySurface.cpp
rename : gfx/thebes/gfxSharedImageSurface.h => gfx/thebes/gfxBaseSharedMemorySurface.h
2012-11-07 19:56:54 +13:00
Ryan VanderMeulen
68411cd612
Backout c3933841e06e (bug 793013) for possible Win7 reftest failures.
2012-11-06 21:27:09 -05:00
Tobias Schneider
d0adae1591
Bug 803124 - Implement mozIsPointInStroke. r=jmuizelaar
2012-10-29 16:54:53 +01:00
Anthony Jones
e5496d02ad
Bug 793013 - Use EnumSet in gfxPlatform instead of 1 << n. r=ncameron
2012-11-06 18:23:13 -05:00
Anthony Jones
d8dd408030
Bug 793013 - Remove unnecessary whitespace.
2012-11-06 18:23:13 -05:00
Jeff Gilbert
5434073b70
Bug 797120 - GLContext::CanUploadNonPowerOfTwo() should not call AddBoolVarCache() when off the main thread. r=bjacob
2012-11-07 11:39:38 +13:00
Jonathan Kew
f20b79de6f
bug 808288 - render missing glyphs as hexboxes in <canvas> text. r=bas
2012-11-04 10:51:03 +00:00
Ed Morley
0e0ca5c163
Backout 5eec0a5b76ff, 64e143317082 & f356d9b2524c (bug 808288) for reftest failures
2012-11-04 00:53:06 +00:00
Jonathan Kew
6f943e5171
bug 808288 - part 3 - draw missing-glyph hexboxes for <canvas> text, similar to missing glyphs in HTML text. r=bas
2012-11-03 23:01:33 +00:00
Andrew Quartey
96949afbbf
Bug 792581 - part 23: Replace LL_INIT and LL_UDIVMOD macros. r=ehsan
2012-11-01 20:57:25 -04:00
Brad Lassey
9c0b46bcb3
bug 798826 - crash in gfxFT2FontList::FindFonts @ mozilla::scache::StartupCache::WaitOnWriteThread, speculative null check r=jfkthame
2012-11-01 09:31:58 -04:00
Jeff Muizelaar
82d19c2b98
Bug 805689. Don't copy when we don't need subpixel AA. r=mwoodrow
...
Avoid copying the background for subpixel AA when we aren't using
subpixel AA rendering.
2012-10-31 22:12:26 -04:00
Karl Tomlinson
46e02a3103
b=797568 destroy GLXPixmap on Finish r=roc
...
--HG--
extra : transplant_source : 5%969%9A%B7%97%B2%EC%15%CA%7FPSWP%26Y%9DS%AE
2012-10-31 15:54:20 +13:00
Jonathan Kew
7dd037cec8
bug 806059 - make gfxQuartzNativeDrawing aware of backing scale factor when rendering native widgets. r=smichaud
2012-10-29 09:22:30 +00:00
Nathan Froyd
bd55a07f0e
Bug 806618 - rewrite PR_NewLogModule calls to not generate static initializers; r=ehsan
2012-10-29 19:32:10 -04:00
Jacek Szpot
0b35b0e3d8
Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan
2012-10-26 15:32:10 +02:00
Matt Woodrow
9e53224e2a
Bug 775228. r=joe
2012-10-25 12:04:41 +13:00
Bas Schouten
0424bd6075
Bug 758531: DWrite fonts create mScaledFont on demand. This causes GetCairoScaledFont to return NULL. This subsequently caused the surface to go into an error status which caused the CreateSimilar call to fail for that surface. This patch properly uses the call which will create the cairo_scaled_font_t if it's not there yet. r=jrmuizel
2012-10-23 02:26:27 +02:00
Mats Palmgren
8b20f6f589
Bug 798853, gfx. r=roc
2012-10-22 15:53:31 +02:00
Jonathan Kew
dcaf7cf48c
bug 772640 - fix for incorrect glyph positioning in multi-glyph RTL clusters generated by Graphite shaping. r=jdaggett
2012-10-22 08:47:03 +01:00
Jonathan Kew
aa64548679
bug 803483 - opentype script support no longer dependent on OS X version. r=jdaggett
2012-10-22 08:47:01 +01:00
Isaac Aggrey
cbb17fe7b2
Bug 794510: Part 2: Use more stdint types instead of protypes.h types; r=ehsan
2012-10-11 18:38:04 -05:00
Aryeh Gregor
c441de2073
Bug 802069 - Make "macintosh" the canonical name of its encoding, not "x-mac-roman"; r=smontagu
...
--HG--
rename : intl/uconv/tests/unit/test_decode_x_mac_roman.js => intl/uconv/tests/unit/test_decode_macintosh.js
rename : intl/uconv/tests/unit/test_encode_x_mac_roman.js => intl/uconv/tests/unit/test_encode_macintosh.js
2012-10-17 12:15:23 +02:00
Matt Woodrow
219b2444d2
Bug 802321 - Use FuzzyEquals to compare matrices in LayerTreeInvalidation. r=roc
2012-10-17 21:00:00 +13:00
Matthew Gregan
ae0fb47c0a
Bug 789075 - Handle odd sized WebM video frames correctly. r=derf
2012-10-16 16:03:43 +13:00
Nicholas Cameron
a18fe5707c
Bug 734668; remove Thebes canvas. r=roc
...
--HG--
extra : rebase_source : 57b08c33f72cd611deb30dc1639060a719747849
2012-10-12 22:42:51 +13:00
Trevor Saunders
3d3592cd63
bug 798595 - remove useless prmem.h includes r=ehsan
2012-10-04 02:14:06 -04:00
Jan Beich
a4184f72db
Bug 799813 - Qt/Linux needs GetGLXPixmap() after bug 788042. r=karlt
2012-10-10 21:11:15 -04:00
Ed Morley
635a9dc318
Backout 2231b8e778a3 (bug 715658) for errors linking on Windows
2012-10-10 12:15:30 +01:00
Uli Schlachter
d202fcc2be
Bug 722975 - --enable-system-cairo build is broken after Bug 715658 fixed. r=Bas
2012-10-10 06:32:36 -04:00
Jonathan Kew
02be153e3c
Bug 799062 - eliminate "warning: '&&' within '||'" messages in gfxFont.cpp. r=bas
2012-10-09 13:11:20 +01:00
Anthony Jones
d5ea80a29b
Bug 793923 - Fixed gfxPlatform to use gfx.content.azure.backends properly. r=ncameron,roc
...
--HG--
extra : rebase_source : 2aecac9b17cb570a87ad34bb7680847db7a8f457
2012-10-09 11:45:35 +02:00
Bas Schouten
9a051b11bb
Bug 793175: Discard a cached SourceSurface if it was created for the wrong BackendType. r=jrmuizel
2012-10-08 15:44:36 +13:00
Bas Schouten
44668f09e1
Backed out changeset 41b5180cf6af DONTBUILD
2012-10-08 12:56:00 +02:00
Bas Schouten
6ed2f53443
Bug 793175: Discard a cached SourceSurface if it was created for the wrong BackendType. r=jrmuizel
2012-10-08 15:44:36 +13:00
Ed Morley
dd4f031bed
Backout 6c89d2b6ea4b (bug 793175) on suspicion of somehow causing Win7 opt permaorange in browser_updatessl.js and friends
2012-10-08 10:31:57 +01:00
Bas Schouten
e71634c8d3
Bug 793175: Discard a cached SourceSurface if it was created for the wrong BackendType. r=jrmuizel
...
--HG--
extra : rebase_source : b94e3deb2ba3cf7d461ebc25588c7ea45361b521
2012-10-08 15:44:36 +13:00
Ehsan Akhgari
c284b98070
Bug 579517 follow-up: Remove NSPR types that crept in
2012-10-07 18:26:08 -04:00
Andrew Quartey
b92e443462
Bug 792581 - part 9: Replace LL_ADD with mathematical plus operator. r=ehsan
2012-10-05 01:05:27 -04:00
Benoit Girard
8aed17295d
Bug 724666 - Add pref for accelerated canvas on mac. r=jrmuizel
2012-07-31 18:48:40 -04:00
Bas Schouten
7629abbddd
Bug 797797: Get the new device offset after pushing the new DT. r=roc
2012-10-04 14:54:57 +02:00
Jacek Caban
aa89fc6296
Bug 797316 - Fix -Werror=conversion-null errors in Windows-only code (gfx/thebes part) r=jmuizelaar
...
--HG--
extra : rebase_source : 10b01cfa84204603779619bda3dc612af93303a4
2012-10-04 10:35:15 +02:00
Ryan VanderMeulen
c0d8585b0b
Backout 0cd12dcf7f8f, 5ff5e81e6de6, and 0ae09da96f63 (bug 740580) due to bug 797391.
2012-10-03 22:13:14 -04:00
Brad Lassey
1139702006
bug 785291 - Add support to load fonts from an APK, extract fonts from APK r=jfkthame
2012-10-03 12:29:10 -07:00
Brad Lassey
8e39cb742a
bug 785291 - Add support to load fonts from an APK, search for fonts in res/fonts r=jfkthame
2012-10-03 12:28:43 -07:00
Jonathan Kew
8be661e839
bug 619521 pt 2 - load fonts from the current profile as well as the Android system fonts. r=jdagget
2012-10-03 12:27:25 -07:00
Bas Schouten
7c85289823
Bug 797231: Don't overwrite mPathTransform if the transform already changed. r=joedrew
2012-10-03 20:18:23 +02:00
Bas Schouten
85309b3382
Bug 797314: Only push one group and ensure all of the background gets copied in PushGroupAndCopyBackground. r=joedrew
2012-10-03 20:18:19 +02:00
Andrew Quartey
9eed719a44
Bug 792581 - part 1: Replace LL_IS_ZERO macro with standard relation. r=ehsan
2012-10-03 10:13:18 -04:00
George Wright
950c2e8a90
Bug 740580 - Add support for Azure DrawTargets to BasicLayers. r=Bas
2012-10-02 22:09:12 -04:00
George Wright
e17c78352f
Bug 740580 - Make GetShmInfoPtr() a static method on the gfxSharedImageSurface class. r=Bas
2012-10-02 22:09:12 -04:00
Bas Schouten
e62cedfe1d
Bug 778367: Minimize intermediate surface size. r=jrmuizel
2012-09-27 23:00:51 +02:00
Bas Schouten
49d38ee1c9
Bug 776793: Properly create an opaque surface when copying in the background. r=joedrew
2012-10-02 19:18:56 +02:00
Ed Morley
3d3703a920
Merge mozilla-central to mozilla-inbound
2012-10-02 11:19:03 +01:00
Anthony Jones
e464d5aa1b
Bug 793085 - Remove UseAzureContentDrawing() in favour of SupportsAzureContent(). r=ncameron
2012-10-01 22:12:13 -04:00
Phil Ringnalda
b3fe631c41
Back out 024f0c7ca3fc and 9f856ef0f078 (bug 778367) for Windows reftest failures
2012-10-01 17:29:40 -07:00
Bas Schouten
a1f58d74da
Bug 778367 - Part 2: Mark a test fuzzy where DWrite seems to render differently to a smaller surface. r=jrmuizel
2012-10-02 00:00:15 +02:00
Bas Schouten
76ab722f81
Bug 778367 - Part 1: Minimize intermediate surface size. r=jrmuizel
2012-09-27 23:00:51 +02:00
Ms2ger
8c3cbade76
Bug 793314 - Remove PtrBits; r=mounir,roc
2012-10-02 10:24:11 +02:00
Tatiana Meshkova
dcadb6368a
Bug 486918. Part 2: Add the ability to pre-downscale using a high-quality scaler on a separate thread. r=joe,jlebar
2012-04-03 14:57:22 -07:00
Ms2ger
1bd0a8f6e7
Merge backout.
2012-10-01 14:16:20 +02:00
Ms2ger
a72f8370a2
Bug 795862 - Back out bug 486918 for build bustage in unreviewed code.
2012-10-01 14:16:03 +02:00
Masayuki Nakano
3cce608d33
Bug 791953 Fix lossy conversion warning in gfxFont.h r=jfkthame
2012-10-01 19:32:31 +09:00
Tatiana Meshkova
ebd8a29749
Bug 486918. Part 2: Add the ability to pre-downscale using a high-quality scaler on a separate thread. r=joe,jlebar
2012-04-03 14:57:22 -07:00
Ed Morley
722b933229
Backout 92530b29ac24, 42e659956dc6 & 38277196c099 (bug 486918), d3b69fe15ac3 & b2dba2108722 (bug 786444), e7381ac9e30a (bug 786449) on suspicion of causing Android reftest failures on a CLOSED TREE
2012-09-28 23:00:28 +01:00
Ehsan Akhgari
1d1ec4e105
Bug 793408 - Remove some prtypes.h #includes from gfx; r=jrmuizel
2012-09-28 14:56:27 -04:00
Andrew Quartey
f55a37c1ba
Bug 793201 - Fix compiler warnings in Azure with MSVC r=bas
2012-09-28 13:21:40 -04:00
Tatiana Meshkova
50ec738dc1
Bug 486918. Part 2: Add the ability to pre-downscale using a high-quality scaler on a separate thread. r=joe,jlebar
...
--HG--
extra : rebase_source : fa22f42c832ae57b8e221ee03c68a45d33a929d3
2012-04-03 14:57:22 -07:00
Isaac Aggrey
997db4d142
Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan
2012-09-28 01:57:33 -05:00
Matt Woodrow
5a14809d04
Bug 539356 - Part 9f - Compute the invalid area of the layer tree and pass this to the widget. r=roc
2012-08-29 17:47:18 +12:00
Bas Schouten
2b1d28599c
Backout 73ffe71f9d12 (bug 778367) for windows test bustage on a CLOSED TREE
2012-09-28 02:03:20 +02:00
Phil Ringnalda
fd1e5a6cf0
Back out 519f41fa596f (bug 793408) for Windows build bustage on a CLOSED TREE
2012-09-27 14:38:23 -07:00
Bas Schouten
2fcfaedbb6
Bug 778367: Minimize intermediate surface size. r=jrmuizel
2012-09-27 23:00:51 +02:00
Ehsan Akhgari
7c8cbb6a5f
Bug 793408 - Remove some prtypes.h #includes from gfx; r=jrmuizel
2012-09-22 11:34:22 -04:00
Ed Morley
c863356300
Revert mozilla-inbound to e4dd1fa6d222 for crashes and test failures on a CLOSED TREE
2012-09-27 16:34:46 +01:00
Ehsan Akhgari
52ace62039
Backout changeset 24f4f77fba76 (bug 793408) because of broken builds on a CLOSED TREE
2012-09-27 10:24:08 -04:00
Ehsan Akhgari
823f39644b
Bug 793408 - Remove some prtypes.h #includes from gfx; r=jrmuizel
2012-09-22 11:34:22 -04:00
Matt Woodrow
c73c0db2f1
Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt
2012-08-29 17:38:58 +12:00
Isaac Aggrey
b33410feb2
Bug 789847 - Remove PR_CALLBACK usage from tree
2012-09-25 11:18:38 -05:00
Robert O'Callahan
7e36696064
Bug 792641. Clear mContext and mImageSurface to try to clean them up before we delete their underlying data buffer. r=jrmuizel
...
mBlur creates and owns an A8 data buffer that we pass to mImageSurface,
targeted by mContext.
Sometimes, when we remove the last reference to mContext cairo wants to
take a snapshot copy of the data buffer. If this happens after we've
deleted mBlur in ~gfxAlphaBoxBlur, we may crash due to the data
buffer having been deleted already.
A partial solution is to clear mContext and mImageSurface to force
those snapshots to be taken before deleting mBlur. This is only a
partial solution since in principle the client of gfxAlphaBoxBlur
may have kept mContext alive with its own reference. In practice
we don't do that though.
A complete solution would require making the data buffer be owned
by mImageSurface, either directly or indirectly.
2012-09-26 21:27:40 +12:00
Mike Hommey
fb05de0176
Bug 793634 - Force builds to be compatible with gtk 2.18/glib 2.22. r=karlt
2012-09-25 14:47:18 +02:00
Bas Schouten
5acda0d600
Bug 792207 - Part 6: Add simple code allow enabling browser recording. r=jrmuizel
2012-09-24 15:02:50 +00:00
Bas Schouten
608b6fc192
Bug 792207 - Part 4: Add Azure recording code. r=jrmuizel
2012-09-24 15:02:50 +00:00
Bas Schouten
cf4260a23c
Bug 792207 - Part 1: Retain ScaledFont objects for gfxFonts. r=jrmuizel
2012-09-24 15:02:49 +00:00
Robert O'Callahan
65d7a8ceec
Bug 772726. Part 15: Change check for Azure content drawing to handle cases where Azure is preffed on but isn't being used. r=nrc
2012-09-12 17:30:25 +12:00
Robert O'Callahan
7efeb9262e
Bug 772726. Part 14: Nudge pattern transform components to integers to avoid rounding errors. Also nudge rects to integers when we retransform them due to a CTM change. r=bas
2012-09-08 00:32:21 +12:00
Robert O'Callahan
13041e1a84
Bug 772726. Part 13: Fix handling of transforms in gfxTextObjectPaint. r=eflores,jwatt
...
gfxTextObjectPaint::GetFillPattern/GetStrokePattern should take the destination's CTM
as a parameter in order to set up the pattern matrix correctly, since the pattern matrix
is combined with the CTM by cairo/Thebes --- but we want the pattern rendering to be
independendt of the CTM, instead depending only on the TM set up when we initialized
the gfxTextObjectPaint.
We make SVGTextObjectPaint store matrices that map device space to pattern space.
2012-09-12 17:13:12 +12:00
Robert O'Callahan
58aea04535
Bug 772726. Part 8: Add Rect::NudgeToIntegers and share improved nudging code among all nudging APIs. r=bas
2012-09-12 17:24:09 +12:00
Robert O'Callahan
ff8935ad31
Bug 772726. Part 6: Add NudgeToIntegers operation to Azure Matrix, add MultiplyAndNudgeToIntegers to gfxContext, and call it from SVG when we render path geometry, to ensure that small internal rounding errors in transforms don't cause unnecessary differences in rasterization of paths. r=bas
2012-09-05 12:15:52 +12:00
Robert O'Callahan
493af8ee41
Bug 792329. Set correct Azure content backend mask bit on Windows. r=nrc
2012-09-20 02:10:46 +12:00
Ehsan Akhgari
b5c39afb4e
Bug 792502 - Kill the FunctionTimer code; r=vlad
2012-09-19 16:59:38 -04:00
Robert O'Callahan
901195649f
Bug 777194. Part 7: Add gfx3DMatrix::NudgeToIntegers. r=bas
2012-08-25 16:41:46 +12:00
Robert O'Callahan
6fae74f2aa
Bug 777194. Part 0: Add gfxPoint::WithinEpsilonOf. r=jrmuizel
2012-08-17 11:38:59 +12:00
Koosha Khajeh Moogahi
8d39310f18
Bug 788242: Implement and make use of void versions of NS_ENSURE_* macros; r=ehsan,bsmedberg
2012-09-14 14:30:31 +04:30
Anthony Jones
50b33c52d2
Bug 789367 - Add content preference for GTK platform; r=nrc
2012-09-16 20:23:00 -07:00
Phil Ringnalda
0500299d26
Back out 9805ecdb8f66 (bug 789367) on suspicion of breaking the build
2012-09-16 17:59:25 -07:00
Anthony Jones
7ed9310eb6
Bug 789367 - Add content preference for GTK platform. r=nrc
2012-09-16 20:20:16 -04:00
Makoto Kato
d5c93adaee
Bug 785321 - Replace PRUptrdiff with uintptr_t, prtdiff_t or etc; r=ehsan,jrmuizel
2012-09-14 16:09:52 -04:00
David Anderson
7b438ddde2
Merge IonMonkey to mozilla-central. a=arewefastyet
...
--HG--
rename : content/base/src/nsWebSocket.cpp => content/base/src/WebSocket.cpp
rename : content/base/src/nsWebSocket.h => content/base/src/WebSocket.h
2012-09-11 10:25:14 -07:00
Andrew Quartey
4dfe24cbaf
Bug 607075 - Fix logic in gfxWindowsPlatform::UpdateRenderMode r=bjacob
2012-09-10 23:35:25 -04:00
David Anderson
24145fc9a1
Merge from mozilla-central.
2012-09-10 12:16:38 -07:00
David Anderson
b0a287cfcc
Merge from mozilla-central.
2012-09-07 15:17:11 -07:00
L. David Baron
ff3df34b87
Rename nsIPresShell::InitialReflow to Initialize since it doesn't actually perform reflow. (Bug 788956) r=roc
2012-09-06 21:16:09 -07:00
David Anderson
6c5722e35b
Merge from mozilla-central.
2012-09-06 18:28:59 -07:00
David Anderson
043ddae94a
Merge from mozilla-central.
...
--HG--
rename : js/jsd/jsd_scpt.c => js/jsd/jsd_scpt.cpp
rename : js/jsd/jsd_stak.c => js/jsd/jsd_stak.cpp
rename : js/jsd/jsd_val.c => js/jsd/jsd_val.cpp
2012-09-05 16:18:11 -07:00
David Anderson
6b403f94c2
Merge from mozilla-central.
...
--HG--
rename : content/base/public/nsIFrameMessageManager.idl => content/base/public/nsIMessageManager.idl
2012-08-29 17:51:24 -07:00
Andrew Quartey
f51538ccc9
Bug 761155 - Extend Mesa LLVMpipe Preference to GLX r=bjacob
2012-09-06 20:16:30 -04:00
Luqman Aden
46d1c6ded1
Bug 714937 - Replace GFX_PACKED_PIXEL with an inline function. r=jrmuizel
2012-09-06 01:31:29 -04:00
Ehsan Akhgari
08bfa558c1
Backout changeset 25fd2119c8e1 (bug 714937) for possible orange
2012-09-06 18:51:02 -04:00
Luqman Aden
8abf3c5145
Bug 714937 - Replace GFX_PACKED_PIXEL with an inline function. r=jrmuizel
2012-09-06 01:31:29 -04:00
David Anderson
188c88907e
Merge from mozilla-central.
2012-08-22 16:09:24 -07:00
David Anderson
1ef4c57410
Merge from mozilla-central.
2012-08-21 15:59:12 -07:00
David Zbarsky
fbb04700b6
Bug 784004 - Don't include Layers.h everywhere Part 3 r=nical
2012-08-21 00:06:46 -04:00
David Anderson
6fe112e8bf
Merge from mozilla-central.
2012-08-15 14:22:26 -07:00
David Anderson
7ef28ac5ac
Merge from mozilla-central.
2012-08-13 13:40:42 -07:00
Honza Bambas
541453729c
Bug 215450: Allow uploading of files greater than 2gb in size. Involves making input streams 64-bit capable. Significant work done by Makoto Kato, finished by Honza Bambas. r=hbambas,bsmedberg,jdrew,sicking
2012-08-10 22:44:11 -04:00
David Anderson
b620fb6c5c
Merge from mozilla-central.
2012-08-09 13:41:13 -07:00
David Anderson
c9ca5124db
Merge from mozilla-central.
2012-08-08 15:09:49 -07:00
Ehsan Akhgari
2795937cf4
Bug 579517 - Part 4: Manually rewrite some parts of the code base not covered by the automated conversion; r=bsmedberg
2012-08-22 11:59:54 -04:00
Ehsan Akhgari
0fd9123eac
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-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 PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
David Anderson
3ffd33a2cb
Merge from mozilla-central.
2012-08-07 15:13:28 -07:00
Anthony Jones
0836e3642b
Bug 781731 - Fix Azure Cairo GTK perf by removing xlib to buffered image conversion. r=mattwoodrow
2012-09-02 19:07:05 -04:00
David Anderson
9c45c01c55
Merge from mozilla-central.
...
--HG--
rename : layout/base/nsFrameTraversal.cpp => layout/base/nsFrameIterator.cpp
rename : layout/base/nsFrameTraversal.h => layout/base/nsFrameIterator.h
rename : browser/modules/WebappsInstaller.jsm => toolkit/webapps/WebappsInstaller.jsm
2012-08-06 12:44:06 -07:00
Jonathan Kew
1024b2c567
bug 780409 - updates to thebes harfbuzz integration for hb api changes. r=jdaggett
2012-08-06 11:42:20 +01:00
Aryeh Gregor
5a68b81a9b
Bug 783523 - Fix platform-specific nsresult misuse; r=ehsan,tbsaunde,smaug
2012-08-16 14:58:11 +03:00
Edwin Flores
02666f50da
Bug 719286 - Fix SVG glyphs to work with Azure r=roc
2012-09-06 16:58:47 +12:00
Edwin Flores
947ebe27b2
Bug 719286 - Implement GetFontTable for downloaded fonts in linux r=karl
2012-09-06 16:58:47 +12:00
Edwin Flores
824a6c3acd
Bug 719286 - Support new OpenType-in-SVG table format r=roc
2012-09-06 16:58:47 +12:00
Edwin Flores
8e909b227f
Bug 719286 - Use -moz-objectValue keywords in SVG glyphs r=roc
2012-09-06 16:58:47 +12:00
Edwin Flores
44ac7386ef
Bug 719286 - Add support for -moz-objectFillOpacity and -moz-objectStrokeOpacity to SVG *-opacity fields in SVG glyphs r=roc
2012-09-06 16:58:47 +12:00
Edwin Flores
06c8be815b
Bug 719286 - Include SVG glyphs when calculating glyph extents r=jfkthame
2012-09-06 16:58:46 +12:00
Edwin Flores
263bc0954e
Bug 719286 - Fixed some SVG glyphs not rendering properly r=jwatt
2012-09-06 16:58:46 +12:00
Edwin Flores
43c1f6c245
Bug 719286 - Setup gfxTextObjectPaint wrapper for SVG glyphs to inherit outer text object paint r=roc
2012-09-06 16:58:46 +12:00
Edwin Flores
67581ebf40
Bug 719286 - Add new gfxTextObjectPaint paint wrapper for use with SVG glyphs r=roc
2012-09-06 16:58:46 +12:00
Edwin Flores
fe9a9803ab
Bug 719286 - Basic OpenType SVG functionality r=roc
2012-09-06 16:57:54 +12:00
Edwin Flores
310c3fff02
Bug 719286 - Extend gfxFontUtils::MapCharToGlyph to accept variation selectors r=roc
2012-09-06 16:57:01 +12:00
David Anderson
ef13f46623
Merge from mozilla-central.
2012-08-02 13:47:20 -07:00
Cameron McCormack
8ca4399553
Bug 655877 - Part 25: Give gfxTextRuns the ability to invoke a callback after painting glyphs and partial ligatures. r=roc
2012-08-08 21:37:12 +10:00
David Anderson
bee6a61001
Merge.
...
--HG--
rename : content/base/src/nsGenericElement.h => content/base/public/FragmentOrElement.h
rename : content/base/src/nsGenericElement.cpp => content/base/src/FragmentOrElement.cpp
rename : gfx/thebes/nsCoreAnimationSupport.mm => gfx/2d/QuartzSupport.mm
2012-08-01 11:30:00 -07:00
David Anderson
9929d37fcc
Merge from mozilla-central.
2012-07-31 17:19:41 -07:00
Nicholas Cameron
db90500fee
Back out bug 779001, bug 746883, bug 778595, bug 776803, bug 7118849
2012-07-31 18:17:23 +12:00
Nicholas Cameron
cacd72e824
Bug 779001. Falling back to Cairo for large canvases. r=roc
2012-07-31 13:46:05 +12:00
Nicholas Cameron
12480ec1e9
Bug 776802; Give better info about Azure. r=Bas
2012-07-31 13:45:59 +12:00
David Anderson
644c651c3e
Merge from mozilla-central.
2012-07-30 13:15:39 -07:00
Aryeh Gregor
e806eeab4f
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
David Anderson
88ed1ce560
Merge from mozilla-central.
2012-07-26 18:19:02 -07:00
David Anderson
83c5be4f84
Merge from mozilla-central.
2012-07-25 14:30:08 -07:00
David Anderson
5fc5a16b63
Merge from mozilla-central.
2012-07-24 16:32:08 -07:00
Ryan VanderMeulen
f2cb0a5ef9
Merge m-c to inbound.
2012-08-01 16:34:02 -04:00
Oleg Romashin
7ead6501fb
Bug 778184 - Add GetScreenDepth API for Qt gfx platform port. r=me,dougt NPODB
2012-08-01 12:00:24 -07:00
Nicholas Cameron
beca46170b
Bug 779001. Falling back to Cairo for large canvases. r=roc
2012-07-31 19:57:28 +12:00
Nicholas Cameron
9f4ddcf0fb
Bug 776802; Give better info about Azure. r=Bas
2012-07-31 18:30:10 +12:00
David Anderson
10352157a6
Merge from mozilla-central.
2012-07-23 12:37:49 -07:00
Daniel Holbert
fbf9a0e9ff
Bug 780680: Remove never-read variable 'prevGlyphCharIndex' from gfxHarfBuzzShaper::SetGlyphsFromRun(). r=jfkthame
2012-08-06 13:34:38 -07:00
Sergey Glushchenko
970c894833
Bug 776429: Unify scattered M_PI definitions into mfbt/Constants.h r=dRdR
2012-08-06 13:32:11 -07:00
Matt Woodrow
b2fd923dac
Bug 539356 - Part 23 - Fix MovePixels crash when our surface is in an error state. r=jrmuizel
2012-07-23 15:00:37 +12:00
David Anderson
180cbd4d9d
Merge from mozilla-central.
2012-07-19 14:34:36 -07:00
David Anderson
921bd834c9
Merge from mozilla-central.
...
--HG--
rename : js/xpconnect/wrappers/CrossOriginWrapper.cpp => js/xpconnect/wrappers/WaiveXrayWrapper.cpp
rename : js/xpconnect/wrappers/CrossOriginWrapper.h => js/xpconnect/wrappers/WaiveXrayWrapper.h
2012-07-18 19:02:32 -07:00
Nicholas Cameron
f94f86a078
Bug 780392; Make ScaledFontDWrite inherit from ScaledFontBase. r=bas
...
--HG--
extra : rebase_source : 83ffee7d64f1ecdfa15b8cf96024c27fdf00c29b
2012-08-09 08:17:04 +12:00
ku.b@gmx.de
69919c6184
Bug 709732 - double color correction with X Color Management
2012-07-18 21:09:13 -04:00
Jonathan Kew
ca01c7a551
bug 769475 - incorrect font used for italicized Arabic text when font-family is Arial or Times New Roman. r=smontagu
2012-07-23 03:48:26 -04:00
Randell Jesup
eedf93a21d
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
David Anderson
c36e0f89e0
Merge from mozilla-central.
2012-07-13 19:50:02 -07:00
Ms2ger
0a56bc3482
Bug 776142 - Back out bug 687267 / changeset 8571114112b2 on a CLOSED TREE.
2012-07-22 14:02:18 +02:00
David Anderson
b93d6b9c04
Merge from mozilla-central.
2012-07-12 13:23:26 -07:00
David Anderson
56d1e29054
Merge from mozilla-central.
...
--HG--
rename : editor/libeditor/base/DeleteElementTxn.cpp => editor/libeditor/base/DeleteNodeTxn.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicBuffers.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicBuffers.h
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicCanvasLayer.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicColorLayer.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicContainerLayer.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicContainerLayer.h
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicImageLayer.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicLayerManager.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicLayersImpl.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicLayersImpl.h
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicThebesLayer.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicThebesLayer.h
rename : js/src/jsobj.cpp => js/src/builtin/Eval.cpp
2012-07-10 19:45:14 -07:00
Ryan VanderMeulen
22a9fed718
Backout a516a86f854d (bug 767064) due to Android M1 orange.
2012-07-09 21:49:50 -04:00
Benoit Girard
be1e81f90f
Bug 724666 - Part 2: Add CGIOSurfaceContext to azure. r=jmuizelaar
2012-07-31 11:17:43 -04:00
Benoit Girard
d38270d473
Bug 724666 - Part 1: Refactor nsCoreAnimation support into azure QuartzSupport. r=jmuizelaar
...
--HG--
rename : gfx/thebes/nsIOSurface.h => gfx/2d/MacIOSurface.h
rename : gfx/thebes/nsCoreAnimationSupport.mm => gfx/2d/QuartzSupport.mm
2012-07-31 11:11:57 -04:00
Joshua Cranmer
4ad48824ad
Bug 702877 - Replace NS_OVERRIDE with MOZ_OVERRIDE. r=ehsan
...
--HG--
extra : rebase_source : 1843575683c3897f96f3966cbce26140ff1a7d90
2012-07-06 13:15:45 -05:00
James Willcox
80029db926
Bug 687267 - Initial support for Flash on Honeycomb r=bgirard,vlad,jgilbert,blassey
2012-07-20 15:20:51 -04:00
Ed Morley
69ac41ee19
Backout 4987ffd173a4 (bug 687267) for bustage
2012-07-23 14:47:54 +01:00
James Willcox
9c75650095
Bug 687267 - Initial support for Flash on Honeycomb r=bgirard,vlad,jgilbert,blassey
...
--HG--
extra : rebase_source : 450055ae3e71ea84f74252d3bf100fe970d29d14
2012-07-20 15:20:51 -04:00