Commit Graph

5093 Commits

Author SHA1 Message Date
Oleg Romashin
0ddefb4858 Bug 757933 - Switch nsRegionAllocator to ThreadLocal and avoid extra library call. r=BenWa 2012-05-24 18:36:18 -07:00
Ryan VanderMeulen
20e38de104 Backout 5baac057fc1a (bug 757933) due to red. 2012-05-26 10:03:20 -04:00
Oleg Romashin
e208665b78 Bug 757933 - Switch nsRegionAllocator to ThreadLocal and avoid extra library call. r=BenWa 2012-05-26 09:33:53 -04:00
Mats Palmgren
08ba65e8eb Fix build bustage from rev 24f3dd5529bb (Bug 607417). r=bustage 2012-05-26 13:32:57 +02:00
Chris Lord
063f625ae2 Bug 607417 - Reconcile async scrolling for fixed position layers (part 2). r=ajuma
Part of this patch got lost in a rebase, this completes it.

Untranslate fixed position layers when doing async scrolling so that they don't
jump about as content re-renders them in the correct place.
2012-05-26 11:43:41 +01:00
Takanori MATSUURA
5c9f3f4809 Bug 751521 - Separate pixman detection from cairo. r=glandium 2012-05-26 08:44:00 +02:00
Kan-Ru Chen
4509acf05c Bug 743182 - Use gfxPlatform::OptimalFormatForContent everywhere. r=joedrew 2012-05-26 12:38:17 +08:00
Jeff Muizelaar
1420f5a06f Bug 749976. Reduce the curve tolerance to be closer to skia on mobile. r=bgirard
Skia uses a value of 0.5, however using such a high value causes some reftest failures.
Switch to 0.3 because we can do that without changing the reftests too much. We
can still use a higher value if we need to later. This should give us sqrt(3)
reduction in the number of segments.

--HG--
extra : rebase_source : 39f1892a61f7e242460deb1bc21adb30778147e3
2012-05-25 00:49:54 -04:00
Jonathan Kew
6fdb8cc3f0 bug 758257 - work around broken fonts on android when using cached font list as well as when first reading the list. r=jdaggett 2012-05-25 15:03:42 +01:00
Jeff Muizelaar
45ccd6bd8e Backout 50178ba811f2 because of android reftest failures that I failed to notice on try
--HG--
extra : rebase_source : 51715bce8d1a5359e40055cb4ef16d060a5ef1bd
2012-05-24 23:55:28 -04:00
Phil Ringnalda
133797c58e Back out 8bc719810cd5 (bug 757380) and 3f93e4add42b (bug 757933) for mochitest-4 assertions 2012-05-24 19:56:42 -07:00
Jeff Muizelaar
2cd6775d18 Bug 749976. Reduce the curve tolerance to be closer to skia on mobile. r=bgirard
Skia uses a value of 0.5, however using such a high value causes some reftest failures.
Switch to 0.2 because we can do that without changing the reftests. We can still
use a higher value if we need to later.

--HG--
extra : rebase_source : ffe8491adf978758b816da9d354dee51f4021892
2012-05-24 22:42:31 -04:00
Oleg Romashin
ad11357a1a Bug 757380 - BasicLayers Paint ignore NULL Clip when render with groupTarget. r=bas, r=roc 2012-05-24 18:36:22 -07:00
Oleg Romashin
c215784885 Bug 757933 - Switch nsRegionAllocator to ThreadLocal and avoid extra library call. r=BenWa 2012-05-24 18:36:18 -07:00
Landry Breuil
99fe0a63c6 Bug 752380 - Directly using enums from a namespace (a:🅱️:enum::value) is a c++11 feature, add 'using namespace a::b;' to workaround it. r=Bas 2012-05-24 18:45:10 -04:00
Masatoshi Kimura
b990b2de76 Bug 710693 - Move internal encoding check into nsCharsetAlias. r=smontagu 2012-05-24 18:45:10 -04:00
Benoit Jacob
b6bfe93e21 Bug 758315 - Desktop GL implementation of glGetShaderPrecisionFormat should return precision 23, not 0 - r=jrmuizel 2012-05-24 15:10:49 -04:00
Benoit Girard
8723541a2c Bug 748209 - Fix logic error in CompositorParent::ScheduleTask. r=ajuma
--HG--
extra : rebase_source : 216967a9a94eca09935d5b196ac04b95a6ed418c
2012-05-24 13:34:20 -04:00
Bas Schouten
acc2401ab8 Bug 758120: Block attempts to do manual subpixel-AA on bitmap fonts. r=jfkthame 2012-05-24 17:43:55 +02:00
Jonathan Kew
c4681816b2 bug 757871 - don't generate warnings from FT2FontEntry::GetFontTable during normal control flow. r=jdaggett 2012-05-24 09:16:01 +01:00
Jonathan Kew
0dcbb134ec bug 737315 - use the proxy's name for the FT2 entry when instantiating a downloaded font. r=jdaggett 2012-05-24 09:15:54 +01:00
Jeff Muizelaar
7a3cb894d9 Bug 748816. Set the swap interval to 1 on OS X. r=bgirard
This fixes the tearing we get on OS X with OpenGL layers.
It does cause us to occasionally block waiting for vsync.
This isn't ideal but I think it's better than tearing.
OMTC should help us remove this wait.

