Commit Graph

2152 Commits

Author SHA1 Message Date
Justin Lebar
e28ed030a2 Backing out bug 664659 (rev 7b49a2857e18) due to Mac memory regressions. 2011-07-19 19:25:19 -04:00
Justin Lebar
3e32b14471 Bug 664659 - Fix about:memory image reporters. r=joe,njn 2011-07-18 09:20:27 -04:00
Chris Jones
0c9abec3e2 Merge backout 2011-07-15 11:36:22 -07:00
Chris Jones
bd33e7e43e Back out bug 648484 2011-07-15 11:35:55 -07:00
Jonathan Kew
12a6085258 bug 670072 - round font sizes to integers in the GDI backend. r=jdaggett 2011-07-15 15:16:15 +01:00
Chris Jones
d2060002c1 Bug 648484, part 5: Create our D3D10 device so as to allow cross-process resource sharing. r=Bas 2011-07-13 22:43:43 -07:00
Matt Woodrow
d76b381d9f Bug 670106 - Check the surface type before attempting to create a GLXPixmap. r=joe 2011-07-15 08:45:33 +12:00
Rob Bradford
f27ff56d6f Bug 670645 - Lookup texture_from_pixmap symbols using glXGetProcAddress. r=mattwoodrow 2011-07-11 14:07:49 +01:00
Adrian Johnson
a8a9a3744c Bug 624699. Fix some landscape printing bugs. r=roc
Specifically:
1) Only rotate print output for PostScript, not PDF.
2) Rotate in the correct direction for PostScript.
3) Set the %%Orientation comment correctly.
2011-07-14 13:02:20 -04:00
Ehsan Akhgari
3e4044476c Merge the last green changeset on mozilla-inbound to mozilla-central 2011-07-13 11:40:03 -04:00
Jonathan Kew
9911ba235d bug 668758 - don't look up prefs font families in the user font set. r=jdaggett 2011-07-13 09:40:32 +01:00
Jonathan Kew
7945b12f01 Backed out changeset 51b49a7cf2e4 (bug 668758) because of android bustage 2011-07-13 10:50:37 +01:00
Jonathan Kew
2ef267be9d bug 668758 - don't look up prefs font families in the user font set. r=jdaggett 2011-07-13 09:40:32 +01:00
Benoit Girard
2ab0d12f09 Bug 663259 - Enable Mac Async plugin by default. r=cjones,mattwoodrow
--HG--
extra : rebase_source : 6d397273f10e659a08125b3861e1651a3994aaa0
2011-07-12 10:31:18 -04:00
Jonathan Kew
8d6d499d91 bug 494130 - log downloadable font errors to console. r=jdaggett 2011-07-12 12:24:36 +01:00
Daniel Holbert
6a8e68ad73 Bug 670025: Use more fine-grained checks to pick depth in GLContext::ResizeOffscreenFBO. r=vlad 2011-07-12 00:11:20 -07:00
Marco Bonardo
77013a6607 Merge mozilla-inbound and mozilla-central 2011-07-08 11:53:56 +02:00
Nicholas Nethercote
14e0e78adc Bug 653627 - Don't use char** in nsIMemoryReporter. r=khuey, sr=bz. 2011-07-08 12:45:16 +10:00
Benoit Jacob
225de6a36d Bug 665070 - part 1: implement GLContext::GetAndClearError - r=jrmuizel 2011-07-07 20:01:16 -04:00
Florian Haenel
a0b30fbce6 Bug 607687 - Fennec should take care about Texture MAX size HW limitation r=jmuizelaar 2011-07-06 11:00:47 -07:00
Matt Woodrow
e64b02f01a 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
Marco Bonardo
e1de548d00 Merge last green changeset from mozilla-central to mozilla-inbound 2011-07-01 23:56:44 +02:00
Jonathan Kew
53962f854b 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
ca191217c7 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
Steven Michaud
36d54eefdb Bug 659851 - Firefox and Lion disagree on GLintptr. f=bas.schouten r=bjacob 2011-06-30 14:06:25 -05:00
Benoit Girard
1e93785b55 Bug 663259 - Part 1: Mac Async rendering fixes. r=josh 2011-06-30 12:46:25 -04:00
Ryan VanderMeulen
7676326719 Bug 667663 - Silence MSVC warning by returning NULL if DWrite is disabled. r=bas 2011-06-30 14:35:46 +02:00
Chris Jones
d27b646301 Bug 662038, part 0: Add gfxContext::CurrentDash(). r=jrmuizel 2011-06-29 14:34:58 -07:00
Jonathan Kew
e9e59d071d 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
5daed65b45 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
Marco Bonardo
8117636862 Backout changeset dc809c612dee due to permaorange in mochitest-other 2011-06-28 11:03:13 +02:00
Bas Schouten
b6f5de9c7d Bug 667461: Cache ThebesSurface for Azure canvas to speed up frequent source usage of an Azure canvas. r=roc 2011-06-28 04:46:03 +02:00
Mounir Lamouri
00c9c62df5 Backout changeset 4e87265b9c11 (bug 663259) due to Talos regression. 2011-06-27 14:52:57 +02:00
Matt Woodrow
f47d6dca8b Back out bug 656185 due to windows compile failures 2011-06-27 15:21:22 +12:00
Matt Woodrow
6e295129f3 Bug 656185 - Part 2 - Handle odd crop offsets correctly with OpenGl. r=derf 2011-06-27 14:32:16 +12:00
Benoit Girard
e717beef93 Enabled Mac Async plugin by default + Fixes. b=663259 r=josh 2011-06-25 15:12:59 -04:00
Benoit Girard
c9729f2d7f Bug 577224 - Fix nsCARenderer warnings; r=smichaud 2011-06-24 10:49:42 -04:00
Ed Morley
3f49fdcb2a 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
5c01379b6a 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
208c771f07 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
189472e8c9 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
Ed Morley
8e9e496bf0 Bug 665622 - Fix unused variable warnings in GLContext.cpp & GLContextProviderEGL.cpp; r=joedrew 2011-06-23 19:01:17 -07:00
Daniel Holbert
b646a615bc 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
Ehsan Akhgari
752a7fe810 Merge the last green changeset of mozilla-inbound to mozilla-central 2011-06-22 19:17:32 -04:00
Mats Palmgren
5b08cd1f9d Bug 312156 - Make gfxFont::HasCharacter work for Pango fonts. r=roc 2011-06-22 20:11:47 +02:00
Robert O'Callahan
9ddbfbb285 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
Ehsan Akhgari
0f617c2905 Merge the last green changeset of mozilla-inbound to mozilla-central 2011-06-22 15:50:44 -04:00
Jonathan Kew
47ba59f255 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
fbae01af17 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
f495493687 Bug 663688 - Temporarily default to turning off downloadable fonts on OS X Lion. r=jdaggett,jfkthame 2011-06-20 10:42:39 -05:00