Commit Graph

4959 Commits

Author SHA1 Message Date
Nicholas Cameron
06d16ddac0 Bug 716439; creating mask layers. r=roc 2012-02-08 11:27:44 +13:00
Nicholas Cameron
c4f07f19a1 Bug 716439; mask layer - member, getter, setter, dumping. r=roc 2012-01-18 14:35:49 +13:00
Nicholas Cameron
44c6d07ba4 Bug 733894; changing the framework for representing shaders in the OGL
layers backend. r=BenWa
2012-03-19 09:07:25 +13:00
Ehsan Akhgari
0fda6cb7ad Bug 751273 - Part 1: Remove the debugging code in Cairo which we don't use any more; r=jrmuizel
Landing on a CLOSED TREE
2012-05-02 16:28:13 -04:00
Jonathan Kew
b5d33b43cc bug 750728 - move graphite from libxul to libgkmedias on windows, to help with PGO problems. r=khuey a=ehsan to land on a CLOSED TREE 2012-05-01 20:00:35 +01:00
Jeff Gilbert
8fd1db572f Bug 708136 - Don't teardown GL objects if teardown's makecurrent fails - r=bjacob 2012-04-30 19:05:59 -07:00
Oleg Romashin
f05b4ec09d Bug 750276 - Make CompositorParent transforms not android-only. r=ajuma 2012-04-30 17:03:26 -07:00
Oleg Romashin
a2faac2a75 Bug 748694 - Switch Maemo WebGL to FBO. r=jgilbert,bgirard 2012-04-30 17:03:08 -07:00
Daniel Holbert
2dade77e16 Bug 750356: fix signed/unsigned comparison build warnings in ReusableTileStoreOGL.cpp. r=chrislord 2012-04-30 15:47:42 -07:00
Nicolas Silva
9f8718bd55 Bug 743830 - Added 'gfx.xrender.enabled' pref (true by default). The pref is fetched in gfPlatformGtk.cpp and can be accessed through gfxPlatformGtk::UseXRender(). UseXRender is used in GLContextProviderGLX to set mUseTextureFromPixmap. r=jmuizelaar
--HG--
extra : rebase_source : 805947a2164aeb2dc71cc33086ac0bd201df3583
2012-04-18 10:27:32 -04:00
Benoit Jacob
18804e9cf7 Bug 748654 - manually abort on allocation failure - r=jgilbert 2012-04-30 17:43:12 -04:00
Benoit Jacob
9cfcf06e7c Bug 748654 - drop patch making us use mozalloc in angle - r=jgilbert 2012-04-30 17:43:12 -04:00
Benoit Jacob
a18775a5a3 Bug 736123 - kill GetVendor() and EGLUtils.h - r=jrmuizel
Was only returning "Android" instead of something useful.
2012-04-30 17:43:12 -04:00
Benoit Girard
db592d1ce0 Bug 749107 - Set the texture unit before binding the tile texture and change the texture ordering in ImageLayer to leave texture unit 0 bound. r=jmuizelaar 2012-04-30 14:51:05 -04:00
Benoit Girard
9177b22315 Bug 749357 - TiledThebesLayerOGL can draw un-rendered areas of tiles. r=chrislord 2012-04-30 10:19:17 -04:00
Robert O'Callahan
284af82b77 Bug 664918. Part 6: ImageContainer::GetCurrentAsSurface shouldn't crash when mActiveImage is null. r=bas 2012-04-30 15:11:47 +12:00
Andreas Gal
0c2b4c6934 Render active layers at full resolution and transform them on the GPU (bug 750006, r=roc). 2012-04-29 14:41:13 -07:00
Oleg Romashin
02168e45af Bug 743314 - Force CanUploadSubtextures on Maemo6 harmattan. r=chrislord.net 2012-04-28 09:05:41 -04:00
Chris Lord
077e78ae9e Bug 749630 - Fix single-colour checkerboard and masking. r=kats
Bug 748718 tried to fix masking of the checkerboard layer, but incorrectly
calculated the values for the right and bottom sides of the page, causing
less masking to occur than should happen.

