Commit Graph

6592 Commits

Author SHA1 Message Date
Gregory Szorc
0f0c587cec Bug 784841 - Part 18o: Convert /gfx; r=jrmuizel f=Ms2ger 2013-02-25 12:47:21 -08:00
Matt Woodrow
112a58adca 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
e15294782b Bug 840721 - Add a PostDelayedTask method to the GeckoContentController interface. r=cjones 2013-02-25 15:50:49 -05:00
Bob Clary
016263e4bb 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
ef51831bf6 Bug 716859 - Avoid jump crossing variable declaration (GCC bustage fix) 2013-02-26 12:06:43 +01:00
James Willcox
1e42a758c6 Bug 844468 - Work around missing GL_OES_EGL_sync in Adreno r=vlad 2013-02-23 12:14:11 -05:00
Martijn Wargers
5441f6f2dc Bug 390476 - Crash test. 2013-02-23 11:38:13 +01:00
Jonathan Kew
635ab4f46c bug 728436 - make synthetic bolding less severe at large sizes. r=jdaggett 2012-10-29 13:43:17 +00:00
Nicholas Cameron
445321c3bc Bug 843940; Initialise Transaction::mRotationChanged. r=roc 2013-02-26 18:18:20 +13:00
Tatiana Meshkova
35e5cbc38b Bug 842805 - Use of API deprecated in Qt5. r=romaxa, r=glandium 2013-02-25 12:25:16 -08:00
Benoit Girard
b84eafe4cc Bug 839740 - Add Moz2D Unit Tests to gtest. r=bas 2013-02-22 19:28:08 -05:00
Benoit Girard
c18fb440d3 Bug 767231 - Part 2: Add a sample TiledLayerBuffer test. r=ted,bjacob 2013-02-22 16:25:58 -05:00
Tatiana Meshkova
5b69b09056 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
c36c1fdee7 Merge m-c to inbound. 2013-02-22 16:22:03 -05:00
Benoit Girard
35297ef120 backout 9f044f9e981a (Bug 842389) due to page correctness regression bug 843997. 2013-02-22 13:32:58 -05:00
Jonathan Kew
54a3ee7cad 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
Nicholas Nethercote
454fc52e2b Bug 843490 - Fix a simple clang 3.2 compile error in gfx/gl/SurfaceStream.cpp. r=jgilbert. 2013-02-20 23:52:17 -08:00
Jonathan Kew
941b182708 bug 844133 - eliminate the MOZ_GRAPHITE configure option. r=ted 2013-02-22 16:52:20 +00:00
Jeff Gilbert
78f00c0f31 Bug 716859 - Streaming GLContext buffers (doublebuffering, etc) - r=bjacob,jrmuizel,vlad
--HG--
extra : rebase_source : 3fb4230127df8a265d930fb779bdc93e05626c8b
2013-02-13 15:26:24 -08:00
Ed Morley
23a70898de Backed out changeset 82747d694e7a (bug 716859) for android reftest-2 timeouts 2013-02-21 19:54:25 +00:00
Jeff Gilbert
197c718e7b Bug 716859 - Streaming GLContext buffers (doublebuffering, etc) - r=bjacob,jrmuizel,vlad
--HG--
extra : rebase_source : 5dad29809733a54a19cd3e5030498f00597d1dc8
2013-02-13 15:26:24 -08:00
Ryan VanderMeulen
b891b80fa0 Backed out changeset b46c006a7696 (bug 716859) and changeset 6a14e4c15aa6 (bug 841836) for B2G test failures on a CLOSED TREE. 2013-02-20 10:01:20 -05:00
Jeff Gilbert
2187525c49 Bug 716859 - Streaming GLContext buffers (doublebuffering, etc) - r=bjacob,jrmuizel,vlad 2013-02-13 15:26:24 -08:00
Karl Tomlinson
0b633b42e9 b=788935 remove unused no-op virtual GLContext::WindowDestroyed() r=vlad
CLOSED TREE
2013-02-20 11:04:00 +13:00
Matt Brubeck
e27a914398 Back out dd103ec4c44b through fba3a342a530 because of B2G test failures on a CLOSED TREE
--HG--
rename : toolkit/system/gnome/nsSystemAlertsService.cpp => toolkit/system/gnome/nsAlertsService.cpp
rename : toolkit/system/gnome/nsSystemAlertsService.h => toolkit/system/gnome/nsAlertsService.h
2013-02-19 17:06:18 -08:00
Karl Tomlinson
e603f6fb3e b=788935 remove unused no-op virtual GLContext::WindowDestroyed() r=vlad
--HG--
extra : rebase_source : ed6bfd166989e0547676916bdf423ca2f4ce7a38
2013-02-20 11:04:00 +13:00
Jonathan Kew
2ec999237c bug 842514 - consistently use signed types for appUnitsPerDevPixel variables. r=roc 2013-02-19 21:46:27 +00:00
Nicholas Cameron
87d332a258 Bug 842389 - return the right thing from ProgressiveUpdate; r=BenWa,cwiiis 2013-02-20 09:01:34 +13:00
Chris Jones
2bc9fd31dd Bug 841993: Clean up Transports of |opens| channels. r=bent,kanru,nical a=blocking-b2g 2013-02-19 11:27:49 -08:00
Kartikaya Gupta
ba94268f7d Bug 841503 - Delete a bunch of non-OMTC android codepaths. r=BenWa,snorp 2013-02-19 12:35:38 -05:00
Jeff Muizelaar
faf4189886 Bug 809821. Update pixman to 0.29.2
Ben Avison (7):
      Tweaks to lowlevel-blt-bench
      ARMv6: Lay the groundwork for later patches in the series
      ARMv6: New fill routines
      ARMv6: New blit routines
      ARMv6: New conversion routines
      ARMv6: Replacement add_8_8, over_8888_8888, over_8888_n_8888 and over_n_8_8888 routines
      Improve L1 and L2 benchmark tests for caches that don't use allocate-on-write

Benjamin Gilbert (1):
      Fix thread safety on mingw-w64 and clang

Chris Wilson (6):
      sse2: Add a fast path for add_n_8888
      sse2: Add a fast path for add_n_8_8888
      sse2: Add fast paths for bilinear source with a solid mask
      Always return a valid function from lookup_composite()
      Always return a valid function from lookup_combiner()
      Eliminate duplicate copies of channel flags for pixman_image_composite32()

Jeff Muizelaar (1):
      Add a version of bilinear_interpolation for precision <=4

Joshua Root (1):
      Fix undeclared variable use and sysctlbyname error handling on ppc

Marko Lindqvist (1):
      Fix build with automake-1.13

Matt Turner (2):
      Add new demos and tests to .gitignore
      Convert INCLUDES to AM_CPPFLAGS

Nemanja Lukic (5):
      MIPS: DSPr2: Added more fast-paths for SRC operation:
      MIPS: DSPr2: Added more fast-paths for OVER operation:
      MIPS: DSPr2: Added several nearest neighbor fast paths with a8 mask:
      MIPS: DSPr2: Added more fast-paths for REVERSE operation:      - out_reverse_8_0565      - out_reverse_8_8888
      MIPS: DSPr2: Added more fast-paths:      - over_reverse_n_8888      - in_n_8_8

