Граф коммитов

11409 Коммитов

Автор SHA1 Сообщение Дата
Paul Adenot 3f5531a79a Bug 825325 - ImageContainer::NotifyPaintedImage is not called on android. r=nical 2013-01-18 16:57:17 +01:00
Jeff Gilbert c8c186ac5c Bug 801158 - Update ANGLE to r1561 - r=bjacob 2013-01-24 06:21:01 -08:00
Usurelu Catalin 91a84914b2 Bug 817846 - Add BaseSize::IsEmpty() member function. r=cjones 2013-01-24 18:10:27 -05:00
Ryan VanderMeulen 8f378a1fcd Merge m-c to inbound. 2013-01-24 18:10:25 -05:00
Steven Michaud c20100d89c Bug 829284 - Unity plugin doesn't display in HiDPI mode. r=bgirard 2013-01-23 16:19:15 -06:00
Avi Halachmi e0f25c9274 Bug 826383: cyclic array for frames recording to support concurrent users. r=jmuizelaar,khuey 2013-01-23 20:47:44 +02:00
Justin Lebar 94af92dd8f 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 d66002cc36 bug 833297 - ensure graphite shaper does not overwrite cluster information. r=jdaggett 2013-01-23 16:41:32 +00:00
Jonathan Kew f752845e1e bug 833283 - remove the option to bypass OTS for downloaded fonts. r=jdaggett 2013-01-23 16:41:18 +00:00
Chris Jones 683405626f Bug 832117: Check that the referent root is nonnull. r=roc a=blocking-b2g 2013-01-17 18:34:44 -08:00
Chris Jones 8ce05e794b Bug 831191: Make PNG dumping work for r5g6b5 surfaces. r=joedrew 2013-01-17 12:06:36 -08:00
Jeff Muizelaar 717ae8614e 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 ae814deb35 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 b06cb735a4 Bug 803568: Check for Cairo surface creation failure. r=bas 2013-01-17 14:38:38 +01:00
Ed Morley d6376004d6 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 a1f0ea0b73 Bug 831023: Remove unused non-mac-platform version of MakeIOSurfaceTexture. r=BenWa 2013-01-15 18:16:47 -08:00
Tobias Netzel 999e441799 Bug 817153 - AltiVec acceleration for qcms. r=jmuizelaar 2013-01-15 19:44:43 -05:00
Marco Bonardo 6d0f21109e Merge central to inbound 2013-01-16 00:36:33 +01:00
Marco Bonardo 6790d1a75d Backout 0d33af2a2a75 (bug 823109) cause it breaks some Windows builds 2013-01-16 00:33:13 +01:00
Jeff Muizelaar 04046379bd 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 d8a1d9e121 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 1ecfd9cba4 Backout d533ba255bbb (bug 829523) for reftest failures on a CLOSED TREE 2013-01-15 14:33:51 +00:00
Mats Palmgren 325a03febf 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 b7ae90666d 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 2c30c14aae 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 9ffe6086ee 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 d45729f5e1 Bug 817019: Don't push ClearType layers to Transparent rendertargets. r=jrmuizel 2013-01-15 02:20:10 +01:00
Sotaro Ikeda 8ead374278 Bug 826829 - Change ImageContainerChild::DispatchSetIdle() to synchronous SetIdle(). r=kanru 2013-01-14 20:15:03 -05:00
Sotaro Ikeda 093f6d96f1 Bug 826829 - Change PImageContainer::Flush() to synchronous to prevent abort. r=kanru 2013-01-14 20:15:03 -05:00
Paul Adenot af91ef5960 Bug 825325 - ImageContainer::NotifyPaintedImage is not called on android. r=nical 2013-01-15 19:57:04 +01:00
Paul Adenot ac36e276cd Bug 804875 - Reset media element when loading a new src. r=kinetik 2013-01-15 19:57:03 +01:00
Jeff Muizelaar 6b9511ae33 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 754facb452 Bug 827715; correct fling friction implmentation. r=cjones; a=blocking-basecamp 2013-01-14 13:02:41 -08:00
Marco Bonardo 8d0c587c0c Backout 66c886b7d927 (bug 827715),2c7287304555 (bug 829679) for bustage 2013-01-14 22:53:34 +01:00
Jan Beich d03045946f Bug 828003 - Don't redefine types that're already in stdint.h. r=jrmuizel 2013-01-14 22:39:06 +01:00
Nicholas Cameron 71236d4436 Bug 827715; correct fling friction implmentation. r=cjones; a=blocking-basecamp 2013-01-14 13:02:41 -08:00
Cameron McCormack bc2d799592 Bug 828805 - Implement SVG paint-order property. r=bz,roc 2013-01-13 10:27:53 +11:00
Anthony Jones 602559edc3 Bug 825808 - Fix animations by marking transforms as not fixed. r=roc 2013-01-12 15:48:55 -05:00
Anthony Jones 06644285ee Bug 818482 - Remove rounding of scroll compensation in AZPC. r=roc 2013-01-12 15:24:14 -05:00
Trevor Saunders cd9ce5e64f 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 de411b5fd0 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 0b544f2abb Bug 827715; Skip some checking for touch events from the gesture listener. r=cjones 2013-01-10 17:10:23 +01:00
Masatoshi Kimura f2d9e9501c Bug 829388 - Remove unused functions and macros from nsCoord.h. r=roc 2013-01-11 20:37:52 +09:00
Chris Jones 92e8707043 Bug 816614: Restore the previous behavior of ContentChild::IsForApp/Browser(). r=jlebar 2013-01-11 12:19:02 +01:00
Shih-Chiang Chien 2efef04087 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 8ebe5a4445 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 b46981a325 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 54ff3d3eaa Backout bug 828789 (bb755890ec69) because of bug 829335
Backout pixman update.
CLOSED TREE
2013-01-10 18:50:12 -05:00
Jeff Muizelaar ddd5268d51 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 221179f50b Bug 811779 - Enable larger set of reftests on B2G emulators, r=jgriffin 2013-01-03 15:35:01 -05:00
Chris Lord d88672c543 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 04cca6da2d 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 351f5f0388 Backout bug 818575
--HG--
extra : rebase_source : 0a06e4594a98b17befff7d58cd68faa693f3fd91
2013-01-09 18:06:35 +01:00
Kartikaya Gupta 8249f30f23 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 2b20917f2b 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 8e6457f392 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 d64bf8e5d5 Bug 829035. Reduce pixman bilinear precision to match upstream.
--HG--
extra : rebase_source : b22018bd6c1499d61f21795b9a6337129bf53f5f
2013-01-10 10:40:40 -05:00
Ed Morley aa4b19eee4 Backout 645bf43f8f14 (bug 818575) for crashes on Android on a CLOSED TREE 2013-01-10 13:17:12 +00:00
Matt Woodrow 071028e719 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 350a22731c 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 444ff0d2b5 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 fdcb3f5bae Bug 826489 - Fixed missing review comment sorry to all. r=drs 2013-01-09 22:13:24 -08:00
Oleg Romashin 0eb49641a4 Bug 826489 - Add preference based settings to AsyncZoomPanController. r=drs 2013-01-09 22:11:25 -08:00
Jeff Muizelaar 5368f2819c 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 971e0288d5 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 a7976fd770 Bug 827918 - Fix unitiaialized variables in AZPC. r=drs 2013-01-08 14:25:07 -08:00
Ehsan Akhgari 89f4b400c3 Bug 827934 - Only build gfxUtils.cpp when needed; r=jrmuizel,ted 2013-01-08 14:09:32 -05:00
Jonathan Kew b5eb6d02d5 Bug 826226 - update harfbuzz to release 0.9.10. r=jdaggett 2013-01-08 14:03:18 +00:00
Ehsan Akhgari c023e35440 Make OrientationSyncPrefsObserver final, no bug, blanket-r=bzbarsky 2013-01-07 18:34:38 -05:00
Robert O'Callahan 0970e2f92e 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 9f7a8e7829 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 1fc28fc2a4 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) 56e0349b73 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
Oleg Romashin abea18c939 Bug 825556 - RequestContentRepaint frequency should be possible to limit with some timeout. r=drs 2013-01-04 19:24:15 -08:00
Kan-Ru Chen (陳侃如) 0136604f20 Bug 826628 - Release the texture after unbind it. r=jgilbert 2013-01-05 11:20:50 +08:00
Jonathan Kew dc68a4ac60 bug 825875 - shape long words directly into the textrun instead of using word caching. r=roc 2013-01-04 18:35:37 +00:00
Jonathan Kew 32fd2a26de bug 825871 - refactor gfxTextRun and gfxShapedWord to share a common abstract base class (gfxShapedText) and shaping interface. r=roc 2013-01-04 18:35:37 +00:00
Jonathan Kew b366d014bc bug 826288 - remove the obsolete aFamily parameter from gfxFontEntry constructor. r=roc 2013-01-04 14:01:44 +00:00
Avi Halachmi 28ffc25c71 Bug 820167 - Tab open/close animation prints performance data to error console when enabled. r=jmuizelaar,dao 2013-01-03 21:53:15 -05:00
Oleg Romashin eb1040047b Bug 825809 - mWaitingForContentToPaint should be true after mPaintThrottler.TaskComplete post new task. r=ajones 2013-01-03 11:58:15 -08:00
Nicholas Cameron cc0c1bd501 Bug 825995; fix scissor rect logic in GLContext. r=jgilbert 2013-01-03 15:11:54 +13:00
Jonathan Kew 531d3c6676 bug 825504 - fix gfxPangoFontGroup::FindFamilyNameAt for user fonts, to resolve MathML fonts breakage. r=roc 2013-01-02 22:27:49 +00:00
Masatoshi Kimura 9a4812e054 Bug 824247 - Part 3: Disable FAIL_ON_WARNINGS on not-yet-warning-free directories on MSVC. r=ted 2013-01-03 00:56:38 +09:00
Nicholas Nethercote b7723e3c58 Bug 819819 (part 2) - Remove |name| from NS_MEMORY_REPORTER_MALLOC_SIZEOF_FUN. r=jlebar.
--HG--
rename : dom/tests/mochitest/localstorage/test_localStorageQuotaPrivateBrowsing_perwindowpb.html => dom/tests/mochitest/localstorage/test_localStorageQuotaPrivateBrowsing.html
rename : toolkit/components/places/tests/browser/browser_favicon_privatebrowsing_perwindowpb.js => toolkit/components/places/tests/browser/browser_favicon_privatebrowsing.js
extra : rebase_source : 557cc60522970ce7eea3b006d357284d9b4694c4
2012-12-23 16:59:51 -08:00
Ms2ger 09400dc8df Backout bug 814718, bug 717178 for exceptions in test_text.html on Windows. 2013-01-01 13:34:34 +01:00
Robert O'Callahan d224021f24 Bug 717178. Part 3: gfxGDIFont should pass ownership of its mFont to cairo_font_face_t. r=jrmuizel 2013-01-01 17:53:39 +13:00
Robert O'Callahan 1abce7564f bug 717178. Part 2.5: Make cairo_win32_font_face_create_for_logfontw_hfont take ownership of the HFONT. r=jrmuizel 2013-01-01 17:53:32 +13:00
Andrea Canciani f29ed4b405 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
From: Adrian Johnson <ajohnson@redneon.com>
Date: Tue, 16 Nov 2010 13:18:39 +0000
Subject: win32: Use a font_face hash table to provide unique font faces

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
From: Adrian Johnson <ajohnson@redneon.com>
Date: Thu, 18 Nov 2010 12:37:45 +0000
Subject: win32: fix font_face hashing