--HG--
extra : rebase_source : 97739bb0a1a5094ff92e26f5513558ae389ae560
2012-05-24 00:40:40 -04:00
Ryan VanderMeulen
d0ecc827f3 Backout f987a378672f (bug 757380) due to M4 crashes. 2012-05-23 22:48:39 -04:00
Kartikaya Gupta
01f085c097 Bug 757847 - Use a reference rather than a pointer that is never null. r=ajuma 2012-05-23 21:52:29 -04:00
Kartikaya Gupta
0a9040618b Bug 748384 - Propagate page bounds and CSS page bounds in via compositor. r=Cwiiis,ajuma,mats 2012-05-23 10:51:39 -04:00
Kartikaya Gupta
84ade9c45e Bug 748384 - Update all Java code to keep a page rect and CSS page rect instead of just the page size. r=Cwiiis 2012-05-23 10:49:52 -04:00
Oleg Romashin
e75053b95a Bug 757380 - Check clip before creating group target. r=Bas 2012-05-23 20:56:40 -04:00
Matthew Gregan
be355b004d Bug 744063 - Pass Y' texture size rather than picture size to Nv3DV. r=bas
--HG--
extra : rebase_source : 3a8744b67a9cd8b3f149d0c20fa5e0619b34fe9a
2012-05-24 11:00:26 +12:00
Jonathan Kew
156987c01e bug 747816 - update OTS to upstream r.91 to resolve endianness bug and other fixes. r=emk 2012-05-23 16:59:26 +01:00
Marco Castelluccio
a4d8cc42e2 Bug 754329 - Crash with cairo mutexes enabled. r=joe
--HG--
extra : rebase_source : d2ae2005ebe4b525f44bdf9951f4279af7b34f5e
2012-05-11 23:21:41 +02:00
Kartikaya Gupta
04a457fab1 Bug 748384 - Back out 330e9c52f9ac, 9ba1078559fe, 2ed39c12d792, f53f05ecacd5 for build bustage. r=bustage 2012-05-23 11:08:19 -04:00
Kartikaya Gupta
9db13b7a79 Bug 748384 - Propagate page bounds and CSS page bounds in via compositor. r=Cwiiis,ajuma,mats 2012-05-23 10:51:39 -04:00
Kartikaya Gupta
d7e205e633 Bug 748384 - Update all Java code to keep a page rect and CSS page rect instead of just the page size. r=Cwiiis 2012-05-23 10:49:52 -04:00
Jonathan Kew
91fd7c05b9 Bug 755730 - don't mask out Indic codepoints in OpenType fonts supported by OS X 10.7. r=jdaggett 2012-05-23 14:15:43 +01:00
Chris Lord
ef58dee1cb Bug 607417 - Reconcile async scrolling for fixed position layers. r=ajuma
Untranslate fixed position layers when doing async scrolling so that they don't
jump about as content re-renders them in the correct place.
2012-05-23 09:36:39 +01:00
Robert O'Callahan
ecbab2ff94 Bug 607417. Improve definition of the 'fixed layer' flag. r=tnikkel 2012-05-04 17:00:57 +12:00
Nicholas Cameron
277e41b99e Bug 752380. Refactor gfxFont out of Azure. r=Bas 2012-05-17 10:30:10 +12:00
Nicholas Cameron
a75759c60f Bug 753784; force mask layers to have a single tile - misc bits and pieces. r=roc 2012-05-17 10:30:10 +12:00
Nicholas Cameron
a938e2e825 Bug 753784; allow access to the max texture size from FrameLayerBuilder. r=roc 2012-05-22 19:15:16 -04:00
Nicholas Cameron
9be563af61 Bug 753784; add the ability to force a single tile. r=roc 2012-05-22 19:14:03 -04:00
Benoit Girard
328a35caa4 Bug 752254 - qcms - Prefer precache output curves even if a A2B/B2A CLUT is present. r=jmuizelaar
--HG--
extra : rebase_source : fb5135434d7c7c80656a54e21b6e3b6216210b71
2012-05-22 14:51:29 -04:00
Benoit Girard
4d73f1dfec Bug 681114 - Diagnostic patch to crash earlier when cairo_array is corrupted. r=jmuizelaar
--HG--
extra : rebase_source : 97efb782c0ceba76330edf7a1be3b9cd14c11f15
2012-05-22 14:40:07 -04:00
Jonathan Kew
16ef5820ac bug 754243 - explicitly select Unicode charmap for Freetype face. r=jdaggett 2012-05-21 22:09:54 +01:00
Jacek Caban
ab7b61f390 Bug 733708 - gfx/layers fail to compile on mingw r=bas
--HG--
extra : rebase_source : 4ed99a22f66a20e4c6d2d7096396f6b2c261e63e
2012-05-21 11:03:23 +02:00
Jacek Caban
0496c2dfda Bug 756430 - Missing return statement in DrawTargetD2D::FillGlyphsManual r=bas
--HG--
rename : toolkit/content/tests/widgets/test_menubar_gtk.xul => toolkit/content/tests/widgets/test_menubar.xul
rename : toolkit/content/tests/widgets/window_menubar_gtk.xul => toolkit/content/tests/widgets/window_menubar.xul
extra : rebase_source : 1f231cb0a881091853319a9e311405182a4e07f1
2012-05-21 11:03:06 +02:00
Robert O'Callahan
165be1aa93 Befixing Bas build bustage, bug 757329 2012-05-22 18:00:23 +12:00
Bas Schouten
990e913754 Bug 757329: Support changing transforms while emitting path instructions. r=roc 2012-05-22 07:29:19 +02:00
Bas Schouten
f42b87a13f Bug 756767 - Part 2: Deal with CreateSourceSurfaceFromData failing. r=jrmuizel 2012-05-21 17:27:32 +02:00
Bas Schouten
b04ba2bf25 Bug 756767 - Part 1: Simplify SourceSurfaceD2D and add DataSourceSurface support. r=jrmuizel 2012-05-21 17:27:30 +02:00
Bas Schouten
d6881666b8 Bug 756454: User 2D texture for gradient realizations. r=jrmuizel 2012-05-21 17:24:05 +02:00
Bas Schouten
f0b2b86750 Bug 756424: Properly set the rasterizer for FillGlyphsManual. r=jrmuizel 2012-05-21 17:24:00 +02:00
Jonathan Kew
ec754c2581 bug 756850 - HBGetGlyph callback for harfbuzz needs to return whether the glyph existed. r=smontagu 2012-05-21 21:05:36 +01:00
Ed Morley
c6b0785957 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
47b77d95ae Bug 756767 - Part 2: Deal with CreateSourceSurfaceFromData failing. r=jrmuizel 2012-05-21 17:27:32 +02:00
Bas Schouten
8444e2eeeb Bug 756767 - Part 1: Simplify SourceSurfaceD2D and add DataSourceSurface support. r=jrmuizel 2012-05-21 17:27:30 +02:00
Bas Schouten
c89569b17b Bug 756454: User 2D texture for gradient realizations. r=jrmuizel 2012-05-21 17:24:05 +02:00
Bas Schouten
4287a47aa4 Bug 756424: Properly set the rasterizer for FillGlyphsManual. r=jrmuizel 2012-05-21 17:24:00 +02:00
Jeff Muizelaar
6ee514463a Bug 752341. Avoid using CGContextSetTextMatrix. r=bgirard
CGContextSetTextMatrix has behaviour that depends on the text
drawing mode. We want consistency so avoid CGContextSetTextMatrix.

--HG--
extra : rebase_source : c6e46252823586d947ec1dd19db7df980dee23f8
2012-05-21 10:22:11 -04:00
Ed Morley
f0346ff780 Merge mozilla-central to mozilla-inbound 2012-05-21 13:19:38 +01:00
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Jonathan Kew
c6a1b1400c bug 753230 - update graphite2 to upstream rev 978:c418207451a7. r=jdaggett 2012-05-21 08:41:53 +01:00
Bas Schouten
e438db859d Bug 595375: Fail brush creation when bitmap creation fails. r=jrmuizel 2012-05-20 22:29:07 +02:00
Brian Hackett
f8aa8c3c5a Use handles in API object hooks where possible, bug 750733. r=billm 2012-05-19 15:03:45 -07:00
Brian Hackett
aeda1d5c01 Backed out changeset 5fc7462dd394 for android orange. 2012-05-19 11:52:55 -07:00
Brian Hackett
54e8d378fb Use handles in API object hooks where possible, bug 750733. r=billm 2012-05-19 09:48:09 -07:00
Kartikaya Gupta
4072980290 Bug 756555 - Intersect the upload region with the valid region. r=ajuma 2012-05-18 21:19:43 -04:00
Jonathan Kew
067f9b740e bug 752459 - respect clusters when doing word-wrap:break-word. r=smontagu 2012-05-18 16:51:39 +01:00
Jonathan Kew
0b76bfd31b bug 752455 - don't allow word break within cluster when copying glyph data for text-transform. r=smontagu 2012-05-18 16:51:39 +01:00
David Zbarsky
40567fef5e Bug 756171 - Fix warning in LayerManagerOGLProgram.h. r=bgirard 2012-05-18 11:42:04 -04:00
Ms2ger
cc5eb59a6b No bug - Reorder initialization in mozilla::layers::Transaction constructor to fix a build warning. 2012-05-18 10:29:38 +02:00
Ryan VanderMeulen
9bc3429f7a Merge m-c to inbound. 2012-05-17 23:23:57 -04:00
Makoto Kato
eba5513681 Bug 756010 - Don't build ImageScalingSSE2.cpp on VC2005 due to no _mm_castsi128_ps. r=bas 2012-05-18 11:17:26 +09:00
Nicholas Cameron
13a632fa04 Bug 756007 - Fix path invariant for Azure/Cairo push/pop clip. r=joe 2012-05-17 17:54:22 -04:00
Jeff Muizelaar
22391d9a7a Bug 755834. Use even lower precision bilinear interpolation when scaling 565 to 565. r=joe
This takes a trick from skia to go faster. For now, it's only
used on non-NEON devices.

