Commit Graph

11620 Commits

Author SHA1 Message Date
Anthony Jones
f9775b58f9 Bug 833795 - Use screen relative co-ordinates for gestures; r=drs 2013-03-21 15:08:15 +13:00
Steve Singer
f2ece8dd56 Bug 844883 - Use a signed value for the stride. r=jmuizelaar 2013-03-20 15:42:51 -04:00
Milan Sreckovic
643024a806 Bug 825721 - Clamp negative box starts and disallow negative sizes. r=jmuizelaar 2013-03-07 10:13:28 -05:00
Robert O'Callahan
91bf5398ad Bug 843618. When reading back the results of clayer ompositing to draw them to a non-deefault rendering context, don't depend on the size of the rendering context's target surface --- it could be anything. r=jrmuizel 2013-03-21 00:22:58 +13:00
Gregory Szorc
89e86f9b21 Bug 844654 - Part 3: Remove now empty Makefile.in files; rs=khuey
--HG--
extra : rebase_source : 8de9c7f68a953e574dda22f8c14c2b2ca60444f9
2013-03-19 18:49:07 -07:00
Mike Shal
7ecea60097 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Steve Singer
0a94662ee4 Bug 851850 - Link in altivec on ppc64. r=jmuizelaar 2013-03-19 09:31:15 -04:00
Ed Morley
ab0833645c Backed out changeset c75481a07302 (bug 851611) 2013-03-18 14:10:35 +00:00
Ed Morley
3091d3e2b6 Backed out changeset d195190adc48 (bug 851611)
--HG--
rename : tools/profiler/GeckoProfiler.h => tools/profiler/sampler.h
rename : tools/profiler/GeckoProfilerImpl.h => tools/profiler/sps_sampler.h
2013-03-18 14:10:30 +00:00
Benoit Girard
b03f14270d Bug 851611 - Part 3: Rename headers. r=jrmuizel
--HG--
rename : tools/profiler/sampler.h => tools/profiler/GeckoProfiler.h
rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h
extra : rebase_source : 552fe1d3ff61d15b264aaf86f7c8cb4f4eff69d1
2013-03-18 14:41:02 +01:00
Benoit Girard
919018414b Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
--HG--
extra : rebase_source : 3032aaf7e50cdf9c350da688ec34e50a695fc7ca
2013-03-16 00:47:02 -04:00
Gregory Szorc
7d09ff18e0 Bug 844635 - Part 3: Remove empty Makefile.in files; r=glandium 2013-03-17 18:01:25 -07:00
Ms2ger
51cced7786 Bug 845374 - Part s: Stop including nsTArray.h in nsContentUtils.h; r=khuey 2013-03-17 08:55:16 +01:00
Ms2ger
669cc4360c Bug 845374 - Part r: Stop including nsTArray.h in nsReadableUtils.h; r=khuey 2013-03-17 08:55:16 +01:00
Jonathan Watt
392e922a53 Bug 846883 - Add support for native theming of <input type=range> on OS X. r=roc 2013-03-16 05:40:15 +00:00
Jonathan Kew
e3633d892b bug 851495 - add Khmer to table of scripts requiring shaping support. r=jdaggett 2013-03-15 17:08:55 +00:00
Boris Zbarsky
3ca8b4f4e7 Bug 848745 part 2. Add a scriptable API for converting RGB triples to CSS color names. r=dbaron,miker 2013-03-14 15:43:00 -04:00
John Daggett
63fecfb032 Bug 847272 - avoid userfontset updates within font stream handling methods. r=jkew 2013-03-14 14:24:40 +09:00
Alessandro Decina
3733aa0609 Bug 761018 - GStreamer video buffer handling optimization; r=cdouble 2013-03-13 16:11:15 -04:00
Chris Peterson
fae3705108 Bug 850408 - Part 1: Remove Snow Leopard OS checks in gfx and xre. r=joshmoz 2013-03-07 23:00:07 +00:00
Chris Lord
99ecbcc323 Bug 850396 - Disable single-tile paint path in BasicTiledThebesLayer. r=bgirard
This code-path has always had issues, but the fix in bug 842389 causes them
to be exposed more frequently.
2013-03-13 18:31:01 +00:00
Jeff Walden
b30b4197e6 Bug 847480 - Convert DeprecatedAbs uses that can relatively obviously be changd to Abs, to Abs. r=Ms2ger 2013-03-05 15:43:53 -08:00
Jeff Walden
f915a6ceec Bug 847480 - Convert DeprecatedAbs overloads taking floating point (except for nscoord uses, when nscoord is optionally a floating point type) to Abs. r=Ms2ger 2013-03-05 15:43:44 -08:00
Jeff Walden
5ec763f216 Bug 847480 - Blindly convert all existing mozilla::Abs users to mozilla::DeprecatedAbs. Individualized conversions to the reformed mozilla::Abs will continue until mozilla::DeprecatedAbs is unused, at which point it will be removed. r=Ms2ger 2013-03-05 15:43:30 -08:00
Gregory Szorc
426ac0cdd3 Merge mozilla-central into build-system 2013-03-13 08:20:09 -07:00
Gregory Szorc
de55b5242b Merge mozilla-central into build-system
dom/interfaces/svg/Makefile.in and dom/media/Makefile.in had merge
conflicts. They were resolved by hand. The former needed 2 IDLs removed.
The latter had a context conflict for EXPORTS_NAMESPACES.
2013-03-12 13:04:55 -07:00
Gregory Szorc
c865547d94 Bug 818246 - Part 4: Move XPIDLSRCS into moz.build (auto); rs=glandium
This is the result of running
|mach mozbuild-migrate --list XPIDLSRCS SDK_XPIDLSRCS XPIDL_SOURCES| and
reverting xpcom/sample/*.
2013-03-12 10:17:46 -07:00
Markus Stange
28dff28dde Bug 676248 - Make the window GL context transparent on OSX. r=bgirard 2013-03-11 12:29:00 -04:00
Benjamin Chen
97e11e07df Bug 824920 - Fix zoom ratio and check the zoom offset to prevent over-scroll. r=drs 2013-03-11 18:02:13 +08:00
Kan-Ru Chen (陳侃如)
c46efe7ac3 Bug 839981 - Adding Unagi pixels constants and color conversion. r=edwin 2013-03-12 08:38:42 -04:00
Jonathan Kew
51d2de9a05 bug 840431 - cache an ellipsis textrun on gfxFontGroup, to minimize perf overhead due to text-overflow. r=roc 2013-03-08 10:41:31 +00:00
Kyle Huey
edf934213a Back out Bug 848078 for orange. 2013-03-07 21:34:01 -08:00
Matt Woodrow
e99ea867ad Bug 839987 - Re-set the clip after we change the render target in ContainerLayerD3D9. r=Bas 2013-03-08 15:18:04 +13:00
Matt Woodrow
034d893b36 Bug 848078 - Remove shadowed variable in ContainerLayerD3D9. r=Bas 2013-03-08 15:15:48 +13:00
Jeff Gilbert
6665ee35d6 Bug 848023 - Backout 123989 for mistaken push on r- 2013-03-07 14:13:09 -08:00
Nicholas Cameron
284bfcfdff Bug 842389 - return the right thing from ProgressiveUpdate; r=cwiiis 2013-03-07 15:02:06 +00:00
Chris Lord
75f7b3b58c Bug 716403 - Annotate layers with the fixed margins from the PresShell. r=nrc,roc
This annotates fixed layers with the margins that have been applied from
nsIPresShell->GetContentDocumentFixedPositionMargins. Using SyncViewportInfo
in CompositorParent, this allows for async fixed position margin setting.
2013-03-07 10:17:33 +00:00
Chris Lord
792e39c1fd Bug 716403 - Offset fixed layers so the toolbar doesn't obscure them. r=nrc,kats
Offset fixed layers in the compositor so that the toolbar in Firefox for Android
doesn't obscure them. This does not affect layout, so input on the elements in
said layers will appear broken.
2013-03-07 10:17:33 +00:00
Ryan VanderMeulen
e67ae46cb3 Backed out 9 changesets (bug 716403) for Android 4.0 robocop bustage on a CLOSED TREE. 2013-03-06 16:11:05 -05:00
Milan Sreckovic
f7fa41fcf0 Bug 848023 - Put back the override of fGetIntegerv for max texture sizes. r=bjacob 2013-03-06 09:34:35 -05:00
Milan Sreckovic
fbac5da37b Bug 848023 - Use the same adjusted max texture size everywhere. r=bjacob 2013-03-05 13:56:27 -05:00
Chris Lord
f66da698fb Bug 716403 - Annotate layers with the fixed margins from the PresShell. r=nrc,roc
This annotates fixed layers with the margins that have been applied from
nsIPresShell->GetContentDocumentFixedPositionMargins. Using SyncViewportInfo
in CompositorParent, this allows for async fixed position margin setting.
2013-03-06 16:56:00 +00:00
Chris Lord
824a09dd68 Bug 716403 - Offset fixed layers so the toolbar doesn't obscure them. r=nrc,kats
Offset fixed layers in the compositor so that the toolbar in Firefox for Android
doesn't obscure them. This does not affect layout, so input on the elements in
said layers will appear broken.
2013-03-06 16:55:59 +00:00
Daniel Holbert
56c48afacf Bug 843719: Reorder params in Margin constructors and SizeTo() methods to match CSS's top,right,bottom,left ordering. r=seth 2013-03-06 00:05:55 -08:00
George Wright
fa07e5554a [PATCH 9/9] Bug 751418 - Add Skia patches to the Skia patch directory. r=none
From ea01f59a84548b222e4a04e5d5e8b83a844aca75 Mon Sep 17 00:00:00 2001
---
 ...18-Add-our-own-GrUserConfig-r-mattwoodrow.patch | 29 ++++++++++++++++++++++
 ...Fix-compile-error-on-gcc-in-Skia-GL-r-mat.patch | 26 +++++++++++++++++++
 gfx/skia/patches/README                            |  2 ++
 3 files changed, 57 insertions(+)
 create mode 100644 gfx/skia/patches/0012-Bug-751418-Add-our-own-GrUserConfig-r-mattwoodrow.patch
 create mode 100644 gfx/skia/patches/0013-Bug-751418-Fix-compile-error-on-gcc-in-Skia-GL-r-mat.patch
2013-03-06 02:06:29 -05:00
Jacek Caban
f3f006ac72 Bug 849207 - Use __declspec(dllexport) for exporting skia C++ symbols. r=gwright
--HG--
extra : rebase_source : 333c7fcc334db6f6969995f0ff5fac8bb9607e74
2013-03-12 11:33:36 +01:00
Steve Singer
d85c955c65 Bug 817356 - Patch SKIA to recognize uppercase PPC/PPC64. r=gwright 2013-03-11 20:24:52 -04:00
George Wright
ceb8b0a733 [PATCH 8/9] Bug 751418 - Plumb through GL-backed CanvasLayers for Skia/GL r=mattwoodrow
From ac18dd134e69cc734dc6a9e16498e43207de4e9a Mon Sep 17 00:00:00 2001
---
 content/canvas/src/CanvasRenderingContext2D.cpp | 42 +++++++++++++++++++++++--
 content/canvas/src/CanvasRenderingContext2D.h   |  5 +++
 gfx/2d/2D.h                                     |  8 +++++
 gfx/2d/Factory.cpp                              | 10 ++++++
 gfx/thebes/gfxPlatform.cpp                      | 34 ++++++++++++++++++++
 gfx/thebes/gfxPlatform.h                        | 12 +++++++
 6 files changed, 109 insertions(+), 2 deletions(-)
2012-11-30 18:58:00 -05:00
George Wright
64496fbfb2 [PATCH 7/9] Bug 751418 - Add support for the Skia/GL backend to DrawTargetSkia r=mattwoodrow
From 0792589a5679ba3af020708233bacbd83a0c611e Mon Sep 17 00:00:00 2001
---
 gfx/2d/DrawTargetSkia.cpp | 24 ++++++++++++++++++++++++
 gfx/2d/DrawTargetSkia.h   |  4 ++++
 gfx/2d/HelpersSkia.h      | 20 ++++++++++++++++++++
 3 files changed, 48 insertions(+)
2012-11-30 18:57:38 -05:00
George Wright
d77ad6416f [PATCH 6/9] Bug 751418 - Add a GrGLInterface for Mozilla's GLContext r=mattwoodrow
From cfd2ab8845e4f1ae7e93d293662b9519346694d2 Mon Sep 17 00:00:00 2001
---
 gfx/gl/GLContextSkia.cpp    | 802 ++++++++++++++++++++++++++++++++++++++++++++
 gfx/gl/GLContextSkia.h      |  14 +
 gfx/gl/Makefile.in          |   5 +
 layout/media/symbols.def.in |   7 +
 4 files changed, 828 insertions(+)
 create mode 100644 gfx/gl/GLContextSkia.cpp
 create mode 100644 gfx/gl/GLContextSkia.h
2012-10-27 16:47:58 -04:00
George Wright
91af913758 [PATCH 5/9] Bug 807500 - Add a bunch of required GL wrapper methods to GLContext for use with Skia-GL r=mattwoodrow
From 280a6de21b11d92c287ec8d35daffd34179b6e94 Mon Sep 17 00:00:00 2001
---
 gfx/gl/GLContext.cpp      | 26 +++++++++++++++++
 gfx/gl/GLContext.h        | 73 +++++++++++++++++++++++++++++++++++++++++++++++
 gfx/gl/GLContextSymbols.h | 20 +++++++++++++
 3 files changed, 119 insertions(+)
2012-11-01 12:11:42 -04:00
George Wright
2190ff4dfe [PATCH 4/9] Bug 751418 - Ensure we define USE_SKIA globally r=ted
From f0e2d2aa3f9a5738369ce9e0e8cd00d937ac77ab Mon Sep 17 00:00:00 2001
---
 configure.in         | 4 ++++
 gfx/2d/Makefile.in   | 7 -------
 gfx/skia/Makefile.in | 3 ---
 3 files changed, 4 insertions(+), 10 deletions(-)
2013-02-26 18:29:33 -05:00
George Wright
c7ddc2f80c [PATCH 3/9] Bug 751418 - Fix compile error on gcc in Skia/GL r=mattwoodrow
From 3d786b1f0c040205ad9ef6d4216ce06b41f7359f Mon Sep 17 00:00:00 2001
---
 gfx/skia/src/gpu/gl/GrGLProgram.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2012-11-05 15:49:42 +00:00
George Wright
105f734b7c [PATCH 2/9] Bug 751418 - Add our own GrUserConfig r=mattwoodrow
From 4c25387e6e6cdb55f19e51631a78c3fa9b4a3c73 Mon Sep 17 00:00:00 2001
---
 gfx/skia/include/gpu/GrUserConfig.h | 6 ++++++
 1 file changed, 6 insertions(+)
2012-11-01 17:29:50 -04:00
George Wright
fc4bc60571 [PATCH 1/9] Bug 751418 - Build Skia with GPU support r=mattwoodrow
From 09b1695eff40e68232849668a33ceeafc8ebd606 Mon Sep 17 00:00:00 2001
---
 gfx/skia/Makefile.in                   | 133 +++++++++++++++++++++++++++++++++
 gfx/skia/include/config/SkUserConfig.h |   2 +-
 2 files changed, 134 insertions(+), 1 deletion(-)
2012-10-16 16:21:54 -04:00
Seth Fowler
e391985aa5 Bug 846132 - (Part 1) Add gfxASurface methods to produce gfxImageSurfaces. r=jrmuizel 2013-03-05 15:39:48 -08:00
Seth Fowler
dfbea1ac80 Bug 846937 - gfxQuartzImageSurface should implement GetSize. r=jrmuizel
--HG--
extra : rebase_source : e83f15f6bd5d55d678226b62e725b982d43f8b77
2013-03-05 14:22:28 -08:00
Ali Juma
9adde3bcfe Bug 691661 - Add missing break statement in cairo-ft-font.c from upstream. r=jmuizelaar 2013-03-05 12:13:30 -05:00
Jeff Gilbert
df010bad60 Bug 845482 - Init scissor box values on offscreen context init - r=bjacob 2013-03-04 16:44:31 -08:00
Benoit Girard
dd4d487c68 Bug 823236 - Fix the lifetime of SharedPlanarYCbCrImage/SharedRGBImage. r=nical
--HG--
extra : rebase_source : f10703d971eef9ce4d9416d03eca0556882cce3b
2013-03-04 11:00:20 -05:00
Jeff Walden
1871e9f3f8 Bug 835542 - Implement mozilla::Abs. r=Ms2ger
--HG--
extra : rebase_source : a3e62ff76365d27cc4cb10e4fee942ddb8b10b79
2013-02-15 19:55:36 -08:00
Bas Schouten
f8a695c1e9 Bug 828157 - Properly offset gradient origin when using D2D to draw moderately complex gradients. r=jmuizelaar 2013-03-12 15:55:50 -04:00
Jonathan Kew
3c4878e1e6 bug 844669 pt 3 - implement a simple GetCommonFallbackFonts for Android, to reduce the chances of hitting the global fallback codepath and loading all cmaps. r=blassey 2013-03-04 17:03:16 +00:00
Jonathan Kew
bf3682b987 bug 844669 pt 2 - use a transient FT_Face to read font tables such as cmap, if the font entry does not already have an existing face. r=blassey 2013-03-04 17:03:14 +00:00
Jonathan Kew
dd8ab1d754 bug 844669 pt 1 - don't keep freetype faces for all fonts around after building the font list on first-run. r=blassey 2013-03-04 17:03:11 +00:00
Ed Morley
35a3834d4f Backed out changeset c1f4eff03e82 (bug 840693) for causing bug 838563 2013-03-04 14:38:11 +00:00
Ed Morley
9096110a31 Backed out changeset cacb9f3ee44d (bug 840693) 2013-03-04 14:37:43 +00:00
Jonathan Kew
aa623e0a8b bug 846617 - support AAT Myanmar fonts via Core Text shaping. r=jdaggett 2013-03-04 10:14:36 +00:00
John Daggett
bdf8f19da2 Bug 846215 - separate content and chrome word cache metrics. r=taras 2013-03-04 15:57:08 +09:00
Robert O'Callahan
94dcb604c5 Bug 840695. Make aAntialiasMode default to AA_DEFAULT, because, well, it's the default. r=bas
--HG--
extra : rebase_source : f22329337aa120573efc13fa6ac0bb111ff0dba2
2013-02-25 12:01:16 +13:00
Anthony Jones
9cb34fbb9a Bug 840693 - Change to using gfx:: types in AsyncPanZoomController; r=cjones 2013-03-04 13:25:26 +13:00
Anthony Jones
123a7144b9 Bug 840693 - Add ZoomScale; r=Bas 2013-03-04 13:25:22 +13:00
Ryan VanderMeulen
3fe58cf9ea Backed out 8 changesets (bug 716403) for frequent Android mochitest-8 failures on a CLOSED TREE. 2013-03-01 16:09:59 -05:00
Chris Lord
73720b6632 Bug 716403 - Annotate layers with the fixed margins from the PresShell. r=nrc,roc
This annotates fixed layers with the margins that have been applied from
nsIPresShell->GetContentDocumentFixedPositionMargins. Using SyncViewportInfo
in CompositorParent, this allows for async fixed position margin setting.
2013-03-01 15:46:34 +00:00
Chris Lord
9dcda147b3 Bug 716403 - Offset fixed layers so the toolbar doesn't obscure them. r=nrc,kats
Offset fixed layers in the compositor so that the toolbar in Firefox for Android
doesn't obscure them. This does not affect layout, so input on the elements in
said layers will appear broken.
2013-03-01 15:46:33 +00:00
Brian R. Bondy
dcff5c97c5 Bug 845571 - Turn on console debug logging when running in Metro. r=jimm 2013-02-28 16:10:17 -05:00
Oleg Romashin
3e778cd5b1 Bug 844698 Make Qt EGL port working on X11 Maemo/Meego after bug 716859 landed. r=jgilbert
--HG--
extra : rebase_source : ecd6996396379823b9eec44cb0fd20e115fa8153
2013-02-27 20:56:29 -08:00
Milan Sreckovic
a4a0dd7987 Bug 843830 - Consolidate the enums in one place, so that bad things don't happen if the qcms enums ever change. r=bgirard 2013-02-21 17:38:10 -05:00
Kartikaya Gupta
8c5695896a Bug 844275 - Update test_acceleration to guard against windows with no layer manager. r=joedrew 2013-02-28 13:28:24 -05:00
Kartikaya Gupta
f86cafabb9 Bug 844275 - Drive the layer manager creation from the GLController rather than GetLayerManager. r=Cwiiis 2013-02-28 13:28:23 -05:00
Gregory Szorc
e1b210ddf6 Merge mozilla-central into build-system
The 3 merged files had no conflicts and were manually verified to ensure
no incompatible changes crept in.
2013-02-27 21:02:02 -08:00
Gregory Szorc
0c8ee65118 Merge mozilla-central into build-system
There were merges in configure.in and some Makefile.in. None had any
conflicts. I spot verified the Makefile.in changes and confirmed that
the changes did not touch any DIRS* variables.
2013-02-27 10:03:52 -08:00
Ms2ger
aea301eee3 Merge m-c to b-s. 2013-02-26 19:09:25 +01:00
Gregory Szorc
45faa95b04 Merge mozilla-central into build-system
Only conflict was configure.in amd was due to context, not
changed lines themselves.
2013-02-25 22:09:18 -08:00
Gregory Szorc
6145f28e00 Bug 784841 - Part 18o: Convert /gfx; r=jrmuizel f=Ms2ger 2013-02-25 12:47:21 -08:00
Matt Woodrow
a3bb993fb1 Bug 835045 - Use CreateThebesSurfaceAliasForDrawTarget_hack to avoid having multiple cairo_surface_quartz objects for a single CGContext. r=nrc 2013-02-26 10:18:52 +13:00
Kartikaya Gupta
dfdd0b2b64 Bug 840721 - Add a PostDelayedTask method to the GeckoContentController interface. r=cjones 2013-02-25 15:50:49 -05:00
Bob Clary
5b3f258822 Bug 845778 - Skip content/canvas/crashtests/789933-1.html (bug 833371), gfx/tests/crashtests/385228-1.svg, image/test/crashtests/694165-1.xhtml for Android, r=jmaher. 2013-02-27 06:52:05 -08:00
Jacek Caban
df4644d20c Bug 716859 - Avoid jump crossing variable declaration (GCC bustage fix) 2013-02-26 12:06:43 +01:00
James Willcox
dc9a4a513c Bug 844468 - Work around missing GL_OES_EGL_sync in Adreno r=vlad 2013-02-23 12:14:11 -05:00
Martijn Wargers
dd52bff80c Bug 390476 - Crash test. 2013-02-23 11:38:13 +01:00
Jonathan Kew
aabb1feab3 bug 728436 - make synthetic bolding less severe at large sizes. r=jdaggett 2012-10-29 13:43:17 +00:00
Nicholas Cameron
88183281a9 Bug 843940; Initialise Transaction::mRotationChanged. r=roc 2013-02-26 18:18:20 +13:00
Tatiana Meshkova
147bf694f6 Bug 842805 - Use of API deprecated in Qt5. r=romaxa, r=glandium 2013-02-25 12:25:16 -08:00
Benoit Girard
e6e264b047 Bug 839740 - Add Moz2D Unit Tests to gtest. r=bas 2013-02-22 19:28:08 -05:00
Benoit Girard
8be43182b6 Bug 767231 - Part 2: Add a sample TiledLayerBuffer test. r=ted,bjacob 2013-02-22 16:25:58 -05:00
Tatiana Meshkova
724ae7586d Bug 824511 - Remove Axis.cpp?mark=76,79,82#73 dead code and make Axis less sensitive to random move events distance. r=drs 2013-02-20 14:59:15 -08:00
Ryan VanderMeulen
dbaacdf954 Merge m-c to inbound. 2013-02-22 16:22:03 -05:00
Benoit Girard
773a511cda backout 9f044f9e981a (Bug 842389) due to page correctness regression bug 843997. 2013-02-22 13:32:58 -05:00
Jonathan Kew
2b216fca37 bug 843588 - font table cache management should not rely on hashtable entry pointers remaining valid. r=karlt 2013-02-22 13:14:33 +00:00