It also possibly broke single-colour layer drawing (though I'm not sure this
worked previously), which this fixes by clearing to the page colour instead of
generating and drawing a texture for it.
2012-04-27 12:54:18 -04:00
John Daggett
c622f4c37e Bug 749139. Set build-on-fly flag on non-SFNT font type. r=jkew 2012-04-27 17:26:41 +09:00
Matt Woodrow
f2641ecaa8 Bug 746421 - Make nsTextBoxFrames overflow area include the LOOSE_INK_EXTENTS of the text. r=jfkthame 2012-04-27 12:24:54 +12:00
Matt Woodrow
6f0a2adcc3 Bug 735178 - Add error tolerance values when sorting preserve-3d layers. r=roc 2012-04-27 12:24:53 +12:00
Matt Woodrow
2ed9563c76 Bug 735178 - Add debug coloring of sorted 3d layers to help identification. r=roc 2012-04-27 12:24:53 +12:00
Matt Woodrow
1f7f37f7e0 Bug 739490 - Pad OpenGL temporary surfaces to avoid bug with incorrect border drawing. r=roc 2012-04-27 12:24:53 +12:00
Jonathan Kew
5817d7e8cb bug 739858 - cancel any in-progress loaders for @font-face rules that have been discarded when the font set is updated. r=jdaggett 2012-04-26 18:50:41 +01:00
Jonathan Kew
1979540c37 bug 739858 - don't try to actually load a font if the proxy has been detached from its family. r=jdaggett 2012-04-26 18:48:05 +01:00
Kartikaya Gupta
d18af6cc2d Bug 746120 - Transform the root layer even if not scrollable so it doesn't cause separation of layers. r=ajuma 2012-04-26 15:24:06 -04:00
Jonathan Kew
979e7b9d7e bug 706888 - ignore GSUB in broken version of Droid Sans Arabic. r=jdaggett 2012-04-26 20:06:52 +01:00
Ed Morley
16cda4acd7 Backout 476998cbd69f & f8654d020b1a (bug 739858) for compilation failures 2012-04-26 19:09:20 +01:00
Jonathan Kew
c695b7cc5d bug 739858 - cancel any in-progress loaders for @font-face rules that have been discarded when the font set is updated. r=jdaggett 2012-04-26 18:50:41 +01:00
Jonathan Kew
55092e8c45 bug 739858 - don't try to actually load a font if the proxy has been detached from its family. r=jdaggett 2012-04-26 18:48:05 +01:00
Chris Lord
a7e24267f0 Bug 749143 - Don't draw retained tiles outside of layer bounds. r=bgirard
It is possible for the content that layers represent to change size, causing
tiles to be reused where they shouldn't. Make sure that tiles that are outside
of content bounds are not drawn, and that they get evicted when harvesting
tiles.
2012-04-26 12:53:14 -04:00
John Daggett
69edaef745 Bug 718539. Trim out old featureSettings string code. r=jkew 2012-04-26 15:27:08 +09:00
John Daggett
018ac74c48 Bug 718539. Merge per-font and style rule font features. r=jkew 2012-04-26 15:26:03 +09:00
John Daggett
f3be29b833 Bug 718539. Initialize font features in gfxFontStyle from nsFont data. r=dbaron 2012-04-26 15:25:29 +09:00
John Daggett
127ee0627d Bug 718539. Update font-feature-settings to latest spec syntax. r=dbaron 2012-04-26 15:24:26 +09:00
John Daggett
c99d68e3fd Bug 718539. Move gfxFontFeature to a separate header. r=jkew 2012-04-26 15:22:24 +09:00
Benoit Girard
ca9934cd5d Bug 748645 - Upload TiledThebesLayerOGL outside the transaction. r=chrislord
--HG--
rename : mozglue/linker/Elfxx.h => mozglue/linker/CustomElf.h
rename : toolkit/devtools/debugger/server/dbg-server.js => toolkit/devtools/debugger/server/dbg-server.jsm
extra : rebase_source : 547cc2fb5871ba58b1c133824a06eab9d4027524
2012-04-25 11:32:10 -04:00
Ed Morley
b07a613e74 Backout cc37cd8dac59 (bug 744303) for M1 orange 2012-04-25 16:15:11 +01:00
Bas Schouten
02f1f01c3e Bug 743590: Properly mark ThebesLayer content invalid when changing content type. r=jrmuizel 2012-04-21 17:33:59 +02:00
Jeff Gilbert
0a18d7d12e Bug 739775 - Refactor ResizeOffscreenFBO - r=bjacob 2012-04-25 15:10:43 +01:00
Jeff Gilbert
86e1c58f50 Bug 744303 - Upload WebGL textures as BGRA when useful - r=bjacob 2012-04-25 15:05:35 +01:00
Chris Lord
8f9b90984f Bug 745177 - Retain and re-use uploaded GL tiles. r=ajuma
Rather than discarding uploaded tiles once they fall outside of the valid
region, shuffle them off into a separate tile-store with all the metadata they
need to render them, and render them in the areas that our current valid
region doesn't cover in TiledThebesLayerOGL::RenderLayer.
2012-04-24 22:48:33 -04:00
Matt Brubeck
68fdd39a98 Back out 4114c654f5d0 (bug 745177) because of Mac build errors 2012-04-24 20:18:50 -07:00
Chris Lord
7f2c8c3737 Bug 745177 - Retain and re-use uploaded GL tiles. r=ajuma
Rather than discarding uploaded tiles once they fall outside of the valid
region, shuffle them off into a separate tile-store with all the metadata they
need to render them, and render them in the areas that our current valid
region doesn't cover in TiledThebesLayerOGL::RenderLayer.
2012-04-24 22:48:33 -04:00
Oleg Romashin
ee9dee05a5 Bug 748209 - Allow to create useful CompositorParent subclass. r=ajuma 2012-04-24 09:22:36 -04:00
Oleg Romashin
2c8d04d815 Bug 748209 - Allow compositorParent be created in custom Thread. r=ajuma 2012-04-24 09:22:34 -04:00
Ehsan Akhgari
a992263c77 Merge mozilla-central into mozilla-inbound 2012-04-24 21:29:44 -04:00
Patrick Wong
30fd6e9e6a Bug 745659 - Removed the nsPrintfCString constructor which takes a length and all corresponding instances that call that particular constructor. This is accomplished by removing the length component from the instantiation. r=jlebar 2012-04-24 14:43:00 -04:00
Ehsan Akhgari
dadbef66ac Merge mozilla-central into birch 2012-04-24 10:49:42 -04:00
Ed Morley
9db7f5b9bf Merge from mozilla-central 2012-04-24 11:46:16 +01:00
Ed Morley
189f9d9f01 Backout 37b4c6fd16ed, 190aa5af8398, 9924dff6dbe9, 502de391e55b, ea4c7f9fc725 & b43c36197d4f (bug 739679) for XUL Android bustage on a CLOSED TREE a=backout 2012-04-24 09:32:12 +01:00
Phil Ringnalda
d63fbd1a14 Back out e13cfb0b7497 (bug 747816) on suspicion of causing Android reftest bustage on a CLOSED TREE, a=bustage 2012-04-23 23:24:11 -07:00
Benoit Girard
4bccf87c66 Bug 739679 - Part 7: Enable tiling. r=pcwalton a=blocking-fennec 2012-04-23 23:22:25 -04:00
Benoit Girard
9db7601f09 Bug 739679 - Part 7: Enable tiling. r=pcwalton a=blocking-fennec 2012-04-23 23:22:25 -04:00
Benoit Girard
c62428467c Bug 739679 - Part 6: Fix unlocking gfxReusableSurface. r=pcwalton 2012-04-23 20:08:18 -04:00
Benoit Girard
d9f4c00c88 Bug 739679 - Part 6: Fix unlocking gfxReusableSurface. r=pcwalton 2012-04-23 20:08:18 -04:00
Ehsan Akhgari
b6247f2495 Merge from mozilla-central 2012-04-23 19:24:10 -04:00
Bas Schouten
9909cb7fd7 Bug 746588 - Invert the gfxPattern matrix when using DrawTargets. r=jrmuizel a=akeybl 2012-04-23 13:30:46 -04:00
Ehsan Akhgari
06098487ea Merge mozilla-central into birch 2012-04-22 16:10:35 -04:00
Benoit Girard
561a82215a Bug 739679 - Part 5: Remove memset for 565 surfaces. r=mwoodrow 2012-04-18 20:40:08 -04:00
Benoit Girard
f50c30664b Bug 739679 - Part 5: Remove memset for 565 surfaces. r=mwoodrow 2012-04-18 20:40:08 -04:00
Nathan Froyd
2025eae150 Bug 746279 - pack nsFont more carefully; r=jdaggett 2012-04-17 15:22:18 -04:00
Jonathan Kew
a7e07d3464 bug 745580 - handle bad results from Core Text shaping more robustly. r=jdaggett a=tracking-firefox 2012-04-20 08:04:26 +01:00
Jeff Muizelaar
4277a03964 Bug 746695. Update libpixman to 0.24.4 a=joe
Alan Coopersmith (2):
      Change MMX ldq_u to return _m64 instead of forcing all callers to cast
      Make mmx code compatible with Solaris Studio 12.3 compilers

Andrea Canciani (13):
      Include noop in win32 builds
      Silence autoconf warnings
      radial: Improve documentation and naming
      radial: Fix typos and trailing whitespace
      win32: Build benchmarks
      Workaround bug in llvm-gcc
      test: Fix compilation on win32
      build: Reuse sources and pixman-combine build rules
      build: Reuse test sources
      build-win32: Share targets and variables across win32 makefiles
      build-win32: Add root Makefile.win32
      test: Do not include config.h unless HAVE_CONFIG_H is defined
      build-win32: Add 'check' target

Benjamin Otte (2):
      tests: Add PNG_CFLAGS/LIBS to tests
      build: replace @VAR@ with $(VAR) in makefiles

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

Chris Wilson (1):
      bits: optimise fetching width==1 repeats

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

Jeff Muizelaar (1):
      Add definitions of INT64_MIN and INT64_MAX

Jon TURNEY (1):
      Fix build on cygwin after commit efdf65c0c4fff551fb3cd9104deda9adb6261e22

Matt Turner (11):
      lowlevel-blt: add over_x888_8_8888
      mmx: fix formats in commented code
      mmx: convert while (w) to if (w) when possible
      mmx: rename USE_MMX to USE_X86_MMX
      mmx: wrap x86/MMX inline assembly in ifdef USE_X86_MMX
      mmx: fix unaligned accesses
      mmx: prepare pixman-mmx.c to be compiled for ARM/iwmmxt
      mmx: compile on ARM for iwmmxt optimizations
      mmx: optimize unaligned 64-bit ARM/iwmmxt loads
      Make sure iwMMXt is only detected on ARM
      Correct the minimum gcc version needed for iwmmxt

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

Nis Martensen (1):
      Fix a few typos in pixman-combine.c.template

Siarhei Siamashka (4):
      C fast path for scaled src_x888_8888 with nearest filter
      ARM: workaround binutils bug #12931 (code sections alignment)
      test: better coverage for BILINEAR->NEAREST filter optimization
      BILINEAR->NEAREST filter optimization for simple rotation and translation

Søren Sandmann (5):
      mmx: Delete some unused variables
      sse2: Delete some unused variables
      demos: Comment out some unused variables
      ARM: Fix two bugs in neon_composite_over_n_8888_0565_ca().
      test: Make fuzzer-find-diff.pl executable

