Commit Graph

3544 Commits

Author SHA1 Message Date
Chris Jones
1383ae51c9 Bug 648484, part 2: Add various helpers, refactor ContainerLayer::SetSpecificAttributes. r=roc 2011-07-06 13:29:26 -04:00
Chris Jones
179dd1b1f5 Bug 648484, part 1: Fix some warning spam. r=roc 2011-07-06 13:29:26 -04:00
Mounir Lamouri
620eea42dc Merge mozilla-central into mozilla-inbound. 2011-07-06 14:49:29 +02:00
L. David Baron
dbb636b97e Only apply overflow area reported by native theme to the visual overflow, and not to the scrollable overflow. (Bug 669284) r=bzbarsky 2011-07-06 12:03:23 +02:00
Jonathan Kew
18076188b4 bug 669175 - [harfbuzz] fix indexing in reverse_range() to avoid pathological perf & incorrect results. r=behdad 2011-07-06 08:01:41 +01:00
Jacob Bramley
6d297c4c1a Bug 666918: Allow some routines to omit the frame pointer even with --enable-profiling. This will break call-graphs for these functions, but an --enable-profiling build won't work without it. [r=cjones] 2011-07-05 09:48:40 +01:00
Bas Schouten
20707018d6 Bug 668801 - Followup: Properly address review comments. 2011-07-05 08:52:48 +00:00
Bas Schouten
951afc154e Bug 668801 - Part 3: Adjust dealing with clipped shadows to be accurate. r=jrmuizel 2011-07-05 06:28:20 +00:00
Bas Schouten
1234946c68 Bug 668801 - Part 2: Fix small bug in Azure shadow drawing. r=jrmuizel 2011-07-05 06:28:17 +00:00
Bas Schouten
756d1c7e15 Bug 668801 - Part 1: Adjust Azure for traditional shadow drawing style. r=jrmuizel 2011-07-05 06:28:14 +00:00
Matt Woodrow
dbbef6ee35 Bug 656185 - Part 4 - Upload the entire image for PlanarYCbCrImageD3D10 to a texture and clip using texture coordinates. r=Bas 2011-07-05 14:52:50 +12:00
Matt Woodrow
dd264db48d Bug 656185 - Part 3 - Upload the entire image for PlanarYCbCrImageD3D9 to a texture and clip using texture coordinates. r=Bas 2011-07-05 14:52:34 +12:00
Matt Woodrow
89e737996c Bug 656185 - Part 2 - Upload the entire image for PlanarYCbCrImageOGL to a texture and clip using texture coordinates. r=derf 2011-07-05 14:52:00 +12:00
Matt Woodrow
7ab3748569 Bug 656185 - Part 1 - Move BindAndDrawQuadWithTextureRect into LayerManagerOGL. r=joe 2011-07-05 14:50:38 +12:00
Benoit Girard
9c46ca57c5 Bug 636707 - Check for null MacIOSurfaceImageOGL. r=mattwoodrow 2011-07-04 09:51:37 -04:00
Benoit Girard
dd61f3a2ea Bug 648480 - Add shadow-layer support to d3d9 backend. r=cjones 2011-07-04 09:15:05 -04:00
Ed Morley
e2dd282c90 Bug 661584 - Substitute final PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc 2011-07-03 11:53:40 +02:00
Benoit Girard
069dc7b333 Backout 627489bb6288. 2011-07-01 18:05:54 -04:00
Marco Bonardo
d6c4314155 Merge last green changeset from mozilla-central to mozilla-inbound 2011-07-01 23:56:44 +02:00
Benoit Girard
c83b82cbd1 Bug 648480 - Add shadow-layer support to d3d9 backend. r=cjones 2011-07-01 16:57:15 -04:00
Jonathan Kew
21a371ca1a bug 666893 - add padding pixels to DWrite text bounds because of ClearType bleed when using GDI Classic mode. r=roc 2011-07-01 07:38:17 +01:00
Jonathan Kew
636a69c177 bug 553571 - try to avoid breaking font runs at ZWNJ when using font fallback, because Indic scripts require shaping across the ZWNJ character. r=roc 2011-07-01 07:38:14 +01:00
Makoto Kato
09ff6f5746 Bug 413019 - Remove PGO workaround for some modules. r=ted 2011-07-01 12:46:02 +09:00
Steven Michaud
b9da15d745 Bug 659851 - Firefox and Lion disagree on GLintptr. f=bas.schouten r=bjacob 2011-06-30 14:06:25 -05:00
Benoit Girard
2655767197 Bug 663259 - Part 1: Mac Async rendering fixes. r=josh 2011-06-30 12:46:25 -04:00
Ryan VanderMeulen
3daf9bf212 Bug 667663 - Silence MSVC warning by returning NULL if DWrite is disabled. r=bas 2011-06-30 14:35:46 +02:00
Ehsan Akhgari
68be621524 Merge mozilla-central and mozilla-inbound 2011-06-30 05:08:20 -04:00
Oleg Romashin
fdc131bf41 Bug 668368 - Logging.h compile fail due to missing stdio.h r=bas.schouten 2011-06-29 15:13:21 -07:00
Jonathan Kew
b6406524e0 bug 663688 - back out changeset c4b84b05c46c to revert the workaround that disabled downloadable fonts on Lion. r=jdaggett 2011-06-29 14:16:12 +01:00
Justin Lebar
169b00ccad Bug 664486 - Add page fault counts to about:memory on Linux and Mac. r=njn, sr=bz
--HG--
extra : rebase_source : 47dd7501dea7ae69e01828a5c730e8853739dc71
2011-06-16 14:34:09 -04:00
Jeff Muizelaar
a4fa82cf61 2D: Add a comment about why we need to know the fill mode early. r=bas 2011-07-07 12:57:52 -04:00
Chris Jones
1ed2dae061 Bug 662038, part 3: Implement dashing for d2d. r=Bas 2011-06-29 14:34:58 -07:00
Chris Jones
546a15416f Bug 662038, part 2: Add dashing API to Azure. r=Bas sr=roc 2011-06-29 14:34:58 -07:00
Chris Jones
c4559259a5 Bug 662038, part 0: Add gfxContext::CurrentDash(). r=jrmuizel 2011-06-29 14:34:58 -07:00
Marco Bonardo
e42980dbde Merge last green changeset from mozilla-inbound to mozilla-central 2011-06-28 11:17:15 +02:00
Bas Schouten
915c27a3f4 Bug 667290: Properly clear the downsampled destination before blending to it. r=jrmuizel 2011-06-28 02:10:06 +02:00
Benoit Jacob
c4cbfb78a0 Bug 665934 - fix bug: arev was meant instead of amap - r=upstream
This patch has been taken in ANGLE upstream as r699.
2011-06-27 13:27:04 -04:00
Mounir Lamouri
d8b025aad8 Backout changeset 4e87265b9c11 (bug 663259) due to Talos regression. 2011-06-27 14:52:57 +02:00
Matt Woodrow
cc66446a05 Back out bug 656185 due to windows compile failures 2011-06-27 15:21:22 +12:00
Matt Woodrow
31412c006b Bug 656185 - Part 4 - Fix for D3D9. r=Bas 2011-06-27 14:32:42 +12:00
Matt Woodrow
379c7e6f82 Bug 656185 - Part 3 - Fix for D3D10. r=Bas 2011-06-27 14:32:34 +12:00
Matt Woodrow
8aba398b72 Bug 656185 - Part 2 - Handle odd crop offsets correctly with OpenGl. r=derf 2011-06-27 14:32:16 +12:00
Matt Woodrow
9376e72c7e Bug 656185 - Part 1 - Move BindAndDrawQuadWithTextureRect into LayerManagerOGL. r=joe 2011-06-27 14:32:06 +12:00
Benoit Girard
6455de56ad Enabled Mac Async plugin by default + Fixes. b=663259 r=josh 2011-06-25 15:12:59 -04:00
Benoit Girard
9f6defe8cd Bug 577224 - Fix nsCARenderer warnings; r=smichaud 2011-06-24 10:49:42 -04:00
Takanori MATSUURA
bd263d1c2f Bug 667286 - Include cairo.h as "cairo.h" instead of "cairo/cairo.h"; r=bas 2011-06-26 23:10:35 +09:00
Ed Morley
af1d9c6c2b Bug 661584 - Code cleanup, substitute more PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc,ted 2011-06-25 16:06:02 +02:00
Jonathan Kew
f4cbe3b555 bug 663688 - prefer CGFont APIs to older ATS APIs on 10.6 or later. r=smichaud,roc 2011-06-24 18:55:27 +01:00
Bas Schouten
bfb8808747 Bug 651858 - Part 5: Add CanvasLayer code for azure. r=jrmuizel 2011-06-24 19:41:18 +02:00
Bas Schouten
933cae4fbb Bug 651858 - Part 4: Implement API for creating a D3D10 compatible DrawTarget. r=roc 2011-06-24 19:41:18 +02:00
Bas Schouten
58d40df2a4 Bug 651858 - Part 3: Add layers API for creating an optimal DrawTarget. r=roc 2011-06-24 19:41:18 +02:00
Bas Schouten
1c08a19bd8 Bug 651858 - Part 2: Add glue code in gfx for thebes-azure interop. r=jrmuizel 2011-06-24 19:41:18 +02:00
Bas Schouten
1fb2634ff2 Bug 651858 - Part 1: Add the Azure API and Direct2D backend. r=jrmuizel sr=roc
--HG--
rename : gfx/src/BaseMargin.h => gfx/2d/BaseMargin.h
rename : gfx/src/BasePoint.h => gfx/2d/BasePoint.h
rename : gfx/src/BaseRect.h => gfx/2d/BaseRect.h
rename : gfx/src/BaseSize.h => gfx/2d/BaseSize.h
2011-06-24 19:41:16 +02:00
Marco Bonardo
d50a414c3e Merge last green changeset in mozilla-inbound to mozilla-central 2011-06-24 11:32:12 +02:00
Ed Morley
d44febb3ea Bug 665622 - Fix unused variable warnings in GLContext.cpp & GLContextProviderEGL.cpp; r=joedrew 2011-06-23 19:01:17 -07:00
Daniel Holbert
9649e82049 Bug 661969: If no delay is passed to gfxFontInfoLoader::StartLoader, use the interval as delay. r=jdaggett 2011-06-23 19:01:17 -07:00
Jeff Muizelaar
9c940cc534 Bug 662649. DrawFPS: Make the conversion loop easier to follow. r=joe 2011-06-22 14:53:11 -04:00
Jeff Muizelaar
d2cc193c0b Bug 662649. DrawFPS: Add a comment about why DrawFPS is a little weird. 2011-06-22 14:49:31 -04:00
Jeff Muizelaar
f15d555c8f Bug 662649. DrawFPS: Make sure we use a 32 bit type instead of a 64 bit one. r=joe
This was causing badness on platforms where unsigned long is 64 bits.
2011-06-22 14:46:27 -04:00
Jeff Muizelaar
e70b966d11 Bug 662649. DrawFPS: free leaked buffer. r=joe
glTexImage2D will keep a copy of this data around so we don't have to.
2011-06-22 14:43:52 -04:00
Jeff Muizelaar
5db1ac6018 Bug 661658. Fix pointer as int size problem on Win64. r=joedrew
The glyph cache uses a pointer for a hash value, and uses
that hash value as a pointer. We need to ensure that the
hash type is large enough to fit a pointer.
2011-06-22 14:38:25 -04:00
Ehsan Akhgari
6905c5d4c5 Merge the last green changeset of mozilla-inbound to mozilla-central 2011-06-22 19:17:32 -04:00
Mats Palmgren
0efe54035d Bug 312156 - Make gfxFont::HasCharacter work for Pango fonts. r=roc 2011-06-22 20:11:47 +02:00
Robert O'Callahan
ae6647d4d2 Bug 637852. Part 26: Ensure that FrameMetrics coordinates are correctly stored as layer coordinates. r=tnikkel 2011-06-23 00:11:28 +12:00
Robert O'Callahan
70312fec05 Bug 637852. Part 25: Add nsSize ScaleToNearestPixels. r=tnikkel 2011-06-23 00:11:28 +12:00
Robert O'Callahan
779fca303f Bug 637852. Part 21: Skip invalidation if aRegionToInvalidateIsEmpty (note that ScaleRoundOut on an empty bounds rect can return a non-empty rect). r=tnikkel 2011-06-23 00:11:28 +12:00
Robert O'Callahan
0c48fabd49 Bug 637852. Part 18: Support computing the "residual transform" for a ThebesLayer --- the difference between its snapped transform and the ideal transform --- and use it to align ThebesLayer drawing for transforms that aren't changing. r=tnikkel
This fixes bug 637597 and probably other bugs.
2011-06-23 00:11:28 +12:00
Robert O'Callahan
9c74d507a9 Bug 637852. Part 11: Remove ExtendForScaling from nsRect and nsRegion. r=joe
This is good because the semantics of this method always sucked.
2011-06-23 00:11:28 +12:00
Robert O'Callahan
7f64e9bccf Bug 637852. Part 10: Remove mX/YResolution from ThebesLayer. r=joe
These are the last vestiges of Layer-based resolution API.
2011-06-23 00:11:28 +12:00
Robert O'Callahan
0cc6be313b Bug 637852. Part 9: Remove resolution support from BasicLayers, ShadowLayers and GL layers. r=mattwoodrow
This is not needed anymore.
2011-06-23 00:11:28 +12:00
Robert O'Callahan
64c5e295e0 Bug 637852. Part 8: Remove resolution support from D3D9 layers. r=mattwoodrow
Layer-system resolution support is no longer needed.
2011-06-23 00:11:27 +12:00
Robert O'Callahan
0041df680e Bug 637852. Part 7: Remove resolution support from D3D10 layers. r=mattwoodrow
Layer-system resolution support is no longer needed.
2011-06-23 00:11:27 +12:00
Robert O'Callahan
fcf2510a5d Bug 637852. Part 6: Implement resolution scaling in FrameLayerBuilder. r=tnikkel
FrameLayerBuilder::BuildContainerLayerFor takes responsibility for resolution scaling. The ContainerParameters
passed in are added to any transform requested. Then we extract the scale part of the transform, round the scale
up to the nearest power of two if the transform may be actively animated (so we don't have to redraw layer contents
constantly), pass that scale down to be applied by each child and set the residual transform on the ContainerLayer.