--HG--
extra : rebase_source : c2ddce91cc8cf71ee609420107b0922d1166db43
2012-05-17 16:54:02 -04:00
Benoit Girard
d9bef21d83 Bug 754233 - Handle negative layer coordinate in Tiled layers. r=ajuma 2012-05-17 15:47:53 -04:00
Vladimir Vukicevic
9d6a42d017 b=752368; [android] random black screen when opening links from other apps; r=bgirard,ajuma,kats 2012-05-09 22:32:54 -04:00
Bas Schouten
1e9105b35d Bug 717393 - Followup: Properly regenerate shader headers. r=autogenerated 2012-05-17 02:33:01 +02:00
Nicholas Cameron
044718db79 Bug 755078 - Disable mask layers on Android. r=roc 2012-05-17 10:30:10 +12:00
Benjamin Smedberg
63ab5318c1 Bug 749459 - Load the EGL libraries correctly on Windows from the GRE path and the system location on other platforms (should be Android-only currently), r=bjacob
--HG--
extra : rebase_source : 12750d4c6dbcc5324256039b9f05b207ed7ec990
2012-05-15 14:55:50 -04:00
Benoit Girard
2dcf372f4e Bug 755452 - Don't re-invalidate region to paint in BasicTiledLayerBuffer::PaintThebes. r=roc 2012-05-15 16:34:06 -04:00
Vladimir Vukicevic
1e324efc24 b=749426; don't use CreateSamplingRestrictedDrawable on mobile to avoid OOM; r=jrmuizel 2012-05-16 10:03:08 -04:00
Makoto Kato
b843767fc2 Bug 753772 - [VC8 (SeaMonkey)] gfx/2d/Factory.cpp compilation fails since bug 732985 landed. r=bas 2012-05-16 17:40:51 +09:00
Jeff Muizelaar
3388f68759 Bug 754364. Fix bustage from changing the wrong #if 0 2012-05-16 02:04:31 -04:00
Jeff Muizelaar
e80b46f17e Bug 754364. Add bilinear non-repeat and repeat fast paths. r=joe
This gives significantly faster bilinear sampling when we
don't have NEON.

--HG--
extra : rebase_source : 4473dd220020e65e4bc22b84fa780c7828b357a7
2012-05-15 18:26:16 -04:00
Kyle Huey
0ab789d7a3 Back out bug 703484 on this CLOSED TREE. 2012-05-15 20:19:37 -07:00
Bas Schouten
17982eb2b6 Bug 755591: Properly initialize mPermitSubpixelAA. r=jrmuizel 2012-05-16 03:34:18 +02:00
Ryan VanderMeulen
28caa3b877 Backout df38ed62a24a (bug 754364) due to Windows red. a=CLOSED TREE 2012-05-15 20:29:13 -04:00
Benoit Girard
cfa59c2e98 Backout ab1cd425d884 for talos failures
--HG--
extra : rebase_source : 0d2930f14507123535a72aa75f73f78d03bcb765
2012-05-15 19:21:10 -04:00
Jeff Muizelaar
45a184cabb Bug 754364. Add bilinear non-repeat and repeat fast paths. r=joe
This gives significantly faster bilinear sampling when we
don't have NEON.
2012-05-15 18:26:16 -04:00
Benoit Girard
8c7d03cc7c Bug 755452 - Don't re-invalidate region to paint in BasicTiledLayerBuffer::PaintThebes. r=roc
--HG--
extra : rebase_source : 0e66b6a2cd4c741fe7d70c3ccd82aa1283a64034
2012-05-15 16:34:06 -04:00
Marco Castelluccio
09e2e875f5 Bug 703484 - Allow OMTC to be used with basic layers. r=bgirard 2012-05-15 15:56:56 -04:00
Nicolas Silva
fb2d26335c Bug 751163 - Release ShadowImageLayerOGL's YUV textures in ShadowImageLayerOGL::CleanupResources. r=bgirard
--HG--
extra : rebase_source : 97cfcda1374519f71b4e9e01a6636ce4b701a5c1
2012-05-15 15:17:33 -04:00
Benoit Jacob
c5e601654c Bug 754426 - get screen depth from the main thread, expose it to other threads via gfxAndroidPlatform - r=joe 2012-05-15 15:41:20 -04:00
Benoit Jacob
6598b33e08 Bug 732875 - 8/8 - move CheckedInt to MFBT, enable unit tests in mfbt/tests - r=jwalden
--HG--
rename : xpcom/ds/CheckedInt.h => mfbt/CheckedInt.h
2012-05-14 15:50:20 -04:00
Ed Morley
6a622a847e Merge mozilla-central to mozilla-inbound 2012-05-15 18:19:25 +01:00
Mike Hommey
ae655ec44e Bug 755277 - Avoid duplicate rules after bug 748001. r=ted 2012-05-15 19:01:01 +02:00
Bas Schouten
96d5a87522 Bug 717393 - Part 5: Permit subpixel AA for transparent surfaces. r=roc 2012-05-15 16:57:51 +02:00
Bas Schouten
73d50f4a6a Bug 717393 - Part 4: Add code for drawing subpixel AA to transparent surfaces. r=jrmuizel 2012-05-15 16:57:51 +02:00
Bas Schouten
9348b020c7 Bug 717393 - Part 3: Cache ClippedGeometry for D2D Azure backend. r=jrmuizel 2012-05-15 16:57:51 +02:00
Bas Schouten
28581d2aad Bug 717393 - Part 2: Refactor clip management and add ClippedMask texture. r=jrmuizel 2012-05-15 16:57:51 +02:00
Bas Schouten
e82d65b328 Bug 717393 - Part 1: Add helper for creating DWriteGlyphRuns. r=jrmuizel 2012-05-15 16:57:51 +02:00
Bas Schouten
0a269a2595 Bug 754751: Fix GetClippedGeometry to work with rectangular clips. r=jrmuizel 2012-05-15 16:57:51 +02:00
Honza Bambas
778033e649 Bug 753790 - define hypotf as _hypotf in gfx/2d/Tools.h when building with MSCV9 or older+include emmintrin.h in ImageScalingSSE2.cpp, r=bas 2012-05-15 16:44:25 +02:00
Mike Hommey
d53bf6160e Bug 751814 - Various Skia fixes for ARM without EDSP and ARMv6+. r=derf 2012-05-15 07:46:02 +02:00
Jeff Muizelaar
a7f8653d6a Bug 754872. Avoid using two passes to draw glyphs on mobile. r=joe
Chrome & Safari both use a single pass for overlapping glyphs. We shouldn't try
so hard when running on mobile.
2012-05-15 00:48:00 -04:00
David Zbarsky
efdd0b3f7f Bug 754138 - Prevent Rect.h warning spam. r=roc 2012-05-14 19:01:05 -04:00
Mats Palmgren
6b03870b6a Bug 749935 - Make all nsRect Union methods saturating. If width/height overflows nscoord_MAX then clamp the x/y to nscoord_MIN / 2 and try again. r=roc 2012-05-14 22:11:39 +02:00
Ed Morley
d38b916352 Backout 345ae68f15f4, b3b40121ac8d, 0d18b7a246d7, 9dbb6064ab58, dee9d7fa8eb6, 63eec6bfa948, 323c6be7cfe8 & f4aac7523a48 (bug 732875) for compilation failures 2012-05-14 21:05:24 +01:00
Benoit Jacob
43d4449b09 Bug 732875 - 8/8 - move CheckedInt to MFBT, enable unit tests in mfbt/tests - r=jwalden
--HG--
rename : xpcom/ds/CheckedInt.h => mfbt/CheckedInt.h
2012-05-14 15:50:20 -04:00
Benoit Jacob
b6f87893a9 Back out patches from bug 749678, except for the include guards - no review, fix regression (Bug 753350)
Unfortunately, in-process plugins using OpenGL break the assumption made by these patches, that the current GL context is only changed by GLContext::MakeCurrent. Another issue, regardless of in-process, is that our host-side code in nsCoreAnimationSupport.mm uses direct CGL calls, bypassing GLContext.
2012-05-12 19:23:56 -04:00
Benoit Jacob
bfeaeaba01 Bug 754056 - call ReadUnlock() before replacing tiles - r=bgirard 2012-05-12 16:56:55 -04:00
Bas Schouten
2b663f11cf Bug 753835: Clip to mask image rather than relying on EXTEND_NONE. r=roc 2012-05-12 19:01:20 +02:00
Siarhei Siamashka
4e5674d074 Bug 754364. pixman: Add scaled nearest repeat fast paths. r=jrmuizel
This will allows us to scale and repeat in a single pass instead
of doing it in two.

