Commit Graph

3511 Commits

Author SHA1 Message Date
Zack Weinberg
826aad9720 extend_pad tests for bug 468496
--HG--
extra : transplant_source : %1A%F9%8E%1F%29%23%E4%9EE%BA%20%A7%18%B0%FE%5B%A3A%28%E4
2011-05-31 09:53:41 +12:00
Oleg Romashin
65a70a8e4c Bug 659768 - HTML5 video does not render anything on Maemo r=mattwoodrow 2011-05-31 09:48:47 +12:00
Karl Tomlinson
837dcebd95 b=468496 use RepeatPad on newer X servers even when downscaling r=joe
--HG--
extra : transplant_source : %8DY%BB%96%10%93%5C%E7%60%04h%5C%400%F8%1Dx%CCq%FC
2011-05-31 09:38:50 +12:00
Dominic Fandrey
0ab2f46136 Bug 645398 - Substitute PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc 2011-06-02 14:56:50 +02:00
Mounir Lamouri
53c39f24f1 Merging cedar with mozilla-central. 2011-05-30 12:50:04 +02:00
Ed Morley
6649ee0b7d Bug 624748 - Remove unused nsITheme::RegisterWidgetGeometry. r=roc 2011-05-30 09:31:42 +02:00
Robert O'Callahan
a1ebcbf532 Bug 647560. Remove unused MayHaveOverlappingOrTransparentLayers. r=tnikkel 2011-05-30 15:48:34 +12:00
Robert O'Callahan
a537a15852 Bug 647560. Cache temporary backbuffer surfaces. r=karlt 2011-05-30 15:48:29 +12:00
Robert O'Callahan
89fdba6cb9 Bug 647560. Create ApplyDoubleBuffering to recursively walk layer tree and implement double-buffering by setting mUseIntermediateSurface on ContainerLayers where necessary. r=tnikkel
The idea here is to do double-buffering just by setting mUseIntermediateSurface on ContainerLayers when needed. When
we need to double-buffer compositing of a layer tree, ApplyDoubleBuffering examines the root container layer. If the
child layers don't overlap and together cover the window, we don't need to double-buffer in that container, instead
we can double-buffer each child layer separately --- so we recursively call ApplyDoubleBuffering on the child layers.
When a container has children that overlap or that don't cover the container's visible rect (the latter case
probably can't happen in practice), we force it to have an intermediate surface.

This change fixes this bug because in normal browser windows the Web content layer double-buffers
2011-05-30 15:48:23 +12:00
Robert O'Callahan
b49eae116d Bug 647560. Add support for compositing BasicLayers with OPERATOR_SOURCE. r=tnikkel
We'll need this for the improved backbuffer code in the next patch. When a layer tree's
leaf layers don't overlap and cover the window, the next patch will avoid double-buffering
by blitting those layers directly to the window. If the window has transparent parts
(e.g. with Aero Glass), we need to draw the layers for those transparent parts using
OPERATOR_SOURCE so that the alpha values in the window are reset.
2011-05-30 15:48:13 +12:00
Robert O'Callahan
c0afe87a4e Bug 647560. Clean up MarkLeafLayersHidden and make it set the hidden state on container layers. r=tnikkel
Instead of doing tricks with the cliprect to prevent layer content from adding to aOpaqueRegion, pass an explicit flag to control that.
Mark a ContainerLayer hidden if all its children are hidden. This will need to be changed if/when we add layer properties
that result in a ContainerLayer drawing content even if it has no children.
2011-05-30 15:48:08 +12:00
Robert O'Callahan
9a390fc021 Bug 647560. Use passed-in aContext instead of getting it from the layer manager. r=tnikkel 2011-05-30 15:48:01 +12:00
Robert O'Callahan
66a57a0a84 Bug 639168. Don't try to reuse a buffer if we don't have one. r=tnikkel 2011-05-30 15:29:07 +12:00
Masayuki Nakano
85c451e309 Bug 660121 Remove all pref related methods from nsContentUtils r=roc 2011-05-29 08:42:57 +09:00
Jeff Muizelaar
e9dec64aff Bug 659676 - remove debugging code that snuck in. r=khuey 2011-05-26 09:29:25 +02:00
Jeff Muizelaar
8f912ae15e Bug 562746. Update cairo to 1.10.
A lot of changes from upstream here that will hopefully be smoothed
out a bit soon.
2011-03-10 14:52:15 -05:00
Jeff Muizelaar
741e33c428 Bug 562746. Remove use of EXTEND_NONE on quartz. r=roc
The updated quartz backend actually supports extend none properly.
We currently (and in the update) patch extend_pad to behave like the old
extend_none instead of a real extend_pad, so this change shouldn't have any
rendering differences now and fixes the reftest when we update.
2011-05-18 15:41:45 -04:00
Mounir Lamouri
927ee0c01a Merging cedar with mozilla-central. 2011-05-27 09:57:51 +02:00
Daniel Holbert
8556ef49be Bug 659466: Fix remaining data URI "#" --> "%23" conversions in testcases. r=bz 2011-05-26 01:20:08 -07:00
Neil Rashbrook
a823051c1e Fix DOS line endings rs=joedrew!
DONTBUILD
2011-05-26 20:41:33 +01:00
Ehsan Akhgari
bfd552d30a Backout bug 562746 (Cairo update to version 1.10) because of the possible Dromaeo regression on Mac OS X 10.5) 2011-05-26 14:57:50 -04:00
Ehsan Akhgari
d463f51425 Backout changeset ecbe9bb3433f (bug 659676) because of the backout of bug 562746, which introduced the removed line here 2011-05-26 14:52:54 -04:00
Benoit Jacob
2980ccd7c4 Bug 659349 - WebGL allows access to uninitialised graphics memory - r=jrmuizel
GLContext::ClearSafely() wasn't really safe, it was making naive assumptions about GL state and as a result, a WebGL script could obtain an uninitialized backbuffer.
2011-05-26 14:24:48 -04:00
Jeff Muizelaar
f49a520423 Bug 659676 - remove debugging code that snuck in. r=khuey 2011-05-26 09:29:25 +02:00
Jeff Muizelaar
f9513e5a85 Bug 562746. Update cairo to 1.10.
A lot of changes from upstream here that will hopefully be smoothed
out a bit soon.
2011-03-10 14:52:15 -05:00
Jeff Muizelaar
1592328268 Bug 562746. Remove use of EXTEND_NONE on quartz. r=roc
The updated quartz backend actually supports extend none properly.
We currently (and in the update) patch extend_pad to behave like the old
extend_none instead of a real extend_pad, so this change shouldn't have any
rendering differences now and fixes the reftest when we update.
2011-05-18 15:41:45 -04:00
Oleg Romashin
d4e430f071 Bug 659217 - HW accelerated video crashing with OGL layerss enabled. r=matt.woodrow
--HG--
extra : rebase_source : bd3b7998f5b8193a01d927c388ee2375d2a6bacf
2011-05-25 10:09:55 +02:00
Matt Brubeck
ec953fc5a6 Merge cedar to mozilla-central 2011-05-24 14:55:37 -07:00
Benoit Jacob
2c0eb7e54e Bug 657748 - Update ANGLE to r653 - a=joe
This ANGLE update fixes bugs, brings large performance improvements, and adds major new features that web devs are looking forward to: vertex shader texture lookup and float textures.

http://code.google.com/p/angleproject/

