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
Marco Bonardo
d6c4314155
Merge last green changeset from mozilla-central to mozilla-inbound
2011-07-01 23:56:44 +02: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
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
Chris Jones
c4559259a5
Bug 662038, part 0: Add gfxContext::CurrentDash(). r=jrmuizel
2011-06-29 14:34:58 -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
Marco Bonardo
839edc92c7
Backout changeset dc809c612dee due to permaorange in mochitest-other
2011-06-28 11:03:13 +02:00
Bas Schouten
8ad5daf75b
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
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
8aba398b72
Bug 656185 - Part 2 - Handle odd crop offsets correctly with OpenGl. r=derf
2011-06-27 14:32:16 +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
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
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
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
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
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
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
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
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
Ehsan Akhgari
13d84f740f
Backout bug 467669 and bug 660088
2011-06-15 16:52:48 -04: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