--HG--
extra : rebase_source : 8f40aec620494d9c584a3c58cd70ac39723041a4
2012-05-12 10:01:17 -04:00
Jeff Muizelaar
2f4b7dc2b9 Bug 689707. Use lower precision bilinear interpolation. r=joe
This takes the bilinear interpolation code from Skia. It
uses 4 bits of precision instead of 8. This lets it interpolate
two components at a time because the results fit in 16 bits.

The lower precision code is only used in the fallback code
and not in any of the specialized code for NEON. This means
pixman gives different results depending on the cpu which isn't
great. However, this was easiest and the NEON code doesn't
gain as much from using lower precision.

Skia actually uses even lower interpolation when working with
565 but that's harder to plug in right now, and this gives
a reasonable improvement.
2012-05-10 22:12:52 -04:00
Paul O’Shannessy
ed1ab90119 Bug 753854 - -[NSOpenGLPixelFormat initWithAttributes] should be passed a 0 terminated array. [r=joe] 2012-05-10 12:56:42 -07:00
Robert O'Callahan
69c4c13441 Bug 681192. Part 0.1: Add BaseRect::ClampPoint. r=bas
--HG--
extra : rebase_source : 32e086725d450d8867a4b5978cd76a2f03609572
2012-05-10 17:24:17 +12:00
Phil Ringnalda
ba25bff73d Back out 3502d9840d98 (bug 752368) for robo* failure 2012-05-09 22:26:52 -07:00
Bas Schouten
a1e540b756 Bug 732985 - Part 2: Use ImageScaler for large images. r=jrmuizel 2012-05-10 06:31:14 +02:00
Bas Schouten
ba7b7826bb Bug 732985 - Part 1: Add image scaling code to Azure. r=jrmuizel 2012-05-10 06:31:14 +02:00
Vladimir Vukicevic
c78e67e17b b=752368; [android] random black screen when opening links from other apps; r=bgirard,ajuma 2012-05-09 22:32:54 -04:00
Benoit Jacob
ec408295df Bug 739648 - add mFlags field to TextureImage; introduce GetSrcTileRect flipping tile y-coords as needed; use it in DirectUpdate() to fix WebGL compositing bug - r=bgirard 2012-05-09 16:55:31 -04:00
Mats Palmgren
30ee665eeb Bug 751356 - Make presshell arena allocation methods inline and non-virtual. r=bz 2012-05-09 21:53:15 +02:00
Jonathan Kew
a572b7e299 bug 752662 - Fix missing pointer check in Silf reading (cherry-picked from Graphite commit a7cf510b0798). r=jdaggett 2012-05-08 09:49:22 +07:00
Oleg Romashin
d43e63fbbd Bug 752643 - Make CompositorParent eglSurface setup available for non-android environment. r=ajuma 2012-05-08 12:40:41 -07:00
Oleg Romashin
79c7b221c2 Bug 752640 - Allow PCompositor to work with Basic Layers backend. r=ajuma 2012-05-07 16:05:13 -07:00
Nicholas Cameron
c22151c2bc Bug 747822 - Implement push/pop clip for Cairo/Azure. r=joe 2012-04-26 10:04:36 +12:00
Jon Buckley
f4f2e1efb0 Bug 728017 - Implement WEBGL_compressed_texture_s3tc - r=bjacob 2012-05-08 13:29:31 -04:00
Ed Morley
8a8e40fff3 Backout ba7cf6fd10ae (bug 728017) for failing to compile 2012-05-08 18:50:45 +01:00
Jon Buckley
56d33b746c Bug 728017 - Implement WEBGL_compressed_texture_s3tc - r=bjacob 2012-05-08 13:29:31 -04:00
Benoit Jacob
5edd04f2ba Bug 749678 - 5/5 - fix dangling TLS pointer - r=jrmuizel 2012-05-08 09:47:34 -04:00
Benoit Jacob
b17930ac59 Bug 749678 - 4/5 - check owning thread in debug builds - r=bgirard 2012-05-08 09:47:34 -04:00
Benoit Jacob
ee3e78905d Bug 749678 - 3/5 - stop calling platform-specific getCurrentContext functions - r=jrmuizel 2012-05-08 09:47:34 -04:00
Benoit Jacob
1ba7e7e4c1 Bug 749678 - 1/5 - Switch GLContext to use mozilla::tls for current context - r=jrmuizel
See comment above class GLContextTLSStorage
2012-05-08 09:47:34 -04:00
Jonathan Kew
5de36dfa91 bug 751151 - move harfbuzz to gkmedias.dll on windows. r=khuey 2012-05-08 08:46:46 +01:00
Bas Schouten
e2245a8bc2 Backout bug 732985(f453201647a1,ca29dc47986a,f0ca5eb320c4,94ffc045ba89). 2012-05-08 04:58:37 +02:00
Bas Schouten
6e06e63991 Bug 732985 - Followup 2: Only compile HasCPUIDBit when using SSE2. r=bustage 2012-05-08 04:52:06 +02:00
Bas Schouten
a1f9436ef2 Bug 732985 - Followup: Fix include order in gfx/2d Makefile. r=bustage 2012-05-08 04:40:13 +02:00
Bas Schouten
f1cad61c49 Bug 732985 - Part 2: Use ImageScaler for large images. r=jrmuizel 2012-05-08 04:31:30 +02:00
Bas Schouten
ca48ea5c42 Bug 732985 - Part 1: Add image scaling code to Azure. r=jrmuizel 2012-05-08 04:31:30 +02:00
Joe Drew
20842f8db4 Bug 725105 - Fix the single-buffered (i.e., not default) case in LayerManagerOGL. r=bjacob 2012-05-07 17:46:25 -04:00
Jonathan Kew
787945abe1 harfbuzz shaper should not modify character-clustering info due to diacritic within ligature. Bug 249159, r=smontagu 2012-05-07 12:18:24 -07:00
Benoit Girard
f28811574f Bug 748649 - Shallow copy BasicTiledLayerBuffer to work around bug 747811. r=ajuma
--HG--
extra : rebase_source : 914f0602e64557481f91f96bd78fb9c6ed2dc4b5
2012-05-01 15:59:41 -04:00
Benoit Girard
973521416c Bug 748649 - Allow layer transactions that don't require a buffer swap to be perform asynchronously. r=cjones
--HG--
extra : rebase_source : b0d11710119eb87cef8f461ece44baaba88f7477
2012-05-01 15:23:39 -04:00
Benoit Jacob
fa42a83bb3 Bug 751643 - ensure that strings produced by ANGLE's getVariableInfo function are null-terminated - r=bz,upstream
Checked in upstream ANGLE as r1070.
2012-05-06 22:20:03 -04:00
Bas Schouten
ce1e20d908 Bug 749482: Fix assertion in SetRemoteImageData. r=roc 2012-05-01 23:46:53 +02:00
Timothy B. Terriberry
35fc537523 Bug 752293 - Mark stacks non-executable in yuv_row_arm.s, r=glandium 2012-05-06 05:41:14 -07:00
Kyle Huey
c5cbdaf7d3 Bug 718539: Followup to fix MSVC warnings. r=me 2012-05-04 12:45:03 -07:00
Benoit Girard
27a2ee9524 Bug 751896 - BasicTiledThebesLayer should use OPERATOR_SOURCE. r=jmuizelaar 2012-05-04 15:35:57 -04:00
Ed Morley
01d2ddd5d5 Backout 5c35cd6f3ea4 & ba39b0822992 (bug 607417) for native Android R1 failures 2012-05-04 14:26:09 +01:00
Jeff Muizelaar
3e12f6ef5f Bug 750598. Add some heuristics to catch cases when we can use nearest filtering. r=roc
These may need some tuning to get right, but should be an improvement over
just disabling bilinear for backgrounds.