For child layers built via BuildLayer, we just pass the requested scale factor in via the ContainerParameters.
If the returned layer is a ContainerLayer then BuildLayer is guaranteed to have already done necessary scaling.
If the returned layer is not a ContainerLayer then we apply the scale ourselves by adding the scale to the
child layer's transform.

For child ThebesLayers containing non-layer display items, we scale the drawing of those display items so that
the child ThebesLayers are simply larger or smaller (larger or smaller visible regions).

We have to scale all visible rects, clip rects etc that are in the coordinates of ThebesLayers or the parent
ContainerLayer. To keep things simple we do this whenever we convert from appunits to integer layer coordinates.

When a ThebesLayer's resolution changes we need to rerender the whole thing.

nsDisplayList::PaintForFrame needs to respect the presshell's resolution setting. We do that by building a layer tree
with a ContainerParameters requesting a scale up by the presshell resolution; once that layer tree is built, we
adjust the root layer transform to scale back down by the resolution.
2011-06-23 00:11:27 +12:00
Robert O'Callahan
3cbadba941 Bug 637852. Part 4: Add nsRegion::ScaleInverseRoundOut and nsRegion::ScaleToOutsidePixels APIs. r=joe 2011-06-23 00:11:27 +12:00
Robert O'Callahan
c58a20de4e Bug 637852. Part 3: Add nsPoint::ScaleToNearestPixels, nsRect::ScaleToNearestPixels, nsRect::ScaleToInsidePixels and nsRect::ScaleToOutsidePixels APIs. r=joe 2011-06-23 00:11:27 +12:00
Robert O'Callahan
06e6b72a58 Bug 637852. Part 2: Add BaseRect::ScaleInverseRoundOut API. r=joe 2011-06-23 00:11:27 +12:00
Robert O'Callahan
2685eb6583 Bug 637852. Part 1: Don't snap BasicThebesLayer effective transforms when we're not retaining layers. r=tnikkel
The ThebesLayer contents are going to be drawn through directly without retaining, so there's no point in snapping.
2011-06-23 00:11:27 +12:00
Ehsan Akhgari
006b4e90d7 Merge the last green changeset of mozilla-inbound to mozilla-central 2011-06-22 15:50:44 -04:00
Jonathan Kew
8cbce74327 bug 476927 - add padding to text bounds on OS X to allow for possible antialiasing pixels. r=roc 2011-06-22 09:49:57 +01:00
Jonathan Kew
f3ed02ab79 bug 475968 - add padding pixels to loose ink bounds on Windows because of ClearType pixel bleed. r=roc 2011-06-22 09:49:53 +01:00
Steven Michaud
cf03bf9786 Bug 663688 - Temporarily default to turning off downloadable fonts on OS X Lion. r=jdaggett,jfkthame 2011-06-20 10:42:39 -05:00
Benoit Girard
3eb91dc88f Bug 572571 - Abort Core Animation rendering for windows that are too large. r=josh 2010-08-01 19:15:25 -04:00
Mounir Lamouri
3be4c39ecb Merging mozilla-inbound with mozilla-central. 2011-06-18 18:29:10 +02:00
Jacek Caban
7144aad2b8 Bug 663784 - Don't use using statement before includes r=masayuki 2011-06-17 14:55:51 +02:00
Jonathan Kew
4e89d25c0d bug 647560 followup - put the color components in the right order. a=test-bustage 2011-06-17 09:14:09 +01:00
Robert O'Callahan
3c21113890 Bug 647560. Implement non-fallbacky behavior for _cairo_win32_surface_fill_rectangles on an ARGB surface, using StretchDIBits. r=jrmuizel 2011-06-17 15:36:37 +12:00
Ed Morley
c8157ac7e6 Bug 664311 - Remove WinCE code from gfx/; r=jmuizelaar 2011-06-18 11:04:30 +02:00
Benoit Jacob
4285792db3 Bug 659842 comment 86 - accidentally removed a glXDestroyContext call + fix a warning in opt build - r=trivial-fix 2011-06-17 21:42:31 -04:00
Benoit Jacob
8dbe82a76f Bug 659842 - [topcrash] release the GL context before calling glXDestroyContext - r=karlt
See the glXDestroyContext man page:

  If GLX rendering context ctx is not current to any thread,
  glXDestroyContext  destroys it immediately.  Otherwise, ctx is destroyed
  when it becomes not current to any thread.  In either case, the resource ID
  referenced by ctx is freed immediately.

