Makoto Kato
83760304ae
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
d5b31c146f
Bug 756007 - Fix path invariant for Azure/Cairo push/pop clip. r=joe
2012-05-17 17:54:22 -04:00
Jeff Muizelaar
012e715022
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
51f967fdc3
Bug 754233 - Handle negative layer coordinate in Tiled layers. r=ajuma
2012-05-17 15:47:53 -04:00
Vladimir Vukicevic
051a14217f
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
bbec405ae1
Bug 717393 - Followup: Properly regenerate shader headers. r=autogenerated
2012-05-17 02:33:01 +02:00
Nicholas Cameron
5027f9e01b
Bug 755078 - Disable mask layers on Android. r=roc
2012-05-17 10:30:10 +12:00
Benjamin Smedberg
f00006a6a2
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
58b28c6f5c
Bug 755452 - Don't re-invalidate region to paint in BasicTiledLayerBuffer::PaintThebes. r=roc
2012-05-15 16:34:06 -04:00
Vladimir Vukicevic
1f3f8f2832
b=749426; don't use CreateSamplingRestrictedDrawable on mobile to avoid OOM; r=jrmuizel
2012-05-16 10:03:08 -04:00
Makoto Kato
c38b44d1f1
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
277c30f9b4
Bug 754364. Fix bustage from changing the wrong #if 0
2012-05-16 02:04:31 -04:00
Jeff Muizelaar
79f4605242
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
8b95eba736
Back out bug 703484 on this CLOSED TREE.
2012-05-15 20:19:37 -07:00
Bas Schouten
9b889709df
Bug 755591: Properly initialize mPermitSubpixelAA. r=jrmuizel
2012-05-16 03:34:18 +02:00
Ryan VanderMeulen
9f18aeac63
Backout df38ed62a24a (bug 754364) due to Windows red. a=CLOSED TREE
2012-05-15 20:29:13 -04:00
Benoit Girard
f036a5ce86
Backout ab1cd425d884 for talos failures
...
--HG--
extra : rebase_source : 0d2930f14507123535a72aa75f73f78d03bcb765
2012-05-15 19:21:10 -04:00
Jeff Muizelaar
09d3725c17
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
4b11dcfc82
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
94373b4976
Bug 703484 - Allow OMTC to be used with basic layers. r=bgirard
2012-05-15 15:56:56 -04:00
Nicolas Silva
388217afa6
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
f5e1330f5c
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
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
Benoit Jacob
4b973ad9e6
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
6056d5be55
Bug 749482: Fix assertion in SetRemoteImageData. r=roc
2012-05-01 23:46:53 +02:00
Timothy B. Terriberry
f6c691eae5
Bug 752293 - Mark stacks non-executable in yuv_row_arm.s, r=glandium
2012-05-06 05:41:14 -07:00
Kyle Huey
8f79312973
Bug 718539: Followup to fix MSVC warnings. r=me
2012-05-04 12:45:03 -07:00
Benoit Girard
7c5534843d
Bug 751896 - BasicTiledThebesLayer should use OPERATOR_SOURCE. r=jmuizelaar
2012-05-04 15:35:57 -04:00
Ed Morley
559a85b824
Backout 5c35cd6f3ea4 & ba39b0822992 (bug 607417) for native Android R1 failures
2012-05-04 14:26:09 +01:00
Jeff Muizelaar
15a0969a86
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
f73cfb4319
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
cca84b2a46
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
3cff69730f
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
6c8c52a043
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
5afaaecea3
backing out patches for bug 607417 due to build bustage
2012-05-04 17:29:05 +12:00
Chris Lord
e7fe8ce6cd
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
a3f43739ba
Bug 607417. Improve definition of the 'fixed layer' flag. r=tnikkel
2012-05-04 17:00:57 +12:00
Chris Lord
57d39cfc72
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
85c4b8f292
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
8dae948140
Bug 751594 - s/ResizeOffscreenFBO/ResizeOffscreenFBOs. r=bgirard
2012-05-03 18:33:51 -04:00
Bas Schouten
bc2f084e3e
Bug 738413 - Followup: Move ToIntRect to a Rect class method. r=roc
2012-05-03 23:41:37 +02:00
Bas Schouten
5cc7c5218c
Bug 738413 - Part 3: Fix numerous issues with PushGroupAndCopyBackground. r=roc
2012-05-03 23:31:02 +02:00
Bas Schouten
b058c7e333
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
6d00e6392f
Bug 738413 - Part 1: Add OpaqueRect API to Azure DrawTargets. r=roc
2012-05-03 23:31:02 +02:00
Benoit Jacob
1519eb1059
Backing out bug 739648 for linux build failure
2012-05-03 16:26:04 -04:00
Benoit Jacob
657df782fe
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
0f0ca8f00f
Bug 751463: Remove Azure from XUL. r=khuey
2012-05-03 21:21:52 +02:00
Mike Hommey
614e21ea6d
Bug 749533 - Add support for GNU/kFreeBSD and Hurd in SKIA. r=bjacob
2012-05-03 08:38:53 +02:00
Nicholas Cameron
79a33df6e6
Bug 716439; compile OGL shaders lazily. r=BenWa
2012-05-02 14:54:40 +12:00
Nicholas Cameron
444eba98c1
Bug 716439; shadow layer support. r=BenWa
2012-03-19 12:02:38 +13:00
Nicholas Cameron
37880b7f51
Bug 716439; change build process to genshaders statically. r=BenWa
2012-03-27 11:13:34 +13:00