some bugs were discovered while testing with firefox

======
2011-06-15 09:37:36 +00:00
Oleg Romashin e1a410c7ea Bug 825002 - We should not start compositor thread if it is already started. r=nsilva 2012-12-30 18:07:11 -08:00
Matt Brubeck bfd6ac84aa Merge from mozilla-central to mozilla-inbound 2012-12-27 14:53:29 -08:00
Daniel Holbert 668351f091 Merge inbound to m-c 2012-12-27 13:53:16 -08:00
George Wright 1984b6bdba Bug 815795 - Fix an integer overflow by casting unit_x to int64_t. From upstream commit de60e2e0e3eb6084f8f14b63f25b3cbfb r=jrmuizel 2012-12-19 18:10:07 -05:00
Benjamin Chen f016ff4111 Bug 805746 - Send CustomScroll domevent to browser.js. r=cjones 2012-12-25 14:09:34 +08:00
Robert O'Callahan 90f9d2a33d Bug 663776. Part 3: Refactor layer transform snapping to distinguish translation-snapping from rect-snapping, and don't snap translation+scale transforms when we don't know all four edges of the rect that needs to be snapped. r=mattwoodrow
This separates SnapTransform into SnapTransformTranslation, which just snaps translations
and nothing else, and SnapTransform, which snaps translation+scale of rectangles.
2012-12-07 12:58:13 +13:00
Robert O'Callahan 66c066653a Bug 663776. Part 2: Move TransformRectToRect from nsCSSRendering to gfxUtils. r=mattwoodrow 2012-12-07 12:58:13 +13:00
Anthony Jones 8ada9278ac Bug 811950 - Refactoring to use gfxPoint and gfxSize more. r=cjones 2012-12-23 10:51:39 -05:00
Anthony Jones f0fee81267 Bug 811950 - Add scaling operators to BaseSize and gfxPoint. r=roc 2012-12-23 10:50:30 -05:00
Anthony Jones 8afece0eef Bug 811950 - Fix async scrolling of position:fixed. r=cjones 2012-12-23 10:50:04 -05:00
Anthony Jones 8c175aefe5 Bug 811950 - Remove fixed position environment variable. r=roc 2012-12-23 10:47:16 -05:00
Ms2ger 5f321c6ded Bug 805939 followup: include Hal.h correctly. 2012-12-23 14:48:07 +01:00