Søren Sandmann Pedersen (63):
      Add a "noop" implementation.
      Add a noop composite function for the DST operator
      Move noop dest fetching to noop implementation
      Add a noop src iterator
      Move NULL iterator into pixman-noop.c
      Move NOP src iterator into noop implementation.
      Replace instances of "dst_*" with "dest_*"
      In pixman-general.c rename image_parameters to {src, mask, dest}_image
      Replace argumentxs to composite functions with a pointer to a struct
      blitters-test: Make common formats more likely to be tested.
      Pre-release version bump to 0.23.2
      Post-release version bump to 0.23.3
      Makefile.am: Add pixman@lists.freedesktop.org to RELEASE_ANNOUNCE_LIST
      Fix lcg_rand_u32() to return 32 random bits.
      New test of pixman_region_contains_{rectangle,point}
      Speed up pixman_region{,32}_contains_rectangle()
      Use find_box_for_y() in pixman_region_contains_point() too
      Don't include stdint.h in lowlevel-blt-bench.c
      In pixman_image_create_bits() allow images larger than 2GB
      Rename pixman-fast-path.h to pixman-inlines.h
      Use repeat() function from pixman-inlines.h in pixman-bits-image.c
      Move bilinear interpolation to pixman-inlines.h
      Pre-release version bump to 0.23.4
      Post-release version bump to 0.23.5
      test: New function to save a pixman image to .png
      Use pkg-config to determine the flags to use with libpng
      test: Use smaller boxes in region_contains_test()
      A few tweaks to a comment in pixman-combine.c.template
      Add a generic unorm_to_unorm() conversion utility
      Add general pixel converter
      Add initial version of the MAKE_ACCESSORS() macro
      Use MAKE_ACCESSORS() to generate all the 32 bit accessors
      Use MAKE_ACCESSORS() to generate accessors for all the 16bpp formats
      Use MAKE_ACCESSORS() to generate accessors for 8bpp RGB formats
      Use MAKE_ACCESSORS() to generate accessors for 4 bpp RGB formats
      Use MAKE_ACCESSORS() to generate accessors for 24bpp formats
      Use MAKE_ACCESSORS() to generate accessors for the a1 format.
      Use MAKE_ACCESSORS() to generate accessors for paletted formats
      Remove x and y coordinates from analyze_extents() and compute_sample_extents()
      Split computation of sample area into own function
      Eliminate compute_sample_extents() function
      test: Occasionally use a BILINEAR filter in blitters-test
      Strength-reduce BILINEAR filter to NEAREST filter for identity transforms
      Don't include stdint.h in scaling-helpers-test.
      Add src, mask, and dest flags to the composite args struct.
      Pre-release version bump to 0.23.6
      Post-release version bump to 0.23.7
      Add stable release / development snapshot to draft release notes
      gradient walker: Correct types and fix formatting
      Use sentinels instead of special casing first and last stops
      Simplify gradient_walker_reset()
      Merge branch 'gradients'
      Fix use of uninitialized fields reported by valgrind
      Pre-release version bump to 0.23.8
      Post-release version bump to 0.23.9
      Pre-release version bump to 0.24.0
      Post-release version bump to 0.24.1
      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
      Reject trapezoids where top (botttom) is above (below) the edges
      Fix bugs with alpha maps
      Pre-release version bump to 0.24.2

Taekyun Kim (25):
      Replace boolean arguments with flags for bilinear fast path template
      REPEAT_NORMAL support for bilinear fast path template
      sse2: Declare bilinear src_8888_8888 REPEAT_NORMAL composite function
      ARM: Add REPEAT_NORMAL functions to bilinear BIND macros
      Enable REPEAT_NORMAL bilinear fast path entries
      Bilinear REPEAT_NORMAL source line extension for too short src_width
      ARM NEON: Standard fast path out_reverse_8_8888
      ARM: NEON better instruction scheduling of over_n_8_8888
      ARM: NEON better instruction scheduling of over_n_8888
      sse2: Macros for assembling bilinear interpolation code fractions
      sse2: Bilinear scaled over_8888_8888
      sse2: Bilinear scaled over_8888_8_8888
      init/fini functions for pixman_image_t
      Add new fast path flag FAST_PATH_BITS_IMAGE
      Move _pixman_lookup_composite_function() to pixman-utils.c
      Simple repeat fast path
      Simple repeat: Extend too short source scanlines into temporary buffer
      ARM: NEON: Some cleanup of bilinear scanline functions
      ARM: NEON: Bilinear macro template for instruction scheduling
      ARM: NEON: Replace old bilinear scanline generator with new template
      ARM: NEON: Instruction scheduling of bilinear over_8888_8888
      ARM: NEON: Instruction scheduling of bilinear over_8888_8_8888
      ARM: NEON: Standard fast path src_n_8_8888
      ARM: NEON: Standard fast path src_n_8_8
      ARM: NEON: Fix assembly typo error in src_n_8_8888
2012-04-20 00:07:56 -04:00
Ms2ger
2503fec036 Bug 745291 - Remove superfluous ; in X11Util.h. r=dteller, a=blassey 2012-04-19 18:53:30 -04:00
Benoit Girard
51549b38f1 Bug 739679 - Part 4: TiledLayerBufferOGL. r=mwoodrow,roc 2012-04-16 19:04:24 -04:00
Benoit Girard
98ad37d209 Bug 739679 - Part 4: TiledLayerBufferOGL. r=mwoodrow,roc 2012-04-16 19:04:24 -04:00
Benoit Girard
ed4c272a74 Bug 739679 - Part 3: BasicTiledThebesLayer. r=mwoodrow,roc 2012-04-16 19:02:45 -04:00
Benoit Girard
9a37018a8c Bug 739679 - Part 3: BasicTiledThebesLayer. r=mwoodrow,roc 2012-04-16 19:02:45 -04:00
Benoit Girard
9e0fd17c76 Bug 739679 - Part 1: Add BasicImplData header into its own file. r=roc a=blocking-fennec 2012-04-16 18:23:03 -04:00
Benoit Girard
b7cc47a715 Bug 739679 - Part 1: Add TiledLayerBuffer to control logic for updating tiled layers. r=roc,mwoodrow, a=blocking-fennec 2012-04-16 18:22:59 -04:00
Benoit Girard
fae1bd0e73 Bug 739679 - Part 2.5: Add TiledBuffer IPC code. r=cjones 2012-04-13 11:17:39 -04:00
Benoit Girard
757a6fa342 Bug 739679 - Part 2.5: Add TiledBuffer IPC code. r=cjones 2012-04-13 11:17:39 -04:00
Cameron Kaiser
5a9f19f235 Bug 747816 - Add big-endian tags to OTS r77. r=jfkthame, a=npotb 2012-04-23 18:05:32 -04:00
Jeff Muizelaar
05f4d55e08 Bug 743499. Handle negative sizes in CG backend. r=bas, a=akeybl
I didn't realize Sizes could be negative when originally writing this code.
2012-04-23 17:09:57 -04:00
Jeff Muizelaar
a3359ec3be Bug 745864 - Add profiling labels relevant for Fennec graphics performance. r=bgirard a=blassey
--HG--
extra : rebase_source : 9ec2966476988924331d021977e2713e044701df
2012-04-16 14:36:33 -04:00
Matt Woodrow
1f16b412d0 Bug 704124 - Use correct source surface with Azure canvas on d3d9 layers. r=Bas, a=blassey 2012-04-17 12:51:42 +12:00
John Daggett
6ed7380e29 Bug 710727. Share cmaps across all fonts. r=jkew, a=tracking-firefox 2012-04-19 08:59:43 +09:00
Benoit Girard
6d84bdbfd3 Bug 746344 - gfxImageSurface should allow allocation without memset. r=jmuizelaar a=jpr
--HG--
extra : rebase_source : 271a72ec7911299d2a185df7c5139c00997e55df
2012-04-17 17:55:11 -04:00
Benoit Girard
1d43b01cf9 Bug 740557 - Add a Copy-On-Write surface wrapper (gfxReusableSurface) for OMTC tiling. r=jmuizelaar a=blocking-fennec 2012-04-17 19:21:07 -04:00
Ali Juma
ee7a3a3249 Bug 733941 - Let callers of imgIContainer::draw choose to clamp instead of tile. r=roc a=blocking-fennec 2012-04-17 18:04:15 -04:00
George Wright
bfb1491963 Bug 728724 - Backout c210ff20f371, as the correct fix has now landed. r=joe a=blocking-fennec 2012-04-17 13:56:25 -04:00
Marco Bonardo
63458c5e5a Merge central and inbound 2012-04-17 15:33:51 +02:00
Marco Bonardo
8fd56f3066 Merge last green PGO from inbound to central 2012-04-17 15:31:58 +02:00
Benoit Jacob
2d7e3b4fef Bug 744888 - Work around a NVIDIA driver bug - r=jgilbert 2012-04-16 15:56:12 -04:00
Benoit Jacob
30ec0fc1a6 Bug 734657 - Upgrade ANGLE to r1042 - no review
The upstream is at:
  http://code.google.com/p/angleproject/

