Benoit Jacob
6de3cc03da
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
758dcd8b6c
Merge mozilla-central to mozilla-inbound
2012-05-15 18:19:25 +01:00
Mike Hommey
ec08589480
Bug 755277 - Avoid duplicate rules after bug 748001. r=ted
2012-05-15 19:01:01 +02:00
Bas Schouten
3eed0050e2
Bug 717393 - Part 5: Permit subpixel AA for transparent surfaces. r=roc
2012-05-15 16:57:51 +02:00
Bas Schouten
b887580d55
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
7e1917058d
Bug 717393 - Part 3: Cache ClippedGeometry for D2D Azure backend. r=jrmuizel
2012-05-15 16:57:51 +02:00
Bas Schouten
e0fdc6a682
Bug 717393 - Part 2: Refactor clip management and add ClippedMask texture. r=jrmuizel
2012-05-15 16:57:51 +02:00
Bas Schouten
6c4644bcee
Bug 717393 - Part 1: Add helper for creating DWriteGlyphRuns. r=jrmuizel
2012-05-15 16:57:51 +02:00
Bas Schouten
2c2138849b
Bug 754751: Fix GetClippedGeometry to work with rectangular clips. r=jrmuizel
2012-05-15 16:57:51 +02:00
Honza Bambas
72e094469b
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
9d40599d57
Bug 751814 - Various Skia fixes for ARM without EDSP and ARMv6+. r=derf
2012-05-15 07:46:02 +02:00
Jeff Muizelaar
0502288506
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
8121e6b90e
Bug 754138 - Prevent Rect.h warning spam. r=roc
2012-05-14 19:01:05 -04:00
Mats Palmgren
df74457a55
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
0f956d7307
Backout 345ae68f15f4, b3b40121ac8d, 0d18b7a246d7, 9dbb6064ab58, dee9d7fa8eb6, 63eec6bfa948, 323c6be7cfe8 & f4aac7523a48 (bug 732875) for compilation failures
2012-05-14 21:05:24 +01:00
Benoit Jacob
fa8d5e0469
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
0f7357a542
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
653bf48f50
Bug 754056 - call ReadUnlock() before replacing tiles - r=bgirard
2012-05-12 16:56:55 -04:00
Bas Schouten
a6473beab0
Bug 753835: Clip to mask image rather than relying on EXTEND_NONE. r=roc
2012-05-12 19:01:20 +02:00
Siarhei Siamashka
ee4e25cc8b
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
4a37a54063
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
8b3b5670ab
Bug 753854 - -[NSOpenGLPixelFormat initWithAttributes] should be passed a 0 terminated array. [r=joe]
2012-05-10 12:56:42 -07:00
Robert O'Callahan
ef89c4130b
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
772c1a502b
Back out 3502d9840d98 (bug 752368) for robo* failure
2012-05-09 22:26:52 -07:00
Bas Schouten
da83778850
Bug 732985 - Part 2: Use ImageScaler for large images. r=jrmuizel
2012-05-10 06:31:14 +02:00
Bas Schouten
22c32efb31
Bug 732985 - Part 1: Add image scaling code to Azure. r=jrmuizel
2012-05-10 06:31:14 +02:00
Vladimir Vukicevic
a994367201
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
4d92553d61
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
eab03f0c33
Bug 751356 - Make presshell arena allocation methods inline and non-virtual. r=bz
2012-05-09 21:53:15 +02:00
Jonathan Kew
1bde7f0d37
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
76aaf23ba2
Bug 752643 - Make CompositorParent eglSurface setup available for non-android environment. r=ajuma
2012-05-08 12:40:41 -07:00
Oleg Romashin
ab5e7338d4
Bug 752640 - Allow PCompositor to work with Basic Layers backend. r=ajuma
2012-05-07 16:05:13 -07:00
Nicholas Cameron
a884abb611
Bug 747822 - Implement push/pop clip for Cairo/Azure. r=joe
2012-04-26 10:04:36 +12:00
Jon Buckley
eb1579639e
Bug 728017 - Implement WEBGL_compressed_texture_s3tc - r=bjacob
2012-05-08 13:29:31 -04:00
Ed Morley
93fca3e280
Backout ba7cf6fd10ae (bug 728017) for failing to compile
2012-05-08 18:50:45 +01:00
Jon Buckley
1720b18a60
Bug 728017 - Implement WEBGL_compressed_texture_s3tc - r=bjacob
2012-05-08 13:29:31 -04:00
Benoit Jacob
119f8d175f
Bug 749678 - 5/5 - fix dangling TLS pointer - r=jrmuizel
2012-05-08 09:47:34 -04:00
Benoit Jacob
fed31003d5
Bug 749678 - 4/5 - check owning thread in debug builds - r=bgirard
2012-05-08 09:47:34 -04:00
Benoit Jacob
f3194c19c8
Bug 749678 - 3/5 - stop calling platform-specific getCurrentContext functions - r=jrmuizel
2012-05-08 09:47:34 -04:00
Benoit Jacob
cb6c0c6172
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
61bad814cc
bug 751151 - move harfbuzz to gkmedias.dll on windows. r=khuey
2012-05-08 08:46:46 +01:00
Bas Schouten
5b789a608c
Backout bug 732985(f453201647a1,ca29dc47986a,f0ca5eb320c4,94ffc045ba89).
2012-05-08 04:58:37 +02:00
Bas Schouten
464271c16d
Bug 732985 - Followup 2: Only compile HasCPUIDBit when using SSE2. r=bustage
2012-05-08 04:52:06 +02:00
Bas Schouten
513000df6a
Bug 732985 - Followup: Fix include order in gfx/2d Makefile. r=bustage
2012-05-08 04:40:13 +02:00
Bas Schouten
9b3bbc93e2
Bug 732985 - Part 2: Use ImageScaler for large images. r=jrmuizel
2012-05-08 04:31:30 +02:00
Bas Schouten
1cf17247e1
Bug 732985 - Part 1: Add image scaling code to Azure. r=jrmuizel
2012-05-08 04:31:30 +02:00
Joe Drew
114b3f8fcf
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
8198aaa2dd
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
1fdac7df1a
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
9551b9b0e1
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