Commit Graph

2427 Commits

Author SHA1 Message Date
Stuart Parmenter
c357ba4a2e Bug 600103. Fix android text spacing issues by really truely turning hinting off for mobile. r=karlt a=blocking-fennecb2+ 2010-10-21 12:02:02 -07:00
Timothy Nikkel
5818a1f2f6 Bug 606121. Clip the cached surface in basic layers so we draw only what we need to. r=roc a=joe 2010-10-21 19:58:44 -05:00
Bas Schouten
e34319e8af Bug 605368: Fix shared builds by keeping cairo calls in GFX. r=roc a=joedrew 2010-10-21 22:41:06 +02:00
Bas Schouten
911e5dfba9 Bug 584494: Avoid creating intermediate surfaces in D3D9 layers. r=roc a=blocking-betaN 2010-10-21 22:41:04 +02:00
Jeff Muizelaar
9de81a88da Bug 604168. pixman: Update to f6ab20ca6604739b82311fc078d6ce850f43adc0 a=blocking-fennec
Andrea Canciani (4):
      support single-stop gradients
      test: verify that gradients do not crash pixman
      Draw radial gradients with PDF semantics
      Add comments about errors

Benjamin Otte (2):
      region: Add a new test region-translate
      region: Fix pixman_region_translate() clipping bug

Brad Smith (1):
      Add support for AltiVec detection for OpenBSD/PowerPC.

Dmitri Vorobiev (5):
      Move aligned_malloc() to utils
      Add gettime() routine to test utils
      Add noinline macro
      Use <sys/mman.h> macros only when they are available
      Some clean-ups in fence_malloc() and fence_free()

Jeff Muizelaar (1):
      create getter for component alpha

Jonathan Morton (1):
      Add a lowlevel blitter benchmark

Liu Xinyun (2):
      add enable-cache-prefetch option
      Remove cache prefetch code.

M Joonas Pihlaja (6):
      Try harder to find suitable flags for pthreads.
      Don't trust OpenBSD's gcc to produce working code for __thread.
      Check that the OpenMP pragmas don't cause link errors.
      Check for specific flags by actually trying to compile and link.
      Avoid trailing slashes on automake install dirs.
      Fix thinko in configure.ac's macro to test linking.

Maarten Bosmans (2):
      Use windows.h directly for mingw32 build
      Add *.exe to .gitignore

Marek Vasut (1):
      Add support for 32bpp X14R6G6B6 format.

Mika Yrjola (1):
      Fix "syntax error: empty declaration" warnings.

Siarhei Siamashka (25):
      test: main loop from blitters-test added as a new function to utils.c
      test: blitters-test-bisect.rb converted to perl
      test: blitters-test updated to use new fuzzer_test_main() function
      test: scaling-test updated to use new fuzzer_test_main() function
      test: added OpenMP support for better utilization of multiple CPU cores
      test: 'scaling-crash-test' added
      test: 'scaling-test' updated to provide better coverage
      Code simplification (no need advancing 'vx' at the end of scanline)
      ARM: 'neon_combine_out_reverse_u' combiner
      ARM: added 'neon_composite_over_8888_8_0565' fast path
      ARM: common init/cleanup macro for saving/restoring NEON registers
      ARM: helper macros for conversion between 8888/x888/0565 formats
      ARM: added 'neon_composite_over_0565_8_0565' fast path
      test: detection of possible floating point registers corruption
      Nearest scaling fast path macros moved to 'pixman-fast-path.h'
      Nearest scaling fast path macro split into two parts
      Introduce a fake PIXMAN_REPEAT_COVER constant
      PAD repeat support for fast scaling with nearest filter
      NONE repeat support for fast scaling with nearest filter
      SSE2 optimization for scaled over_8888_8888 operation with nearest filter
      ARM: NEON: added forgotten cache preload for over_n_8888/over_n_0565
      ARM: added 'neon_composite_add_0565_8_0565' fast path
      ARM: added 'neon_composite_out_reverse_8_0565' fast path
      Use more unrolling for scaled src_0565_0565 with nearest filter
      ARM: restore fallback to ARMv6 implementation from NEON in the delegate chain