It also expectedly regresses tcheckerboard & tcheck2 because we're now
using bilinear when we were using nearest before.
2012-05-01 16:35:04 -04:00
Ed Morley
6d67d242a7 Backout 4c6759dcecd3 (bug 750598) for Android reftest-1 failures in background-size-zoom-repeat.html 2012-05-04 09:57:59 +01:00
Chris Lord
d8f77ad734 Bug 607417 - Reconcile async scrolling for fixed position layers. r=ajuma
Untranslate fixed position layers when doing async scrolling so that they don't
jump about as content re-renders them in the correct place.

--HG--
extra : rebase_source : 709a9b14b5301bb675e118859090e6fb1c0f26f9
2012-05-04 17:04:15 +12:00
Robert O'Callahan
8d789110c9 Bug 607417. Improve definition of the 'fixed layer' flag. r=tnikkel
--HG--
extra : rebase_source : f68d53736e65c21a30a6248abe6b2b9ec32cdb17
2012-05-04 17:00:57 +12:00
Jeff Muizelaar
f16c9dd97a Bug 750598. Add some heuristics to catch cases when we can use nearest filtering. r=roc
These may need some tuning to get right, but should be an improvement over
just disabling bilinear for backgrounds.

It also expectedly regresses tcheckerboard & tcheck2 because we're now
using bilinear when we were using nearest before.

--HG--
extra : rebase_source : 4e3396179193d6d7ca1dbe26b7dad090860abe0d
2012-05-01 16:35:04 -04:00
Robert O'Callahan
65e34332be backing out patches for bug 607417 due to build bustage 2012-05-04 17:29:05 +12:00
Chris Lord
675c02dfe0 Bug 607417 - Reconcile async scrolling for fixed position layers. r=ajuma
Untranslate fixed position layers when doing async scrolling so that they don't
jump about as content re-renders them in the correct place.
2012-05-04 17:04:15 +12:00
Robert O'Callahan
9367097525 Bug 607417. Improve definition of the 'fixed layer' flag. r=tnikkel 2012-05-04 17:00:57 +12:00
Chris Lord
cf4f8d7c5f Bug 750535 - Fix invalidation of retained tiles. r=ajuma a=blocking-fennec
When the layer size changed, reused tiles that then fell out of the layer area
would be incorrectly rendered. Fix this by deriving the rendered content area
from set display-ports and correctly invalidating when harvesting tiles, and
clipping when drawing them.

--HG--
extra : rebase_source : 6427be89b9cfb1e54feb0582fb64fa97d7d42bde
2012-05-03 20:55:08 -04:00
Jeff Muizelaar
2c07bcfc75 Bug 751668. Avoid incorrectly using EXTEND_NONE. r=joe
It seems like we sometimes end up using EXTEND_NONE unintentionally, this is
likely caused by different rounding between cairo and pixman. Pixman already
does a similar reduction to EXTEND_NONE so there's not point in duplicating it
here.