Siarhei Siamashka (21):
      test: Change is_little_endian() into inline function
      test: Added a better PRNG (pseudorandom number generator)
      test: Search/replace 'lcg_*' -> 'prng_*'
      test: Switch to the new PRNG instead of old LCG
      test: Get rid of the obsolete 'prng_rand_N' and 'prng_rand_u32'
      Improve performance of combine_over_u
      test: Workaround unaligned MOVDQA bug (http://gcc.gnu.org/PR55614)
      test: add "src_0565_8888" to lowlevel-blt-bench
      Change CONVERT_XXXX_TO_YYYY macros into inline functions
      Faster conversion from a8r8g8b8 to r5g6b5 in C code
      ARM: make use of UQADD8 instruction even in generic C code paths
      Rename 'xor' variable to 'filler' (because 'xor' is a C++ keyword)
      Define SIZE_MAX if it is not provided by the standard C headers
      Use more appropriate types and remove a magic constant
      Added C variants of r5g6b5 fetch/write-back iterators
      Faster write-back for the C variant of r5g6b5 dest iterator
      Faster fetch for the C variant of r5g6b5 src/dest iterator
      Add higher precision "pixman_transform_point_*" functions
      configure.ac: Added detection for __float128 support
      test: Added matrix-test for testing projective transform accuracy
      Use pixman_transform_point_31_16() from pixman_transform_point()

Stefan Weil (3):
      Always use xmmintrin.h for 64 bit Windows
      pixman: Use uintptr_t in type casts from pointer to integral value
      test: Fix compiler warnings caused by unused code

Søren Sandmann Pedersen (37):
      Post-release version bump to 0.27.5
      Pre-release version bump to 0.28.0
      Post-release version bump to 0.29.1
      pixman_image_composite: Reduce opaque masks to NULL
      pixman.h: Add typedefs for pixman_f_transform and pixman_f_vector
      Allow src and dst to be identical in pixman_f_transform_invert()
      Round fixed-point multiplication
      Convolution filter: round color values instead of truncating
      Add text file rounding.txt describing how rounding works
      Add new filter PIXMAN_FILTER_SEPARABLE_CONVOLUTION
      rounding.txt: Describe how SEPARABLE_CONVOLUTION filter works
      Add new pixman_filter_create_separable_convolution() API
      demos/gtk-utils.[ch]: Add pixman_image_from_file()
      demos: Add new demo program, "scale"
      Add demos/zone_plate.png
      Add demo program for conical gradients
      Add fast paths for separable convolution
      demos/radial-test: Add zero-radius circles to demonstrate rendering bugs
      radial: When comparing t to mindr, use >= rather than >
      test/utils.[ch]: Add utility function to draw a checkerboard
      demos/conical-test: Use the draw_checkerboard() utility function
      demos/radial-test: Add checkerboard to display the alpha channel
      Add testing of trapezoids to stress-test
      pixman_composite_trapezoids: Return early if mask_format is not of TYPE_ALPHA
      pixman_composite_trapezoids(): Check for NULL return from create_bits()
      float-combiner.c: Change tests for x == 0.0 tests to - FLT_MIN < x < FLT_MIN
      Handle solid images in the noop iterator
      pixman-filter.c: Cope with NULL returns from malloc()
      README: Add guidelines on how to contribute patches
      test/utils.[ch]: Add new function operator_name()
      utils.[ch]: Add new format_name() function
      test: Use operator_name() and format_name() in composite.c
      demo/scale: Add a spin button to set the number of subsample bits
      pixman-combine-float.c: Use IS_ZERO() in clip_color() and set_sat()
      Change default GPGKEY to 3892336E, which is soren.sandmann@gmail.com
      stresstest: Ensure that the rasterizer is only given alpha formats
      Pre-release version bump to 0.29.2
2013-02-18 10:17:08 -05:00
Jonathan Kew
c53273d089 bug 827093 - cherry-pick Cham shaping fix from harfbuzz commit b1f4407..b8e8472. r=jdaggett 2013-02-18 12:42:31 +00:00
Daniel Holbert
a6f9b0aab5 Bug 839347: Move SkNO_RETURN_HINT out of anonymous namespace so that clang won't warn about it being unused. r=mattwoodrow 2013-02-17 23:46:05 -08:00
L. David Baron
e1a3e9807a Bug 563195: Fix -Wshadow warnings in gfx that affect layout/style. r=derf
A better name here would be welcome.
2013-02-17 22:56:32 -08:00
John Daggett
12fa6f3e69 Bug 833169 - fixup idents and trim out redundant initialization. r=karlt 2013-02-18 14:19:40 +09:00
John Daggett
65e1a62897 Bug 833169 - initialize family name in pango font entries. r=roc 2013-02-18 11:23:01 +09:00
John Daggett
d043403e24 Bug 833169 - add font family name to font entries and use in user font cache key. r=jkew 2013-02-18 11:22:55 +09:00
Oleg Romashin
b0de49c8ad Bug 840869 - division-by-zero possible in gfxFont::Draw when mAdjusted == 0.0 r=bas.schouten 2013-02-17 10:24:55 -08:00
Daniel Holbert
45b45db03a Bug 839265: Remove unused enum value OP_ARCTO from the PathOp::OpType enum. r=Bas 2013-02-17 00:49:50 -08:00
Daniel Holbert
7e0d47c24b Bug 839257: Mark Factory.cpp's HasCPUIDBit() as inline, to fix build warnings on some configurations about the function being defined but not used. r=Bas 2013-02-17 00:45:10 -08:00
Avi Halachmi
ad77774fb9 Bug 838758: Cache GradientStops instead of gfxPattern. r=jrmuizel
Our gfxPattern cache is currently way too specific, which causes lots of
unnecessary cache misses. The only thing that we actually need to key on is the
color stops.

This switches the cache to hold GradientStops instead of gfxPatterns. This
improves our cache hit rate and is simpler. It also avoids doing caching when
not using Azure, which currently has no benefit.

Average paint times results (in ms)
(on windows 7 x64, i7-3630qm, HD4000)
-------------------------------------
m-c
open: 3.5 close: 3.3

m-c cache-key
open: 2.6 close: 2.4

ux
open: 7.3 close: 5.2

ux cache-key
open: 6.9 close: 5.3
2013-02-15 20:54:49 +02:00
Jonathan Kew
f96e8d4cc7 bug 841313 - update harfbuzz to upstream commit a0cb9f3... (v0.9.12+) to pick up Myanmar/SEAsian shapers and Indic fixes. r=jdaggett 2013-02-15 10:37:41 +00:00
Ryan VanderMeulen
cf5adab5f1 Backed out changeset 38c7d7a7f586 (bug 716859) for B2G reftest failures on a CLOSED TREE. 2013-02-13 21:39:07 -05:00
Milan Sreckovic
a8b68744f7 Bug 839621 - qcms_transform_create can return null, so indirect callers need to be ready for it as well. r=jmuizelaar 2013-02-08 15:46:26 -05:00
Jonathan Kew
c2e9592336 bug 836225 - handle supplementary-plane chars properly in graphite shaper. r=jdaggett 2013-02-13 23:40:24 +00:00
Jeff Gilbert
3375a513c3 Bug 716859 - Streaming GLContext buffers (doublebuffering, etc) - r=bjacob,jrmuizel,vlad 2013-02-13 15:26:24 -08:00
Boris Zbarsky
81c0b2b097 Bug 618479 part 1. Clean up the nsTArray binary-insert code a little bit. r=jlebar,kinetik 2013-02-13 10:11:53 -05:00
Jacek Caban
19e52a54e9 Bug 840577 - Fixed ANGLE cross compilation on case sensitive OSes r=bjacob 2013-02-13 13:33:39 +01:00
Benoit Girard
9b48150611 Bug 840856 - Check component alpha surface for allocation failure. r=mattwoodrow 2013-02-12 23:37:08 -05:00
Daniel Holbert
c2dca048b1 Bug 839384: Fix build warnings for DrawTargetCG. r=jrmuizel 2013-02-12 20:00:54 -08:00
Chris Jones
6c35700be5 Bug 840372: Don't let valid regions grow beyond 8 rects. r=roc 2013-02-12 13:13:16 -08:00
Nicholas Cameron
4dcee2ea37 Bug 828531; fix scaling CSS pixels for animations; r=roc
--HG--
extra : rebase_source : 0e24bf2ee472a37b742efe3d142c2c25fef3e572
2013-02-13 10:00:54 +13:00
Robert O'Callahan
1ffa96c238 Bug 8203709. Handle failure to create a snapshot surface in GetImageDataArray. r=mattwoodrow 2013-02-12 17:56:28 +13:00
Jeff Muizelaar
62864255be Bug 787017. Die more verbosely on Android during Layers init. r=bjacob
This might give us some more information on what's happening.

--HG--
extra : rebase_source : f2865e0d59746170d8b258334673acbd301dca54
2013-02-11 15:56:26 -05:00
Milan Sreckovic
a036896107 Bug 722831 - qcms_transform_precacheLUT_float only works with RGB data, so only call it in that case. Grayscale images would fail. r=bgirard 2013-02-08 15:48:09 -05:00
Cameron McCormack
0335ceedb4 Bug 655877 - Part 46: Paint SVG glyphs with new SVG text frame. r=roc,jwatt 2013-02-11 17:22:20 +11:00
Phil Ringnalda
02dc61c4b7 Back out 1b98c119cbfb (bug 8203709) for bustage
CLOSED TREE
2013-02-09 07:15:43 -08:00
Robert O'Callahan
b60912d30d Bug 8203709. Handle failure to create a snapshot surface in GetImageDataArray. r=mattwoodrow 2013-02-10 00:28:18 +13:00
Steven Michaud
0c3cc6afc9 Bug 684622 - Print scaling and shrink to fit page width does not work from page 2. r=matspal 2013-02-08 19:14:30 -06:00
Timothy Nikkel
4961ecbdec Bug 827946. GCC 4.5 with PGO miscompiles the ConvolveHorizontally function, so add an annotation to tone down the optmization on that function with GCC 4.5 only. r=joe 2013-02-08 14:01:19 -06:00
Jonathan Kew
a49eecd900 bug 837461 - backout parts 2 and 3 of bug 808288 because pdf.js may paint missing chars to canvas if it failed to load fonts, which looks really ugly; better to skip them for now. r=bas 2013-02-08 16:52:55 +00:00
Matt Woodrow
c731acfcd9 Bug 836892 - Add new skia blending modes to GfxOpToSkiaOp. r=gw280 2013-02-08 10:54:59 +13:00
Rik Cabanier
31ab432bc0 Bug 836892 - Add new blending modes to SkXfermode. r=gw280 2013-02-08 10:54:59 +13:00
Matt Woodrow
d82b9be3bb Bug 831529 - Stop using SkPath::contains for now since it doesn't match the canvas spec. r=jrmuizel 2013-02-08 10:54:59 +13:00
Benoit Girard
b7c72ddf7e Bug 823236 - ImageContainerParent should not release shmem which is retained by child. r=nical 2013-02-07 11:15:16 -05:00
Makoto Kato
830902f410 Bug 838504 - Turn on SSSE3 opt on Skia for Windows. r=gw280 2013-02-07 17:13:03 +09:00
Jonathan Kew
78b45080e6 bug 838617 - don't assert equality with the key's hash unless it was actually initialized. r=roc 2013-02-07 00:24:52 +00:00
Jonathan Kew
22f02abca1 bug 808299 - scale missing-glyph hexbox digits depending on device resolution and zoom. r=roc 2013-02-07 00:19:46 +00:00
Benoit Jacob
b9e6fd6e90 Bug 827106 - Cherry-pick ANGLE r1638 - r=jgilbert 2013-02-05 20:53:38 -05:00
James Willcox
15b53c0251 Bug 837687 - Use a case-insensitive comparison for OpenGL extension names r=jgilbert 2013-02-05 13:02:17 -05:00
James Willcox
03fed64c1c backout caf13c3365f3 for Windows bustage CLOSED TREE 2013-02-05 12:38:02 -05:00
James Willcox
a462ad86dd Bug 837687 - Use a case-insensitive comparison for OpenGL extension names r=jgilbert
--HG--
extra : rebase_source : 465e1c9ca5491a32432f4fb85eb96de473598348
2013-02-05 11:45:31 -05:00
Jeff Muizelaar
c7040608de Bug 836171. Update pixman to 0.27.4
Andrea Canciani (2):
      mmx: Fix x86 build on MSVC
      build: Improve win32 build system

Benny Siegert (1):
      configure.ac: PIXMAN_LINK_WITH_ENV fix

Matt Turner (3):
      build: Remove useless DEP_CFLAGS/DEP_LIBS variables
      sse2: mark pack_565_2x128_128 as static force_inline
      iwmmxt: Don't define dummy _mm_empty for >=gcc-4.8

Nemanja Lukic (7):
      MIPS: DSPr2: Added fast-paths for OVER operation: - over_8888_n_8888 - over_8888_8_8888
      MIPS: DSPr2: Added fast-paths for OVER operation: - over_8888_n_0565 - over_8888_8_0565
      MIPS: DSPr2: Added fast-paths for OVER operation: - over_0565_n_0565 - over_0565_8_0565
      MIPS: DSPr2: Added OVER combiner and two new fast paths: - over_8888_8888 - over_8888_8888_8888
      MIPS: DSPr2: Added fast-paths for ADD operation: - add_n_8_8 - add_n_8_8888 - add_8_8_8
      MIPS: DSPr2: Added more fast-paths for ADD operation: - add_0565_8_0565 - add_8888_8_8888 - add_8888_n_8888
      MIPS: DSPr2: Added more fast-paths for ADD operation: - add_8888_8888_8888 - add_8_8 - add_8888_8888

Siarhei Siamashka (4):
      Add scaled nearest repeat fast paths
      MIPS: skip runtime detection for DSPr2 if -mdspr2 option is in CFLAGS
      Add missing force_inline to in() function used for C fast paths
      Workaround for FTBFS with gcc 4.6 (http://gcc.gnu.org/PR54965)

Søren Sandmann Pedersen (44):
      Post-release version bump to 0.27.3
      Define TIMER_BEGIN and TIMER_END even when timers are not enabled
      Make show_image() cope with more formats
      demos: Add srgb_trap_test.c
      Remove pointless declaration of _pixman_image_get_scanline_generic_64()
      Remove obsolete TODO file
      pixel_checker: Move sRGB conversion into get_limits()
      test/utils.c: Use pow(), not powf() in sRGB conversion routines
      implementation: Write lookup_combiner() in a less convoluted way.
      Move blt delegation into pixman-implementation.c
      Move fill delegation into pixman-implementation.c
      Move delegation of src/dest iter init into pixman-implementation.c
      Rename _pixman_lookup_composite_function() to _pixman_implementation_lookup_composite()
      _pixman_implementation_create(): Initialize implementation with memset()
      implementation: Rename delegate to fallback
      Add PIXMAN_x8b8g8r8 and PIXMAN_a8b8g8r8 formats to scaling-test
      Fix bug in fast_composite_scaled_nearest()
      Fix bugs in component alpha combiners for separable PDF operators
      Add rotate-test.c test program
      Fix bugs in pixman-image.c
      pixman-combine.c.template: Formatting clean-ups
      affine-test: Print out the transformation matrix when verbose
      test: Add inifinite-loop test
      Fix for infinite-loop test
      rotate-test: Call image_endian_swap() in make_image()
      Make pixman.h more const-correct
      glyph-test: Prepare for floating point
      blitters-test: Prepare for floating point
      Add pixman-combine-float.c
      Add combiner test
      pixman-utils.c, pixman-private.h: Add floating point conversion routines
      pixman-access.c: Add floating point accessor functions
      Switch the wide pipeline over to using floating point
      Remove 64 bit pipeline
      Don't auto-generate pixman-combine32.[ch] anymore
      Speed up pixman_expand_to_float()
      Remove BUILT_SOURCES
      Only regard images as pixbufs if they have identity transformations
      region: Formatting fix
      region: Remove overlap argument from pixman_op()
      Add new pixman_image_create_bits_no_clear() API
      pixman_composite_trapezoids(): Factor out extents computation
      pixman_composite_trapezoids(): don't clip to extents for some operators
      Pre-release version bump to 0.27.4

--HG--
extra : rebase_source : ed5b5f0184dd19b2ae5caa43edee6effce14efaf
2013-02-04 15:16:01 -05:00
Kartikaya Gupta
6faae5c500 Bug 832508 - When resuming Fennec and re-recreating the surface, force a first-paint notification from the compositor. r=Cwiiis 2013-02-04 15:13:17 -05:00
Benoit Girard
ee4759886e Backed out changeset 3c4205be7191 (bug 823236) for M2 failures 2013-02-04 14:11:02 -05:00
Benoit Girard
3ce730b206 Bug 823236 - Assert that the image is valid before inserting into the image pool. r=nical 2013-02-01 19:02:42 -05:00
Paul Adenot
179f2a3ed4 Bug 804875 - Reset media element when loading a new src. r=kinetik 2012-12-27 16:21:30 +01:00
Jeff Muizelaar
136d28c6b3 Bug 829035. Reduce pixman bilinear precision to match upstream. 2013-02-03 16:47:01 -05:00
Jeff Muizelaar
eb77d00bb0 Bug 808785. Stop shipping d3dx9_43.dll. r=bjacob
Since ANGLE revision 1314 / issue 311:
http://code.google.com/p/angleproject/issues/detail?id=311 d3dx9_43.dll is no
longer needed.

--HG--
extra : rebase_source : cb02a61730f4a24f807662269693be2dde673ff0
2013-01-28 11:52:06 -05:00
Mounir Lamouri
9f6e4099c4 Bug 833009 - Remove "nsContentUtils.h" inclusions from headers in gfx/. r=Ms2ger 2013-01-24 14:05:18 +00:00
Benoit Girard
ba8ad496f4 Bug 815602 - Fix invalid drawable error in console after starting Firefox. r=mattwoodrow
--HG--
extra : rebase_source : c24a03252404ac5d25d4fdb62c6f749ea34dab86
2013-01-28 16:57:33 -05:00
Milan Sreckovic
0e784ed3ff Bug 818241 - Initialize mCg to nullptr. r=jmuizelaar 2013-01-29 10:22:52 -05:00
Mats Palmgren
f16418bea2 Bug 834896 - Replace uses of gfx_min/gfx_max with std::min/std::max. r=joe 2013-01-30 17:02:27 +01:00
Mats Palmgren
3912990bf9 Bug 834896 - Remove the gfx_min/gfx_max templates. r=joe 2013-01-30 17:02:27 +01:00
Anthony Jones
8ed8d90e5f Bug 825987 - Backed out changesets 1b9a99a17afb and 74493ca34d5e (bug 691061) due to regression with saving PDFs. 2013-01-30 08:39:37 -05:00
Jonathan Kew
d143a9a3e0 bug 829523 followup - use MOZ_WIDGET_GONK for the platform conditional, rather than MOZ_B2G. r=cjones 2013-01-30 12:03:39 +00:00
Nicholas Cameron
c1b2e92063 Bug 836058; remove UseTiledThebes; r=BenWa 2013-01-29 14:38:46 +13:00
Randell Jesup
6fd94f18ed bug 804875: backout due to regressions of various uses of .src/mozSrcObject (bugs 836011/835705) rs=kinetik 2013-01-29 18:07:29 -05:00
Jeff Muizelaar
27a9e73876 Bug 828789. Update to pixman 0.27.2.
Alan Coopersmith (2):
      Make mmx code compatible with Solaris Studio 12.3 compilers
      Just use xmmintrin.h when building with Solaris Studio compilers

Andrea Canciani (7):
      Remove useless checks for NULL before freeing
      test: Cleanup includes
      Use the ARRAY_LENGTH() macro when possible
      test: Reuse the ARRAY_LENGTH() macro
      demos: Consistently use G_N_ELEMENTS()
      test: Produce autotools-looking report in the win32 build system
      build: Fix compilation on win32

Antti S. Lankila (5):
      Faster unorm_to_unorm for wide processing.
      Remove unnecessary dst initialization
      Add support for sRGB surfaces
      Add sRGB blending demo program
      Add tests to validate new sRGB behavior

Bobby Salazar (2):
      Android Runtime Detection Support For ARM NEON
      iOS Runtime Detection Support For ARM NEON

Chun-wei Fan (1):
      Just include xmmintrin.h on MSVC as well

Colin Walters (1):
      autogen.sh: Support GNOME Build API

Ingmar Runge (1):
      Fix MSVC compilation

Jeremy Huddleston (7):
      configure.ac: Add an --enable-libpng option
      Revert "Disable MMX when Clang is being used."
      Silence a warning about unused pixman_have_mmx
      Disable MMX when incompatible clang is being used.
      Expand TLS support beyond __thread to __declspec(thread)
      Fix a false-negative in MMX check
      configure.ac: Fix a copy-paste-o in TLS detection

Matt Turner (60):
      Use AC_LANG_SOURCE for iwMMXt configure program
      Make sure to run AC_SUBST IWMMXT_CFLAGS
      Convert while (w) to if (w) when possible
      autoconf: use #error instead of error
      mmx: enable over_x888_8_8888 on ARM/iwMMXt
      mmx: Use _mm_mulhi_pu16
      mmx: Use _mm_shuffle_pi16
      mmx: fix typo in pix_add_mul on MSVC
      Update .gitignore with more demos and tests
      mmx: make store8888 take uint32_t *dest as argument
      mmx: make load8888 take a pointer to data instead of the data itself
      lowlevel-blt: add over_8888_8888
      lowlevel-blt: add over_x888_n_8888
      lowlevel-blt-bench: add in_8_8 and in_n_8_8
      Use AC_LANG_SOURCE for DSPr2 configure program
      mmx: enable over_n_0565 for b5g6r5
      mmx: Use force_inline instead of __inline__ (bug 46906)
      configure.ac: require >= gcc-4.5 for ARM iwMMXt
      mmx: fix _mm_shuffle_pi16 function when compiling without optimization
      configure.ac: fix iwMMXt/gcc version error message
      mmx: add store function and use it in add_8888_8888
      mmx: add load function and use it in add_8888_8888
      mmx: make ldq_u take __m64* directly
      mmx: compile on MIPS for Loongson MMI optimizations
      mmx: remove unnecessary uint64_t<->__m64 conversions
      mmx: simplify srcsrcsrcsrc calculation in over_n_8_0565
      mmx: introduce is_equal, is_opaque, and is_zero functions
      mmx: don't pack and unpack src unnecessarily
      mmx: Use Loongson pinsrh instruction in pack_565
      mmx: Use Loongson pextrh instruction in expand565
      mmx: add r5g6b5 fetcher
      mmx: add a8 fetcher
      mmx: add x8f8g8b8 fetcher
      mmx: add src_8888_0565
      mmx: Use wpackhus in src_x888_0565 on iwMMXt
      .gitignore: add demos/checkerboard and demos/quad2quad
      configure.ac: make -march=loongson2f come before CFLAGS
      mmx: add and use pack_4x565 function
      configure.ac: Fix loongson-mmi out-of-tree builds
      configure.ac: Rename loongson -> loongson-mmi
      configure.ac: Fail the ARM/iwMMXt test if not compiling with -march=iwmmxt
      mmx: add and use expand_4xpacked565 function
      mmx: implement expand_4x565 in terms of expand_4xpacked565
      fast: add add_0565_0565 function
      mmx: add add_0565_0565
      mmx: add over_reverse_n_8888
      mmx: add missing _mm_empty calls
      autotools: use custom build rule to build iwMMXt code
      configure.ac: add iwmmxt2 configure flag
      .gitignore: add test/glyph-test
      sse2: enable over_n_0565 for b5g6r5
      sse2: add src_x888_0565
      Fix distcheck due to custom iwMMXt rules
      mmx: Use expand_alpha instead of mask/shift
      mmx: add scaled bilinear src_8888_8888
      mmx: add scaled bilinear over_8888_8888
      mmx: add scaled bilinear over_8888_8_8888
      mmx: optimize bilinear function when using 7-bit precision
      loongson: optimize _mm_set_pi* functions with shuffle instructions
      sse2: add missing ABGR entires for bilinear src_8888_8888

Naohiro Aota (1):
      Don't use non-POSIX test

Nemanja Lukic (9):
      MIPS: DSPr2: Basic infrastructure for MIPS architecture
      MIPS: DSPr2: Added fast-paths for SRC operation.
      MIPS: DSPr2: Added mips_dspr2_blt and mips_dspr2_fill routines.
      MIPS: DSPr2: Added over_n_8888_8888_ca and over_n_8888_0565_ca fast paths.
      MIPS: DSPr2: Added over_n_8_8888 and over_n_8_0565 fast paths.
      MIPS: DSPr2: Fix bug in over_n_8888_8888_ca/over_n_8888_0565_ca routines
      MIPS: DSPr2: Added bilinear over_8888_8_8888 fast path.
      MIPS: DSPr2: Added several bilinear fast paths with a8 mask
      MIPS: DSPr2: Added more bilinear fast paths (without mask)

Sebastian Bauer (4):
      Qualify the static variables in pixman_f_transform_invert() with the const keyword.
      Changed the style of two function headers
      Added HAVE_CONFIG_H check before including config.h
      Use angle brackets form of including config.h

Siarhei Siamashka (8):
      test: OpenMP 2.5 requires signed loop iteration variables
      test: fix bisecting issue in fuzzer-find-diff.pl
      test: Fix for strict aliasing issue in 'get_random_seed'
      test: support nearest/bilinear scaling in lowlevel-blt-bench
      sse2: faster bilinear scaling (use _mm_loadl_epi64)
      Bilinear interpolation precision is now configurable at compile time
      sse2: _mm_madd_epi16 for faster bilinear scaling with 7-bit precision
      Change default bilinear interpolation precision to 7 bits

Søren Sandmann Pedersen (81):
      Post-release version bump to 0.25.1
      region: Add pixman_region{,32}_clear() functions.
      Modify gradient-test to show a bug in NONE processing
      gradient-walker: For NONE repeats, when x < 0 or x > 1, set both colors to 0
      pixman-image.c: Fix typo in pixman_image_set_transform()
      Fix some signed overflow bugs
      Add missing cast in _pixman_edge_multi_init()
      Fix a bunch of signed overflow issues
      In MUL_UNc() cast to comp2_t
      Reject trapezoids where top (botttom) is above (below) the edges
      Fix rounding for DIV_UNc()
      test: In the alphamap test, also test that we get the right red value
      Fix bugs with alpha maps
      test/alphamap.c: Make dst and orig_dst more independent of each other
      Get rid of delegates for combiners
      Move the color_correct() function from composite.c to utils.c
      Rename color_correct() to round_color()
      test: Add a new "pixel_checker_t" object.
      test: Port composite test over to use new pixel_checker_t object.
      Revert "Reject trapezoids where top (botttom) is above (below) the edges"
      mmx: Enable over_x888_8_8888() for x86 as well
      mmx: Delete unused function in_over_full_src_alpha()
      Disable MMX when Clang is being used.
      Disable implementations mentioned in the PIXMAN_DISABLE environment variable.
      Move fetching for solid bits images to pixman-noop.c
      pixman-accessors.h: Delete unused macros
      pixman-access.c: Remove some unused macros
      mmx: Squash a warning by making the argument to ldl_u() const
      Pre-release version bump to 0.25.2
      Post-release version bump to 0.25.3
      Use "=a" and "=d" constraints for rdtsc inline assembly
      demos: Add quad2quad program
      demos: Add checkerboard demo
      composite-test.c: Use similar gradient to the one in the PDF spec.
      composite-test.c: Add a parrot image
      Add the original parrot image.
      Rename fast_composite_add_1000_1000 to _add_1_1()
      gtk-utils.c: Don't include pixman-private.h
      test/utils.c: Rename and export the pngify_pixels() function.
      gtk-utils.c: In pixbuf_from_argb32() use a8r8g8b8_to_rgba_np()
      test/utils.c: Clip values to the [0, 255] interval
      bits_image_fetch_pixel_convolution(): Make sure channels are signed
      Add Makefile.win32 and Makefile.win32.common to EXTRA_DIST
      demos/Makefile.am: Add parrot.c to EXTRA_DIST
      Pre-release version bump to 0.25.6
      Post-release version bump to 0.25.7
      demos: Add parrot.jpg to EXTRA_DIST
      test: Composite with solid images instead of using pixman_image_fill_*
      Pre-release version bump to 0.26.0
      Post-release version bump to 0.27.1
      Pass the full image flags to iterators
      Make use of image flags in mmx and sse2 iterators
      Add doubly linked lists
      Add pixman_glyph_cache_t API
      Move CRC32 computation from blitters-test.c into utils.c
      Add support for alpha maps to compute_crc32_for_image().
      test: Add glyph-test
      Speed up pixman_composite_glyphs()
      Speed up _pixman_composite_glyphs_no_mask()
      Speed up _pixman_image_get_solid() in common cases
      bits-image: Turn all the fetchers into iterator getters
      test: Make glyph test pass on big endian
      test: Add missing break in stress-test.c
      test: Make stress-test more likely to actually composite something
      In fast_composite_tiled_repeat() don't clone images with a palette
      Use a compile-time constant for the "K" constraint in the MMX detection.
      pixman-cpu.c: Rename disabled to _pixman_disabled() and export it
      Move x86 specific CPU detection to a new file pixman-x86.c
      Move ARM specific CPU detection to a new file pixman-arm.c
      Move PowerPC specific CPU detection to its own file pixman-ppc.c
      Move MIPS specific CPU detection to its own file, pixman-mips.c
      Move the remaining bits of pixman-cpu into pixman-implementation.c
      Simplify MIPS CPU detection
      Simplifications to ARM CPU detection
      Simplify CPU detection on PPC.
      Cleanups and simplifications in x86 CPU feature detection
      Make pixman-mmx.c compile on x86-32 without optimization
      Add make-srgb.pl to EXTRA_DIST
      stress-test: Avoid overflows in clip rectangles
      glyph-test: Avoid setting solid images as alpha maps.
      Pre-release version bump to 0.27.2
* * *

--HG--
extra : rebase_source : d5b871a3b10fe0123f6e50cf98c3621532e5d914
2013-01-08 14:09:48 -05:00
Chris Jones
739aae6070 Bug 792966: Don't try to gralloc small buffers. r=kanru 2013-01-28 23:49:38 -08:00
Daniel Holbert
23cc78fc1d Bug 835625: Remove the MSVC exemption for FAIL_ON_WARNINGS in /gfx/gl. r=BenWa 2013-01-28 21:43:30 -08:00
Daniel Holbert
ee973b41fd Bug 832545: Mark gfx/thebes as FAIL_ON_WARNINGS. r=BenWa 2013-01-28 12:36:05 -08:00
Daniel Holbert
80110f915e Bug 835473: Remove unused functions ValidateLocaTable & ValidateKernTable from gfxFontUtils.cpp. r=jfkthame 2013-01-28 12:35:56 -08:00
Daniel Holbert
d41b08e0f2 Bug 832440: Fix inconsistency on appUnitsPerDevPixels's signedness in gfxFont and its clients by converting all instances to be signed. r=jfkthame 2013-01-28 11:01:59 -08:00
Filippo Cristofoletti
6ba40b463c Bug 755031 - Fix some other warnings in gfx/2d. r=jmuizelaar 2013-01-28 10:09:29 -05:00
Filippo Cristofoletti
2ce733de71 Bug 755031 - Clear warnings in gfx/gl. r=jmuizelaar 2013-01-28 10:09:14 -05:00
Filippo Cristofoletti
3d2316135a Bug 755031 - Clear warnings in gfx/2d/ScaledFontDWrite.cpp. r=jmuizelaar 2013-01-15 07:21:00 -05:00
Arie Paap
a3b0ce3866 Bug 366643 - crashtest 2013-01-26 21:28:55 +01:00
Benoit Jacob
beff7250b6 Bug 827170 - Clamp intermediate surface's framebuffer dimensions to what is supported by the GL - r=BenWa
Without this, we have assertion failures as we fail to create our textures and subsequently
we have incomplete framebuffers. The present patch is a short-term compromise: to avoid
asserting, we just clamp texture sizes. That can result in fuzzy rendering. Ideally
(with some suitable tiling) we wouldn't have to do that.
2013-01-25 13:40:38 -05:00
Benoit Jacob
48fa248cf2 Bug 827170 - back out a920571903da to see if it is what caused SVG reftests (android R4) to fail - no review, bustage on a CLOSED TREE 2013-01-25 17:50:29 -05:00
Benoit Jacob
58af92e2d3 Bug 827170 - Clamp intermediate surface's framebuffer dimensions to what is supported by the GL - r=BenWa
Without this, we have assertion failures as we fail to create our textures and subsequently
we have incomplete framebuffers. The present patch is a short-term compromise: to avoid
asserting, we just clamp texture sizes. That can result in fuzzy rendering. Ideally
(with some suitable tiling) we wouldn't have to do that.
2013-01-25 13:40:38 -05:00
Chris Jones
7fe289fbe6 Bug 834470: Release AsyncPanZoomController and friends. r=roc 2013-01-24 19:59:10 -08:00
Marco Bonardo
541a626426 Backout 65a26453f9a6 (bug 823109) cause it still breaks some Windows builds 2013-01-24 23:48:17 +01:00
Jeff Muizelaar
f31f9f7f04 Bug 823109. Only extract d3d dlls when necessary. r=ted
This adds proper dependencies so that make can do better.
We go to some length to handle possible spaces in the paths.

--HG--
extra : rebase_source : 7974bade5808a2cb0f4efb29bf46b0f298549659
2013-01-24 15:00:36 -05:00
Paul Adenot
2c42e0e1e8 Bug 804875 - Reset media element when loading a new src. r=kinetik 2013-01-24 20:28:48 +01:00
Ryan VanderMeulen
d1d2c01489 Merge m-c to inbound. 2013-01-25 12:32:22 -05:00
Ehsan Akhgari
b3849129ac Backed out changeset 70baa7e07838 (bug 833915) since one day has passed 2013-01-24 11:12:24 -05:00
Ehsan Akhgari
c30aff9acb Bug 833915 - Turn off PGO and LTCG on Windows Nightly for one day; r=glandium 2013-01-23 16:13:50 -05:00
Anthony Jones
f506fe3c49 Bug 831973 - Remove extra scroll compensation code; r=roc 2013-01-22 17:04:41 +13:00
Steve Singer
d5d8c2cac5 Bug 832711 - Add header for ElfW(auxv_t) missed by bug 817153. r=jmuizelaar 2013-01-23 18:30:48 -05:00
Oleg Romashin
d496a1e052 Bug 824642 - PlanarYCbCrImage::GetAsSurface does not create surface optimized for platform. r=joe, r=nsilva 2013-01-23 18:08:16 -05:00
Daniel Holbert
2adc773b0c Bug 833073: Remove (unused) LOG macro from gfxAndroidPlatform.cpp, to fix build warning about it being redefined. r=blassey a=nonlibxul 2013-01-22 00:05:05 -08:00
Daniel Holbert
011071fd98 Bug 833066: Declare loop variable in gfxFT2FontList.cpp as 'size_t' instead of 'int', to fix signed/unsigned warnings. r=blassey a=nonlibxul (#ifdef-android code) 2013-01-22 00:04:39 -08:00
Daniel Holbert
de67705a99 Bug 832554: Add #ifdef guards around static functions in /gfx/thebes that aren't used on android, to fix android-only -Wunused-function build warnings. r=BenWa a=nonlibxul 2013-01-21 13:54:42 -08:00
samuel.gallacier@innes.fr
2e8dac39d1 Bug 831791: Memory leak with array of TransformFunction : was not deleted. r=dzbarsky a=not-libxul 2013-01-21 17:14:13 +01:00
Jonathan Kew
097ddc7700 bug 831292 - don't mask complex-script ranges from the cmap if Graphite tables are present. r=jdaggett 2013-01-21 09:24:45 +00:00
Jonathan Kew
1020ca2dea bug 831687 - make graphite shaping use hinted widths if implemented by the font. r=jdaggett 2013-01-21 09:24:24 +00:00
Jonathan Kew
b8b2e32db1 bug 831277 - (b) properly round glyph positions to appunits or pixels (as appropriate for the platform) in the graphite shaper. r=jdaggett 2013-01-21 09:24:08 +00:00
Jonathan Kew
b85816087f bug 831277 - (a) make GetRoundOffsetsToPixels a method on gfxContext, instead of private to the harfbuzz shaper. r=jdaggett 2013-01-21 09:24:01 +00:00
Jonathan Kew
55b898d41c bug 831548 - character codes with cmap mappings that result in glyph id 0 should not be included in the font's character map. r=jdaggett 2013-01-21 09:23:48 +00:00
Nicholas Nethercote
0293b60b78 Bug 394311 - Stop building with -pedantic. r=ted,dbaron.
--HG--
rename : content/svg/content/nsISVGPoint.cpp => content/svg/content/src/DOMSVGPoint.cpp
rename : docshell/test/browser/browser_bug234628-9.js => docshell/test/browser/browser_bug134911.js
rename : layout/reftests/w3c-css/submitted/values3/calc-background-image-gradient-1-ref.html => layout/reftests/css-calc/background-image-gradient-1-ref.html
rename : layout/reftests/w3c-css/submitted/values3/calc-background-image-gradient-1.html => layout/reftests/css-calc/background-image-gradient-1.html
rename : layout/reftests/w3c-css/submitted/values3/reftest.list => layout/reftests/css-calc/reftest.list
rename : layout/reftests/text/auto-hyphenation-10-ref.html => layout/reftests/text/auto-hyphenation-10.html
rename : layout/reftests/text/auto-hyphenation-8-ref.html => layout/reftests/text/auto-hyphenation-8.html
rename : layout/reftests/text/auto-hyphenation-9-ref.html => layout/reftests/text/auto-hyphenation-9.html
extra : rebase_source : 012df725d55b031ccc03d9bfcf785056d95a2ebe
2013-01-20 14:12:42 -08:00
Oleg Romashin
73d1b0005d Bug 830926 - AZPC TrackTouch x/y displacement should not be rounded to int. r=ajones,drs 2013-01-19 15:33:09 -08:00
Steve Fink
d3f194fbfb Bug 828753 - jsid rooting, mostly in jsinfer.*. Also switch JSObject from struct to class. r=terrence 2012-12-31 12:40:21 -08:00
Daniel Holbert
56b4a9c6ce Bug 832486: Cast enum values from different types to int32_t before asserting that they're equal, in gfxPangoFonts.cpp. r=jfkthame 2013-01-18 15:15:21 -08:00
Daniel Holbert
9f5f951033 Bug 832456: Declare nsRunnable subclass at file scope instead of inside of a function, to fix build warning about 'visibility' attribute being ignored. r=BenWa 2013-01-18 15:15:04 -08:00
Steve Fink
cb8aecdd2a Backed out changeset fce4e0f8a553 (bug 828753) for breaking windows warnings-as-errors (stop adding JSObject forward decls, please!) 2013-01-18 13:20:21 -08:00
Steve Fink
fa3e8f224b Bug 828753 - jsid rooting, mostly in jsinfer.*. Also switch JSObject from struct to class. r=terrence
--HG--
extra : rebase_source : c8806b27677594925ad0e6b54c47af5cf17e1153
2012-12-31 12:40:21 -08:00
Paul Adenot
63641e4448 Bug 825325 - ImageContainer::NotifyPaintedImage is not called on android. r=nical 2013-01-18 16:57:17 +01:00
Jeff Gilbert
f3a2fa7bd6 Bug 801158 - Update ANGLE to r1561 - r=bjacob 2013-01-24 06:21:01 -08:00
Usurelu Catalin
02bbb1d4a0 Bug 817846 - Add BaseSize::IsEmpty() member function. r=cjones 2013-01-24 18:10:27 -05:00
Ryan VanderMeulen
2812fd6c3b Merge m-c to inbound. 2013-01-24 18:10:25 -05:00
Steven Michaud
555c9efaae Bug 829284 - Unity plugin doesn't display in HiDPI mode. r=bgirard 2013-01-23 16:19:15 -06:00
Avi Halachmi
c3ea912316 Bug 826383: cyclic array for frames recording to support concurrent users. r=jmuizelaar,khuey 2013-01-23 20:47:44 +02:00
Justin Lebar
326fd2af64 Bug 832752 - On ARM, compile pixman without -mapcs-frame, even if that's specified in CFLAGS, since this calling convention appears to break the routines written in assembly. r=glandium,jrmuizel 2013-01-23 12:29:20 -05:00
Jonathan Kew
5608fee823 bug 833297 - ensure graphite shaper does not overwrite cluster information. r=jdaggett 2013-01-23 16:41:32 +00:00
Jonathan Kew
e091da2191 bug 833283 - remove the option to bypass OTS for downloaded fonts. r=jdaggett 2013-01-23 16:41:18 +00:00
Chris Jones
048d0104e4 Bug 832117: Check that the referent root is nonnull. r=roc a=blocking-b2g 2013-01-17 18:34:44 -08:00
Chris Jones
9469eaa5c3 Bug 831191: Make PNG dumping work for r5g6b5 surfaces. r=joedrew 2013-01-17 12:06:36 -08:00
Jeff Muizelaar
9edf8a15f3 Bug 830256. Ensure that scrollable rect is as big as the drawable area. r=cjones,ajones
If the scrollable rect is not as at least as big as the drawable area we end up
clamping the displayport to a smaller size than we should be.
2013-01-16 16:53:10 -05:00
Jeff Muizelaar
8f4211aa98 Bug 831438. Add pref for forcing 16bit on B2G. r=cjones
B2G currently tries to detect the depth of the screen and uses
that as the offscreen format. This lets us override that
for testing the 16bit path on 24bit devices.
2013-01-17 11:52:41 -05:00
Milan Sreckovic
246bd7a470 Bug 803568: Check for Cairo surface creation failure. r=bas 2013-01-17 14:38:38 +01:00
Ed Morley
3de1bf91c3 Backout b3a8618f901c (bug 829042), 34a9ef8f929d (bug 822933), 4c1215cefbab (bug 826349), 70bb7f775178 (bug 825325), e9c8447fb197 (bug 828713), eb6ebf01eafe (bug 828901), f1f3ef647920 (bug 825329), f9d7b5722d4f (bug 825329), 5add564d4546 (bug 819377), 55e93d1fa972 (bug 804875), f14639a3461e (bug 804875), 23456fc21052 (bug 814308) for Windows pgo-only mochitest-1 media test timeouts on a CLOSED TREE 2013-01-16 15:16:23 +00:00
Daniel Holbert
49f26e46ec Bug 831023: Remove unused non-mac-platform version of MakeIOSurfaceTexture. r=BenWa 2013-01-15 18:16:47 -08:00
Tobias Netzel
c36f345ce5 Bug 817153 - AltiVec acceleration for qcms. r=jmuizelaar 2013-01-15 19:44:43 -05:00
Marco Bonardo
a0a60a97e0 Merge central to inbound 2013-01-16 00:36:33 +01:00
Marco Bonardo
c6d706fecd Backout 0d33af2a2a75 (bug 823109) cause it breaks some Windows builds 2013-01-16 00:33:13 +01:00
Jeff Muizelaar
cb79bf28d9 Bug 823109. Only extract d3d dlls when necessary. r=ted
This adds proper dependencies so that make can do better.

--HG--
extra : rebase_source : 4878bf741f29d738603f090e914a1adf2e31732b
2013-01-15 11:14:04 -05:00
Jonathan Kew
1c83908a1d bug 829523 - disable font hinting on b2g, but retain pixel-snapped metrics except in the browser app. r=cjones 2013-01-15 15:19:28 +00:00
Ed Morley
4b82c8a912 Backout d533ba255bbb (bug 829523) for reftest failures on a CLOSED TREE 2013-01-15 14:33:51 +00:00
Mats Palmgren
3c2eec8ac5 Bug 786533 - X11/Xlibint.h defines 'min' and 'max' as macros which breaks any use of std::min/std::max. r=ehsan 2013-01-15 13:22:03 +01:00
Mats Palmgren
d5826be6d7 Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan 2013-01-15 13:22:03 +01:00
Jonathan Kew
c7f92c82b3 bug 829523 - disable font hinting on b2g, but retain pixel-snapped metrics except in the browser app. r=cjones 2013-01-15 09:06:47 +00:00
Oleg Romashin
dd18565bbe Bug 824428 - Add Environment option which would allow to use Tiled Thebes Layers. r=bgirard 2013-01-14 20:21:02 -08:00
Bas Schouten
1cd02f2da7 Bug 817019: Don't push ClearType layers to Transparent rendertargets. r=jrmuizel 2013-01-15 02:20:10 +01:00
Sotaro Ikeda
e216905926 Bug 826829 - Change ImageContainerChild::DispatchSetIdle() to synchronous SetIdle(). r=kanru 2013-01-14 20:15:03 -05:00
Sotaro Ikeda
5d6e8f550f Bug 826829 - Change PImageContainer::Flush() to synchronous to prevent abort. r=kanru 2013-01-14 20:15:03 -05:00
Paul Adenot
66b6a9aeda Bug 825325 - ImageContainer::NotifyPaintedImage is not called on android. r=nical 2013-01-15 19:57:04 +01:00
Paul Adenot
2998641c5b Bug 804875 - Reset media element when loading a new src. r=kinetik 2013-01-15 19:57:03 +01:00
Jeff Muizelaar
42decc4061 Bug 830792. Build SkAnnotation.cpp. r=gw280
To link SkPaint.o with rtti we need to build SkAnnotation.o

--HG--
extra : rebase_source : f097dd54c13307a19b58588b51834bd162d1fa9b
2013-01-15 11:44:36 -05:00
Nicholas Cameron
57c11d132e Bug 827715; correct fling friction implmentation. r=cjones; a=blocking-basecamp 2013-01-14 13:02:41 -08:00
Marco Bonardo
1f5998f297 Backout 66c886b7d927 (bug 827715),2c7287304555 (bug 829679) for bustage 2013-01-14 22:53:34 +01:00
Jan Beich
0cd5b8447d Bug 828003 - Don't redefine types that're already in stdint.h. r=jrmuizel 2013-01-14 22:39:06 +01:00
Nicholas Cameron
435f9b33ca Bug 827715; correct fling friction implmentation. r=cjones; a=blocking-basecamp 2013-01-14 13:02:41 -08:00
Cameron McCormack
b8c8bf6c2c Bug 828805 - Implement SVG paint-order property. r=bz,roc 2013-01-13 10:27:53 +11:00
Anthony Jones
7cc38ffb42 Bug 825808 - Fix animations by marking transforms as not fixed. r=roc 2013-01-12 15:48:55 -05:00
Anthony Jones
6008b7f562 Bug 818482 - Remove rounding of scroll compensation in AZPC. r=roc 2013-01-12 15:24:14 -05:00
Trevor Saunders
a6e1ca0693 no bug - mark several classes final to avoid warnings about deleting objects of polymorphic type 2013-01-11 04:43:29 -05:00
Chris Peterson
f456453bfd Bug 829685 - Remove #include "prtypes.h" from some files that no longer use PR types. r=ehsan 2013-01-10 08:19:36 -08:00
Nicholas Cameron
47a1d545ea Bug 827715; Skip some checking for touch events from the gesture listener. r=cjones 2013-01-10 17:10:23 +01:00
Masatoshi Kimura
d192591303 Bug 829388 - Remove unused functions and macros from nsCoord.h. r=roc 2013-01-11 20:37:52 +09:00
Chris Jones
ad374f79a8 Bug 816614: Restore the previous behavior of ContentChild::IsForApp/Browser(). r=jlebar 2013-01-11 12:19:02 +01:00
Shih-Chiang Chien
2c527faa56 Bug 828367 - APZC should not perform scrolling if BES detects panning distance is too small. r=cjones. 2013-01-11 11:02:02 +01:00
L. David Baron
848bcb296f Bug 827717: Change record of CSS animation start to be before delay so that dynamic changes to animation-delay are honored. r=bzbarsky
This matches the CSS Working Group consensus recorded in
http://lists.w3.org/Archives/Public/www-style/2012Nov/0261.html , though
the spec hasn't yet been updated.
2013-01-10 21:14:51 -08:00
Matt Woodrow
31f7da49a1 Bug 818575 - Make TransformShadowTree transform all descendant scrollable layers instead of just the first. r=roc 2013-01-10 22:10:20 +13:00
Jeff Muizelaar
d0d6531f66 Backout bug 828789 (bb755890ec69) because of bug 829335
Backout pixman update.
CLOSED TREE
2013-01-10 18:50:12 -05:00
Jeff Muizelaar
a74aa4b2bf Backout bug 829035 (9da8f50d3750) because of bug 829335
The pixman update is no good and this depends on it.
CLOSED TREE
2013-01-10 18:49:08 -05:00
Andrew Halberstadt
3a19a47088 Bug 811779 - Enable larger set of reftests on B2G emulators, r=jgriffin 2013-01-03 15:35:01 -05:00
Chris Lord
3c6477ca95 Bug 828249 - Fix fixed layer positioning when zoomed out beyond page bounds. r=kats
width/height parameters in CompositorParent got mixed up at some point.
2013-01-10 17:32:43 +00:00
Chris Lord
d0161b544c Bug 827844 - Fix flickering when layout changes on Firefox/android. r=kats,bgirard
Fix flickering that can occur when the surface size changes due to a layout
change (such as the virtual keyboard appearing/disappearing) on Android.
2013-01-10 17:32:43 +00:00
Nicholas Cameron
8662f6daf0 Backout bug 818575
--HG--
extra : rebase_source : 0a06e4594a98b17befff7d58cd68faa693f3fd91
2013-01-09 18:06:35 +01:00
Kartikaya Gupta
ef869e5ac5 Bug 826300 - Don't block on waiting for a valid surface when trying to resume the compositor; allow resuming to fail gracefully. r=snorp,BenWa 2013-01-10 11:21:10 -05:00
Jeff Muizelaar
63509dd58b Bug 818575 - Only sync viewport for primary layer. r=cjones
--HG--
extra : rebase_source : 3221f8a45c9fce9cc51d5f59a19ee50886ff892f
2013-01-09 16:49:48 +01:00
Matt Woodrow
da205af9e7 Bug 818575 - Make TransformShadowTree transform all descendant scrollable layers instead of just the first. r=roc
--HG--
extra : rebase_source : 2befc9553af0be20643940e8bf71c0f71d13403e
2013-01-10 22:10:20 +13:00
Jeff Muizelaar
b0377bf164 Bug 829035. Reduce pixman bilinear precision to match upstream.
--HG--
extra : rebase_source : b22018bd6c1499d61f21795b9a6337129bf53f5f
2013-01-10 10:40:40 -05:00
Ed Morley
9b9d97a54a Backout 645bf43f8f14 (bug 818575) for crashes on Android on a CLOSED TREE 2013-01-10 13:17:12 +00:00
Matt Woodrow
7f172bf755 Bug 818575 - Make TransformShadowTree transform all descendant scrollable layers instead of just the first. r=roc 2013-01-10 22:10:20 +13:00
Diego Wilson
0e864b60c7 Bug 810501: Get buffer offset from ThebesLayer when composing with hwc. r=cjones a=blocking-basecamp 2013-01-10 11:51:43 +01:00
Robert O'Callahan
16b3473563 Bug 828207: Wallpaper over not being able to find a layer manager on the main thread when initializing a remote render frame. That's OK, we'll find one on the compositor thread. r=cjones 2013-01-10 11:02:21 +01:00
Oleg Romashin
593fe8efd7 Bug 826489 - Fixed missing review comment sorry to all. r=drs 2013-01-09 22:13:24 -08:00
Oleg Romashin
4374698ca6 Bug 826489 - Add preference based settings to AsyncZoomPanController. r=drs 2013-01-09 22:11:25 -08:00
Jeff Muizelaar
593109063a Bug 828789. Update to pixman 0.26.2.
Alan Coopersmith (2):
      Make mmx code compatible with Solaris Studio 12.3 compilers
      Just use xmmintrin.h when building with Solaris Studio compilers

Andrea Canciani (7):
      Remove useless checks for NULL before freeing
      test: Cleanup includes
      Use the ARRAY_LENGTH() macro when possible
      test: Reuse the ARRAY_LENGTH() macro
      demos: Consistently use G_N_ELEMENTS()
      test: Produce autotools-looking report in the win32 build system
      build: Fix compilation on win32

Antti S. Lankila (5):
      Faster unorm_to_unorm for wide processing.
      Remove unnecessary dst initialization
      Add support for sRGB surfaces
      Add sRGB blending demo program
      Add tests to validate new sRGB behavior

Bobby Salazar (2):
      Android Runtime Detection Support For ARM NEON
      iOS Runtime Detection Support For ARM NEON

Chun-wei Fan (1):
      Just include xmmintrin.h on MSVC as well

Colin Walters (1):
      autogen.sh: Support GNOME Build API

Ingmar Runge (1):
      Fix MSVC compilation

Jeremy Huddleston (7):
      configure.ac: Add an --enable-libpng option
      Revert "Disable MMX when Clang is being used."
      Silence a warning about unused pixman_have_mmx
      Disable MMX when incompatible clang is being used.
      Expand TLS support beyond __thread to __declspec(thread)
      Fix a false-negative in MMX check
      configure.ac: Fix a copy-paste-o in TLS detection

Matt Turner (60):
      Use AC_LANG_SOURCE for iwMMXt configure program
      Make sure to run AC_SUBST IWMMXT_CFLAGS
      Convert while (w) to if (w) when possible
      autoconf: use #error instead of error
      mmx: enable over_x888_8_8888 on ARM/iwMMXt
      mmx: Use _mm_mulhi_pu16
      mmx: Use _mm_shuffle_pi16
      mmx: fix typo in pix_add_mul on MSVC
      Update .gitignore with more demos and tests
      mmx: make store8888 take uint32_t *dest as argument
      mmx: make load8888 take a pointer to data instead of the data itself
      lowlevel-blt: add over_8888_8888
      lowlevel-blt: add over_x888_n_8888
      lowlevel-blt-bench: add in_8_8 and in_n_8_8
      Use AC_LANG_SOURCE for DSPr2 configure program
      mmx: enable over_n_0565 for b5g6r5
      mmx: Use force_inline instead of __inline__ (bug 46906)
      configure.ac: require >= gcc-4.5 for ARM iwMMXt
      mmx: fix _mm_shuffle_pi16 function when compiling without optimization
      configure.ac: fix iwMMXt/gcc version error message
      mmx: add store function and use it in add_8888_8888
      mmx: add load function and use it in add_8888_8888
      mmx: make ldq_u take __m64* directly
      mmx: compile on MIPS for Loongson MMI optimizations
      mmx: remove unnecessary uint64_t<->__m64 conversions
      mmx: simplify srcsrcsrcsrc calculation in over_n_8_0565
      mmx: introduce is_equal, is_opaque, and is_zero functions
      mmx: don't pack and unpack src unnecessarily
      mmx: Use Loongson pinsrh instruction in pack_565
      mmx: Use Loongson pextrh instruction in expand565
      mmx: add r5g6b5 fetcher
      mmx: add a8 fetcher
      mmx: add x8f8g8b8 fetcher
      mmx: add src_8888_0565
      mmx: Use wpackhus in src_x888_0565 on iwMMXt
      .gitignore: add demos/checkerboard and demos/quad2quad
      configure.ac: make -march=loongson2f come before CFLAGS
      mmx: add and use pack_4x565 function
      configure.ac: Fix loongson-mmi out-of-tree builds
      configure.ac: Rename loongson -> loongson-mmi
      configure.ac: Fail the ARM/iwMMXt test if not compiling with -march=iwmmxt
      mmx: add and use expand_4xpacked565 function
      mmx: implement expand_4x565 in terms of expand_4xpacked565
      fast: add add_0565_0565 function
      mmx: add add_0565_0565
      mmx: add over_reverse_n_8888
      mmx: add missing _mm_empty calls
      autotools: use custom build rule to build iwMMXt code
      configure.ac: add iwmmxt2 configure flag
      .gitignore: add test/glyph-test
      sse2: enable over_n_0565 for b5g6r5
      sse2: add src_x888_0565
      Fix distcheck due to custom iwMMXt rules
      mmx: Use expand_alpha instead of mask/shift
      mmx: add scaled bilinear src_8888_8888
      mmx: add scaled bilinear over_8888_8888
      mmx: add scaled bilinear over_8888_8_8888
      mmx: optimize bilinear function when using 7-bit precision
      loongson: optimize _mm_set_pi* functions with shuffle instructions
      sse2: add missing ABGR entires for bilinear src_8888_8888

Naohiro Aota (1):
      Don't use non-POSIX test

Nemanja Lukic (9):
      MIPS: DSPr2: Basic infrastructure for MIPS architecture
      MIPS: DSPr2: Added fast-paths for SRC operation.
      MIPS: DSPr2: Added mips_dspr2_blt and mips_dspr2_fill routines.
      MIPS: DSPr2: Added over_n_8888_8888_ca and over_n_8888_0565_ca fast paths.
      MIPS: DSPr2: Added over_n_8_8888 and over_n_8_0565 fast paths.
      MIPS: DSPr2: Fix bug in over_n_8888_8888_ca/over_n_8888_0565_ca routines
      MIPS: DSPr2: Added bilinear over_8888_8_8888 fast path.
      MIPS: DSPr2: Added several bilinear fast paths with a8 mask
      MIPS: DSPr2: Added more bilinear fast paths (without mask)

Sebastian Bauer (4):
      Qualify the static variables in pixman_f_transform_invert() with the const keyword.
      Changed the style of two function headers
      Added HAVE_CONFIG_H check before including config.h
      Use angle brackets form of including config.h

Siarhei Siamashka (8):
      test: OpenMP 2.5 requires signed loop iteration variables
      test: fix bisecting issue in fuzzer-find-diff.pl
      test: Fix for strict aliasing issue in 'get_random_seed'
      test: support nearest/bilinear scaling in lowlevel-blt-bench
      sse2: faster bilinear scaling (use _mm_loadl_epi64)
      Bilinear interpolation precision is now configurable at compile time
      sse2: _mm_madd_epi16 for faster bilinear scaling with 7-bit precision
      Change default bilinear interpolation precision to 7 bits

Søren Sandmann Pedersen (81):
      Post-release version bump to 0.25.1
      region: Add pixman_region{,32}_clear() functions.
      Modify gradient-test to show a bug in NONE processing
      gradient-walker: For NONE repeats, when x < 0 or x > 1, set both colors to 0
      pixman-image.c: Fix typo in pixman_image_set_transform()
      Fix some signed overflow bugs
      Add missing cast in _pixman_edge_multi_init()
      Fix a bunch of signed overflow issues
      In MUL_UNc() cast to comp2_t
      Reject trapezoids where top (botttom) is above (below) the edges
      Fix rounding for DIV_UNc()
      test: In the alphamap test, also test that we get the right red value
      Fix bugs with alpha maps
      test/alphamap.c: Make dst and orig_dst more independent of each other
      Get rid of delegates for combiners
      Move the color_correct() function from composite.c to utils.c
      Rename color_correct() to round_color()
      test: Add a new "pixel_checker_t" object.
      test: Port composite test over to use new pixel_checker_t object.
      Revert "Reject trapezoids where top (botttom) is above (below) the edges"
      mmx: Enable over_x888_8_8888() for x86 as well
      mmx: Delete unused function in_over_full_src_alpha()
      Disable MMX when Clang is being used.
      Disable implementations mentioned in the PIXMAN_DISABLE environment variable.
      Move fetching for solid bits images to pixman-noop.c
      pixman-accessors.h: Delete unused macros
      pixman-access.c: Remove some unused macros
      mmx: Squash a warning by making the argument to ldl_u() const
      Pre-release version bump to 0.25.2
      Post-release version bump to 0.25.3
      Use "=a" and "=d" constraints for rdtsc inline assembly
      demos: Add quad2quad program
      demos: Add checkerboard demo
      composite-test.c: Use similar gradient to the one in the PDF spec.
      composite-test.c: Add a parrot image
      Add the original parrot image.
      Rename fast_composite_add_1000_1000 to _add_1_1()
      gtk-utils.c: Don't include pixman-private.h
      test/utils.c: Rename and export the pngify_pixels() function.
      gtk-utils.c: In pixbuf_from_argb32() use a8r8g8b8_to_rgba_np()
      test/utils.c: Clip values to the [0, 255] interval
      bits_image_fetch_pixel_convolution(): Make sure channels are signed
      Add Makefile.win32 and Makefile.win32.common to EXTRA_DIST
      demos/Makefile.am: Add parrot.c to EXTRA_DIST
      Pre-release version bump to 0.25.6
      Post-release version bump to 0.25.7
      demos: Add parrot.jpg to EXTRA_DIST
      test: Composite with solid images instead of using pixman_image_fill_*
      Pre-release version bump to 0.26.0
      Post-release version bump to 0.27.1
      Pass the full image flags to iterators
      Make use of image flags in mmx and sse2 iterators
      Add doubly linked lists
      Add pixman_glyph_cache_t API
      Move CRC32 computation from blitters-test.c into utils.c
      Add support for alpha maps to compute_crc32_for_image().
      test: Add glyph-test
      Speed up pixman_composite_glyphs()
      Speed up _pixman_composite_glyphs_no_mask()
      Speed up _pixman_image_get_solid() in common cases
      bits-image: Turn all the fetchers into iterator getters
      test: Make glyph test pass on big endian
      test: Add missing break in stress-test.c
      test: Make stress-test more likely to actually composite something
      In fast_composite_tiled_repeat() don't clone images with a palette
      Use a compile-time constant for the "K" constraint in the MMX detection.
      pixman-cpu.c: Rename disabled to _pixman_disabled() and export it
      Move x86 specific CPU detection to a new file pixman-x86.c
      Move ARM specific CPU detection to a new file pixman-arm.c
      Move PowerPC specific CPU detection to its own file pixman-ppc.c
      Move MIPS specific CPU detection to its own file, pixman-mips.c
      Move the remaining bits of pixman-cpu into pixman-implementation.c
      Simplify MIPS CPU detection
      Simplifications to ARM CPU detection
      Simplify CPU detection on PPC.
      Cleanups and simplifications in x86 CPU feature detection
      Make pixman-mmx.c compile on x86-32 without optimization
      Add make-srgb.pl to EXTRA_DIST
      stress-test: Avoid overflows in clip rectangles
      glyph-test: Avoid setting solid images as alpha maps.
      Pre-release version bump to 0.27.2
* * *

--HG--
extra : rebase_source : 979841b7b315ca9ed7995ece39333dce541238fd
2013-01-08 14:09:48 -05:00
Nicholas Cameron
70fc748166 Bug 824454; use the resolution scale in OMTA transforms. r=cjones; a=blocking-basecamp
--HG--
extra : rebase_source : 8f045dd319418b771c5f31ca2f3477ab5673a5ad
2013-01-08 10:39:12 +01:00
Oleg Romashin
ffbbfb2a69 Bug 827918 - Fix unitiaialized variables in AZPC. r=drs 2013-01-08 14:25:07 -08:00
Ehsan Akhgari
10a31f72a8 Bug 827934 - Only build gfxUtils.cpp when needed; r=jrmuizel,ted 2013-01-08 14:09:32 -05:00
Jonathan Kew
379fc80974 Bug 826226 - update harfbuzz to release 0.9.10. r=jdaggett 2013-01-08 14:03:18 +00:00
Ehsan Akhgari
5c4378622a Make OrientationSyncPrefsObserver final, no bug, blanket-r=bzbarsky 2013-01-07 18:34:38 -05:00
Robert O'Callahan
7e64bf967a Bug 717178. Part 3 alternative: don't put Win32 cairo_font_face_ts into the font-face cache if they were created with an explicit HFONT. r=jrmuizel
--HG--
extra : rebase_source : 8bbba7328f422807de458cb64e0e5ce4e8060b31
2013-01-02 19:18:53 +13:00
Adrian Johnson
4633e0a303 win32: fix font_face hashing
win32: Use a font_face hash table to provide unique font faces

win32-font: Improve static data reset function

Bug 717178. Part 2: Import changesets eb29a25d, 6e3e3291 and 101fab7c from upstream.
======

From 101fab7cd8a90f7cf3d8113c792b3f8c2a9afb7d Mon Sep 17 00:00:00 2001
The hashtable is guaranteed to only contain font faces which are
currently referenced, hence there is no need to remove any font face
when it is reset (just like for toy-font).

This makes the function simpler and fixes the assertion

Assertion failed: predicate != NULL, file cairo-hash.c, line 373

hit by multiple tests (the first one being "clear").

See https://bugs.freedesktop.org/show_bug.cgi?id=38049

======

From eb29a25dd6dddc511388bf883c9b95843ecdb823 Mon Sep 17 00:00:00 2001
Similar to the freetype and toy font backends, use a hash table
to map logfont,hfont to font faces.

This fixes the multiple embedding of the same font in PDF.

https://bugs.freedesktop.org/show_bug.cgi?id=24849

======

From 6e3e329170ab4b96bc0d587c8071e869e228e758 Mon Sep 17 00:00:00 2001
some bugs were discovered while testing with firefox

======

--HG--
extra : rebase_source : 6bbb299194f2296522e36bfeb68d1e8ebc2d1f17
2010-11-18 12:37:45 +00:00
Ehsan Akhgari
b7608f387d Merge mozilla-central into mozilla-inbound 2013-01-05 16:00:35 -05:00
Chris Peterson ext:(%2C%20Shih-Chiang%20Chien%20%3Cschien%40mozilla.com%3E%20and%20Chris%20Jones%20%3Cjones.chris.g%40gmail.com%3E)
4189d101cf Gecko work for bug 823619: Dispatch spec-compliant mouse events when touch events are available. r=cjones,jlebar,schien,vingtetun a=blocking-basecamp
This is a rollowup of the following patches
Bug 823619, part 1: Make TabChild dispatch spec-compliant compat mouse events. r=mwu
Bug 823619, part 2: Use touch event for scrolling if available. r=cjones,schien,vingtetun a=blocking-basecamp
2013-01-05 15:53:16 +01:00