Søren Sandmann Pedersen (94):
      Don't use __thread on MinGW.
      Add macros for thread local storage on MinGW 32
      test/gtk-utils: Set the size of the window to the size of the image
      Merge branch 'for-master'
      Eliminate mask_bits from all the scanline fetchers.
      When storing a g1 pixel, store the lowest bit, rather than comparing with 0.
      Make separate gray scanline storers.
      Fix conical gradients to match QConicalGradient from Qt
      Store the conical angle in floating point radians, not fixed point degrees
      Minor tweaks to README
      Make the combiner macros less likely to cause name collisions.
      Fix memory leak in the pthreads thread local storage code
      Hide the global implementation variable behind a force_inline function.
      Cache the implementation along with the fast paths.
      Split the fast path caching into its own force_inline function
      test: Make sure the palettes for indexed format roundtrip properly
      When converting indexed formats to 64 bits, don't correct for channel widths
      Make the repeat mode explicit in the FAST_NEAREST macro.
      In the FAST_NEAREST macro call the function 8888_8888 and not x888_x888
      fast-path: Some formatting fixes
      Check for read accessors before taking the bilinear fast path
      [fast] Add fast_composite_src_x888_8888()
      [sse2] Add sse2_composite_src_x888_8888()
      [sse2] Add sse2_composite_in_n_8()
      [sse2] Add sse2_composite_add_n_8()
      bits: Fix potential divide-by-zero in projective code
      Add x14r6g6b6 format to blitters-test
      If we bail out of do_composite, make sure to undo any workarounds.
      CODING_STYLE: Delete the stuff about trailing spaces
      Fix Altivec/OpenBSD patch
      Extend scaling-crash-test in various ways
      Replace compute_src_extent_flags() with analyze_extents()
      Eliminate recursion from alpha map code
      Eliminate get_pixel_32() and get_pixel_64() from bits_image.
      Split bits_image_fetch_transformed() into two functions.
      Eliminate the store_scanline_{32,64} function pointers.
      Remove "_raw_" from all the accessors.
      Add some new FAST_PATH flags
      Store the various bits image fetchers in a table with formats and flags.
      Add alpha-loop test program
      pixman_image_set_alpha_map(): Disallow alpha map cycles
      Introduce new FAST_PATH_SAMPLES_OPAQUE flag
      Only try to compute the FAST_SAMPLES_COVER_CLIP for bits images
      Pre-release version bump to 0.19.2
      Post-release version bump to 0.19.3
      Merge pixman_image_composite32() and do_composite().
      Be more paranoid about checking for GTK+
      Store a2b2g2r2 pixel through the WRITE macro
      When pixman_compute_composite_region32() returns FALSE, don't fini the region.
      Silence some warnings about uninitialized variables
      Add FAST_PATH_NO_ALPHA_MAP to the standard destination flags.
      Do opacity computation with shifts instead of comparing with 0
      Add fence_malloc() and fence_free().
      Update and extend the alphamap test
      Rename FAST_PATH_NO_WIDE_FORMAT to FAST_PATH_NARROW_FORMAT
      Remove FAST_PATH_NARROW_FORMAT flag if there is a wide alpha map
      Clip composite region against the destination alpha map extents.
      Move some of the FAST_PATH_COVERS_CLIP computation to pixman-image.c
      analyze_extents: Fast path for non-transformed BITS images
      test: Add affine-test
      Use a macro to generate some {a,x}8r8g8b8, a8, and r5g6b5 bilinear fetchers.
      Enable bits_image_fetch_bilinear_affine_pad_a8r8g8b8
      Enable bits_image_fetch_bilinear_affine_none_a8r8g8b8
      Enable bits_image_fetch_bilinear_affine_reflect_a8r8g8b8
      Enable bits_image_fetch_bilinear_affine_normal_a8r8g8b8
      Enable bits_image_fetch_bilinear_affine_pad_x8r8g8b8
      Enable bits_image_fetch_bilinear_affine_none_x8r8g8b8
      Enable bits_image_fetch_bilinear_affine_reflect_x8r8g8b8
      Enable bits_image_fetch_bilinear_affine_normal_x8r8g8b8
      Enable bits_image_fetch_bilinear_affine_pad_a8
      Enable bits_image_fetch_bilinear_affine_none_a8
      Enable bits_image_fetch_bilinear_affine_reflect_a8
      Enable bits_image_fetch_bilinear_affine_normal_a8
      Enable bits_image_fetch_bilinear_affine_pad_r5g6b5
      Enable bits_image_fetch_bilinear_affine_none_r5g6b5
      Enable bits_image_fetch_bilinear_affine_reflect_r5g6b5
      Enable bits_image_fetch_bilinear_affine_normal_r5g6b5
      compute_composite_region32: Zero extents before returning FALSE.
      Pre-release version bump to 0.19.4
      Post-release version bump to 0.19.5
      If MAP_ANONYMOUS is not defined, define it to MAP_ANON.
      Revert "add enable-cache-prefetch option"
      Rename all the fast paths with _8000 in their names to _8
      Fix search-and-replace issue in lowlevel-blt-bench.c
      Fix bug in FAST_PATH_STD_FAST_PATH
      Delete simple repeat code
      Remove broken optimizations in combine_disjoint_over_u()
      test: Fix bug in color_correct() in composite.c
      test: Fix eval_diff() so that it provides useful error values.
      test: Change composite so that it tests randomly generated images
      test: Parallize composite.c with OpenMP
      test: Add some more colors to the color table in composite.c
      Add no-op combiners for DST and the CA versions of the HSL operators.
      Plug leak in the alphamap test.