--HG--
extra : rebase_source : 5649a2583a8a01084567bfb06cb3c788437210f5
2012-05-03 15:21:52 -04:00
Oleg Romashin
491ddece27 Bug 751594 - s/ResizeOffscreenFBO/ResizeOffscreenFBOs. r=bgirard 2012-05-03 18:33:51 -04:00
Bas Schouten
12b9c87e20 Bug 738413 - Followup: Move ToIntRect to a Rect class method. r=roc 2012-05-03 23:41:37 +02:00
Bas Schouten
2d60247e19 Bug 738413 - Part 3: Fix numerous issues with PushGroupAndCopyBackground. r=roc 2012-05-03 23:31:02 +02:00
Bas Schouten
79cfec2c9d Bug 738413 - Part 2: Use OpaqueRect API in BasicLayers with non-cairo contexts. r=roc 2012-05-03 23:31:02 +02:00
Bas Schouten
b23f9ad1b3 Bug 738413 - Part 1: Add OpaqueRect API to Azure DrawTargets. r=roc 2012-05-03 23:31:02 +02:00
Benoit Jacob
dd4611db33 Backing out bug 739648 for linux build failure 2012-05-03 16:26:04 -04:00
Benoit Jacob
8560bfdefa Bug 739648 - WebGL rendering is broken on Android due to tiles being rendered at y-flipped coordinates - r=bgirard 2012-05-03 15:59:19 -04:00
Bas Schouten
700c1894dd Bug 751463: Remove Azure from XUL. r=khuey 2012-05-03 21:21:52 +02:00
Mike Hommey
bd540195cc Bug 749533 - Add support for GNU/kFreeBSD and Hurd in SKIA. r=bjacob 2012-05-03 08:38:53 +02:00
Nicholas Cameron
9e43179755 Bug 716439; compile OGL shaders lazily. r=BenWa 2012-05-02 14:54:40 +12:00
Nicholas Cameron
0413e14a8f Bug 716439; shadow layer support. r=BenWa 2012-03-19 12:02:38 +13:00
Nicholas Cameron
4636d66fbb Bug 716439; change build process to genshaders statically. r=BenWa 2012-03-27 11:13:34 +13:00
Nicholas Cameron
04cd642d51 Bug 716439; using mask layers in OGL. r=BenWa 2012-03-19 09:08:53 +13:00
Nicholas Cameron
5cc1397fe6 Bug 716439; load a mask texture in the OGL backend. r=BenWa 2012-03-19 09:08:49 +13:00
Nicholas Cameron
446bb86751 Bug 716439; managing mask layer shaders in OpenGL. r=BenWa 2012-03-19 09:07:25 +13:00
Nicholas Cameron
ecab6b290f Bug 716439; changes to glContext. r=BenWa 2012-04-04 17:56:22 +12:00
Nicholas Cameron
3849921577 Bug 716439; shaders for OpenGL mask layers. r=BenWa 2012-03-19 09:07:25 +13:00
Nicholas Cameron
059fcb1038 Bug 716439; shaders for the dx9 backend. r-Bas 2012-03-07 10:09:19 +13:00
Nicholas Cameron
fa43179112 Bug 716439; c++ support for the shaders and textures for dx9 backend. r-Bas 2012-03-07 10:07:48 +13:00
Nicholas Cameron
69669ee102 Bug 716439; using masks in each of the dx9 backend layers. r-Bas 2012-03-07 10:07:48 +13:00
Nicholas Cameron
1a1d9b947e Bug 716438; using flags to select a shader. r=Bas 2012-03-01 17:29:30 +00:00
Nicholas Cameron
eac598ef43 Bug 716439; dx10 shaders for mask layers. r=Bas 2012-02-16 12:34:28 +13:00
Nicholas Cameron
066b53a0d9 Bug 716439; Using mask layer shaders in DX10. r=Bas 2012-02-16 12:34:25 +13:00
Nicholas Cameron
8a3481fe55 Bug 716439; Loading a mask layer to textures in DX10. r=Bas 2012-02-16 12:34:23 +13:00
Nicholas Cameron
1b026c33c9 Bug 716439; backend of the mask layers system for basic layers (software). r=roc 2012-02-08 11:27:21 +13:00
Nicholas Cameron
7d91b411ee Bug 716439; creating mask layers. r=roc 2012-02-08 11:27:44 +13:00
Nicholas Cameron
930c8d94e7 Bug 716439; mask layer - member, getter, setter, dumping. r=roc 2012-01-18 14:35:49 +13:00
Nicholas Cameron
59e6ca2712 Bug 733894; changing the framework for representing shaders in the OGL
layers backend. r=BenWa
2012-03-19 09:07:25 +13:00
Ehsan Akhgari
52885d5cd3 Bug 751273 - Part 1: Remove the debugging code in Cairo which we don't use any more; r=jrmuizel
Landing on a CLOSED TREE
2012-05-02 16:28:13 -04:00
Jonathan Kew
1ca86e38e0 bug 750728 - move graphite from libxul to libgkmedias on windows, to help with PGO problems. r=khuey a=ehsan to land on a CLOSED TREE 2012-05-01 20:00:35 +01:00
Jeff Gilbert
1d2e09f940 Bug 708136 - Don't teardown GL objects if teardown's makecurrent fails - r=bjacob 2012-04-30 19:05:59 -07:00
Oleg Romashin
1810600f2e Bug 750276 - Make CompositorParent transforms not android-only. r=ajuma 2012-04-30 17:03:26 -07:00
Oleg Romashin
74f015b2ba Bug 748694 - Switch Maemo WebGL to FBO. r=jgilbert,bgirard 2012-04-30 17:03:08 -07:00
Daniel Holbert
ed998a5aaa Bug 750356: fix signed/unsigned comparison build warnings in ReusableTileStoreOGL.cpp. r=chrislord 2012-04-30 15:47:42 -07:00
Nicolas Silva
6436721408 Bug 743830 - Added 'gfx.xrender.enabled' pref (true by default). The pref is fetched in gfPlatformGtk.cpp and can be accessed through gfxPlatformGtk::UseXRender(). UseXRender is used in GLContextProviderGLX to set mUseTextureFromPixmap. r=jmuizelaar
--HG--
extra : rebase_source : 805947a2164aeb2dc71cc33086ac0bd201df3583
2012-04-18 10:27:32 -04:00
Benoit Jacob
fd3e9185ff Bug 748654 - manually abort on allocation failure - r=jgilbert 2012-04-30 17:43:12 -04:00
Benoit Jacob
e6120b3085 Bug 748654 - drop patch making us use mozalloc in angle - r=jgilbert 2012-04-30 17:43:12 -04:00
Benoit Jacob
84e349eedc Bug 736123 - kill GetVendor() and EGLUtils.h - r=jrmuizel
Was only returning "Android" instead of something useful.
2012-04-30 17:43:12 -04:00
Benoit Girard
7e14831de1 Bug 749107 - Set the texture unit before binding the tile texture and change the texture ordering in ImageLayer to leave texture unit 0 bound. r=jmuizelaar 2012-04-30 14:51:05 -04:00
Benoit Girard
eb5204fb96 Bug 749357 - TiledThebesLayerOGL can draw un-rendered areas of tiles. r=chrislord 2012-04-30 10:19:17 -04:00
Robert O'Callahan
06747b8dac Bug 664918. Part 6: ImageContainer::GetCurrentAsSurface shouldn't crash when mActiveImage is null. r=bas 2012-04-30 15:11:47 +12:00
Andreas Gal
ef9beb1ab9 Render active layers at full resolution and transform them on the GPU (bug 750006, r=roc). 2012-04-29 14:41:13 -07:00
Oleg Romashin
6dc308faaf Bug 743314 - Force CanUploadSubtextures on Maemo6 harmattan. r=chrislord.net 2012-04-28 09:05:41 -04:00
Chris Lord
9b4791fda0 Bug 749630 - Fix single-colour checkerboard and masking. r=kats
Bug 748718 tried to fix masking of the checkerboard layer, but incorrectly
calculated the values for the right and bottom sides of the page, causing
less masking to occur than should happen.

