Commit Graph

9923 Commits

Author SHA1 Message Date
Benoit Jacob
1519eb1059 Backing out bug 739648 for linux build failure 2012-05-03 16:26:04 -04:00
Benoit Jacob
657df782fe Bug 739648 - WebGL rendering is broken on Android due to tiles being rendered at y-flipped coordinates - r=bgirard 2012-05-03 15:59:19 -04:00
Bas Schouten
0f0ca8f00f Bug 751463: Remove Azure from XUL. r=khuey 2012-05-03 21:21:52 +02:00
Mike Hommey
614e21ea6d Bug 749533 - Add support for GNU/kFreeBSD and Hurd in SKIA. r=bjacob 2012-05-03 08:38:53 +02:00
Nicholas Cameron
79a33df6e6 Bug 716439; compile OGL shaders lazily. r=BenWa 2012-05-02 14:54:40 +12:00
Nicholas Cameron
444eba98c1 Bug 716439; shadow layer support. r=BenWa 2012-03-19 12:02:38 +13:00
Nicholas Cameron
37880b7f51 Bug 716439; change build process to genshaders statically. r=BenWa 2012-03-27 11:13:34 +13:00
Nicholas Cameron
74622d3afc Bug 716439; using mask layers in OGL. r=BenWa 2012-03-19 09:08:53 +13:00
Nicholas Cameron
72a96f7faf Bug 716439; load a mask texture in the OGL backend. r=BenWa 2012-03-19 09:08:49 +13:00
Nicholas Cameron
c801f9b117 Bug 716439; managing mask layer shaders in OpenGL. r=BenWa 2012-03-19 09:07:25 +13:00
Nicholas Cameron
f94ad36d3c Bug 716439; changes to glContext. r=BenWa 2012-04-04 17:56:22 +12:00
Nicholas Cameron
bc5a6227b2 Bug 716439; shaders for OpenGL mask layers. r=BenWa 2012-03-19 09:07:25 +13:00
Nicholas Cameron
64cda729f2 Bug 716439; shaders for the dx9 backend. r-Bas 2012-03-07 10:09:19 +13:00
Nicholas Cameron
ebda58df7d Bug 716439; c++ support for the shaders and textures for dx9 backend. r-Bas 2012-03-07 10:07:48 +13:00
Nicholas Cameron
aecf6c2ae4 Bug 716439; using masks in each of the dx9 backend layers. r-Bas 2012-03-07 10:07:48 +13:00
Nicholas Cameron
7dc5d18fea Bug 716438; using flags to select a shader. r=Bas 2012-03-01 17:29:30 +00:00
Nicholas Cameron
a888c21025 Bug 716439; dx10 shaders for mask layers. r=Bas 2012-02-16 12:34:28 +13:00
Nicholas Cameron
3631fa0610 Bug 716439; Using mask layer shaders in DX10. r=Bas 2012-02-16 12:34:25 +13:00
Nicholas Cameron
1dade22de5 Bug 716439; Loading a mask layer to textures in DX10. r=Bas 2012-02-16 12:34:23 +13:00
Nicholas Cameron
99e2641b5e Bug 716439; backend of the mask layers system for basic layers (software). r=roc 2012-02-08 11:27:21 +13:00
Nicholas Cameron
472977cd01 Bug 716439; creating mask layers. r=roc 2012-02-08 11:27:44 +13:00
Nicholas Cameron
34d6ba072b Bug 716439; mask layer - member, getter, setter, dumping. r=roc 2012-01-18 14:35:49 +13:00
Nicholas Cameron
1b6756aa23 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
d0be68448b 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
809d68efea 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
2b71769566 Bug 708136 - Don't teardown GL objects if teardown's makecurrent fails - r=bjacob 2012-04-30 19:05:59 -07:00
Oleg Romashin
bd6ff7ba6b Bug 750276 - Make CompositorParent transforms not android-only. r=ajuma 2012-04-30 17:03:26 -07:00
Oleg Romashin
dfdca5c416 Bug 748694 - Switch Maemo WebGL to FBO. r=jgilbert,bgirard 2012-04-30 17:03:08 -07:00
Daniel Holbert
b7932b3e66 Bug 750356: fix signed/unsigned comparison build warnings in ReusableTileStoreOGL.cpp. r=chrislord 2012-04-30 15:47:42 -07:00
Nicolas Silva
448bfb52b5 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
8252eb1d00 Bug 748654 - manually abort on allocation failure - r=jgilbert 2012-04-30 17:43:12 -04:00
Benoit Jacob
3e01d03f6d Bug 748654 - drop patch making us use mozalloc in angle - r=jgilbert 2012-04-30 17:43:12 -04:00
Benoit Jacob
d3e93afe93 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
4b321f4886 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
eb0a17535a Bug 749357 - TiledThebesLayerOGL can draw un-rendered areas of tiles. r=chrislord 2012-04-30 10:19:17 -04:00
Robert O'Callahan
d1bcb5139c 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
154b79964a 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
cbab0e0682 Bug 743314 - Force CanUploadSubtextures on Maemo6 harmattan. r=chrislord.net 2012-04-28 09:05:41 -04:00
Chris Lord
6ec3beb9c7 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
d7547c60eb Bug 749139. Set build-on-fly flag on non-SFNT font type. r=jkew 2012-04-27 17:26:41 +09:00
Matt Woodrow
465e6ee513 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
6d592e1267 Bug 735178 - Add error tolerance values when sorting preserve-3d layers. r=roc 2012-04-27 12:24:53 +12:00
Matt Woodrow
7d6f6ae015 Bug 735178 - Add debug coloring of sorted 3d layers to help identification. r=roc 2012-04-27 12:24:53 +12:00
Matt Woodrow
5de1dcf843 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
248ae5fed9 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
9fa44a2247 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
fdc8702178 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
d7aee42d5b bug 706888 - ignore GSUB in broken version of Droid Sans Arabic. r=jdaggett 2012-04-26 20:06:52 +01:00
Ed Morley
55e83a7ae7 Backout 476998cbd69f & f8654d020b1a (bug 739858) for compilation failures 2012-04-26 19:09:20 +01:00
Jonathan Kew
a39295d6c1 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
822c0d1ccc 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
c2b59c5b4f 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
15b7adf246 Bug 718539. Trim out old featureSettings string code. r=jkew 2012-04-26 15:27:08 +09:00
John Daggett
bae4d92415 Bug 718539. Merge per-font and style rule font features. r=jkew 2012-04-26 15:26:03 +09:00
John Daggett
04c2cd9e64 Bug 718539. Initialize font features in gfxFontStyle from nsFont data. r=dbaron 2012-04-26 15:25:29 +09:00
John Daggett
4984947d00 Bug 718539. Update font-feature-settings to latest spec syntax. r=dbaron 2012-04-26 15:24:26 +09:00
John Daggett
44ebb6fb98 Bug 718539. Move gfxFontFeature to a separate header. r=jkew 2012-04-26 15:22:24 +09:00
Benoit Girard
45ec8d0322 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
c01b046b59 Backout cc37cd8dac59 (bug 744303) for M1 orange 2012-04-25 16:15:11 +01:00
Bas Schouten
d15ab65754 Bug 743590: Properly mark ThebesLayer content invalid when changing content type. r=jrmuizel 2012-04-21 17:33:59 +02:00
Jeff Gilbert
fd1836bca0 Bug 739775 - Refactor ResizeOffscreenFBO - r=bjacob 2012-04-25 15:10:43 +01:00
Jeff Gilbert
56b2df3e35 Bug 744303 - Upload WebGL textures as BGRA when useful - r=bjacob 2012-04-25 15:05:35 +01:00
Chris Lord
70e676b14d 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
e95835d8ba Back out 4114c654f5d0 (bug 745177) because of Mac build errors 2012-04-24 20:18:50 -07:00
Chris Lord
8000a2a211 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
0e8cc7021e Bug 748209 - Allow to create useful CompositorParent subclass. r=ajuma 2012-04-24 09:22:36 -04:00
Oleg Romashin
f990147b5c Bug 748209 - Allow compositorParent be created in custom Thread. r=ajuma 2012-04-24 09:22:34 -04:00
Ehsan Akhgari
166aca09f9 Merge mozilla-central into mozilla-inbound 2012-04-24 21:29:44 -04:00
Patrick Wong
4ccd1d2fbb 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
4e4e1bcb9b Merge mozilla-central into birch 2012-04-24 10:49:42 -04:00
Ed Morley
dcdf030a23 Merge from mozilla-central 2012-04-24 11:46:16 +01:00
Ed Morley
1f4169107a 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
22e4f98ded 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
c4dac9ab62 Bug 739679 - Part 7: Enable tiling. r=pcwalton a=blocking-fennec 2012-04-23 23:22:25 -04:00
Benoit Girard
d61a9fdc57 Bug 739679 - Part 7: Enable tiling. r=pcwalton a=blocking-fennec 2012-04-23 23:22:25 -04:00
Benoit Girard
0a221c25a9 Bug 739679 - Part 6: Fix unlocking gfxReusableSurface. r=pcwalton 2012-04-23 20:08:18 -04:00
Benoit Girard
6eeab25bef Bug 739679 - Part 6: Fix unlocking gfxReusableSurface. r=pcwalton 2012-04-23 20:08:18 -04:00
Ehsan Akhgari
906c0d876d Merge from mozilla-central 2012-04-23 19:24:10 -04:00
Bas Schouten
19c747aae6 Bug 746588 - Invert the gfxPattern matrix when using DrawTargets. r=jrmuizel a=akeybl 2012-04-23 13:30:46 -04:00
Ehsan Akhgari
313c5f8453 Merge mozilla-central into birch 2012-04-22 16:10:35 -04:00
Benoit Girard
4a9f986e70 Bug 739679 - Part 5: Remove memset for 565 surfaces. r=mwoodrow 2012-04-18 20:40:08 -04:00
Benoit Girard
0a27dad6b5 Bug 739679 - Part 5: Remove memset for 565 surfaces. r=mwoodrow 2012-04-18 20:40:08 -04:00
Nathan Froyd
afcf314815 Bug 746279 - pack nsFont more carefully; r=jdaggett 2012-04-17 15:22:18 -04:00
Jonathan Kew
969d9ce796 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
d3e64eabc7 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
151c6c7cfc Bug 745291 - Remove superfluous ; in X11Util.h. r=dteller, a=blassey 2012-04-19 18:53:30 -04:00
Benoit Girard
6c1b206cd4 Bug 739679 - Part 4: TiledLayerBufferOGL. r=mwoodrow,roc 2012-04-16 19:04:24 -04:00
Benoit Girard
b46c2e00cf Bug 739679 - Part 4: TiledLayerBufferOGL. r=mwoodrow,roc 2012-04-16 19:04:24 -04:00
Benoit Girard
90cc77f5be Bug 739679 - Part 3: BasicTiledThebesLayer. r=mwoodrow,roc 2012-04-16 19:02:45 -04:00
Benoit Girard
e72f4d6f4b Bug 739679 - Part 3: BasicTiledThebesLayer. r=mwoodrow,roc 2012-04-16 19:02:45 -04:00
Benoit Girard
371d88a504 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
d06aebbebe 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
3a148e61c6 Bug 739679 - Part 2.5: Add TiledBuffer IPC code. r=cjones 2012-04-13 11:17:39 -04:00
Benoit Girard
80eed56f78 Bug 739679 - Part 2.5: Add TiledBuffer IPC code. r=cjones 2012-04-13 11:17:39 -04:00
Cameron Kaiser
045238e544 Bug 747816 - Add big-endian tags to OTS r77. r=jfkthame, a=npotb 2012-04-23 18:05:32 -04:00
Jeff Muizelaar
a99a32ae57 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
a571beb2bc 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
f63a87f0ab 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
ed5cb19215 Bug 710727. Share cmaps across all fonts. r=jkew, a=tracking-firefox 2012-04-19 08:59:43 +09:00
Benoit Girard
27feb4a559 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
c9b6f9c831 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
278fdbbb68 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
730569aa87 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
f4ba575127 Merge central and inbound 2012-04-17 15:33:51 +02:00
Marco Bonardo
e2d27a92bb Merge last green PGO from inbound to central 2012-04-17 15:31:58 +02:00
Benoit Jacob
a75320f68f Bug 744888 - Work around a NVIDIA driver bug - r=jgilbert 2012-04-16 15:56:12 -04:00
Benoit Jacob
b7aa678078 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
77ca860259 Backing out bf0a78471e5e:dc7022e2d807 for inexplicable windows crashes. 2012-04-14 17:52:34 +02:00
Ms2ger
c1f77cdb4b Bug 745291 - Remove superfluous ';' in X11Util.h; r=Yoric 2012-04-14 15:09:54 +02:00
Jonathan Kew
3cd1485d61 bug 745261 - check calls to SetupCairoFont for failure. r=jdaggett 2012-04-17 09:50:26 +01:00
Jonathan Kew
4bf22a422f 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
9a44c2562d Bug 730417 - Add minimal PBuffer request case and use PBuffer request bit. r=bjacob 2012-04-24 19:49:59 -04:00
Benoit Jacob
a41f9f50e8 Bug 748112 - WebGL Water demo broken by long identifier mapping - r=jgilbert 2012-04-24 16:05:11 -04:00
Simon Montagu
9235b950bd 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
28eac2b5d9 Merge mozilla-central to mozilla-inbound 2012-04-13 14:09:05 -07:00
Mark Finkle
827c334987 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
d8db1df3b8 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
0b0df4c4ce Bug 745054 - Part 1: Fix Skia compilation on windows. r=mattwoodrow 2012-04-13 04:10:22 +02:00
Marco Bonardo
0a0adaecbc Backout e20a19a790dd (bug 743830) for linux QT bustage. 2012-04-13 21:43:13 +02:00
Nicolas Silva
071d0a2967 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
810adcf9ef bug 744480 - check for failure to set up the cairo font. r=bas 2012-04-13 17:39:39 +01:00
David Rajchenbach-Teller
6f228de18f Bug 728171 - Use Scoped.h throughout the code. r=cjones 2012-04-12 12:21:24 +02:00
Oleg Romashin
28e15f2c03 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
57a990453d Bug 742566: Add stand-alone unit test framework to Azure. r=jrmuizel 2012-04-12 02:03:07 +02:00
Bas Schouten
d01f80086f Bug 719776 - Part 5: Fix MSVC build files for Azure. r=jrmuizel 2012-04-12 02:03:07 +02:00
Bas Schouten
6acf8b6968 Bug 719776 - Part 4: Do not depend upon mozalloc inside Azure. r=jrmuizel 2012-04-12 02:03:07 +02:00
Bas Schouten
0dab5dbad2 Bug 719776 - Part 3: Only include ScaledFontWin when using Skia. r=jrmuizel 2012-04-12 02:03:07 +02:00
Richard Newman
f8c8184e2b Backout 0e03eb171e08 (Bug 743574 - Deprecate DOMException.code). a=bustage 2012-04-11 15:33:37 -07:00
David Rajchenbach-Teller
b219309fc2 Bug 728171 - Use Scoped.h throughout the code. r=cjones 2012-04-11 18:59:10 +02:00
George Wright
3deefb5e3c Bug 744543 - LayerManagerOGL doesn't build on Linux/clang. r=bjacob 2012-04-11 15:50:45 -04:00
Bas Schouten
0bb9325706 Bug 743393: Reset scissorrect when clearing surfaces. r=jrmuizel 2012-04-11 18:17:40 +02:00
Bas Schouten
2cf0337dbf Bug 743148: Setup input assembler for component alpha filling. r=jrmuizel 2012-04-11 18:17:40 +02:00
Phil Ringnalda
151c28ec53 Back out 4b82f26f8593:2fcf9cbedd48 (bug 743393, bug 719776) for bustage 2012-04-11 09:06:40 -07:00
Bas Schouten
815aa63737 Bug 743393: Reset scissorrect when clearing surfaces. r=jrmuizel 2012-04-11 16:55:31 +02:00
Bas Schouten
a0e6222044 Bug 743148: Setup input assembler for component alpha filling. r=jrmuizel 2012-04-11 16:55:31 +02:00
Bas Schouten
cf4dd68f30 Bug 743593: Properly cast gfxFont based on type. r=jfkthame 2012-04-11 16:55:31 +02:00
Nicholas Cameron
085d9c7416 Bug 737239 - Nix power of two for non-ARM builds. r=gw280 2012-03-21 08:47:02 +13:00
Michael Wu
93b9694f41 Bug 736005 - Put GL config fallback back on Android, r=cjones 2012-03-29 19:47:22 -07:00
Ali Juma
65e2dc5b45 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
d9adfa7a3f 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
3ec34c8a72 Bug 741730 - Remove USE_GLES2 - r=romaxa 2012-04-10 11:49:21 -04:00
Benoit Jacob
b1ec60fb23 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
fbc199beea bug 743767 - fix bugs in pattern matrix handling in GlyphBufferAzure. r=bas 2012-04-10 11:57:23 +01:00
Jacek Caban
a57c8bcef4 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
c8a7f0a341 Bug 621036 - Remove printfs from GLContextProviderCGL - r=bjacob 2012-04-09 19:51:29 -07:00
John Daggett
1808afe847 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
22c4c68ac2 Backout e54c650e8748 (bug 737239) due to lack of proper reviews. 2012-04-09 21:06:34 -04:00
Nicholas Cameron
bab74a92d2 Bug 737239 - Nix power of two for non-ARM builds. r=gw280 2012-03-21 08:47:02 +13:00
Wes Johnston
206d8691e9 Backed out changeset f5d6cc2e4726 2012-04-09 10:44:32 -07:00
Wes Johnston
eea4dccc79 Bug 740218 - Support transactions in sqlitebridge and use them. r=gcp,rnewman,lucasr 2012-04-09 10:08:37 -07:00
John Daggett
61265580b9 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
1e5af79b2e Bug 710727. Share cmaps across all fonts. r=jkew 2012-04-09 13:31:55 +09:00
Jeff Gilbert
b0890f526a Bug 739421 - Implement/expose ARB_sync in GLContext - r=bjacob 2012-04-06 16:57:55 -07:00
Steven Michaud
c23bdb7e3d Bug 738076 - Missing "return NS_ERROR_FAILURE" after malloc failure. r=bgigard 2012-04-05 17:36:40 -05:00
Mike Hommey
609e12c771 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
2b76e47d57 Bug 741689 - Disable poorly implemented GL extensions on load - r=bjacob 2012-04-04 18:44:55 -07:00
Oleg Romashin
85eb6e3b49 Bug 742544 - Don't change global shared context multiple times. r=jgilbert 2012-04-04 17:53:02 -07:00
Matt Woodrow
026484c01a Bug 719776: Kill some external dependencies inside Azure code. r=Bas 2012-03-05 13:12:15 +13:00
Oleg Romashin
4a7033ba37 Bug 742091 - Texture format detection broken by 740372. r=gwright 2012-04-04 14:32:21 -07:00
Ali Juma
23b8ec9661 Bug 741984 - Prevent tiled texture upload from going into an infinite loop. r=Cwiiis 2012-04-04 10:26:05 -04:00
Marco Bonardo
10bda00159 Merge central to inbound 2012-04-04 13:39:52 +02:00
Marco Bonardo
30c673af46 Merge last green PGO from inbound to central 2012-04-04 13:36:36 +02:00
Kyle Huey
3f2d3e17c7 No bug: Shut up a struct/class warning. r=Bas 2012-04-03 14:00:34 -07:00
Jonathan Kew
4db8132fe1 bug 717175 - flush shaped-word caches if they grow excessively large. r=roc 2012-04-03 12:22:18 +01:00
Nicholas Nethercote
6ca9f23930 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
7e20c213c5 Bug 740560 - [Azure] Add Factory::CreateDrawTargetForData. r=Bas,gw280 2012-04-02 15:15:08 -04:00
Joe Drew
55e22fdd09 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
bfc7667f02 Bug 741048: Remove gfxAtoms. r=roc 2012-03-30 23:08:46 -07:00
Dave Townsend
dfa7430e83 Backing out changeset 432c4be058b5 which landed with no bug. 2012-03-30 22:23:24 -07:00
George Wright
ffbd0273bd 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
c5faeddadd Bug 740570 - Add conversion functions between SurfaceFormats and ImageFormats. r=bas 2012-03-30 15:48:03 -04:00
Ali Juma
45df988e4f Bug 737437 - Post a task to handle compositor destruction. r=bgirard 2012-03-30 15:43:11 -04:00
Veeraya Pupatwibul
344b2b1753 Bug 741333 - Remove PRBool/PR_TRUE/PR_FALSE that crept in r=Ms2ger 2012-04-04 11:15:10 +02:00
Jacek Caban
7741551caa Bug 735194 - gfxDWriteFontList.cpp fails to compile on mingw r=bas 2012-04-04 11:12:11 +02:00
John Daggett
2ed034faf1 Bug 739706. Fix gfxFont.cpp compiler warning. r=jfkthame 2012-03-30 10:50:14 -07:00
George Wright
960bf080cc 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
fe809c83d7 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
932988efc9 Merge central to inbound 2012-03-30 12:27:55 +02:00
Cameron McCormack
6653cbf8dd Bug 740271 - Allocate partial ligature advance rounding error to the last part. r=roc 2012-03-30 13:34:50 +11:00
Ms2ger
4827357dcf No bug - Remove gfxAtoms; r=roc 2012-03-29 23:08:43 +02:00
Ali Juma
9b115e5825 Bug 740313 - Initialize TextureImage::mFilter. r=bgirard 2012-03-29 17:44:11 -04:00
Jeff Gilbert
fa108e99eb Bug 732765 - Fail gracefully when we lack GL functionality - r=bjacob 2012-03-29 13:47:20 -07:00
Bas Schouten
a8e8d73c32 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
5ce9db7075 Bug 738691 - Part 1: Add CopyGlyphsToBuilder API. r=jrmuizel 2012-03-29 20:53:44 +02:00
Bas Schouten
122049c6f7 Bug 738690: Properly convert patterns to userspace in the Azure-Thebes wrapper. r=jrmuizel 2012-03-29 20:53:43 +02:00
Bas Schouten
f4d3c36793 Bug 738688: Add supports for color patterns in the Azure-Thebes wrapper. r=jrmuizel 2012-03-29 20:53:43 +02:00
George Wright
fa77ed1232 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
9a72acc5b4 Back out 7bffc102114e (bug 737437) for Android native talos bustage 2012-03-29 08:26:58 -07:00
Ali Juma
a9d6e29a0f 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
8ef7ae0540 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
456cde227d 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
bfb97277f6 Bug 740138 - [Skia] Use SkDebug_android for Android instead of SkDebug_stdio. r=mattwoodrow 2012-03-28 18:27:01 -04:00
Nathan Froyd
ef06294f07 Bug 739635 - fix -Wunused-but-set-variable warnings in gfx/thebes/; r=jrmuizel 2012-03-27 11:55:54 -04:00
Ali Juma
3918b9d6e4 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
8bb5830434 Bug 735230 - Part 1: Add Pause and Resume messages to PCompositor. r=bgirard 2012-03-28 18:00:10 -04:00
Jonathan Kew
d9ec68781c bug 739925 - port OTS bug-fix from upstream rev.83. r=jdaggett 2012-03-28 11:12:51 -07:00
Chris Lord
936d09f4bc 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
17b8666a47 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
1ada800e6e 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
402c1e42cf bug 688125 - part 1 - add memory reporting for the platform font list. r=njn 2012-03-27 14:38:39 -07:00