Commit Graph

4793 Commits

Author SHA1 Message Date
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