It also possibly broke single-colour layer drawing (though I'm not sure this
worked previously), which this fixes by clearing to the page colour instead of
generating and drawing a texture for it.
2012-04-27 12:54:18 -04:00
John Daggett
7642379a59 Bug 749139. Set build-on-fly flag on non-SFNT font type. r=jkew 2012-04-27 17:26:41 +09:00
Matt Woodrow
bbc1f6b31e Bug 746421 - Make nsTextBoxFrames overflow area include the LOOSE_INK_EXTENTS of the text. r=jfkthame 2012-04-27 12:24:54 +12:00
Matt Woodrow
885ef2c84c Bug 735178 - Add error tolerance values when sorting preserve-3d layers. r=roc 2012-04-27 12:24:53 +12:00
Matt Woodrow
79fed68860 Bug 735178 - Add debug coloring of sorted 3d layers to help identification. r=roc 2012-04-27 12:24:53 +12:00
Matt Woodrow
d0debbb188 Bug 739490 - Pad OpenGL temporary surfaces to avoid bug with incorrect border drawing. r=roc 2012-04-27 12:24:53 +12:00
Jonathan Kew
52eaf63e22 bug 739858 - cancel any in-progress loaders for @font-face rules that have been discarded when the font set is updated. r=jdaggett 2012-04-26 18:50:41 +01:00
Jonathan Kew
e64b027b59 bug 739858 - don't try to actually load a font if the proxy has been detached from its family. r=jdaggett 2012-04-26 18:48:05 +01:00
Kartikaya Gupta
4acaf02b8d Bug 746120 - Transform the root layer even if not scrollable so it doesn't cause separation of layers. r=ajuma 2012-04-26 15:24:06 -04:00
Jonathan Kew
78dff5ebad bug 706888 - ignore GSUB in broken version of Droid Sans Arabic. r=jdaggett 2012-04-26 20:06:52 +01:00
Ed Morley
dc46ce0076 Backout 476998cbd69f & f8654d020b1a (bug 739858) for compilation failures 2012-04-26 19:09:20 +01:00
Jonathan Kew
9d8f55f1de bug 739858 - cancel any in-progress loaders for @font-face rules that have been discarded when the font set is updated. r=jdaggett 2012-04-26 18:50:41 +01:00
Jonathan Kew
c0f0dc66ce bug 739858 - don't try to actually load a font if the proxy has been detached from its family. r=jdaggett 2012-04-26 18:48:05 +01:00
Chris Lord
07470e550b Bug 749143 - Don't draw retained tiles outside of layer bounds. r=bgirard
It is possible for the content that layers represent to change size, causing
tiles to be reused where they shouldn't. Make sure that tiles that are outside
of content bounds are not drawn, and that they get evicted when harvesting
tiles.
2012-04-26 12:53:14 -04:00
John Daggett
36057fec8a Bug 718539. Trim out old featureSettings string code. r=jkew 2012-04-26 15:27:08 +09:00
John Daggett
da07c69a39 Bug 718539. Merge per-font and style rule font features. r=jkew 2012-04-26 15:26:03 +09:00
John Daggett
1d89c211d4 Bug 718539. Initialize font features in gfxFontStyle from nsFont data. r=dbaron 2012-04-26 15:25:29 +09:00
John Daggett
4fb6d48482 Bug 718539. Update font-feature-settings to latest spec syntax. r=dbaron 2012-04-26 15:24:26 +09:00
John Daggett
054972d607 Bug 718539. Move gfxFontFeature to a separate header. r=jkew 2012-04-26 15:22:24 +09:00
Benoit Girard
3f05fb6b7e Bug 748645 - Upload TiledThebesLayerOGL outside the transaction. r=chrislord
--HG--
rename : mozglue/linker/Elfxx.h => mozglue/linker/CustomElf.h
rename : toolkit/devtools/debugger/server/dbg-server.js => toolkit/devtools/debugger/server/dbg-server.jsm
extra : rebase_source : 547cc2fb5871ba58b1c133824a06eab9d4027524
2012-04-25 11:32:10 -04:00
Ed Morley
a3e0f65181 Backout cc37cd8dac59 (bug 744303) for M1 orange 2012-04-25 16:15:11 +01:00
Bas Schouten
4827a4ccd8 Bug 743590: Properly mark ThebesLayer content invalid when changing content type. r=jrmuizel 2012-04-21 17:33:59 +02:00
Jeff Gilbert
5eb8da111b Bug 739775 - Refactor ResizeOffscreenFBO - r=bjacob 2012-04-25 15:10:43 +01:00
Jeff Gilbert
b00fa67275 Bug 744303 - Upload WebGL textures as BGRA when useful - r=bjacob 2012-04-25 15:05:35 +01:00
Chris Lord
ab68da5d27 Bug 745177 - Retain and re-use uploaded GL tiles. r=ajuma
Rather than discarding uploaded tiles once they fall outside of the valid
region, shuffle them off into a separate tile-store with all the metadata they
need to render them, and render them in the areas that our current valid
region doesn't cover in TiledThebesLayerOGL::RenderLayer.
2012-04-24 22:48:33 -04:00
Matt Brubeck
cd95a32e35 Back out 4114c654f5d0 (bug 745177) because of Mac build errors 2012-04-24 20:18:50 -07:00
Chris Lord
6ecd30a481 Bug 745177 - Retain and re-use uploaded GL tiles. r=ajuma
Rather than discarding uploaded tiles once they fall outside of the valid
region, shuffle them off into a separate tile-store with all the metadata they
need to render them, and render them in the areas that our current valid
region doesn't cover in TiledThebesLayerOGL::RenderLayer.
2012-04-24 22:48:33 -04:00
Oleg Romashin
50b915a89b Bug 748209 - Allow to create useful CompositorParent subclass. r=ajuma 2012-04-24 09:22:36 -04:00
Oleg Romashin
9a0b02a97f Bug 748209 - Allow compositorParent be created in custom Thread. r=ajuma 2012-04-24 09:22:34 -04:00
Ehsan Akhgari
c7d143b9fa Merge mozilla-central into mozilla-inbound 2012-04-24 21:29:44 -04:00
Patrick Wong
15df25098f Bug 745659 - Removed the nsPrintfCString constructor which takes a length and all corresponding instances that call that particular constructor. This is accomplished by removing the length component from the instantiation. r=jlebar 2012-04-24 14:43:00 -04:00
Ehsan Akhgari
5cac768d9b Merge mozilla-central into birch 2012-04-24 10:49:42 -04:00
Ed Morley
352ceec39d Merge from mozilla-central 2012-04-24 11:46:16 +01:00
Ed Morley
b27dd50b25 Backout 37b4c6fd16ed, 190aa5af8398, 9924dff6dbe9, 502de391e55b, ea4c7f9fc725 & b43c36197d4f (bug 739679) for XUL Android bustage on a CLOSED TREE a=backout 2012-04-24 09:32:12 +01:00
Phil Ringnalda
50b3f3a9e5 Back out e13cfb0b7497 (bug 747816) on suspicion of causing Android reftest bustage on a CLOSED TREE, a=bustage 2012-04-23 23:24:11 -07:00
Benoit Girard
435f59c448 Bug 739679 - Part 7: Enable tiling. r=pcwalton a=blocking-fennec 2012-04-23 23:22:25 -04:00
Benoit Girard
9a230f6e24 Bug 739679 - Part 7: Enable tiling. r=pcwalton a=blocking-fennec 2012-04-23 23:22:25 -04:00
Benoit Girard
329a3de62d Bug 739679 - Part 6: Fix unlocking gfxReusableSurface. r=pcwalton 2012-04-23 20:08:18 -04:00
Benoit Girard
9f744551ee Bug 739679 - Part 6: Fix unlocking gfxReusableSurface. r=pcwalton 2012-04-23 20:08:18 -04:00
Ehsan Akhgari
1e3b159969 Merge from mozilla-central 2012-04-23 19:24:10 -04:00
Bas Schouten
3c8520eec0 Bug 746588 - Invert the gfxPattern matrix when using DrawTargets. r=jrmuizel a=akeybl 2012-04-23 13:30:46 -04:00
Ehsan Akhgari
fec480dc6c Merge mozilla-central into birch 2012-04-22 16:10:35 -04:00
Benoit Girard
bf36bf4c62 Bug 739679 - Part 5: Remove memset for 565 surfaces. r=mwoodrow 2012-04-18 20:40:08 -04:00
Benoit Girard
48184daeef Bug 739679 - Part 5: Remove memset for 565 surfaces. r=mwoodrow 2012-04-18 20:40:08 -04:00
Nathan Froyd
d742f0a2a6 Bug 746279 - pack nsFont more carefully; r=jdaggett 2012-04-17 15:22:18 -04:00
Jonathan Kew
3b8c25a64d bug 745580 - handle bad results from Core Text shaping more robustly. r=jdaggett a=tracking-firefox 2012-04-20 08:04:26 +01:00
Jeff Muizelaar
8feca18ee2 Bug 746695. Update libpixman to 0.24.4 a=joe
Alan Coopersmith (2):
      Change MMX ldq_u to return _m64 instead of forcing all callers to cast
      Make mmx code compatible with Solaris Studio 12.3 compilers

Andrea Canciani (13):
      Include noop in win32 builds
      Silence autoconf warnings
      radial: Improve documentation and naming
      radial: Fix typos and trailing whitespace
      win32: Build benchmarks
      Workaround bug in llvm-gcc
      test: Fix compilation on win32
      build: Reuse sources and pixman-combine build rules
      build: Reuse test sources
      build-win32: Share targets and variables across win32 makefiles
      build-win32: Add root Makefile.win32
      test: Do not include config.h unless HAVE_CONFIG_H is defined
      build-win32: Add 'check' target