This update allows to pass all conformance tests on Windows with ANGLE renderer; also fixes 2 crashes (see dependent bugs).
2012-04-15 15:05:00 -04:00
Ms2ger
8299fe6b09 Backing out bf0a78471e5e:dc7022e2d807 for inexplicable windows crashes. 2012-04-14 17:52:34 +02:00
Ms2ger
258acebbf4 Bug 745291 - Remove superfluous ';' in X11Util.h; r=Yoric 2012-04-14 15:09:54 +02:00
Jonathan Kew
c04607daca bug 745261 - check calls to SetupCairoFont for failure. r=jdaggett 2012-04-17 09:50:26 +01:00
Jonathan Kew
bf59776c6f bug 745555 - preserve character-identity flags in the CompressedGlyph record when updating glyph information. r=roc 2012-04-16 13:54:50 +01:00
Jeff Gilbert
c9d3ff4f45 Bug 730417 - Add minimal PBuffer request case and use PBuffer request bit. r=bjacob 2012-04-24 19:49:59 -04:00
Benoit Jacob
a9859a5f37 Bug 748112 - WebGL Water demo broken by long identifier mapping - r=jgilbert 2012-04-24 16:05:11 -04:00
Simon Montagu
565550b948 bug 738101 - Use the new mozilla::unicode::GetIdentifierModification instead of the old ccmap in IsDefaultIgnorable. This is the last client for precompiled ccmaps, so remove the infrastructure for them at the same time. r=jfkthame 2012-04-18 21:54:54 -07:00
Matt Brubeck
db7e149288 Merge mozilla-central to mozilla-inbound 2012-04-13 14:09:05 -07:00
Mark Finkle
deb2c9ce8e Backing out e481b6ffc60b (bug 691061) because it breaks 'save as pdf' in Fennec (bug 704185) 2012-04-13 12:30:33 -04:00
Bas Schouten
173372bc56 Bug 745054 - Part 2: Allow factory construction of Skia drawtargets on all platforms. r=mattwoodrow 2012-04-13 04:10:22 +02:00
Bas Schouten
db05f2fa78 Bug 745054 - Part 1: Fix Skia compilation on windows. r=mattwoodrow 2012-04-13 04:10:22 +02:00
Marco Bonardo
0fdcb8da96 Backout e20a19a790dd (bug 743830) for linux QT bustage. 2012-04-13 21:43:13 +02:00
Nicolas Silva
b99a357ef5 Bug 743830: Added 'gfx.xrender.enableded' pref (true by default). The pref is fetched in gfPlatformGtk.cpp and can be accessed through gfxPlatformGtk::UseXRender(). UseXRender is used in GLContextProviderGLX to set mUseTextureFromPixmap. r=jrmuizel,gw280 2012-04-11 14:04:54 -04:00
Jonathan Kew
539dfb729f bug 744480 - check for failure to set up the cairo font. r=bas 2012-04-13 17:39:39 +01:00
David Rajchenbach-Teller
457f40baba Bug 728171 - Use Scoped.h throughout the code. r=cjones 2012-04-12 12:21:24 +02:00
Oleg Romashin
ca90d23c52 Bug 744564 - Allow to create EGL context from Widget provided GL context (embedding approach). r=roc,jgilbert 2012-04-12 00:18:35 -04:00
Bas Schouten
77682b2ea7 Bug 742566: Add stand-alone unit test framework to Azure. r=jrmuizel 2012-04-12 02:03:07 +02:00
Bas Schouten
8da189c2ce Bug 719776 - Part 5: Fix MSVC build files for Azure. r=jrmuizel 2012-04-12 02:03:07 +02:00
Bas Schouten
e8a2e50661 Bug 719776 - Part 4: Do not depend upon mozalloc inside Azure. r=jrmuizel 2012-04-12 02:03:07 +02:00
Bas Schouten
b056c07df5 Bug 719776 - Part 3: Only include ScaledFontWin when using Skia. r=jrmuizel 2012-04-12 02:03:07 +02:00
Richard Newman
a89cec83c5 Backout 0e03eb171e08 (Bug 743574 - Deprecate DOMException.code). a=bustage 2012-04-11 15:33:37 -07:00
David Rajchenbach-Teller
5a08b70435 Bug 728171 - Use Scoped.h throughout the code. r=cjones 2012-04-11 18:59:10 +02:00
George Wright
0b33bc95cf Bug 744543 - LayerManagerOGL doesn't build on Linux/clang. r=bjacob 2012-04-11 15:50:45 -04:00
Bas Schouten
b926862954 Bug 743393: Reset scissorrect when clearing surfaces. r=jrmuizel 2012-04-11 18:17:40 +02:00
Bas Schouten
a25be3f8c2 Bug 743148: Setup input assembler for component alpha filling. r=jrmuizel 2012-04-11 18:17:40 +02:00
Phil Ringnalda
4348c0ace3 Back out 4b82f26f8593:2fcf9cbedd48 (bug 743393, bug 719776) for bustage 2012-04-11 09:06:40 -07:00
Bas Schouten
189797aaee Bug 743393: Reset scissorrect when clearing surfaces. r=jrmuizel 2012-04-11 16:55:31 +02:00
Bas Schouten
fa18d1f970 Bug 743148: Setup input assembler for component alpha filling. r=jrmuizel 2012-04-11 16:55:31 +02:00
Bas Schouten
574adb3b1e Bug 743593: Properly cast gfxFont based on type. r=jfkthame 2012-04-11 16:55:31 +02:00
Nicholas Cameron
acffcaac0a Bug 737239 - Nix power of two for non-ARM builds. r=gw280 2012-03-21 08:47:02 +13:00
Michael Wu
577e222d0b Bug 736005 - Put GL config fallback back on Android, r=cjones 2012-03-29 19:47:22 -07:00
Ali Juma
02c5a8de49 Bug 741319 - Delete textures using the same context used to create them, on the thread that owns that context. r=joe 2012-04-10 16:20:02 -04:00
Benoit Jacob
c2c3c22cb4 Bug 686735 - 2/2 - Implement no-gfx-driver-workarounds mode - r=joe
Part 2: In no-workarounds mode, also don't work around NPOT FBO bug
2012-04-10 11:49:32 -04:00
Benoit Jacob
46768022a6 Bug 741730 - Remove USE_GLES2 - r=romaxa 2012-04-10 11:49:21 -04:00
Benoit Jacob
574847287b Bug 686735 - 1/2 - Implement no-gfx-driver-workarounds mode - r=joe,ajuma,jgilbert
Part 1: introduce the gfx.work-around-driver-bugs preference and handle most existing workarounds
2012-04-10 11:49:10 -04:00
Jonathan Kew
a85cf16773 bug 743767 - fix bugs in pattern matrix handling in GlyphBufferAzure. r=bas 2012-04-10 11:57:23 +01:00
Jacek Caban
3d52a2a823 Bug 742361 - GCC 4.7 mingw fails to compile cairo due to missing ffs declaration r=jrmuizel 2012-04-10 10:20:07 +02:00
Jeff Gilbert
28a3d5f866 Bug 621036 - Remove printfs from GLContextProviderCGL - r=bjacob 2012-04-09 19:51:29 -07:00
John Daggett
ba0b628aee Bug 738136. Add Lao to the list of scripts that require shaping under OSX. r=jkew 2012-04-10 11:06:31 +09:00
Ryan VanderMeulen
05fde86a48 Backout e54c650e8748 (bug 737239) due to lack of proper reviews. 2012-04-09 21:06:34 -04:00
Nicholas Cameron
24cd21052e Bug 737239 - Nix power of two for non-ARM builds. r=gw280 2012-03-21 08:47:02 +13:00
Wes Johnston
2ba46f571f Backed out changeset f5d6cc2e4726 2012-04-09 10:44:32 -07:00
Wes Johnston
e196e635a6 Bug 740218 - Support transactions in sqlitebridge and use them. r=gcp,rnewman,lucasr 2012-04-09 10:08:37 -07:00
John Daggett
de125b895c Bug 710727. Revert shared cmap patch due to reftest/mochitest-4 failures on Win7. a=bustage 2012-04-09 22:03:28 +09:00
John Daggett
341246ae21 Bug 710727. Share cmaps across all fonts. r=jkew 2012-04-09 13:31:55 +09:00
Jeff Gilbert
7d33dde9d8 Bug 739421 - Implement/expose ARB_sync in GLContext - r=bjacob 2012-04-06 16:57:55 -07:00
Steven Michaud
081271f8df Bug 738076 - Missing "return NS_ERROR_FAILURE" after malloc failure. r=bgigard 2012-04-05 17:36:40 -05:00
Mike Hommey
46646a522a Bug 738176 - Completely disable jemalloc when it's supposed to be disabled on OSX, and cleanup exposed APIs. r=jlebar,r=khuey 2012-04-05 09:20:53 +02:00
Jeff Gilbert
309a688dea Bug 741689 - Disable poorly implemented GL extensions on load - r=bjacob 2012-04-04 18:44:55 -07:00
Oleg Romashin
e5ee1d5354 Bug 742544 - Don't change global shared context multiple times. r=jgilbert 2012-04-04 17:53:02 -07:00
Matt Woodrow
f05628f8b5 Bug 719776: Kill some external dependencies inside Azure code. r=Bas 2012-03-05 13:12:15 +13:00
Oleg Romashin
4f48b91fcf Bug 742091 - Texture format detection broken by 740372. r=gwright 2012-04-04 14:32:21 -07:00
Ali Juma
44bb4bb484 Bug 741984 - Prevent tiled texture upload from going into an infinite loop. r=Cwiiis 2012-04-04 10:26:05 -04:00
Marco Bonardo
63e298422a Merge central to inbound 2012-04-04 13:39:52 +02:00
Marco Bonardo
5eb9c1dad8 Merge last green PGO from inbound to central 2012-04-04 13:36:36 +02:00
Kyle Huey
2e544f22ba No bug: Shut up a struct/class warning. r=Bas 2012-04-03 14:00:34 -07:00
Jonathan Kew
eef88b2b41 bug 717175 - flush shaped-word caches if they grow excessively large. r=roc 2012-04-03 12:22:18 +01:00
Nicholas Nethercote
85b9728d6c Bug 711895 - Tweak the warning options used for GCC builds (3rd attempt). r=waldo,derf,khuey,mhommey.
--HG--
extra : rebase_source : 20540c9b838ee3be6cb0847c1b90fdc3bd44059d
2012-03-21 22:21:16 -07:00
Matt Woodrow
e1aae0e872 Bug 740560 - [Azure] Add Factory::CreateDrawTargetForData. r=Bas,gw280 2012-04-02 15:15:08 -04:00
Joe Drew
b118c666da Bug 739969 - Port patch from bug 633627 to use fixed point division instead of integer. r=jmuizelaar 2012-04-01 15:16:33 -04:00
Ms2ger
9f1fbf3676 Bug 741048: Remove gfxAtoms. r=roc 2012-03-30 23:08:46 -07:00
Dave Townsend
f5853d4d7a Backing out changeset 432c4be058b5 which landed with no bug. 2012-03-30 22:23:24 -07:00
George Wright
e270db628e Bug 740963 - [Skia] Handle non-multiple-of-two dash lengths in HelpersSkia::StrokeOptionsToPaint(). r=jrmuizel 2012-03-30 17:36:34 -04:00
George Wright
ff95768a81 Bug 740570 - Add conversion functions between SurfaceFormats and ImageFormats. r=bas 2012-03-30 15:48:03 -04:00
Ali Juma
34cf50ec43 Bug 737437 - Post a task to handle compositor destruction. r=bgirard 2012-03-30 15:43:11 -04:00
Veeraya Pupatwibul
1bdf9d9923 Bug 741333 - Remove PRBool/PR_TRUE/PR_FALSE that crept in r=Ms2ger 2012-04-04 11:15:10 +02:00
Jacek Caban
0a6a5ea096 Bug 735194 - gfxDWriteFontList.cpp fails to compile on mingw r=bas 2012-04-04 11:12:11 +02:00
John Daggett
8c826c0c0b Bug 739706. Fix gfxFont.cpp compiler warning. r=jfkthame 2012-03-30 10:50:14 -07:00
George Wright
ed12e4a0d4 Bug 740372 - Handle MOZ_GFX_OPTIMIZE_MOBILE in gfxASurface and gfx2DGlue format conversion functions. r=jrmuizel 2012-03-30 11:56:08 -04:00
Ali Juma
0a48c74886 Bug 694964 - Don't generate a Thebes Paint edit in an incomplete transaction. r=bgirard 2012-03-30 09:25:20 -04:00
Marco Bonardo
31496b4a78 Merge central to inbound 2012-03-30 12:27:55 +02:00
Cameron McCormack
1c9f23f9bf Bug 740271 - Allocate partial ligature advance rounding error to the last part. r=roc 2012-03-30 13:34:50 +11:00
Ms2ger
b313aff15a No bug - Remove gfxAtoms; r=roc 2012-03-29 23:08:43 +02:00
Ali Juma
230466c020 Bug 740313 - Initialize TextureImage::mFilter. r=bgirard 2012-03-29 17:44:11 -04:00
Jeff Gilbert
9fe0e7def9 Bug 732765 - Fail gracefully when we lack GL functionality - r=bjacob 2012-03-29 13:47:20 -07:00
Bas Schouten
16adc3cf53 Bug 738691 - Part 2: Add proper stroke and path support to Azure glyph drawing. r=jrmuizel 2012-03-29 20:53:44 +02:00
Bas Schouten
283bb94230 Bug 738691 - Part 1: Add CopyGlyphsToBuilder API. r=jrmuizel 2012-03-29 20:53:44 +02:00
Bas Schouten
eaa02a2931 Bug 738690: Properly convert patterns to userspace in the Azure-Thebes wrapper. r=jrmuizel 2012-03-29 20:53:43 +02:00
Bas Schouten
c367e0d9b4 Bug 738688: Add supports for color patterns in the Azure-Thebes wrapper. r=jrmuizel 2012-03-29 20:53:43 +02:00
George Wright
e4c1d1f1c2 Bug 728284 - Main container layer has siblings that are drawn in the background. r=bgirard 2012-03-29 14:07:45 -04:00
Phil Ringnalda
e087dc71b6 Back out 7bffc102114e (bug 737437) for Android native talos bustage 2012-03-29 08:26:58 -07:00
Ali Juma
b197ceb6eb Bug 737437 - Destroy the compositor's layer manager before the CompositorChild gets destroyed. r=cjones 2012-03-29 09:59:22 -04:00
George Wright
39ab722a10 Bug 740191 - [Skia] Fix SkBlitRow_opts_arm.cpp for compiling with NEON and Thumb enabled. r=mattwoodrow 2012-03-28 22:23:28 -04:00
George Wright
acc9c1e114 Bug 740187 - [Skia] Prevent the ARM implementation of memset16 from failing if count=0 r=mattwoodrow 2012-03-28 22:20:55 -04:00
George Wright
79f76b0311 Bug 740138 - [Skia] Use SkDebug_android for Android instead of SkDebug_stdio. r=mattwoodrow 2012-03-28 18:27:01 -04:00
Nathan Froyd
9b00237249 Bug 739635 - fix -Wunused-but-set-variable warnings in gfx/thebes/; r=jrmuizel 2012-03-27 11:55:54 -04:00
Ali Juma
ac0e992650 Bug 735230 - Part 4: Don't call MakeCurrent with a context and without a surface. r=gw280 2012-03-28 18:00:41 -04:00
Ali Juma
170d63ff3e Bug 735230 - Part 1: Add Pause and Resume messages to PCompositor. r=bgirard 2012-03-28 18:00:10 -04:00
Jonathan Kew
9451ea58a6 bug 739925 - port OTS bug-fix from upstream rev.83. r=jdaggett 2012-03-28 11:12:51 -07:00
Chris Lord
dad1744a74 Bug 739604 - Split out dumping of paint buffers from paint lists. r=mattwoodrow
Split dumping of paint buffers into a separate environment variable, vs.
dumping of paint buffers to allow for dumping only of paint lists.
2012-03-28 19:10:28 +01:00
Chris Lord
6538a6eb7e Bug 739604 - Check if output file is valid before printing. r=mattwoodrow
Check that gfxUtils::sDumpPaintFile isn't NULL before calling print functions
in Layers.cpp:WriteSnapshotToDumpFile_internal().
2012-03-28 19:10:22 +01:00
Chris Lord
24ec18f899 Bug 739604 - Don't leave mCurrentImage in an inconsistent state. r=ajuma
Setting MOZ_DUMP_PAINT_LIST when using tiled textures was causing crashes, one
of which was due to TextureImage function calls happening outside of tile
iteration and accessing invalid memory.