In other words, if we want glXDestroyContext to have the well-defined semantics
of destroying the context before future X commands take effect, we must first
release the GL context before calling it. We were failing to do that, but we
were destroying the drawable immediately after that call, and as a result, the
context was outliving its underlying drawable. This eventually resulted in
X_GLXMakeCurrent: GLXBadContextTag X errors on subsequent glXMakeCurrent calls.
2011-06-17 11:49:27 -04:00
Oleg Romashin
dea57d8792 Bug 660565 - HTML5 HW accelerated video is slow r=roc
--HG--
extra : rebase_source : 5a46d17c72caf5ec4afd3f59093be803008c61ec
2011-06-16 12:51:05 +02:00
Jonathan Kew
f9cb8da613 bug 467669 - pt 6 - provide the real font name rather than our internal identifier. r=roc 2011-06-16 07:31:37 +01:00
Jonathan Kew
a7411a0c9d bug 467669 - pt 5 - expose WOFF metadata (if present) for downloaded fonts. r=roc 2011-06-16 07:31:37 +01:00
Jonathan Kew
a8e92df002 bug 467669 - pt 4.1 - fix Mac font backend to mark local user fonts properly. r=roc 2011-06-16 07:31:37 +01:00
Jonathan Kew
b0ae7172d2 bug 467669 - pt 4 - expose additional attributes for downloaded fonts. r=roc 2011-06-16 07:31:37 +01:00
Jonathan Kew
0bc82a4ba2 bug 467669 - pt 3 - track which stage of font matching led to selection of a particular face. r=roc 2011-06-16 07:31:37 +01:00
Jonathan Kew
7292ce81d9 bug 660088 - [OTS] parse and serialize the 'name' table instead of discarding it and using fake names. r=jdaggett 2011-06-16 07:31:36 +01:00
Ehsan Akhgari
13d84f740f Backout bug 467669 and bug 660088 2011-06-15 16:52:48 -04:00
Jonathan Kew
84a84cc118 bug 660088 - [OTS] parse and serialize the 'name' table instead of discarding it and using fake names. r=jdaggett
--HG--
extra : rebase_source : 3f3672c4cac5d1dfe7911c0f603032c33c205b42
2011-06-15 20:17:54 +01:00
Jonathan Kew
be3ae9b1a0 bug 467669 - pt 6 - provide the real font name rather than our internal identifier. r=roc
--HG--
extra : rebase_source : d548ab2be329058bde101b142607abf14dce7191
2011-06-15 20:17:54 +01:00
Jonathan Kew
ba1202c246 bug 467669 - pt 5 - expose WOFF metadata (if present) for downloaded fonts. r=roc
--HG--
extra : rebase_source : 91e7f231b281e1949997996d7308aceb4935247b
2011-06-15 20:17:52 +01:00
Jonathan Kew
0696341392 bug 467669 - pt 4.1 - fix Mac font backend to mark local user fonts properly. r=roc
--HG--
extra : rebase_source : 9ef420cb21d14276e766e1acea5d93364d48b87f
2011-06-15 20:17:52 +01:00
Jonathan Kew
d5411cefc7 bug 467669 - pt 4 - expose additional attributes for downloaded fonts. r=roc
--HG--
extra : rebase_source : f3d41348ab01a21ac6b6a1713b1e5e7274cf7fbf
2011-06-15 20:17:52 +01:00
Jonathan Kew
eacb2d87b0 bug 467669 - pt 3 - track which stage of font matching led to selection of a particular face. r=roc
--HG--
extra : rebase_source : 89e65a1d612dcee7872a18a5e4bb9b3591c3a63d
2011-06-15 20:17:51 +01:00
Jacek Caban
68973a00a6 Bug 663784 - gfxWindowsPlatform.cpp doesn't compile without D2D r=masayuki 2011-06-15 12:22:57 +02:00
Neil Rashbrook
747f874cd4 Bug 660525 Remove useless uses of PromiseFlatString (prev cset lacked the code changes) r=joedrew! 2011-06-13 19:02:35 -07:00
Ted Mielczarek
a88f0715f0 merge m-c and b-s 2011-06-13 09:09:43 -04:00
Ed Morley
223c46b36b Bug 659621 - Remove EXTRA_DSO_LIBS, EXTRA_DSO_LDOPTS, OS_LIBS from makefiles containing LIBXUL_LIBRARY = 1, now that libxul is always built; r=ted 2011-06-12 03:49:00 -04:00
Makoto Kato
f73a47bd47 Bug 662726 - Remove unused ANGLE source. r=bjacob 2011-06-13 10:32:34 +09:00
Masayuki Nakano
e06d6eb819 Bug 663036 part.3 gfx should use mozilla::Preferences r=roc+joe 2011-06-12 11:30:16 +09:00
Joe Drew
638fc56959 Bug 660448 - look up FT_Library_SetLcdFilter via dlsym at runtime to fix terrible subpixel rendering on up-to-date Linux systems. r=karlt,bjacob
This will need to be reverted once our build systems are upgraded to a newer
version of FreeType. In the long run, we need to increase our runtime
dependency to this newer version.
2011-06-10 21:06:23 -04:00
Ehsan Akhgari
0bcdd4209a Merge mozilla-central and mozilla-inbound 2011-06-10 16:07:54 -04:00
Benoit Jacob
66919c207e Bug 663162 - Update ANGLE to r686 - r=joedrew
Just an ANGLE update, plus updating the list of failed tests on WinXP, also now properly reporting on unexpeced success (using todo(true) instead of ok(false))
2011-06-10 14:59:08 -04:00
Matheus Kerschbaum
5a7b295546 Bug 614721 - Remove some DirectDraw left overs. r=joedrew,jrmuizel 2011-06-10 18:27:01 +02:00
Mounir Lamouri
6895a96f41 Merginig mozilla-inbound with mozilla-central. 2011-06-10 09:58:03 +02:00
Oleg Romashin
dc9d518633 Bug 659832 - Make WebGL working on Maemo r=joe 2011-06-09 21:18:43 -04:00
Oleg Romashin
bcfe656b06 Bug 612335 - Render remote canvas directly into shared surface r=jones.chris.g 2011-06-09 21:17:02 -04:00
Bas Schouten
9c51d7683c Bug 655836: Flush surface A when B changes and A has a pending drawing command depending on B. r=jrmuizel 2011-06-09 17:28:12 -04:00
Jonathan Kew
4ce8038dca Bug 661471. Part 7: Only force GDI_CLASSIC rendering for specified fonts if a rendering mode has not been explicitly chosen in prefs. r=roc 2011-06-09 08:17:20 +01:00
Jonathan Kew
37cc5bd232 Bug 661471. Part 6.3: Only force DW to use specific ClearType modes if ClearType is actually enabled. r=roc 2011-06-09 08:13:13 +01:00
Robert O'Callahan
d7aa0ae8f6 Bug 661471. Part 6.1: Expose cairo_win32_get_system_text_quality. r=jfkthame 2011-06-09 08:13:02 +01:00
Oleg Romashin
9ef30f9708 Bug 594418 - GLDefs.h GLsizeiptr, GLintptr gl types definition conflicts with khronos gl types r=bjacob 2011-06-07 11:42:22 -07:00
Nicholas Nethercote
75c9bc6319 Bug 658814 - move gfx/surface/* reporters out of the "explicit" group to avoid double-counting of some meomry bytes and subsequent negative values in about:memory. r=jmuizelaar. 2011-06-07 12:17:01 +10:00
Nicholas Nethercote
3f2c2d551f Bug 656773 - Separate the process and the path in nsIMemoryReporter so that about:memory works in private browsing mode. r=sdwilsh, sr=roc. 2011-06-06 11:22:45 +10:00
Mounir Lamouri
af81ce3c72 Merging cedar with mozilla-central. 2011-06-03 12:06:08 +02:00
Robert O'Callahan
4bb2d42df6 Bug 661471. Part 3: Apply 'GDI Classic' prefs to @font-face local(). r=jdaggett,jfkthame 2011-06-03 16:31:08 +12:00
Robert O'Callahan
72424d8066 Bug 661471. Part 2: Add a pref to limit the forcing of 'GDI Classic' to a maximum font size. r=jdaggett,jfkthame 2011-06-03 16:31:08 +12:00
Robert O'Callahan
0e9af9395b Bug 661471. Part 1: Create preference to force particular font families to use 'GDI Classic' rendering with DirectWrite. r=jdaggett,jfkthame 2011-06-03 16:31:07 +12:00
Matheus Kerschbaum
7406ce377f Bug 660762 - Remove --disable-mathml support. r=roc 2011-06-02 13:11:33 +02:00
Kyle Huey
39d58838ba Fix a spelling mistake on this CLOSED TREE 2011-05-31 09:14:54 -07:00
Mounir Lamouri
454f172816 Merging cedar with mozilla-central. 2011-05-31 12:17:48 +02:00
Makoto Kato
c3c6ebce4f Bug 660584 - nsILanguageAtomService.LookupLanguage should use nsACString instead of nsAString. r=smontagu 2011-05-31 14:09:05 +09:00
Karl Tomlinson
1b4841d995 mark new reftest as failing on Android b=660740 2011-05-31 16:30:00 +12:00
Ehsan Akhgari
a0939ce343 Bug 660676 - Remove the copy constructor for nsSize and nsIntSize; r=roc 2011-05-30 19:07:35 -04:00
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