This update is also needed because the version we're currently using is the chrome_m10 branch and that's no longer maintained. This update will make it much easier to apply security fixes if needed.
2011-05-24 11:05:56 -04:00
John Daggett
c5f9095961 Bug 659182. Null-check bundle ID's before releasing.
r=roc
2011-05-23 22:14:16 -07:00
Matheus Kerschbaum
35f86c76ad Bug 648911 - Remove support for non-libxul builds. r=ted,joedrew 2011-05-23 18:54:47 +02:00
Matt Brubeck
9eb38101c8 Merge cedar and mozilla-central 2011-05-23 07:39:21 -07:00
Robert O'Callahan
ea286efab6 Bug 654950. Fix scissor rect calculations for descendants of container layers with intermediate surfaces. r=bas 2011-05-23 12:27:03 +12:00
Benjamin Peterson
f8d31dc977 Bug 658314 - UserToDevice uses the transform matrix. r=roc
--HG--
extra : rebase_source : 642b8d2ec5c5a523c74d44c4285731810f28e7ba
2011-05-21 22:06:24 +02:00
Benoit Jacob
eca44c5cc8 Bug 656215 - check max size for textures and renderbuffers - r=joedrew
This is needed to correctly handle exceedingly large canvases, for example.
2011-05-20 15:53:53 -04:00
Vladimir Vukicevic
4b2230fe03 Bug 630672 - implement WebGL OES_texture_float extension - r=bjacob
This implements floating-point textures in WebGL
2011-05-20 15:53:53 -04:00
Joel Maher
6993636556 Bug 616999. Xpcshell manifest support; manifest files. r=ted, a=test-only 2011-05-20 11:54:01 -04:00
Vivien Nicolas
8b7b339cab backout bug 647560 - Pages on Fennec desktop does not not draw anymore 2011-05-20 17:45:00 +02:00
John Daggett
0cc810376c Bug 652754. Eliminate unnecessary font data enumerations at startup. r=jkew 2011-05-20 15:09:30 +09:00
John Daggett
d513f6e578 Backout 2e0e36b0feae due to odd Linux bustage 2011-05-20 16:13:01 +09:00
John Daggett
43f90511f3 Bug 652754. Eliminate unnecessary font data enumerations at startup. r=jkew 2011-05-20 15:09:30 +09:00
Jeff Muizelaar
0ffb2687b5 Bug 658249. Update pixman to 0f6a4d45886d64b244d57403609f0377b58cc7fb.
Andrea Canciani (1):
      test: Fix compilation on win32

Dave Yeo (1):
      Check for working mmap()

Gilles Espinasse (2):
      Fix missing AC_MSG_RESULT value from Werror test
      Fix OpenMP not supported case

Siarhei Siamashka (7):
      ARM: tweaked horizontal weights update in NEON bilinear scaling code
      ARM: use aligned memory writes in NEON bilinear scaling code
      ARM: support for software pipelining in bilinear macros
      ARM: use less ARM instructions in NEON bilinear scaling code
      ARM: support different levels of loop unrolling in bilinear scaler
      ARM: pipelined NEON implementation of bilinear scaled 'src_8888_8888'
      ARM: pipelined NEON implementation of bilinear scaled 'src_8888_0565'

Søren Sandmann Pedersen (8):
      Makefile.am: Put development releases in "snapshots" directory
      ARM: Tiny improvement in over_n_8888_8888_ca_process_pixblock_head
      ARM: Add 'neon_composite_over_n_8888_0565_ca' fast path
      Offset rendering in pixman_composite_trapezoids() by (x_dst, y_dst)
      Pre-release version bump to 0.21.8
      Post-release version bump to 0.21.9
      Pre-release version bump to 0.22.0
      Post-release version bump to 0.23.1

Taekyun Kim (3):
      ARM: Common macro for scaled bilinear scanline function with A8 mask
      ARM: NEON scanline functions for bilinear scaling
      ARM: Enable bilinear fast paths using scanline functions in pixman-arm-neon-asm-bilinear.S