Fix this crash by reverting NextTile behaviour to never leave mCurrentImage
point to an invalid tile, as was the case prior to bug 732917.
2012-03-28 19:10:10 +01:00
Jonathan Kew
cfa00ea9ff bug 688125 - part 1 - add memory reporting for the platform font list. r=njn 2012-03-27 14:38:39 -07:00
Ehsan Akhgari
55f5039ade Backed out changeset 690cba3bb817 (bug 719776) because of build failures 2012-04-03 17:49:59 -04:00
Matt Woodrow
b07592468b Bug 719776: Kill some external dependencies inside Azure code. r=Bas 2012-03-05 13:12:15 +13:00
Bas Schouten
5c56511c71 Bug 740815 - Part 3: Use component alpha rendering when required and drawing content with Azure. r=jrmuizel 2012-04-03 22:25:52 +02:00
Bas Schouten
466e713be2 Bug 740815 - Part 2: Generalize code for filling component alpha surfaces with opaque colors. r=jrmuizel 2012-04-03 22:25:52 +02:00
Bas Schouten
f7962e5181 Bug 740815 - Part 1: Add DrawTargetDual to Azure for Component Alpha drawing. r=jrmuizel 2012-04-03 22:25:52 +02:00
Jonathan Kew
b16bf4a949 bug 745780 - re-apply patch from bug 727736 after harfbuzz update. r=jdaggett a=mfinkle 2012-04-21 22:25:03 +01:00
Jonathan Kew
8a2e8d2523 bug 745780 - update harfbuzz code to upstream commit 3cde23664fbbe9cd2ac1b8fd5eb2ea288309cc9c (2012-04-17). r=jdaggett a=mfinkle 2012-04-21 22:24:39 +01:00
Jonathan Kew
a139d4cb98 bug 746975 - update graphite2 library to 1.1.2 release from upstream. r=jdaggett a=akeybl 2012-04-21 08:06:26 +01:00
Joe Drew
5248a80c1d Bug 744916 - Make the Java viewport keep track of its size in both CSS pixels and device pixels. r=kats
--HG--
extra : rebase_source : f733c2a4eadaeaa9c845b83886af8ab335250f85
2012-04-12 16:00:56 -04:00
Jeff Muizelaar
78533845be Bug 744901 - Store the page size in FrameMetrics in CSS pixels in addition to device pixels. r=cjones
--HG--
extra : rebase_source : ac38e2ff9dda55bd5dc44d757b67cb1550da1eaa
2012-04-12 15:55:26 -04:00
Ali Juma
45b0527065 Bug 733596 - Tell the compositor about the new surface size on surface change. r=bgirard a=blocking-fennec 2012-04-20 11:46:30 -04:00
Jonathan Kew
3db8fb754a bug 231162 - support custom casing behavior for Turkish and similar writing systems. r=smontagu 2012-03-27 08:49:03 -07:00
Jim Mathies
7d34124216 Bug 737988 - Disable Win8 memory reportder due to missing headers in the latest consumer preview. r=jmuizelaar DONTBUILD 2012-03-27 08:42:03 -05:00
Jeff Muizelaar
345836408c Bug 738919. Accept dash arrays of length > 0. r=mwoodrow
I copied a bug from the skia code here. This fixes the CG
version and puts a note into the skia code.
2012-03-26 22:50:08 -04:00
Oleg Romashin
e8955b072d Bug 703155 - Port Mozilla Qt to Qt5. r=mark.finkle,mh+mozilla,dougt 2012-03-22 16:24:40 -07:00
Oleg Romashin
c6605360b3 Bug 739095 - Offscreen context without offscreen texture does not need YFlip. r=jgilbert 2012-03-26 12:56:10 -04:00
Benoit Jacob
3ee00f35ed Bug 737182 - limit max texture size on Mac Intel driver - r=bgirard 2012-03-26 12:15:53 -04:00
Jeff Gilbert
ab6e9099ad Bug 735378 - Cache temporary composite surfaces - r=bgirard 2012-03-25 12:50:26 -07:00
Oleg Romashin
8b91f70e77 Bug 738865 - Use Small Tiles should not be Android only. r=chrislord.net,bgirard 2012-03-24 18:08:06 -04:00
Jonathan Kew
8a54d3120f bug 688125 - part 2 - add memory reporting for fonts in the gfxFontCache. r=njn 2012-03-23 12:14:16 +00:00
Oleg Romashin
54e4efabc5 Bug 735602 - Add possibility to choose EGL backend on Non-Maemo Linux/Qt/Gtk builds instead ofo GLX. r=jgilbert 2012-03-23 14:43:52 -04:00
Jeff Gilbert
0c50aa229e Bug 696569 - Allow for non-premultiplied data for canvases - r=bjacob,joedrew 2012-03-23 15:10:50 -07:00
Jonathan Kew
9b9ab028c6 bug 738197 - handle potential failures in gfxFont::GetShapedWord more robustly. r=roc 2012-03-23 12:13:33 +00:00
Ryan VanderMeulen
68314a3f20 Backout 1152d14294df, 18c70ab50559, dbd51616925a, 730c2e84247f, and 7beb8fd46629 due to perma-hangs on WinXP debug moth. (test_memoryReporters.xul | application timed out after 330 seconds with no output) 2012-03-23 17:04:28 -04:00
Chris Lord
3b90179676 Bug 738740 - Fix handling of parameters in nsTArray::ReplaceElementAt. r=bz
Handle the parameters given to ReplaceElementAt the same way as those given to
other methods in the class. This allows removal of the & in GLContext.cpp that
was taking the address of a temporary, and causing a build error when using
clang, or when using GCC with particular parameters.
2012-03-23 19:27:25 +00:00
Jonathan Kew
4337005959 bug 688125 - part 2 - add memory reporting for fonts in the gfxFontCache. r=njn 2012-03-23 12:14:16 +00:00
Jonathan Kew
d7d00f5d4d bug 688125 - part 1 - add memory reporting for the platform font list. r=njn 2012-03-23 12:14:06 +00:00
Jonathan Kew
7322fce6c4 bug 738197 - handle potential failures in gfxFont::GetShapedWord more robustly. r=roc 2012-03-23 12:13:33 +00:00
Chris Lord
15d21e7d38 Bug 737434 - Reuse tiles when resizing tiled textures. r=bgirard
Instead of scrapping all tiles when a tiled texture is resized, reuse as many
tiles as possible. Strictly speaking, more tiles could be reused, but the
selected reuse strategy maintains the spacial structure of the texture, and we
don't often resize in such a way as to make this inefficient.
2012-03-23 11:30:57 +00:00
Matt Brubeck
2866761d14 Back out 636349fa2e09 because of robocop failures 2012-03-22 19:07:42 -07:00
Marco Bonardo
1ffefb8021 Merge central to inbound 2012-03-23 02:02:03 +01:00
Marco Bonardo
36b3350337 Merge last green PGO from inbound to central 2012-03-23 01:59:29 +01:00
Andreas Gal
569a76795b Use BGRX shader for RGB24 image surfaces (bug 738178, r=joe). 2012-03-22 11:37:47 -07:00
Ehsan Akhgari
ccd236979e Bug 737909 - Add a patch file to gfx/cairo; r=joe
DONTBUILD
2012-03-22 11:37:19 -04:00
Ehsan Akhgari
9bb38b7a83 Bug 737909 - Address Joe's review comment; r=joe 2012-03-22 11:32:08 -04:00
Rafael Ávila de Espíndola
2445a4546c Bug 737909 - Fix opt -Werror build with clang; r=joe 2012-03-22 11:30:08 -04:00
Jeff Gilbert
8e1705e107 Bug 735378 - Cache temporary composite surfaces - r=bgirard 2012-03-22 15:04:25 -07:00
Oleg Romashin
1b9ac87ccb Bug 738137 - Try to create PBuffer offscreen context on NON-X11 builds always. r=jgilbert 2012-03-22 13:25:03 -07:00
Oleg Romashin
b87df218fe Bug 733922 - Fix Qt port compilation with --enable-skia. r=gwright 2012-03-22 13:24:57 -07:00
Chris Jones
e0b9a354c2 Bug 738158, part 2: Set the wrap mode for cairo images. r=ajuma 2012-03-22 01:02:59 -07:00
Chris Jones
c3ce3d333d Bug 738158, part 1: Remove unnecessary settings from InitTexture(). UploadSurfaceToTexture() and SetFilter/ApplyFilter() do these now. r=ajuma 2012-03-22 01:02:29 -07:00
Oleg Romashin
8cdd7da1d2 Bug 736802 - Qt EGL Maemo compilation broken. r=joe 2012-03-21 16:14:14 -07:00
Oleg Romashin
e74b6215cf Bug 737354 - Embedding initialize GL context before gfxPlatform::Init. r=roc 2012-03-21 16:14:09 -07:00
Oleg Romashin
233e3b3dce Bug 733562 - Offscreen FBO must not be created for Global Shared context. r=bjacob 2012-03-21 16:13:59 -07:00
Chris Jones
80c67b1ddc Bug 737071: Remove LayerManagerOGL::glForResources() because it's not needed and causes performance degradtion sometimes. r=Bas 2012-03-21 22:48:41 -07:00
Nicholas Nethercote
3b8fa5f259 merge 2012-03-21 21:57:29 -07:00
Nicholas Nethercote
6ae6850783 merge 2012-03-21 21:48:40 -07:00
Nicholas Nethercote
c4ee2f9bdc Backed out changeset 0124795a8cbb (bug 711895) due to i10n build bustage. r=me. 2012-03-21 21:46:27 -07:00
Oleg Romashin
3a4102f73d Bug 735164 - Handle properly WebGL offscreen context in Platform context environment. r=jgilbert 2012-03-21 17:16:31 -07:00
Nicholas Nethercote
5524d35c04 Bug 711895 - Tweak the warning options used for GCC builds (2nd attempt). r=waldo,derf,khuey,mhommey,jwatt. 2012-03-15 19:40:00 -07:00
Robert O'Callahan
6b10b198ee Bug 723484. Fix alpha values for image layers with opacity. r=bas 2012-03-20 20:55:40 +13:00
Jeff Muizelaar
ac3b70e489 Bug 737686. Avoid glTexSubImage2D on PowerVR hardware. r=gwright
glTexSubImage causes a readback on PowerVR hardware if the texture
has already been uploaded. Disabling CanUploadSubTextures() brings
the median upload speed from 26ms to 10ms.
2012-03-20 19:13:50 -04:00
Hessam Salehi
25b8143afe Bug 474505 - Replace uses of nsVoidPtrHashkey with nsPtrHashKey<T>; r=bsmedberg 2012-03-21 14:07:31 -04:00
Mounir Lamouri
4ccbf5168d Merging mozilla-inbound into mozilla-central. 2012-03-21 11:29:28 +01:00
Jonathan Kew
0d8c9ce9cc bug 717175 - disable the timed expiration of shaped-word caches. r=roc 2012-03-21 09:01:08 +00:00
Robert O'Callahan
6043980c79 Bug 723484. Fix alpha values for image layers with opacity. r=bas 2012-03-20 20:55:40 +13:00
Daniel Holbert
7577dd6224 backout 1383ac50bcff (bug 723484) for remote image & occasional 'load failed: null' in reftest reference case 2012-03-20 10:22:53 -07:00
Daniel Holbert
b7b65ae384 backout 1383ac50bcff (bug 723484) for remote image & occasional 'load failed: null' in reftest reference case 2012-03-20 10:22:53 -07:00
Michael Wu
d0a906daea Bug 736902 - Remove support for unused SetSwapRectangleANDROID symbol, r=gal 2012-03-18 22:49:37 -04:00
Dão Gottwald
581bf17aa7 Backed out changeset 57d368003eb8 2012-03-20 13:13:24 +01:00
Oleg Romashin
e01cc78163 Bug 733562 - Offscreen FBO must not be created for Global Shared context. r=bjacob 2012-03-20 12:23:14 +01:00
Kartikaya Gupta
f83cb46c1d Bug 731603 - Propagate a layersUpdated flag to Java for robocop use. r=ajuma 2012-03-20 00:06:56 -04:00
Kartikaya Gupta
3e34d0c2b0 Bug 731603 - Propagate the resolution of the painted content into syncViewportInfo as well. r=Cwiiis 2012-03-20 00:05:45 -04:00
Nicholas Nethercote
6192f34efa Bug 731923 - Convert the N "gfx-surface" memory reporters to a single multi-reporter. r=jlebar.
--HG--
extra : rebase_source : 176ed4f7e417b3f8fc4247b8f976ab6c47dc565f
2012-03-18 14:59:17 -07:00
Masatoshi Kimura
39dd177660 Bug 736435 - Restore GetProcAddress check for t2embed library. r=jdaggett 2012-03-19 18:52:08 -04:00
Ali Juma
97d97c018c Bug 720353 - Backout of 964b118ac852 (Bug 694964). r=bgirard 2012-03-19 17:22:21 -04:00
Igor Bukanov
877dee50e1 bug 736978 - remove JS_FinalizeStub. r=:billm
Currently the GC finalizes on the background thread only objects with null
JSClass::finalize. However, this implies that any object that uses
JS_FinalizeStub for the finalizer would be prevented from the background
finalization.