Tor Lillqvist (1):
      Support __thread on MINGW 4.5
2010-10-20 15:25:03 -04:00
Rob Arnold
7c93e87d05 Bug 520943 - Windows 7 taskbar previews does not respect browser's zoom level r=roc r=dao a-2.0=gavin 2010-10-19 16:06:00 -07:00
Bas Schouten
f2b22b6625 Bug 603071 - Part 2: Fix race condition in PlanarYCbCrImageD3D10. r=roc a=blocking-beta8 2010-10-19 21:08:34 +02:00
Bas Schouten
3e8591afde Bug 603071 - Part 1: Properly propagate LayerManager destruction through layer tree. r=roc a=blocking-beta8 2010-10-19 21:08:31 +02:00
Bas Schouten
a6c66f0992 Bug 546514: Address D3D10 Layers backend review comments. r=jrmuizel 2010-10-19 21:08:27 +02:00
Ben Turner
8a45d0d002 Bug 602733, r=vlad, a=sicking. 2010-10-15 12:32:51 -07:00
Markus Stange
e785f3e168 Bug 592118 - Don't stack-allocate gfxContexts that are passed to other functions. r=roc a=blocking2.0:final
--HG--
extra : rebase_source : efcf3b58c953ea8ec8cad45f4b0ffa0b898a2397
2010-10-15 12:20:22 +02:00
Jacek Caban
f85ade1e8b Bug 594769 - qcms fails to compile on mingw r=jmuizelaar a=joe 2010-10-14 21:00:22 +00:00
Chris Jones
4b82fba0c3 Fix --disable-libxul bustage from bug 602431 and bug 602428. a=bustage 2010-10-13 18:36:44 -05:00
Chris Jones
ad5cce517f Bug 602428, part 6: Turn on real allocators for shadow OGL layers. r=vlad 2010-10-13 17:55:45 -05:00
Chris Jones
51fc2de345 Bug 602428, part 5: Implement HW-decelerating ShadowContainerLayerOGL. r=vlad 2010-10-13 17:55:45 -05:00
Chris Jones
dd6710b8fc Bug 602428, part 4: Implement HW-decelerating ShadowThebesLayerOGL. r=vlad 2010-10-13 17:55:45 -05:00
Chris Jones
ace8a9c91c Bug 602428, part 3: Implement HW-decelerating ShadowImageLayerOGL. r=joe 2010-10-13 17:55:45 -05:00
Chris Jones
f0dd48964f Bug 602428, part 2: Implement HW-decelerating ShadowCanvasLayerOGL. r=vlad 2010-10-13 17:55:45 -05:00
Chris Jones
6f8a6ea683 Bug 602428, part 1: Implement HW-decelerating ShadowColorLayerOGL. r=joe 2010-10-13 17:55:45 -05:00
Chris Jones
55a81f3a07 Bug 602428, part 0.5: Add dummy allocators for shadow OGL layers. r=vlad 2010-10-13 17:55:45 -05:00
Chris Jones
b9441008dc Bug 602428, part 0: Add NSPR layers logging to OGL backend and log ThebesLayer resolution. r=vlad 2010-10-13 17:55:45 -05:00
Chris Jones
4c54015a6b Bug 602431, part 7: Honor shadow-layer attributes in the GL layers backend. r=vlad 2010-10-13 17:55:45 -05:00
Chris Jones
57d3708463 Bug 602431, part 6: Honor shadow-layer attributes in the basic layers backend and take off the container-transform training wheels. r=roc 2010-10-13 17:55:45 -05:00
Chris Jones
72ebe49a58 Bug 602431, part 3: Add a ShadowContainerLayer base class and BasicShadowContainerLayer implementation. sr=roc 2010-10-13 17:55:45 -05:00
Chris Jones
0f138edde0 Bug 602431, part 2: Add a ShadowColorLayer base class and BasicShadowColorLayer implementation. sr=roc 2010-10-13 17:55:45 -05:00
Chris Jones
08140e03cb Bug 60431, part 1: Add a ShadowLayer base class. r=roc sr=vlad 2010-10-13 17:55:45 -05:00
Chris Jones
4c32a6c59e Bug 601888, part 1: Teach ThebesLayerOGL to draw backing buffers drawn with a resolution other than 1.0. r=mattwoodrow,vlad 2010-10-13 17:55:45 -05:00
Stuart IDontCode Parmenter
12117b3c64 Bug 600102 - Add ability to build with --disable-pango. r=karlt a=blocking-fennec
--HG--
extra : rebase_source : 9b5da40d5733ee7adc27310de8b962543d7d3ce9
2010-10-13 15:03:19 -07:00
Vladimir Vukicevic
910d74f7e0 Bug 602659 - <video> playback is twitchy / possessed by the devil with OpenGL layers - r=jmuizelaar, a=blocking-beta7 2010-10-13 17:19:12 -04:00
Chris Jones
b51dfd9724 Bug 604058: Shadowable layers might not have shadows. r=joe a=blocking-betaN 2010-10-13 14:22:17 -05:00
Ehsan Akhgari
5726920ba8 Bug 603821 - debug non-libxul builds fail in WebGLContext.cpp, with "Undefined reference to `mozilla::gl::GLContext::sCurrentGLContext'" - r=khuey, a=bustage 2010-10-13 07:45:13 -04:00
Benoit Jacob
cdfba8c17a fix GLContextSymbols::Zero(), r+a=bustage 2010-10-12 18:06:51 -04:00
Benoit Jacob
88165b3ed8 Bug 597881 - OpenGL debug mode - r=vladimir 2010-10-12 17:01:59 -04:00
Benoit Jacob
9840c2c44d Bug 602659 - move some mutex locking - r=roc 2010-10-12 17:01:59 -04:00
Benjamin Stover
cc825b09f6 Bug 600908 Always retain shadowable layers r=cjones a=2.0b2+ 2010-10-11 11:36:20 -07:00
Mats Palmgren
5a51827cc7 Bug 603167 - Link layout fails with Undefined symbols mozilla::gl::GLContext::ReadPixelsIntoImageSurface; r=vladimir a=bustage 2010-10-11 14:06:08 -04:00
Robert O'Callahan
951d95a03a Bug 582146. 8388608.0 is invalid in cairo, so clamp to 8388607.0 instead. r=jrmuizel 2010-10-11 13:58:19 +13:00
Mats Palmgren
a984b3be02 Fix bustage. a=backout 2010-10-11 00:48:33 +02:00
Mats Palmgren
999c4be001 Export GLContext symbols to unbreak --disable-libxul builds. b=603167 r=vlad a=bustage 2010-10-11 00:07:00 +02:00
Vladimir Vukicevic
d0b53174f7 b=602396; upgrade ANGLE to r445, mozilla portion; r=bjacob a=b 2010-10-09 12:44:25 -07:00
Vladimir Vukicevic
246057b47c b=602396; upgrade ANGLE to r445 2010-10-09 12:44:25 -07:00
Vladimir Vukicevic
5585ebca9f b=582053; integrate webgl confromance suite as mochitest, angle followup; r=bjacob 2010-09-13 08:53:52 -07:00
Timothy Nikkel
3fe8b5b2f9 Bug 600148. Always round up in nsPoint::ToNearestPixels to match nsRect::ToNearestPixels. r=dbaron a=blocking-betaN+ 2010-10-09 14:09:22 -05:00
Bas Schouten
d3a7e174bd Bug 600909: Use OptimalFillOperator() for drawing some images. r=joedrew a=blocking-betaN 2010-10-08 18:02:58 +02:00
Bas Schouten
50d248afd4 Bug 601928: Check result of create texture for tmpTexture. r=jrmuizel a=blocking-beta8 2010-10-08 18:02:53 +02:00
Bas Schouten
4fe7e27b52 Bug 601785: Use true pointer size for x64 builds. r=vlad a=approval2.0 2010-10-08 18:02:41 +02:00
Bas Schouten
9f234ad045 Bug 601053: Prevent DXGI from handling alt+enter. r=vlad a=blocking-beta8 2010-10-08 18:02:39 +02:00
Bas Schouten
e90cf9539d Bug 600045: Fix problems with non-over operator and transformed strokes. r=jrmuizel a=blocking-betaN 2010-10-08 18:02:29 +02:00
Chris Jones
33cb1a40c8 Band-aid for bug 602558: Avoid the VS10 STL wrappers getting tangled up in <utility>. r=vlad a=bustage 2010-10-07 17:57:47 -05:00
Tom Brinkman
fa1c5b8b9c Bug 565013: Implement printing to PDF for qt builds. r=romaxa r=dholbert a=blocking-fennec
--HG--
rename : widget/src/gtk2/nsDeviceContextSpecG.cpp => widget/src/qt/nsDeviceContextSpecQt.cpp
rename : widget/src/gtk2/nsDeviceContextSpecG.h => widget/src/qt/nsDeviceContextSpecQt.h
rename : widget/src/gtk2/nsPrintDialogGTK.cpp => widget/src/qt/nsPrintDialogQt.cpp
rename : widget/src/gtk2/nsPrintDialogGTK.h => widget/src/qt/nsPrintDialogQt.h
rename : widget/src/gtk2/nsPrintOptionsGTK.cpp => widget/src/qt/nsPrintOptionsQt.cpp
rename : widget/src/gtk2/nsPrintOptionsGTK.h => widget/src/qt/nsPrintOptionsQt.h
rename : widget/src/gtk2/nsPrintSettingsGTK.cpp => widget/src/qt/nsPrintSettingsQt.cpp
rename : widget/src/gtk2/nsPrintSettingsGTK.h => widget/src/qt/nsPrintSettingsQt.h
2010-10-07 12:19:33 -07:00