--HG--
extra : rebase_source : aff729718af3e7d25577603241d204bf02ecfb90
2011-05-18 13:43:30 -04:00
Florian Hänel
8e0d9ab286 Bug 628566 - Implement basic tiling of ImageLayerOGL. r=joe 2011-05-19 12:53:02 +02:00
Robert O'Callahan
4ada86d2cb Bug 647560. Remove unused MayHaveOverlappingOrTransparentLayers. r=tnikkel 2011-05-18 23:24:52 +12:00
Robert O'Callahan
77cd75a0d2 Bug 647560. Cache temporary backbuffer surfaces. r=karlt 2011-05-18 23:24:52 +12:00
Robert O'Callahan
ebe9f8f585 Bug 647560. Create ApplyDoubleBuffering to recursively walk layer tree and implement double-buffering by setting mUseIntermediateSurface on ContainerLayers where necessary. r=tnikkel
The idea here is to do double-buffering just by setting mUseIntermediateSurface on ContainerLayers when needed. When
we need to double-buffer compositing of a layer tree, ApplyDoubleBuffering examines the root container layer. If the
child layers don't overlap and together cover the window, we don't need to double-buffer in that container, instead
we can double-buffer each child layer separately --- so we recursively call ApplyDoubleBuffering on the child layers.
When a container has children that overlap or that don't cover the container's visible rect (the latter case
probably can't happen in practice), we force it to have an intermediate surface.

This change fixes this bug because in normal browser windows the Web content layer double-buffers
2011-05-18 23:24:52 +12:00
Robert O'Callahan
887d235ef0 Bug 647560. Add support for compositing BasicLayers with OPERATOR_SOURCE. r=tnikkel
We'll need this for the improved backbuffer code in the next patch. When a layer tree's
leaf layers don't overlap and cover the window, the next patch will avoid double-buffering
by blitting those layers directly to the window. If the window has transparent parts
(e.g. with Aero Glass), we need to draw the layers for those transparent parts using
OPERATOR_SOURCE so that the alpha values in the window are reset.
2011-05-18 23:24:52 +12:00
Robert O'Callahan
99936bcd94 Bug 647560. Clean up MarkLeafLayersHidden and make it set the hidden state on container layers. r=tnikkel
Instead of doing tricks with the cliprect to prevent layer content from adding to aOpaqueRegion, pass an explicit flag to control that.
Mark a ContainerLayer hidden if all its children are hidden. This will need to be changed if/when we add layer properties
that result in a ContainerLayer drawing content even if it has no children.
2011-05-18 23:24:52 +12:00
Robert O'Callahan
80101e2ad0 Bug 629866. Part 2: Make MarkLeafLayersHidden actually hide layers that aren't in the dirty region. Don't consider hidden layers when deciding whether double-buffering is needed. r=cjones 2011-05-18 23:24:52 +12:00
Mounir Lamouri
3614c727b5 Merging cedar with mozilla-central. 2011-05-18 11:42:37 +02:00
Ed Morley
d260544670 Bug 316661 - Part A - Remove null-checks before delete. r=bsmedberg 2011-05-17 16:01:36 +02:00
Mounir Lamouri
eceb98864c Backout bug 629866 and bug 647560. 2011-05-17 11:44:17 +02:00
Robert O'Callahan
c5e00b2e8a Bug 647560. Remove unused MayHaveOverlappingOrTransparentLayers. r=tnikkel 2011-05-17 11:42:19 +12:00
Robert O'Callahan
e5e28d9ac2 Bug 647560. Cache temporary backbuffer surfaces. r=karlt 2011-05-17 11:42:11 +12:00
Robert O'Callahan
03d1ea7300 Bug 647560. Create ApplyDoubleBuffering to recursively walk layer tree and implement double-buffering by setting mUseIntermediateSurface on ContainerLayers where necessary. r=tnikkel
The idea here is to do double-buffering just by setting mUseIntermediateSurface on ContainerLayers when needed. When
we need to double-buffer compositing of a layer tree, ApplyDoubleBuffering examines the root container layer. If the
child layers don't overlap and together cover the window, we don't need to double-buffer in that container, instead
we can double-buffer each child layer separately --- so we recursively call ApplyDoubleBuffering on the child layers.
When a container has children that overlap or that don't cover the container's visible rect (the latter case
probably can't happen in practice), we force it to have an intermediate surface.

This change fixes this bug because in normal browser windows the Web content layer double-buffers
2011-05-17 11:42:05 +12:00
Robert O'Callahan
3e50014290 Bug 647560. Add support for compositing BasicLayers with OPERATOR_SOURCE. r=tnikkel
We'll need this for the improved backbuffer code in the next patch. When a layer tree's
leaf layers don't overlap and cover the window, the next patch will avoid double-buffering
by blitting those layers directly to the window. If the window has transparent parts
(e.g. with Aero Glass), we need to draw the layers for those transparent parts using
OPERATOR_SOURCE so that the alpha values in the window are reset.
2011-05-17 11:41:57 +12:00
Robert O'Callahan
d1fe5a6711 Bug 647560. Clean up MarkLeafLayersHidden and make it set the hidden state on container layers. r=tnikkel
Instead of doing tricks with the cliprect to prevent layer content from adding to aOpaqueRegion, pass an explicit flag to control that.
Mark a ContainerLayer hidden if all its children are hidden. This will need to be changed if/when we add layer properties
that result in a ContainerLayer drawing content even if it has no children.
2011-05-17 11:41:48 +12:00
Robert O'Callahan
0bca45c661 Bug 629866. Part 2: Make MarkLeafLayersHidden actually hide layers that aren't in the dirty region. Don't consider hidden layers when deciding whether double-buffering is needed. r=cjones 2011-05-17 11:41:39 +12:00
Siarhei Siamashka
45f3e58d85 Bug 656782 - Runtime CPU features detection does not work for pixman in Android [r=jmuizelaar]
Pixman upgrade from bug 640250 resulted in ARM cpu features
not being detected properly in Android. As a result, NEON
optimizations were not used at all.
2011-05-12 15:26:00 -04:00
Matt Brubeck
d4397cc6d1 Bug 598736 - Use bilinear image scaling when NEON is available [r=jrmuizel] 2011-04-08 10:15:37 -07:00
Nicholas Nethercote
30e92c3349 Bug 657327 - about:memory: merge the "mapped" and "heap used" trees, and make the resulting tree flatter. r=sdwilsh,Jesse, sr=roc. 2011-05-22 19:49:56 -07:00
Matt Woodrow
b386255490 Bug 606855 - Re-enable checking of GLX extensions. r=bjacob 2011-05-23 11:04:22 +12:00
Bas Schouten
de12263c7f Bug 657141: Avoid excessive clipping by only popping to the common ancestor. r=jrmuizel 2011-05-17 21:27:05 +02:00
Florian Hänel
ba640eeb4a Bug 643793 - Convert OpenGL scissor rects to world space in ContainerLayerOGL. r=joe 2011-05-14 12:11:37 +12:00
Jim Mathies
2a4de6175a Bug 633282 - Add ToNearestPixels to nsRegion. r=roc. 2011-05-13 11:40:46 -05:00
Jim Mathies
02f8ccf86e Bug 633282 - Add support for -moz-appearance: -moz-win-exclude-glass. r=roc. 2011-05-13 11:40:46 -05:00
Oleg Romashin
5c6eaea720 Bug 656167 - Temorarily disable or back out fixed layers. r=jones.chris.g 2011-05-12 09:49:33 -07:00
Matt Woodrow
1b63f405ae Bug 649417 - Check if BasicShadowableImageLayer has a current image before attempting to use it. r=cjones 2011-05-13 12:38:44 +12:00
Matt Woodrow
9d7dd64918 Bug 649417 - Part 2 - Add a YUV option to SharedImage and use it to share YUV data across processes. r=cjones,joe 2011-04-21 16:38:39 +12:00
Matt Woodrow
d3c4acee47 Bug 649417 - Part 1 - Create a SharedImage ipdl union and pass this to ShadowImageLayer::Swap . r=cjones 2011-04-21 11:21:56 +12:00
Jonathan Kew
7839f4a060 bug 654057 - fix the zeroing of diacritic widths to resolve misplaced accents with Segoe UI. r=jdaggett 2011-05-11 20:24:56 +01:00
Oleg Romashin
13f01190c4 Bug 612407 - Add FPS counter like fraps r=joe,jrmuizel 2011-05-10 21:45:42 -04:00
John Daggett
5fb2f0c9f2 Bug 567552. Disable font auto-activation. r=josh 2011-05-11 09:44:35 +09:00
John Daggett
375ce049e0 Bug 650723. Add ClearType parameter data to about:support. r=gavin,jrmuizel 2011-05-11 09:30:20 +09:00
Jeff Muizelaar
2dfcf68c91 qcms: avoid unnecessary promotion to double. r=ehsan 2011-05-10 12:01:48 -04:00
Jeff Muizelaar
cd58cf15e6 Bug 605179. qcms: revert build warning fixes. r=ehsan
0ec22e77aefc fixed some build warnings that no longer happen because pedantic is disabled.
2011-05-10 11:55:39 -04:00
John Daggett
0603515438 Backed out changeset d34dd7156b4d 2011-05-09 15:19:33 +09:00
John Daggett
d51efebde6 Bug 650723. Add ClearType parameter data to about:support. r=gavin,jrmuizel 2011-05-09 14:56:27 +09:00
Matt Woodrow
a4d6cf8613 Bug 649685 - Don't flip when drawing the backbuffer to the window with OpenGL. r=joe 2011-05-09 11:44:03 +12:00
Makoto Kato
008efccff3 Bug 571739 - Fix VC8 support on Win64. r=neil 2011-05-09 00:07:58 +09:00
Jonathan Kew
172cf715bc bug 655138 - don't use font entry after it's been replaced. r=jdaggett 2011-05-08 13:09:03 +01:00
Matt Woodrow
04c30e5628 Bug 651469 - Add FastMovePixels to gfxASurface and use it where appropriate. r=roc 2011-05-08 13:19:11 +12:00
Mounir Lamouri
ad09541e90 Backout 2348924d6410 (bug 612407) for build bustage. 2011-05-06 11:42:42 +02:00
Oleg Romashin
bf1f0f0f3d Bug 612407 - Add FPS counter like fraps r=joe 2011-05-06 11:04:14 +02:00
Benoit Jacob
2efacff0c8 Bug 645407 - remove useless GLX checks - r=karlt 2011-05-03 16:07:17 -04:00
Benoit Jacob
d8a3b2e314 Bug 645407 - remove old blacklisting - r=karlt 2011-05-03 16:07:17 -04:00
Jonathan Kew
916e9b8b24 bug 253317 - part 5 - support none/manual/auto values for -moz-hyphens in layout. r=roc 2011-05-04 12:29:56 +01:00
Nicholas Nethercote
6ef173ddbb Bug 633653 - revamp about:memory. r=vlad,sdwilsh,dvander,gavin,ehsan,edwsmith; sr=benjamin. 2011-05-03 17:12:58 -07:00
Benoit Jacob
c3b3ed17f9 backout bug 645407, bug 639842, bug 642502 2011-05-03 17:18:44 -04:00
Benoit Jacob
f383bf0179 Bug 645407 - remove useless GLX checks - r=karlt 2011-05-03 16:07:17 -04:00
Benoit Jacob
a739bbaf8e Bug 645407 - remove old blacklisting - r=karlt 2011-05-03 16:07:17 -04:00
Jonathan Kew
6a0388114b bug 33032 - synthesize various Unicode space characters rather than showing missing glyphs. r=jdaggett 2011-05-02 10:01:55 +01:00
Jonathan Kew
450943ec19 bug 653100 - no longer need to save copies of layout tables prior to OTS sanitization. r=jdaggett 2011-04-28 09:01:59 +01:00
Jonathan Kew
012d4ea43f bug 653408 - [ots] fix GDEF sanitizer so it doesn't reject LinLibertine. r=jdaggett 2011-05-02 10:01:54 +01:00
Jonathan Kew
306e33cbda bug 653705 - ensure mIsCFF is not left uninitialized for downloaded fonts. r=jdaggett 2011-05-02 10:01:54 +01:00
Zack Weinberg
85ef3b518f Bug 651498: call gfxPlatform::Init when necessary and not earlier. r=joedrew,bsmedberg
--HG--
extra : rebase_source : fa6eae9a0656197d2c245f7c15120f36face2347
2011-04-21 12:36:49 -07:00
Chris Jones
ed22df8f64 Bug 556214, parts 1 and 1.1: Rename Monitor to ReentrantMonitor and fix existing Monitor users. r=roc
--HG--
rename : xpcom/glue/Monitor.h => xpcom/glue/ReentrantMonitor.h
2011-04-29 14:21:57 -05:00
Oleg Romashin
0dbd90df0c Bug 610155 - Use SurfaceDescriptor for ImageLayer and CanvasLayer r=jones.chris.g 2011-04-20 14:45:57 -07:00
Jonathan Kew
fcadc04ff6 Backed out changeset 52b6489a3140 (bug 653100) because of reftest oranges. 2011-04-28 10:52:04 +01:00
Jonathan Kew
32c814b853 bug 653100 - no longer need to save copies of layout tables prior to OTS sanitization. r=jdaggett 2011-04-28 09:01:59 +01:00
Jonathan Kew
eed7de5c54 bug 653098 - remove unused function gfxUserFontSet::RemoveFamily. r=jdaggett 2011-04-28 09:01:19 +01:00
Jonathan Kew
0d12b6c03d bug 608940 - remove unused function gfxTextRun::Clone. r=jdaggett 2011-04-28 06:06:53 +01:00
Jonathan Kew
eb0e942dc9 bug 650639 - cancel current font-downloaders when updating the user font set. r=dbaron 2011-04-28 06:04:45 +01:00
Masatoshi Kimura
07ab33fd8d bug 643460 pt 3 - remove gfx.downloadable_fonts.sanitize.preserve_otl_tables preference, no longer needed with new OTS version. r=jfkthame 2011-04-26 16:29:43 +01:00
Masatoshi Kimura
8c7a95115c bug 643460 pt 2 - apply patches to OTS for local build/platform issues. r=jfkthame 2011-04-26 16:29:39 +01:00
Masatoshi Kimura
53b6da83b9 bug 643460 pt 1 - import OTS r.62 from http://code.google.com/p/ots/. r=jfkthame 2011-04-26 16:29:36 +01:00
Makoto Kato
1af4175e89 Bug 571739 - Use SIMD for conversion from RGB to YUV on Win64. r=kinetik 2011-04-18 09:51:18 +09:00
Zack Weinberg
43341e9470 Bug 651926: abort (even in production) if anything in gfxPlatform::Init fails, its callers can't cope. r=jrmuizel 2011-04-21 12:36:53 -07:00
Zack Weinberg
8a4c92cea7 Bug 649429 part 1: fix undefined behavior in gfxASurface::CheckSurfaceSize. r=jrmuizel
--HG--
extra : rebase_source : 145c3c4b2acd86e2743811f4be5eba599dcc1df3
2011-04-12 12:22:45 -07:00
Daniel Holbert
96fc781c65 Back out 0736b014d4a5 (Bug 610155) for breaking canvas reftests on android 2011-04-21 14:52:22 -07:00
Oleg Romashin
8869e128b5 Bug 610155 - Use SurfaceDescriptor for ImageLayer and CanvasLayer r=jones.chris.g 2011-04-20 14:45:57 -07:00
Jonathan Kew
8e92dd97a6 bug 642589 - expose prefs for tweaking DirectWrite/D2D antialiasing behavior. r=jdaggett 2011-04-21 07:29:50 +01:00
Timothy B. Terriberry
e63a2989e7 Bug 650834 - Add casts to pointer differences in assertion r=dougt 2011-04-18 12:22:51 -07:00
Zack Weinberg
647b7a0bfe Bug 651017, part 7: remove nsDeviceContext::CreateRenderingContextInstance and the CreateRenderingContext overload that takes a widget.
--HG--
rename : gfx/src/nsThebesDeviceContext.cpp => gfx/src/nsDeviceContext.cpp
rename : gfx/src/nsThebesDeviceContext.h => gfx/src/nsDeviceContext.h
extra : rebase_source : 6be7fe432488dcf2fb5b2faa0e178dccab480285
2011-04-16 21:08:22 -07:00
Zack Weinberg
668fa81e1d Bug 651017, part 6: prune unused and unimplemented nsDeviceContext methods. Push some code down into nsFontCache.
--HG--
rename : gfx/src/nsThebesDeviceContext.cpp => gfx/src/nsDeviceContext.cpp
rename : gfx/src/nsThebesDeviceContext.h => gfx/src/nsDeviceContext.h
extra : rebase_source : 82489fb47226260871993f37d337439005250c29
2011-04-16 18:22:44 -07:00
Zack Weinberg
d5e47757d8 Bug 651017, part 4: deCOM nsIDeviceContext; include-minimization on nsDeviceContext.h itself; merge GetPrintDC() into Windows/OS/2 specific code; merge Shutdown() with ClearCachedSystemFonts(). Most references outside gfx not fixed up.
--HG--
rename : gfx/src/nsThebesDeviceContext.cpp => gfx/src/nsDeviceContext.cpp
rename : gfx/src/nsThebesDeviceContext.h => gfx/src/nsDeviceContext.h
extra : rebase_source : 9fb366d99d18c9335ba297d21f673178dae62a64
2011-04-16 18:22:42 -07:00
Zack Weinberg
792bb82cfb Bug 651017, part 3: Make nsThebesDeviceContext not an nsIObserver. Also remove some more obsolete junk from nsThebesDeviceContext itself.
--HG--
extra : rebase_source : 38fdc667532509e272726bf8098c6f728e94e8ad
2011-04-16 18:22:41 -07:00
Zack Weinberg
ba4c919431 Bug 651017, part 2: wrap gfxPlatform::Init/Shutdown in a service and register it for app-startup. Also prune some dead CIDs from nsGfxCIID.h.
--HG--
extra : rebase_source : d296ac53c4c60d79f7e2d6904dd54ce930099bbd
2011-04-16 18:22:41 -07:00
Zack Weinberg
51864c09d8 Bug 651017, part 1: minimize inclusion of ns*DeviceContext.h; move the printing error codes to nsIDeviceContextSpec.h; os2 small widget cleanup.
--HG--
extra : rebase_source : 5b7cebe68f71a760463e3522b159c7cde8a72f5e
2011-04-16 18:22:41 -07:00
Jonathan Kew
f67ad53dd4 bug 589682 - ignore GDEF table in italic faces of times new roman, to work around font bug. r=jdaggett 2011-04-19 09:01:21 +01:00
Robert O'Callahan
d4c414cf18 Bug 641426. Part 8: Replace gfxRect::Outset/Inset with Inflate/Deflate. Also slip in a conversion constructor from nsIntRect to gfxRect. r=tnikkel 2011-04-19 15:07:51 +12:00
Robert O'Callahan
c9b3d6063b Bug 641426. Part 7: Create Rect template. r=joe,sr=cjones 2011-04-19 15:07:48 +12:00
Robert O'Callahan
72627bced2 Bug 641426. Part 6: Rename Empty to SetEmpty. r=cjones 2011-04-19 15:07:23 +12:00
Robert O'Callahan
c957ae039e Bug 641426. Part 5: Avoid operator== where possible to distinguish between 'equal edges' and 'equal areas' for rectangles. r=dbaron,sr=cjones 2011-04-19 15:07:23 +12:00
Robert O'Callahan
763a5f47a7 Bug 641426. Part 4.2: Rename BaseMargin::side to BaseMargin::Side. r=cjones 2011-04-19 15:07:22 +12:00
Robert O'Callahan
cffed533b7 Bug 641426. Part 4: Create Margin template. r=joe,sr=cjones 2011-04-19 15:07:22 +12:00
Robert O'Callahan
307547d062 Bug 641426. Part 3: Convert gfxRect::pos/size to x/y/width/height. r=joe,sr=cjones 2011-04-19 15:07:21 +12:00
Robert O'Callahan
8b71e83f60 Bug 641426. Part 2.5: Make gfxBlur bail out in all cases where the blur rect is empty. r=tnikkel 2011-04-19 15:07:21 +12:00
Robert O'Callahan
73b97e72c4 Bug 641426. Part 2: Remove a bunch of direct gfxRect::pos/size usage. r=joe 2011-04-19 15:07:21 +12:00
Robert O'Callahan
17b91a87af Bug 641426. Part 1: Create Point and Size templates. r=joe,sr=cjones 2011-04-19 15:07:21 +12:00
John Daggett
a5724434f7 Bug 634286. Remove font cache size info from about:support on Windows. r=jmuizelaar 2011-04-19 10:11:09 +09:00
Matt Woodrow
c43047b608 Bug 648741 - Correctly bind pixmaps to textures during the draw call on X11 accelerated layers. r=bjacob 2011-04-19 10:50:54 +12:00
Matt Woodrow
8fd6e01911 Bug 638323 - Skip unnecessary MakeCurrent calls in GLContextProviderCGL. r=bjacob 2011-04-19 10:49:00 +12:00
Matt Woodrow
1b93d0832f Bug 586508 - Improve GL error code output. r=bjacob 2011-04-19 10:47:40 +12:00
Timothy B. Terriberry
371832a9bb Bug 634557 - Implement ScaleYCbCr42xToRGB565_BilinearY_Row_NEON, r=jbramley 2011-04-14 17:34:18 -07:00
Timothy B. Terriberry
bc00a0826c Bug 634557 - ScaleYCbCrToRGB565: Reference C version, r=doublec 2011-04-14 17:32:15 -07:00
Zack Weinberg
8f84e87563 Bug 174055, part 8: change GetLanguage to return a raw nsIAtom*. 2011-04-14 10:43:21 -07:00
Zack Weinberg
2c3c349dad Bug 174055, part 7: remove unnecessary members from nsFontMetrics. 2011-04-08 08:32:29 -07:00
Zack Weinberg
52c99aabb7 Bug 174055, part 6: eliminate pointless nsresult return values. 2011-04-07 21:18:43 -07:00
Zack Weinberg
624a6e3ce5 Bug 174055, part 5: prune unused and unimplemented methods. 2011-04-07 20:07:27 -07:00
Zack Weinberg
1c1eb035f0 Bug 174055, part 3: deCOM ns(I|Thebes)FontMetrics. Code outside gfx/ not fixed up.
--HG--
rename : gfx/src/nsThebesFontMetrics.cpp => gfx/src/nsFontMetrics.cpp
rename : gfx/src/nsThebesFontMetrics.h => gfx/src/nsFontMetrics.h
2011-04-07 18:05:26 -07:00
Zack Weinberg
d6425e8bd1 Bug 174055, part 2: merge nsIThebesFontMetrics into nsIFontMetrics. 2011-04-07 18:05:25 -07:00
Zack Weinberg
299386f14c Bug 174055, part 1: minimize inclusion of nsI(Thebes)FontMetrics.h. 2011-04-07 18:04:41 -07:00
Zack Weinberg
f5d56fa57a Bug 648197 (2/2): make nsIDeviceContext::FirstExistingFont and ::GetLocalFontName into complete stubs; remove the alias table. 2011-04-07 14:47:04 -07:00
Zack Weinberg
f5a0843ac7 Bug 266236 part 9: Move nsBoundingMetrics to its own header and prune inclusions of nsRenderingContext.h.
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
rename : gfx/src/nsThebesRenderingContext.h => gfx/src/nsRenderingContext.h
extra : rebase_source : 92660748436f03475e011184e2828f1db0ad63e0
2011-04-07 18:04:40 -07:00
Zack Weinberg
d8db59d068 Bug 266236 part 8: Change nsRenderingContext::GetDeviceContext and ::GetFontMetrics to return bare pointers.
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
rename : gfx/src/nsThebesRenderingContext.h => gfx/src/nsRenderingContext.h
extra : rebase_source : 36dd32d715cb75e99cd3a69e460c000c1777d6a6
2011-04-07 18:04:40 -07:00
Zack Weinberg
c3400ef3c4 Bug 266236 part 7: Simplify calling convention of SetClipRect and SetClipRegion.
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
rename : gfx/src/nsThebesRenderingContext.h => gfx/src/nsRenderingContext.h
extra : rebase_source : b1c68e23a4fa67cdc09b151ad39d7560cdd8baf7
2011-04-07 18:04:40 -07:00
Zack Weinberg
9d6cdac2b1 Bug 266236 part 6: Change out-parameters to return values and remove a bunch of default parameters that were never called with non-default values.
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
rename : gfx/src/nsThebesRenderingContext.h => gfx/src/nsRenderingContext.h
extra : rebase_source : 0511852e51c2ad4d4833d6f8f2f61d46130a7151
2011-04-07 18:04:40 -07:00
Zack Weinberg
b7e2ce1e01 Bug 266236 part 5: Make all nsRenderingContext methods with no out-parameters and that never fail return nothing.
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
rename : gfx/src/nsThebesRenderingContext.h => gfx/src/nsRenderingContext.h
extra : rebase_source : 7c11bd0cd2a93d30347a1bb6c1b7675e85f0f579
2011-04-07 18:04:40 -07:00
Zack Weinberg
5a4a96e54e Bug 266236 part 4: Aggressively prune unused methods and dead #ifdefs from nsRenderingContext.
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
rename : gfx/src/nsThebesRenderingContext.h => gfx/src/nsRenderingContext.h
extra : rebase_source : b2911406bbe1b5995d1a501c59e02b5fffefa390
2011-04-07 18:04:40 -07:00
Jan Küchler
5ef6bf26cf Bug 266236 part 3: Mechanical rename of nsIRenderingContext and nsThebesRenderingContext to nsRenderingContext. Mechanical substitution of nsRefPtr<nsRenderingContext> for nsCOMPtr<nsRenderingContext>.
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
extra : rebase_source : 34884bfcafd885feaf73300bc7246cd192062a48
2011-04-07 18:04:40 -07:00
Jan Küchler
09deeaef3d Bug 266236 part 2: Merge nsIRenderingContext with nsThebesRenderingContext (the sole implementation) and remove XPCOM vestiges. Non-mechanical fixups. DOES NOT COMPILE without part 3.
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
rename : gfx/src/nsThebesRenderingContext.h => gfx/src/nsRenderingContext.h
extra : rebase_source : 9e149d30da5222d072071043d30d83033fec9787
2011-04-07 18:04:39 -07:00
Jan Küchler
0e92a9d34a Bug 266236 part 1: Preliminary API cleanup on nsIRenderingContext.
--HG--
extra : rebase_source : a21ffad484f47103e403b8316eae5fdfd815c2cb
2011-04-07 18:04:39 -07:00
Landry Breuil
5334f0f25b Bug 633857 - missing #includes for OpenBSD (gfx part) r=ludovic 2011-04-14 17:48:27 +09:00
Zack Weinberg
2698de77fc Fix partial DOS line endings in nsRect.cpp, rs=khuey, no bug
--HG--
extra : rebase_source : 0bf86cf3015a3eecb19282159277581656136734
2011-04-13 10:16:36 -07:00
Jonathan Kew
99d0c392b8 bug 633299 - don't discard font entries for @font-face rules that haven't changed. r=dbaron 2011-04-12 11:53:20 +01:00
Jonathan Kew
5a633fc5ed bug 636957 - ensure DWrite font list is initialized in GetFontFamilyList(). r=jdaggett 2011-04-13 08:28:34 +01:00
Ms2ger
4c894d44d4 Backed out changeset 3f82f25d7334 2011-04-12 14:28:53 +02:00
Jonathan Kew
d9c320b9df bug 633299 - don't discard font entries for @font-face rules that haven't changed. r=dbaron 2011-04-12 11:53:20 +01:00
Matt Woodrow
38a5c34624 Bug 640082 followup - Fix typo that caused all black rendering with accelerated layers on X. r=bjacob
--HG--
extra : rebase_source : 38479709267224557c0e619a71430a3505806e40
2011-04-12 00:36:13 -07:00
Benoit Jacob
0a4801660a Bug 649233 - Include ANGLE r611. r=joe
--HG--
extra : rebase_source : 7d917f7bdca76e0abbea6ce5ac41154e2285ec79
2011-04-12 00:36:13 -07:00
Benoit Jacob
d78d9c76dd Bug 649233 - Include ANGLE r551. r=joe
--HG--
extra : rebase_source : 0124d3285a5b552b129e7057ce5a7bec23d3f3bf
2011-04-12 00:36:13 -07:00
Joe Drew
8452c3dcf1 Bug 641630 - Write proper makefiles for ANGLE. r=bjacob,khuey,ted
--HG--
extra : rebase_source : ff1657325b7ccb3dede8ab587c16e1749ab28c46
2011-03-29 18:16:39 -04:00
Joe Drew
e8ff106234 Bug 641630 - Rename compiler/debug.{h,cpp} to compiler/compilerdebug.{h,cpp} r=bjacob
--HG--
rename : gfx/angle/src/compiler/debug.cpp => gfx/angle/src/compiler/compilerdebug.cpp
rename : gfx/angle/src/compiler/debug.h => gfx/angle/src/compiler/compilerdebug.h
extra : rebase_source : cc2d21846981ffd28bf0d7215274171569f43bbd
2011-03-29 18:16:39 -04:00
Zack Weinberg
1a54f9512d Bug 648385: Remove gfxFont::GetUniqueName, r=jdaggett
--HG--
extra : rebase_source : 41f923803127440ab903e91c7f24e020b97b83f5
2011-04-11 17:59:42 -07:00
Bas Schouten
9f51158443 Bug 600760: Optimize mask with rectangular clip. r=jrmuizel 2011-04-11 16:42:05 -07:00
Benjamin Stover
3dc5b1f7a2 Bug 642246 Don't build ThebesLayers for elements with no displayports r=roc 2011-04-11 13:53:01 -07:00
Ehsan Akhgari
8e2d030028 Merge mozilla-central into cedar 2011-04-11 13:11:47 -04:00
Doug Turner
bb9cf72cbb Backing out Bug 598736 - Use bilinear image scaling on mobile. Perf regression caused. r=me 2011-04-11 09:25:59 -07:00
Jonathan Kew
6206d783fa bug 644184 - ensure basic arabic shaping features are applied before ligature formation. r=jdaggett 2011-04-11 16:33:12 +01:00
Jonathan Kew
5b310ec5f3 bug 638764 - followup, fix a bunch of compilation warnings in cairo build. r=bas 2011-04-11 13:02:51 +01:00
Jonathan Kew
97dc391126 bug 638764 - print DirectWrite text via ExtTextOut using a GDI font, to get decent PDF output. r=bas 2011-04-11 13:02:31 +01:00
Jonathan Kew
95036edb98 bug 623495 - revise prefs for dispatching scripts to shaping backends; enable harfbuzz for Hebrew on OS X. r=smontagu 2011-04-11 12:17:31 +01:00
Rich Walsh
463cdad8da Bug 648472 - [OS/2] avoid crashes when FcFontMatch() fails; r=wuno 2011-04-09 23:32:09 -04:00
L. David Baron
ad4318958b Back out 1edfae12015b (Bug 642246) due to mobile unittest orange. 2011-04-09 18:21:27 -07:00
Benjamin Stover
3270dd31cd Bug 642246 Don't build ThebesLayers for elements with no displayports r=roc 2011-04-09 12:38:28 -07:00
Jeff Muizelaar
4b4fccbd45 Bug 648446. Remove -pedantic from CFLAGS in qcms. r=khuey
-pedantic causes warnings that we don't care about
2011-04-08 11:34:16 -07:00
Tim Terribe
cb46080bbf Bug 641014 - Fix broken NEO Y'CbCr to RGB conversion - r=doublec
--HG--
extra : rebase_source : fddd6ccddd083484c8b46a53747fb2058a46463e
2011-04-09 06:59:22 +12:00
Tim Terribe
6bbc2a8bd4 Bug 583958 - Add NEON detection to SSE.h - r=jmuizelaar
--HG--
extra : rebase_source : 2ae9de7e5a914e7ea30c3ef432edfa100027d656
2011-04-09 06:57:52 +12:00
Chris Double
8ea4897f3e Bug 639415 - Disable prescaling of videos if they have an offset due to chromium scaling code not supporting offsets - r=kinetik
--HG--
extra : rebase_source : 0b72a504f731a81a498876a28dfae0d7c4aebded
2011-03-14 17:31:48 +13:00
Oleg Romashin
631800dfd2 Bug 607417 - Part1: position:fixed frames mark layers r=roc
--HG--
extra : rebase_source : dbbff8810bafd165a48c34924d98f5c87702ef3f
2011-04-05 23:00:25 -06:00
Ehsan Akhgari
c142d20d2c Merge cedar into mozilla-central 2011-04-08 11:05:22 -07:00
Matt Brubeck
170c710ac7 Bug 598736 - Use bilinear image scaling on mobile. r=jrmuizel 2011-04-08 10:15:37 -07:00
Ehsan Akhgari
96d750195b Merge cedar into mozilla-central 2011-04-08 02:27:03 -07:00
Ms2ger
1528a3aa42 Bug 647552 - Uninitialized variables in GLXLibrary::EnsureInitialized; r=bjacob 2011-04-07 21:55:10 -07:00
Matt Woodrow
099fef4367 Bug 641250 - Rename GLContext::TextureState::Initialized to Allocated. r=joe 2011-04-07 16:58:08 -07:00
Matt Woodrow
6043fccf2f Bug 640082 - Part 5 - Use texture_from_pixmap in CairoImageOGL. r=joe 2011-04-07 16:58:08 -07:00
Matt Woodrow
c2d0ad4ae4 Bug 640082 - Part 4 - Create TextureImageGLX which uses texture_from_pixmap. r=joe 2011-04-07 16:58:08 -07:00
Matt Woodrow
30e6da146a Bug 640082 - Part 3 - Add BindTexture functions to TextureImage. r=joe 2011-04-07 16:58:08 -07:00
Jeff Muizelaar
c64cd62159 Bug 646321. qcms: Avoid implicit conversion to double. r=bjacob
The double literal will cause us to unnecessarily convert to double.
2011-04-07 16:59:12 -07:00
Matt Woodrow
179c7950e6 Bug 640082 - Part 2 - Use texture_from_pixmap in CanvasLayerOGL. r=joe 2011-03-09 10:41:10 +13:00
Matt Woodrow
0ff89b8752 Bug 640082 - Part 1 - Add texture_from pixmap support to GLContextProviderGLX. r=joe 2011-04-07 16:58:07 -07:00
Robert O'Callahan
acc1dd656b Bug 647315. Update ThebesLayerOGL with the same fix. r=mattwoodrow 2011-04-06 16:38:01 -07:00
Robert O'Callahan
de0d6f2c5e Bug 647315. Back out one line of changeset 844579d34200. r=mattwoodrow 2011-04-06 16:37:56 -07:00
Matheus Kerschbaum matjk7@gmail.com
83489c2891 Bug 639754 - Remove MOZ_IPC checks since IPC is always built now
--HG--
extra : rebase_source : bd8d7491d0fee17e0319ce130bd2988fefe82e93
2011-04-06 21:59:25 -07:00
Matheus Kerschbaum
93480c6366 Bug 639754 - Remove MOZ_IPC checks since IPC is always built now; r=bsmedberg 2011-04-02 19:14:00 -07:00
Makoto Kato
0aac0cc47c Bug 644054 - Support WOFF on Android; r=jfkthame 2011-03-22 21:40:00 -04:00
Benoit Jacob
a4d00bab86 Bug 640064 - crash [@ libc.so@0x1c25e] going to about:support crashes ideos s7; r=jmuizelaar 2011-03-09 05:17:00 -05:00
Ehsan Akhgari
49fceed112 Backout the latest cedar merge wholesale until I test the correctness of the merge locally. This commit takes the tree state back to changeset 8d3f6093c425 (the last known good changeset before the merge) 2011-04-01 12:23:48 -04:00
Ehsan Akhgari
f2b4323534 Merge cedar into mozilla-central 2011-04-01 11:37:50 -04:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E)
0bb511a3d7 Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
Bug 645263, part 0: Count sync primitive ctor/dtors. r=dbaron
Bug 645263, part 1: Migrate content/media to mozilla:: sync primitives. r=doublec
Bug 645263, part 2: Migrate modules/plugin to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 3: Migrate nsComponentManagerImpl to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 4: Migrate everything else to mozilla:: sync primitives. r=dbaron
Bug 645263, part 5: Remove nsAutoLock.*. sr=bsmedberg
Bug 645263, part 6: Make editor test be nicer to deadlock detector. r=ehsan
Bug 645263, part 7: Disable tracemalloc backtraces for xpcshell tests. r=dbaron
Bug 646259: Fix nsCacheService to use a CondVar for notifying. r=cjones
2011-03-31 23:29:02 -05:00
Chris Jones
29f9a86daa Merge backout 2011-03-31 18:58:11 -05:00
Chris Jones
a75fb12531 Backed out changeset 4beec31b9ea9 for increasing frequency of intermittent orange bug 618052 2011-03-31 18:57:38 -05:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E)
cc8b4c9c6c Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
Bug 645263, part 0: Count sync primitive ctor/dtors. r=dbaron
Bug 645263, part 1: Migrate content/media to mozilla:: sync primitives. r=doublec
Bug 645263, part 2: Migrate modules/plugin to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 3: Migrate nsComponentManagerImpl to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 4: Migrate everything else to mozilla:: sync primitives. r=dbaron
Bug 645263, part 5: Remove nsAutoLock.*. sr=bsmedberg
Bug 645263, part 6: Make editor test be nicer to deadlock detector. r=ehsan
Bug 645263, part 7: Disable tracemalloc backtraces for xpcshell tests. r=dbaron
Bug 646259: Fix nsCacheService to use a CondVar for notifying. r=cjones
2011-03-31 14:51:19 -05:00
Zack Weinberg
2ec3d0e203 Bug 571989, much-delayed part 6: merge gfx/src/thebes into gfx/src. r=joedrew
--HG--
rename : gfx/src/thebes/mozilla-decoder.cpp => gfx/src/mozilla-decoder.cpp
rename : gfx/src/thebes/mozilla-decoder.h => gfx/src/mozilla-decoder.h
rename : gfx/src/thebes/nsIThebesFontMetrics.h => gfx/src/nsIThebesFontMetrics.h
rename : gfx/src/thebes/nsSystemFontsAndroid.cpp => gfx/src/nsSystemFontsAndroid.cpp
rename : gfx/src/thebes/nsSystemFontsAndroid.h => gfx/src/nsSystemFontsAndroid.h
rename : gfx/src/thebes/nsSystemFontsGTK2.cpp => gfx/src/nsSystemFontsGTK2.cpp
rename : gfx/src/thebes/nsSystemFontsGTK2.h => gfx/src/nsSystemFontsGTK2.h
rename : gfx/src/thebes/nsSystemFontsMac.h => gfx/src/nsSystemFontsMac.h
rename : gfx/src/thebes/nsSystemFontsMac.mm => gfx/src/nsSystemFontsMac.mm
rename : gfx/src/thebes/nsSystemFontsOS2.cpp => gfx/src/nsSystemFontsOS2.cpp
rename : gfx/src/thebes/nsSystemFontsOS2.h => gfx/src/nsSystemFontsOS2.h
rename : gfx/src/thebes/nsSystemFontsQt.cpp => gfx/src/nsSystemFontsQt.cpp
rename : gfx/src/thebes/nsSystemFontsQt.h => gfx/src/nsSystemFontsQt.h
rename : gfx/src/thebes/nsSystemFontsWin.cpp => gfx/src/nsSystemFontsWin.cpp
rename : gfx/src/thebes/nsSystemFontsWin.h => gfx/src/nsSystemFontsWin.h
rename : gfx/src/thebes/nsThebesDeviceContext.cpp => gfx/src/nsThebesDeviceContext.cpp
rename : gfx/src/thebes/nsThebesDeviceContext.h => gfx/src/nsThebesDeviceContext.h
rename : gfx/src/thebes/nsThebesFontEnumerator.cpp => gfx/src/nsThebesFontEnumerator.cpp
rename : gfx/src/thebes/nsThebesFontEnumerator.h => gfx/src/nsThebesFontEnumerator.h
rename : gfx/src/thebes/nsThebesFontMetrics.cpp => gfx/src/nsThebesFontMetrics.cpp
rename : gfx/src/thebes/nsThebesFontMetrics.h => gfx/src/nsThebesFontMetrics.h
rename : gfx/src/thebes/nsThebesGfxFactory.cpp => gfx/src/nsThebesGfxFactory.cpp
rename : gfx/src/thebes/nsThebesRegion.cpp => gfx/src/nsThebesRegion.cpp
rename : gfx/src/thebes/nsThebesRegion.h => gfx/src/nsThebesRegion.h
rename : gfx/src/thebes/nsThebesRenderingContext.cpp => gfx/src/nsThebesRenderingContext.cpp
rename : gfx/src/thebes/nsThebesRenderingContext.h => gfx/src/nsThebesRenderingContext.h
2011-03-31 11:30:28 -07:00
Jonathan Kew
6b4f50d01a bug 643502 - add missing cases to GetFontPrefLangFor(). r=smontagu 2011-03-31 09:47:02 +01:00
Josh Matthews
b2ae468243 Bug 640968 - Avoid using null cache if the singleton does not actually exist. r=blassey 2011-03-24 19:37:07 -04:00
Ehsan Akhgari
de907a39be Merge mozilla-central into cedar 2011-03-30 13:55:31 -04:00
Makoto Kato
14ea2bfa7f Bug 613440. Make loading ICM profiles from non-ASCII paths work. r=jmuizelaar 2011-03-30 13:40:47 -04:00
Jeff Muizelaar
24bc5d4c25 Bug 645947 - Remove unneeded copy constructors from gfxRGBA, gfxPoint and gfxRect; r=bjacob
This lets us get smaller code (by 1KB) and potentially faster code too.
2011-03-29 18:29:22 -04:00
Doug Turner
ef35aa039b Bug 643307 - Crash [@ nsThebesFontMetrics::GetMetrics ]. r=blassey
--HG--
extra : rebase_source : 6d878a2ff10aa1030f71526dacb64d6d92882322
2011-03-29 11:50:39 -07:00
John Daggett
6fb5fc67de Bug 643649. Pass correct parameter value into registry call. r=joedrew 2011-03-29 12:11:22 +09:00
Ehsan Akhgari
db0e06d061 Merge cedar into mozilla-central 2011-03-28 13:28:13 -04:00
Karl Tomlinson
00d3f613f1 b=626192 blacklist ATI libGL due to seg faults on querying server info r=bjacob
--HG--
extra : transplant_source : %15Ay%22pB%8B%7D%B2%5Eph%12%18%17%91G%FC%D7%10
2011-03-25 16:38:59 +13:00
Karl Tomlinson
620408b145 b=617703 use target visual to determine target format r=roc
--HG--
extra : transplant_source : L%E8%90%93Mar%3EO%A5w%D8%7B%F1%9DH%0B%7EUi
2011-03-25 16:38:59 +13:00
Robert O'Callahan
333b8d0f05 Bug 622072. Part 2: Add DidTransactionCallback to CanvasLayer. r=bas, sr=joe 2011-03-28 12:59:46 +13:00
Robert O'Callahan
6536947736 Bug 622072. Part 1: Remove rect parameter from Updated() and change implementations to defer updates to render time. r=bas
The rectangle parameter is currently not used --- all callers always pass the full canvas bounds. In the long term,
we probably won't want this parameter since all implementations should be doing accelerated drawing direct to buffers
with no intermediate copies, hence there will be no need to optimize the size of those copies. Plus, performance-sensitive
testcases tend to paint most or all of the canvas on every frame anyway.
2011-03-28 12:59:46 +13:00
Ms2ger
220863e8d9 Bug 637180 - Unused function IsFloatInteger; r=matt.woodrow 2011-02-27 11:00:00 -05:00
Benoit Jacob
71406e87b5 imported patch 640064 2011-03-09 05:17:00 -05:00
Robert O'Callahan
1f51cb45b0 Bug 622072. Part 2: Add DidTransactionCallback to CanvasLayer. r=bas, sr=joe 2011-03-28 12:59:46 +13:00
Robert O'Callahan
e865324942 Bug 622072. Part 1: Remove rect parameter from Updated() and change implementations to defer updates to render time. r=bas
The rectangle parameter is currently not used --- all callers always pass the full canvas bounds. In the long term,
we probably won't want this parameter since all implementations should be doing accelerated drawing direct to buffers
with no intermediate copies, hence there will be no need to optimize the size of those copies. Plus, performance-sensitive
testcases tend to paint most or all of the canvas on every frame anyway.
2011-03-28 12:59:46 +13:00
Robert O'Callahan
750234b3f1 Bug 635373. When resampling a ThebesLayer, ensure that D3D9 and OpenGL layers paint the entire layer as one quad to avoid unnecessary aliasing. r=bas 2011-04-01 10:33:46 +13:00
Robert O'Callahan
4b58755a9e Bug 635373. ThebesLayerOGL needs to make sure we only sample valid pixels too. r=mattwoodrow 2011-04-01 10:33:46 +13:00
Robert O'Callahan
bfb12d86f0 Bug 635373. If we need to resample a ThebesLayer texture, make sure we make all the pixels of the texture valid in case they get sampled. r=bas 2011-04-01 10:33:46 +13:00
Robert O'Callahan
4bd5d3cedf Bug 641770. Ensure that the cliprect for a layer is interpreted in the coordinate system of its container in MarkLeafLayersCoveredByOpaque. r=bas 2011-04-01 10:33:46 +13:00
Ehsan Akhgari
395dbdf918 Merge cedar into mozilla-central 2011-03-25 14:21:07 -04:00
Ben Turner
3e1c82c126 Bug 640901: Clean up managees when manager ctor fails. r=cjones 2011-03-21 11:00:00 -05:00
Benjamin Smedberg
4f1ecb131c Bug 617539 - remove nsIWidget_MOZILLA_2_0_BRANCH, r=jimm 2011-03-25 11:03:35 -04:00
Matt Woodrow
faf46f850f Bug 635383 - Fix black rendering on non-square container layers. r=joe,bz 2011-03-24 21:57:09 -04:00
Doug Turner
c022bddecd Bug 644747 - font.cache storage off by one. r=blassey 2011-03-25 11:06:53 +13:00
Matt Woodrow
3f8b8cc124 Bug 635383 - Part 3 - Don't triple buffer reftests. r=joe 2011-03-25 11:06:04 +13:00
Matt Woodrow
ca1fbaeed0 Bug 635383 - Part 2 - Share scissoring code between all accelerated backends. r=joe 2011-02-25 20:44:22 +13:00
Matt Woodrow
d678e84d15 Bug 635383 - Part 1 - Make GL layers always y-flipped and handle this inside GLContext. r=joe 2011-02-25 20:44:18 +13:00
Robert O'Callahan
443b94ac3c Bug 615092 - Add a way to dump gfxASurfaces to a data URL. r=mattwoodrow 2011-03-25 11:04:46 +13:00
Matt Woodrow
423b5b30b7 Bug 641250 - Upload full surface bounds if texture is uninitialized. r=joe 2011-03-25 11:04:11 +13:00
Ehsan Akhgari
f83c604e6c Merge cedar onto mozilla-central 2011-03-24 14:42:21 -04:00
Jonathan Kew
bf757a9d0e Bug 623711 - erratic font selection with multiple @font-face rules and bad font resources; r=jdaggett 2011-03-23 23:01:50 -04:00
Ehsan Akhgari
d40a33c22e Backout changeset f39ad7e4054e (bug 623711) because of reftest failure 2011-03-24 00:15:02 -04:00
Ehsan Akhgari
296c1a56a2 Merge backout of bug 635639 2011-03-24 00:02:57 -04:00
Ehsan Akhgari
91d9bbfb48 Backout bug 635639 because of test failure 2011-03-24 00:02:35 -04:00
Jonathan Kew
44181a8da0 Bug 635639 - Vowels are not rendered correctly in some Persian/Arabic/Hebrew fonts; r=jdaggett 2011-03-23 22:55:06 -04:00
Jonathan Kew
5ee6d5ba04 bug 635639 - vowels are not rendered correctly in some Persian/Arabic/Hebrew fonts. r=jdaggett 2011-03-24 15:07:11 +00:00
Ehsan Akhgari
7804c38300 Merge mozilla-central into cedar, in order to import work targetted at Firefox 4 into the tree 2011-03-23 19:18:30 -04:00
Ehsan Akhgari
ca95c68a1e Merge mozilla-central into cedar 2011-03-23 18:29:19 -04:00
Chris Pearce
38662eb161 Bug 580531 - Record first paint time and number of images painted in ImageContainer. r=roc 2011-03-24 11:28:57 +13:00
Chris Pearce
18e05ec12b Bug 580531 - Push ImageContainer subclass' locks up into a superclass monitor. r=roc 2011-03-24 11:28:57 +13:00
Ehsan Akhgari
47cf269311 Merge mozila-central onto cedar
--HG--
rename : toolkit/components/places/src/nsLivemarkService.js => toolkit/components/places/nsLivemarkService.js
2011-03-23 12:06:04 -04:00
Kyle Huey
782df80bf2 Merge m-c to bs. 2011-03-19 07:56:17 -04:00
Steven Michaud
65c49866d2 Bug 637367 - Stop DrawPlugin from accessing deleted nsObjectFrame. r=roc a=beltzner 2011-03-18 14:35:14 -05:00
Benoit Jacob
00c9ea8ba6 Bug 641630. r=ted, a=respin 2011-03-17 15:07:16 -04:00