Benjamin Otte (2):
      tests: Add PNG_CFLAGS/LIBS to tests
      build: replace @VAR@ with $(VAR) in makefiles

Bobby Salazar (1):
      Android Runtime Detection Support For ARM NEON

Chris Wilson (1):
      bits: optimise fetching width==1 repeats

Colin Walters (1):
      autogen.sh: Support GNOME Build API

Jeff Muizelaar (1):
      Add definitions of INT64_MIN and INT64_MAX

Jon TURNEY (1):
      Fix build on cygwin after commit efdf65c0c4fff551fb3cd9104deda9adb6261e22

Matt Turner (11):
      lowlevel-blt: add over_x888_8_8888
      mmx: fix formats in commented code
      mmx: convert while (w) to if (w) when possible
      mmx: rename USE_MMX to USE_X86_MMX
      mmx: wrap x86/MMX inline assembly in ifdef USE_X86_MMX
      mmx: fix unaligned accesses
      mmx: prepare pixman-mmx.c to be compiled for ARM/iwmmxt
      mmx: compile on ARM for iwmmxt optimizations
      mmx: optimize unaligned 64-bit ARM/iwmmxt loads
      Make sure iwMMXt is only detected on ARM
      Correct the minimum gcc version needed for iwmmxt

Naohiro Aota (1):
      Don't use non-POSIX test

Nis Martensen (1):
      Fix a few typos in pixman-combine.c.template

Siarhei Siamashka (4):
      C fast path for scaled src_x888_8888 with nearest filter
      ARM: workaround binutils bug #12931 (code sections alignment)
      test: better coverage for BILINEAR->NEAREST filter optimization
      BILINEAR->NEAREST filter optimization for simple rotation and translation

Søren Sandmann (5):
      mmx: Delete some unused variables
      sse2: Delete some unused variables
      demos: Comment out some unused variables
      ARM: Fix two bugs in neon_composite_over_n_8888_0565_ca().
      test: Make fuzzer-find-diff.pl executable

Søren Sandmann Pedersen (63):
      Add a "noop" implementation.
      Add a noop composite function for the DST operator
      Move noop dest fetching to noop implementation
      Add a noop src iterator
      Move NULL iterator into pixman-noop.c
      Move NOP src iterator into noop implementation.
      Replace instances of "dst_*" with "dest_*"
      In pixman-general.c rename image_parameters to {src, mask, dest}_image
      Replace argumentxs to composite functions with a pointer to a struct
      blitters-test: Make common formats more likely to be tested.
      Pre-release version bump to 0.23.2
      Post-release version bump to 0.23.3
      Makefile.am: Add pixman@lists.freedesktop.org to RELEASE_ANNOUNCE_LIST
      Fix lcg_rand_u32() to return 32 random bits.
      New test of pixman_region_contains_{rectangle,point}
      Speed up pixman_region{,32}_contains_rectangle()
      Use find_box_for_y() in pixman_region_contains_point() too
      Don't include stdint.h in lowlevel-blt-bench.c
      In pixman_image_create_bits() allow images larger than 2GB
      Rename pixman-fast-path.h to pixman-inlines.h
      Use repeat() function from pixman-inlines.h in pixman-bits-image.c
      Move bilinear interpolation to pixman-inlines.h
      Pre-release version bump to 0.23.4
      Post-release version bump to 0.23.5
      test: New function to save a pixman image to .png
      Use pkg-config to determine the flags to use with libpng
      test: Use smaller boxes in region_contains_test()
      A few tweaks to a comment in pixman-combine.c.template
      Add a generic unorm_to_unorm() conversion utility
      Add general pixel converter
      Add initial version of the MAKE_ACCESSORS() macro
      Use MAKE_ACCESSORS() to generate all the 32 bit accessors
      Use MAKE_ACCESSORS() to generate accessors for all the 16bpp formats
      Use MAKE_ACCESSORS() to generate accessors for 8bpp RGB formats
      Use MAKE_ACCESSORS() to generate accessors for 4 bpp RGB formats
      Use MAKE_ACCESSORS() to generate accessors for 24bpp formats
      Use MAKE_ACCESSORS() to generate accessors for the a1 format.
      Use MAKE_ACCESSORS() to generate accessors for paletted formats
      Remove x and y coordinates from analyze_extents() and compute_sample_extents()
      Split computation of sample area into own function
      Eliminate compute_sample_extents() function
      test: Occasionally use a BILINEAR filter in blitters-test
      Strength-reduce BILINEAR filter to NEAREST filter for identity transforms
      Don't include stdint.h in scaling-helpers-test.
      Add src, mask, and dest flags to the composite args struct.
      Pre-release version bump to 0.23.6
      Post-release version bump to 0.23.7
      Add stable release / development snapshot to draft release notes
      gradient walker: Correct types and fix formatting
      Use sentinels instead of special casing first and last stops
      Simplify gradient_walker_reset()
      Merge branch 'gradients'
      Fix use of uninitialized fields reported by valgrind
      Pre-release version bump to 0.23.8
      Post-release version bump to 0.23.9
      Pre-release version bump to 0.24.0
      Post-release version bump to 0.24.1
      gradient-walker: For NONE repeats, when x < 0 or x > 1, set both colors to 0
      pixman-image.c: Fix typo in pixman_image_set_transform()
      Fix some signed overflow bugs
      Reject trapezoids where top (botttom) is above (below) the edges
      Fix bugs with alpha maps
      Pre-release version bump to 0.24.2

Taekyun Kim (25):
      Replace boolean arguments with flags for bilinear fast path template
      REPEAT_NORMAL support for bilinear fast path template
      sse2: Declare bilinear src_8888_8888 REPEAT_NORMAL composite function
      ARM: Add REPEAT_NORMAL functions to bilinear BIND macros
      Enable REPEAT_NORMAL bilinear fast path entries
      Bilinear REPEAT_NORMAL source line extension for too short src_width
      ARM NEON: Standard fast path out_reverse_8_8888
      ARM: NEON better instruction scheduling of over_n_8_8888
      ARM: NEON better instruction scheduling of over_n_8888
      sse2: Macros for assembling bilinear interpolation code fractions
      sse2: Bilinear scaled over_8888_8888
      sse2: Bilinear scaled over_8888_8_8888
      init/fini functions for pixman_image_t
      Add new fast path flag FAST_PATH_BITS_IMAGE
      Move _pixman_lookup_composite_function() to pixman-utils.c
      Simple repeat fast path
      Simple repeat: Extend too short source scanlines into temporary buffer
      ARM: NEON: Some cleanup of bilinear scanline functions
      ARM: NEON: Bilinear macro template for instruction scheduling
      ARM: NEON: Replace old bilinear scanline generator with new template
      ARM: NEON: Instruction scheduling of bilinear over_8888_8888
      ARM: NEON: Instruction scheduling of bilinear over_8888_8_8888
      ARM: NEON: Standard fast path src_n_8_8888
      ARM: NEON: Standard fast path src_n_8_8
      ARM: NEON: Fix assembly typo error in src_n_8_8888
2012-04-20 00:07:56 -04:00
Ms2ger
b3e9d27132 Bug 745291 - Remove superfluous ; in X11Util.h. r=dteller, a=blassey 2012-04-19 18:53:30 -04:00