To fix this the patch removes JS_FinalizeStub replacing it with NULL in all
cases when the class has no custom finalizer. For style consistency the patch
also removed the usage of JSCLASS_NO_OPTIONAL_MEMBERS in the static
declarations as the compiler fills the missing fields with null in any cases.
2012-03-19 15:27:58 +01:00
Bas Schouten
cc315e75c8 Bug 736134 - Followup: Put last parameter into an if-block. r=jrmuizel 2012-03-19 19:26:17 +00:00
Bas Schouten
c26eb25c96 Bug 736134 - Part 3: Use GlyphRenderingOptions API when drawing Azure fonts. r=jrmuizel 2012-03-19 19:20:18 +00:00
Bas Schouten
a1ccebc00b Bug 736134 - Part 2: Add RenderingParams object creation to gfxWindowsPlatform. r=jrmuizel 2012-03-19 19:20:18 +00:00
Bas Schouten
ef709193e2 Bug 736134 - Part 1: Add GlyphRenderingOptions API to Azure. r=jrmuizel 2012-03-19 19:20:17 +00:00
Chris Lord
e5a870b5b0 Bug 736850 - Cancel progressive upload task on buffer destruction. r=bgirard
Make sure to cancel the progressive upload task when destroying the
front-buffer. This also changes the Destroy method to call DestroyFrontbuffer
instead of just assigning nsnull to mBuffer.
2012-03-19 14:38:34 +00:00
Oleg Romashin
72d4633e87 Bug 736875 - Compositor perf warning need to be filtered up to 15ms. r=bgirard 2012-03-19 12:55:37 +01:00
Robert O'Callahan
aeaeb5b326 Bug 700867. Don't allow rotation when we're drawing a BasicThebesLayer that needs to be drawn atomically. r=tnikkel 2012-03-19 13:01:47 +13:00
Robert O'Callahan
5712a75420 Bug 664764. Part 3: Don't record memory used by gfxWindowsSurface if we actually failed to allocate the surface. r=mattwoodrow 2012-03-19 12:36:33 +13:00
Robert O'Callahan
ac18525123 Bug 664764. Part 2: Make PushGroupWithCachedSurface always return a valid context even if getting the cached surface fails. r=mattwoodrow 2012-03-19 12:36:28 +13:00
Robert O'Callahan
af76cef13a Bug 664764. Part 1: Change assertion to warning since it can happen due to resource exhaustion. r=mattwoodrow 2012-03-19 12:36:22 +13:00
Nicholas Nethercote
d32d1f56c9 Bug 732842 - Add assertions for memory reports. r=jlebar. 2012-03-15 15:16:11 -07:00
Andreas Gal
726b80aae8 Remove unused and broken tiling code (bug 736716, r=cjones). 2012-03-17 15:22:22 -07:00
Andreas Gal
e5235c2601 Backout bug 736716. 2012-03-17 15:20:01 -07:00
Andreas Gal
4166d84daf Follow-up fix for bug 736716 (fix bad style fix). 2012-03-17 15:07:22 -07:00
Andreas Gal
4e2055256d Remove unused and broken tiling code (bug 736716, r=cjones). 2012-03-17 15:02:02 -07:00
Benoit Girard
bb93bde972 Bug 736743 - Fix LayerManagerOGL Description. r=ajuma 2012-03-17 12:44:45 -04:00
Chris Lord
c456a36f39 Bug 732756 - Fix overdrawing of checkerboard. r=kats
Fix overdrawing of the checkerboard layer by letting layers have a concept of
a display-port, and keeping the root layer's display port in track with
Gecko's.
2012-03-17 15:08:22 +00:00
Chris Lord
80fb273e5d Bug 732917 - Upload textures progressively. r=bgirard
When using double-buffering in ShadowThebesLayerOGL, upload texture data
progressively.
2012-03-17 12:07:02 +00:00
Chris Lord
43189d6c13 Bug 732917 - Upload to texture on demand. r=bgirard,mattwoodrow
Add functions to do progressive texture upload and only upload to texture on
draw-demand. This is a building block towards asynchronous texture upload.
2012-03-17 12:07:02 +00:00
Chris Lord
0c11c7ad0c Bug 732917 - Enable double-buffering on Android. r=ajuma
Add support for double-buffering to ThebesLayerOGL, and enable it on Android.
Double-buffering should allow us to more easily implement progressive texture
upload.
2012-03-17 12:07:02 +00:00
Chris Lord
1bb6846373 Bug 732917 - Remove ShadowLayers::ShouldDoubleBuffer. r=cjones
This function has been unused since bug #690469.
2012-03-17 12:06:29 +00:00
Chris Lord
7fb495f3bd Bug 732917 - Use tile iteration functions in DirectUpdate. r=ajuma
So that the tile iteration callback remains useful, use the public iteration
functions when iterating over tiles in TiledTextureImage::DirectUpdate.
2012-03-17 12:06:29 +00:00
Chris Lord
68fd5151c9 Bug 732917 - Add a callback function for tile iteration. r=ajuma
Add the ability to set a callback function to be called on tile iteration.
2012-03-17 12:06:29 +00:00
Jonathan Kew
f7a9f13e00 bug 721719 - try Roboto as well as Droid Sans for fallback on Android. r=jdaggett 2012-03-17 09:39:09 +00:00
Jonathan Kew
fab232caed bug 721719 - ignore the GSUB table in Roboto on Android because of bad ligature rule. r=jdaggett 2012-03-17 09:38:42 +00:00
Oleg Romashin
fe1ebdecc4 Bug 726461 - cairo-qt-surface not compiling with Qt5. r=jrmuizel 2012-03-16 18:36:28 -04:00
George Wright
1ec77ce75f Bug 732865 - Clean up the GLContext* classes. r=bgirard,joe
--HG--
extra : rebase_source : f4f057f354772ff38d37fbc6e179f3cde9e218d1
2012-03-16 18:24:12 -04:00
Ryan VanderMeulen
2f1650c3ae Backout d5b66e64cf44 (bug 732756) to see if it fixes Android crashtests. 2012-03-16 17:17:22 -04:00
George Wright
aaef82ac19 Backed out changeset aad5bc8b3433 2012-03-16 15:02:01 -04:00
George Wright
342337ca94 Bug 732865 - Clean up the GLContext* classes. r=bgirard,joe 2012-03-16 14:30:09 -04:00
Chris Lord
7907635f98 Bug 732756 - Fix overdrawing of checkerboard. r=kats
Fix overdrawing of the checkerboard layer by letting layers have a concept of
a display-port, and keeping the root layer's display port in track with
Gecko's.
2012-03-16 16:30:23 +00:00
Phil Ringnalda
f505cb2ab5 Back out 243cd4db5edd and 4175fc853e16 (bug 712716) for OS X 10.6 and 10.7 assertions 2012-03-15 23:21:54 -07:00
John Daggett
e1a14d0e6a Bug 512566. Changes based on review comments. r=bz,jfkthame 2012-03-16 12:31:01 +09:00
John Daggett
2719e3bb47 Bug 512566. Load font data url's synchronously, gfx changes. r=jfkthame 2012-03-16 12:31:01 +09:00
Benoit Girard
13c7ec12a0 Bug 712716 - Add conditional shaders and a Copy2DExternalProgramType for gralloc. r=jrmuizelaar 2012-03-14 15:10:36 -04:00
Benoit Girard
44891d8e82 Bug 712716 - Fix AndroidGraphicBuffer resource management. r=snorp,jmuizelaar 2012-03-12 16:28:02 -04:00
Bas Schouten
518eac5956 Bug 717302: Make sure to mark transform dirty after resetting to push clip. r=jrmuizel 2012-03-15 20:26:10 +00:00
Jonathan Kew
384de9b74a bug 735583 - eliminate font constant synonyms and use the standard forms everywhere. r=jdaggett 2012-03-15 09:04:46 +00:00
Jonathan Kew
f58d29af3c bug 735419 - eliminate unused parameter in the gfxTextRun constructor. r=jdaggett 2012-03-15 09:03:51 +00:00
Jonathan Kew
b3ddef8d75 bug 735439 - optimize order of fields in gfxFontStyle to save space. r=jdaggett 2012-03-15 09:03:00 +00:00
Kartikaya Gupta
314843ddd5 Bug 725095 - Merge off-main-thread compositor from Maple. IGNORE BAD COMMIT MESSAGES 2012-03-14 11:18:15 -04:00
Ali Juma
9d742065e0 Bug 735600 - Don't composite when the layer tree is empty. r=bgirard 2012-03-14 10:54:34 -04:00
Benoit Girard
188ca471f6 Merge mc->Maple 2012-03-13 11:05:28 -04:00
Ehsan Akhgari
66cc3b5fa9 Backout changeset b52bae0250f7 because of test failures 2012-03-12 18:51:17 -04:00
Ali Juma
32ba162f31 Bug 725095 - Address GFX review comments. r=joe 2012-03-12 16:32:02 -04:00
Benoit Girard
13e20df894 Bug 712716 - Fix AndroidGraphicBuffer resource management. r=snorp,jmuizelaar 2012-03-12 16:28:02 -04:00
Ali Juma
06f63c2380 Bug 732091 - Part 5: Make the compositor notify Java when the page size changes or when a first paint occurs. r=bgirard 2012-03-12 11:50:27 -04:00
Ali Juma
06826ece22 Bug 732091 - Part 3: Pass on the isFirstPaint flag from the PresShell to the compositor via the layer manager. r=tnikkel,bgirard 2012-03-12 11:50:15 -04:00
Ali Juma
30da09c2e6 Bug 732091 - Part 1: Add an isFirstPaint bool to PLayers update. r=bgirard 2012-03-12 11:50:07 -04:00
Kartikaya Gupta
137c73d9f6 Merge m-c to maple 2012-03-12 10:41:42 -04:00
Daniel Holbert
d8d7782972 Backout 4b46f6eff8f4 (Bug 732988) for linux Cipc orange 2012-03-11 16:43:12 -07:00
Daniel Holbert
db5a753a57 merge m-c to m-i, up to m-c revision b9357da14ab8 2012-03-11 15:38:51 -07:00
Bas Schouten
a1cb5a3d28 Bug 732988 - Part 1: Add ScaleToSize API to ImageLayers. r=roc 2012-03-11 22:33:22 +00:00