Nicholas Cameron
8e7e5c8a18
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
1ee2935580
Bug 753784; allow access to the max texture size from FrameLayerBuilder. r=roc
2012-05-22 19:15:16 -04:00
Nicholas Cameron
ff3f144642
Bug 753784; add the ability to force a single tile. r=roc
2012-05-22 19:14:03 -04:00
Benoit Girard
7fdc677b78
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
833c00c0cd
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
4a2a8d0ba4
bug 754243 - explicitly select Unicode charmap for Freetype face. r=jdaggett
2012-05-21 22:09:54 +01:00
Jacek Caban
f9a852608c
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
be0488a3e1
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
088ebb3f01
Befixing Bas build bustage, bug 757329
2012-05-22 18:00:23 +12:00
Bas Schouten
94bed9e6d8
Bug 757329: Support changing transforms while emitting path instructions. r=roc
2012-05-22 07:29:19 +02:00
Bas Schouten
f3ad70ed18
Bug 756767 - Part 2: Deal with CreateSourceSurfaceFromData failing. r=jrmuizel
2012-05-21 17:27:32 +02:00
Bas Schouten
d27e8a8a34
Bug 756767 - Part 1: Simplify SourceSurfaceD2D and add DataSourceSurface support. r=jrmuizel
2012-05-21 17:27:30 +02:00
Bas Schouten
2c927c7673
Bug 756454: User 2D texture for gradient realizations. r=jrmuizel
2012-05-21 17:24:05 +02:00
Bas Schouten
efff313ab0
Bug 756424: Properly set the rasterizer for FillGlyphsManual. r=jrmuizel
2012-05-21 17:24:00 +02:00
Jonathan Kew
a730b2ffe9
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
4e2da8437f
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
e3811bc0ae
Bug 756767 - Part 2: Deal with CreateSourceSurfaceFromData failing. r=jrmuizel
2012-05-21 17:27:32 +02:00
Bas Schouten
27f9d6c065
Bug 756767 - Part 1: Simplify SourceSurfaceD2D and add DataSourceSurface support. r=jrmuizel
2012-05-21 17:27:30 +02:00
Bas Schouten
4174e69824
Bug 756454: User 2D texture for gradient realizations. r=jrmuizel
2012-05-21 17:24:05 +02:00
Bas Schouten
e6b26d6359
Bug 756424: Properly set the rasterizer for FillGlyphsManual. r=jrmuizel
2012-05-21 17:24:00 +02:00
Jeff Muizelaar
b1181a6cd4
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
c5acb642c1
Merge mozilla-central to mozilla-inbound
2012-05-21 13:19:38 +01:00
Gervase Markham
ca171eec44
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Jonathan Kew
4819c5a3e6
bug 753230 - update graphite2 to upstream rev 978:c418207451a7. r=jdaggett
2012-05-21 08:41:53 +01:00
Bas Schouten
ee5382e0bf
Bug 595375: Fail brush creation when bitmap creation fails. r=jrmuizel
2012-05-20 22:29:07 +02:00
Brian Hackett
c07eaa0e3e
Use handles in API object hooks where possible, bug 750733. r=billm
2012-05-19 15:03:45 -07:00
Brian Hackett
9ae1966596
Backed out changeset 5fc7462dd394 for android orange.
2012-05-19 11:52:55 -07:00
Brian Hackett
a863456144
Use handles in API object hooks where possible, bug 750733. r=billm
2012-05-19 09:48:09 -07:00
Kartikaya Gupta
4a9c2f95a6
Bug 756555 - Intersect the upload region with the valid region. r=ajuma
2012-05-18 21:19:43 -04:00
Jonathan Kew
d2309b4659
bug 752459 - respect clusters when doing word-wrap:break-word. r=smontagu
2012-05-18 16:51:39 +01:00
Jonathan Kew
4550e97b25
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
bf5c7b36c2
Bug 756171 - Fix warning in LayerManagerOGLProgram.h. r=bgirard
2012-05-18 11:42:04 -04:00
Ms2ger
27b14430ad
No bug - Reorder initialization in mozilla::layers::Transaction constructor to fix a build warning.
2012-05-18 10:29:38 +02:00
Ryan VanderMeulen
2bc5761600
Merge m-c to inbound.
2012-05-17 23:23:57 -04:00
Makoto Kato
ba1e39b53d
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
4841e973e1
Bug 756007 - Fix path invariant for Azure/Cairo push/pop clip. r=joe
2012-05-17 17:54:22 -04:00
Jeff Muizelaar
21a136e943
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
1f9de263ac
Bug 754233 - Handle negative layer coordinate in Tiled layers. r=ajuma
2012-05-17 15:47:53 -04:00
Vladimir Vukicevic
0bbadb8659
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
a0e90dc55b
Bug 717393 - Followup: Properly regenerate shader headers. r=autogenerated
2012-05-17 02:33:01 +02:00
Nicholas Cameron
b9c7de3bfd
Bug 755078 - Disable mask layers on Android. r=roc
2012-05-17 10:30:10 +12:00
Benjamin Smedberg
371d2e7fc5
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
fc32236024
Bug 755452 - Don't re-invalidate region to paint in BasicTiledLayerBuffer::PaintThebes. r=roc
2012-05-15 16:34:06 -04:00
Vladimir Vukicevic
c6834c0b63
b=749426; don't use CreateSamplingRestrictedDrawable on mobile to avoid OOM; r=jrmuizel
2012-05-16 10:03:08 -04:00
Makoto Kato
91b8a5cff0
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
639f644bc2
Bug 754364. Fix bustage from changing the wrong #if 0
2012-05-16 02:04:31 -04:00
Jeff Muizelaar
915ee48539
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
d1f5ba30a6
Back out bug 703484 on this CLOSED TREE.
2012-05-15 20:19:37 -07:00
Bas Schouten
14cca23918
Bug 755591: Properly initialize mPermitSubpixelAA. r=jrmuizel
2012-05-16 03:34:18 +02:00
Ryan VanderMeulen
4fa5e1a4a3
Backout df38ed62a24a (bug 754364) due to Windows red. a=CLOSED TREE
2012-05-15 20:29:13 -04:00
Benoit Girard
dcda9631d2
Backout ab1cd425d884 for talos failures
...
--HG--
extra : rebase_source : 0d2930f14507123535a72aa75f73f78d03bcb765
2012-05-15 19:21:10 -04:00
Jeff Muizelaar
5748bfbc37
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
ce38c886b2
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
92d44d2322
Bug 703484 - Allow OMTC to be used with basic layers. r=bgirard
2012-05-15 15:56:56 -04:00
Nicolas Silva
14a397d2c7
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
9d32b6de6c
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
17b0e7f92d
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
8fd6f302fe
Merge mozilla-central to mozilla-inbound
2012-05-15 18:19:25 +01:00
Mike Hommey
40b66bc763
Bug 755277 - Avoid duplicate rules after bug 748001. r=ted
2012-05-15 19:01:01 +02:00
Bas Schouten
b92c726f5f
Bug 717393 - Part 5: Permit subpixel AA for transparent surfaces. r=roc
2012-05-15 16:57:51 +02:00
Bas Schouten
842825c810
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
e36b44e8c2
Bug 717393 - Part 3: Cache ClippedGeometry for D2D Azure backend. r=jrmuizel
2012-05-15 16:57:51 +02:00
Bas Schouten
13c1257585
Bug 717393 - Part 2: Refactor clip management and add ClippedMask texture. r=jrmuizel
2012-05-15 16:57:51 +02:00
Bas Schouten
98d653e97b
Bug 717393 - Part 1: Add helper for creating DWriteGlyphRuns. r=jrmuizel
2012-05-15 16:57:51 +02:00
Bas Schouten
870387f59e
Bug 754751: Fix GetClippedGeometry to work with rectangular clips. r=jrmuizel
2012-05-15 16:57:51 +02:00
Honza Bambas
4ce304fb77
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
4aca5b4bdb
Bug 751814 - Various Skia fixes for ARM without EDSP and ARMv6+. r=derf
2012-05-15 07:46:02 +02:00
Jeff Muizelaar
d3d4177966
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
8a77bd6592
Bug 754138 - Prevent Rect.h warning spam. r=roc
2012-05-14 19:01:05 -04:00
Mats Palmgren
c6512a9065
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
8b2dbc3dca
Backout 345ae68f15f4, b3b40121ac8d, 0d18b7a246d7, 9dbb6064ab58, dee9d7fa8eb6, 63eec6bfa948, 323c6be7cfe8 & f4aac7523a48 (bug 732875) for compilation failures
2012-05-14 21:05:24 +01:00
Benoit Jacob
8fbc0a34da
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
0e96bf2ae1
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
a9ae5c6dae
Bug 754056 - call ReadUnlock() before replacing tiles - r=bgirard
2012-05-12 16:56:55 -04:00
Bas Schouten
7bff374679
Bug 753835: Clip to mask image rather than relying on EXTEND_NONE. r=roc
2012-05-12 19:01:20 +02:00
Siarhei Siamashka
b6e967e61f
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
da3d6ffb97
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
b570c3ad27
Bug 753854 - -[NSOpenGLPixelFormat initWithAttributes] should be passed a 0 terminated array. [r=joe]
2012-05-10 12:56:42 -07:00
Robert O'Callahan
2ec4edf80b
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
528e055ee2
Back out 3502d9840d98 (bug 752368) for robo* failure
2012-05-09 22:26:52 -07:00
Bas Schouten
f0e0d55139
Bug 732985 - Part 2: Use ImageScaler for large images. r=jrmuizel
2012-05-10 06:31:14 +02:00
Bas Schouten
9cda15f84a
Bug 732985 - Part 1: Add image scaling code to Azure. r=jrmuizel
2012-05-10 06:31:14 +02:00
Vladimir Vukicevic
7eaf529b88
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
875848ef77
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
cdd7c645a3
Bug 751356 - Make presshell arena allocation methods inline and non-virtual. r=bz
2012-05-09 21:53:15 +02:00
Jonathan Kew
794d48120e
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
dc77036350
Bug 752643 - Make CompositorParent eglSurface setup available for non-android environment. r=ajuma
2012-05-08 12:40:41 -07:00
Oleg Romashin
7c5bb838e8
Bug 752640 - Allow PCompositor to work with Basic Layers backend. r=ajuma
2012-05-07 16:05:13 -07:00
Nicholas Cameron
dafb189f11
Bug 747822 - Implement push/pop clip for Cairo/Azure. r=joe
2012-04-26 10:04:36 +12:00
Jon Buckley
abfe75ece8
Bug 728017 - Implement WEBGL_compressed_texture_s3tc - r=bjacob
2012-05-08 13:29:31 -04:00
Ed Morley
5885a6edd0
Backout ba7cf6fd10ae (bug 728017) for failing to compile
2012-05-08 18:50:45 +01:00
Jon Buckley
3954a6b841
Bug 728017 - Implement WEBGL_compressed_texture_s3tc - r=bjacob
2012-05-08 13:29:31 -04:00
Benoit Jacob
54cda82030
Bug 749678 - 5/5 - fix dangling TLS pointer - r=jrmuizel
2012-05-08 09:47:34 -04:00
Benoit Jacob
5b80e21d94
Bug 749678 - 4/5 - check owning thread in debug builds - r=bgirard
2012-05-08 09:47:34 -04:00
Benoit Jacob
62e96f6fcf
Bug 749678 - 3/5 - stop calling platform-specific getCurrentContext functions - r=jrmuizel
2012-05-08 09:47:34 -04:00
Benoit Jacob
87c8149a38
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
eb7b8625ba
bug 751151 - move harfbuzz to gkmedias.dll on windows. r=khuey
2012-05-08 08:46:46 +01:00
Bas Schouten
ffa6f985a1
Backout bug 732985(f453201647a1,ca29dc47986a,f0ca5eb320c4,94ffc045ba89).
2012-05-08 04:58:37 +02:00
Bas Schouten
e96ac887c6
Bug 732985 - Followup 2: Only compile HasCPUIDBit when using SSE2. r=bustage
2012-05-08 04:52:06 +02:00
Bas Schouten
3e790bfe78
Bug 732985 - Followup: Fix include order in gfx/2d Makefile. r=bustage
2012-05-08 04:40:13 +02:00