Karl Tomlinson
8ca3b32d02
b=678561 fix strcmp logic error introduced in 032297452afd r=jfkthame
...
--HG--
extra : transplant_source : %CB%23%CC%E9%F9%84%F2%7B%02%E3%0D%2C%F3%7B%7D%EA%F3cY2
2011-08-26 10:57:51 +12:00
Matt Woodrow
fd0bfbd9fd
Bug 681858 - Improve performance of gfx3DMatrix multiplication by reverting to 2d operations where possible. r=derf
2011-08-27 12:07:05 +12:00
Matt Woodrow
f9d4b0bc4e
Bug 505115 - Part 15 - Add 4D Vectors, Quaternions and gfx3DMatrix functions. r=derf
2011-08-27 12:06:03 +12:00
Matt Woodrow
784208bb3e
Bug 675837 - Add 3D transforms support to BasicLayers. r=roc
2011-08-27 12:04:06 +12:00
Matt Woodrow
3df75d69f2
Bug 675837 - Add gfxContext::ClipContainsRect. r=roc
2011-08-27 12:03:04 +12:00
Oleg Romashin
44bfc89d91
Bug 682327 - ASSERTION: Failed to make GL context current; r=ajuma
2011-08-27 00:23:02 +01:00
Ed Morley
a31b5adc78
Merge last green changeset of m-c to m-i
2011-08-26 10:26:46 +01:00
Alfred Kayser ext:(%2C%20Ms2ger%20%3Cms2ger%40gmail.com%3E)
944c74ce98
Bug 537223 - Cleanup gfxColor.h; r=jrmuizel
2011-08-25 10:46:01 +02:00
Tatiana Meshkova
2ebf98b216
Bug 589982 - gfxQtPlatform::CreateFontGroup fails to build with --disable-pango; r=romaxa
2011-08-24 16:19:15 -07:00
Chris Lord
7ad668b25a
Bug 675908 - Fix TiledTextureImage updates. r=joe,romaxa
...
TiledTextureImage breaks BeginUpdate/EndUpdate in these cases:
- The update is encompassed by more than one tile
- The update is encompassed by a single tile that isn't the first tile
- The update is a non-rectangular region that covers more than one tile
Fixed by using signed instead of unsigned integers in tile loops, correcting
an incorrect device offset and correcting the region returned by BeginUpdate.
2011-08-24 20:21:53 +01:00
Oleg Romashin
7cb6cc6d06
Bug 677712 - Make Qt port support No X11 build; r=dougt,joe
...
--HG--
rename : dom/plugins/ipc/NPEventX11.h => dom/plugins/ipc/NPEventUnix.h
2011-08-24 17:15:58 +01:00
Chris Lord
9f3d985c52
Fix drawing of GL Thebes layers with rotation when using tiled textures
...
Drawing of rotated buffers relies on texture-wrapping, but in the case of
tiled textures, this would cause each individual tile to wrap instead of
wrapping the compound texture.
Add a special case for tiled textures that manually does the wrapping.
2011-08-24 15:09:59 +01:00
Matt Woodrow
5188be7c9c
Bug 675474 - Use glXWaitX to synchronize X and OpenGL. r=bjacob
2011-08-24 13:56:30 +12:00
Matt Woodrow
dc9ab97c70
Bug 675532 - Add GLX debug mode. r=bjacob
2011-08-24 13:55:43 +12:00
Benoit Girard
7ea86c481d
Backout changeset 07d34812bdee, b879d413ce2d, 0c59eeb18700 due to android opengl regression on chrome pages; r=backout
2011-08-23 17:12:15 -04:00
Ali Juma
defea5258d
Bug 677920 - Part 1: Add a ReleaseSurface method to GLContextEGL. r=matt.woodrow
...
--HG--
extra : rebase_source : 1fd3d47e3046ccfb5479e03d30811fc35a18665b
2011-08-23 16:48:27 -04:00
Chris Lord
e1a5b73680
Bug 683514 - Add support for the GL_EXT_unpack_subimage extension. r=joe
...
A GLES 2.0 extension exists that allows us to use GL_UNPACK_ROW_LENGTH, amongst
other variables. This really helps us when uploading sub-regions of a buffer
that don't span the entire width of that buffer (for example, when scrolling
horizontally).
This extension is available on Android tablets, and possibly other Tegra 2
devices, so is very much worth taking advantage of.
Details:
http://www.khronos.org/registry/gles/extensions/EXT/GL_EXT_unpack_subimage.txt
2011-08-31 18:25:25 +01:00
Justin Wood
3ef675a7ec
Backout Bug 594876, Bug 675474, and Bug 675532, to fix OSX64 Reftest orange, and Linux perf regression. rs+=edmorly
...
changeset 0a920411e64c, changeset 58147380793b, and changeset 96e052b3e845
2011-08-20 15:07:06 -04:00
Matt Woodrow
2db91dc2ea
Bug 675474 - Draw all ThebesLayer content before compositing and synchronize with glXWaitX on GLX. r=bjacob,roc
2011-08-20 14:04:24 +12:00
Matt Woodrow
9890e1fe33
Bug 675532 - Add GLX debugging mode. r=bjacob
2011-08-20 14:04:24 +12:00
Chris Lord
0aedc7dacb
Bug 611315 - Fix drawing of tiled GL Thebes layers with rotation. r=mattwoodrow
...
Drawing of rotated buffers relies on texture-wrapping, but in the case of
tiled textures, this would cause each individual tile to wrap instead of
wrapping the compound texture.
Add a special case for tiled textures that manually does the wrapping.
2011-08-19 09:36:08 +01:00
Chris Lord
7f1c4e37b9
Bug 675908 - Fix TiledTextureImage updates. r=joe,romaxa
...
TiledTextureImage breaks BeginUpdate/EndUpdate in these cases:
- The update is encompassed by more than one tile
- The update is encompassed by a single tile that isn't the first tile
- The update is a non-rectangular region that covers more than one tile
Fixed by using signed instead of unsigned integers in tile loops, correcting
an incorrect device offset and correcting the region returned by BeginUpdate.
2011-08-19 09:36:04 +01:00
Daniel Holbert
03ca49f291
merge m-c to m-i
2011-08-15 21:12:06 -07:00
Daniel Holbert
21539bdc2a
Bug 679091: Remove unused variable |size| from gfxASurface::FastMovePixels(). r=cjones
2011-08-15 17:15:55 -07:00
Jonathan Kew
6ac2cac59a
bug 678181 - backout changeset c433a1d53dd5 (bug 668813 pt 1) on suspicion of causing crashiness. r=backout
2011-08-15 18:32:19 +01:00
Ms2ger
66ab4757eb
Merge m-c to m-i
2011-08-13 14:47:03 +02:00
Jonathan Kew
ef8cece286
bug 678181 - back out second part of bug 668813 (changeset 431a8297db1f) on suspicion of causing crashiness. r=backout
2011-08-13 13:34:56 +01:00
Matt Brubeck
f2cba5adcb
Merge the last green changeset from mozilla-inbound to mozilla-central
2011-08-12 06:41:55 -07:00
Rafael Ávila de Espíndola
92df261412
Bug 677648 - Change the type of the 'advance' variable in gfxTextRun::AdjustAdvancesForSyntheticBold, to allow using it to initialize the mAdvance field of DetailedGlyph using clang in c++0x mode; r=roc
2011-08-11 15:40:59 +02:00
Rafael Ávila de Espíndola
4480ce9030
Bug 678022: Fix build with clang and c++0x. In c++0x one cannot use -1 in a position in an initializer list that is unsigned. Use UINT_MAX instead. r=roc
2011-08-10 16:09:22 -04:00
Benoit Jacob
b097dfda2f
Bug 669013 - Despite supporting OES_texture_float, getSupportedExtensions still returns no extensions - r=joe
2011-08-15 15:53:02 -04:00
Benoit Girard
d3e424a1a7
Bug 677699 - TiledTextureImage::GetTileRect() computes the wrong offset; r=heeen
...
--HG--
extra : rebase_source : 01fb1f2f4044332f2d15fc197a573c40b59f2e10
2011-08-09 14:41:27 -07:00
Chris Jones
453f918565
Bug 648484, part 5: Create our D3D10 device so as to allow cross-process resource sharing. r=Bas
2011-08-09 12:38:26 -07:00
Jonathan Kew
3468d6f6ed
bug 668813 pt 2 - maintain a character coverage map for gfxFontFamily. r=jdaggett
2011-08-09 09:06:01 +01:00
Jonathan Kew
cf6ef49886
bug 668813 pt 1 - check character coverage of other styles in the selected font family before falling back to other families. r=jdaggett
2011-08-09 09:00:52 +01:00
Atul Aggarwal
622e043b51
Bug 678785 - resource leak (not closed directory) in gfx/thebes/gfxFT2FontList.cpp. r=jdaggett
2011-09-02 02:22:28 +05:30
Benoit Girard
4c0174ebcb
Bug 683514 - [backout] Add support for the GL_EXT_unpack_subimage extension. r=backout;
...
--HG--
extra : rebase_source : 23710be7f1e2376eb21fb5f6f208ef167f77ef1e
2011-09-07 17:33:56 -04:00
Benoit Girard
ccdacc69a0
Bug 681333 - Check MakeCurrent return code on init; r=jmuizelaar
2011-08-31 07:27:05 -07:00
Matt Woodrow
ca6f9b4c50
No Bug - Fix Maemo/Qt bustage by only referencing GLXPixmap on GTK2. r=roc
2011-08-05 15:10:47 +12:00
Matt Woodrow
6b3e01d5ec
Bug 655017 - Let gfxXlibSurface track GLXPixmaps and use this for CanvasLayerOGL. r=karlt, roc
2011-08-05 13:13:25 +12:00
Jim Chen
7cbd23a51a
Bug 674806 - a. Include cast in compound literal expression. r=blassey
2011-08-04 15:01:47 -07:00
Justin Lebar
51d9635f4a
Bug 664659 - Fix about:memory image reporters. r=joe
...
--HG--
extra : rebase_source : 489def10afa7f9a33e988d9fc78acdb50e450817
2011-07-18 09:20:27 -04:00
Robert Sesek
6a70e0ff21
Bug 448168 - Apply |s/entires/entries/g|; r=roc
2011-08-04 09:04:29 +02:00
Ali Juma
6224d810fd
Bug 675210 - Postpone texture creation on Android to prevent internal format errors. r=mwoodrow
2011-08-03 23:18:31 -04:00
Matt Woodrow
62d1425e0b
Bug 505115 - Part 11b - Layout changes to use a z component for -moz-transform-origin. r=roc
2011-08-03 15:04:23 +12:00
Matt Woodrow
fe4345bd93
Bug 505115 - Part 10 - Implement the backface-visibility CSS property. r=dbaron
2011-08-03 15:04:22 +12:00
Matt Woodrow
ed6a68e2ae
Bug 505115 - Part 8b - Add 3D Point support, and ray tracing to gfx3DMatrix. r=bjacob, sr=roc
2011-08-03 15:04:20 +12:00
Matt Woodrow
9486dc0d39
Bug 505115 - Part 8a - Add BasePoint3D and gfxPoint3D. r=roc
2011-08-03 15:04:20 +12:00
Chris Lord
0d59203155
Bug 669851 - Use bilinear image scaling on all ARM devices, even without NEON [r=mbrubeck,jmuizelaar]
2011-07-07 03:08:00 -07:00
Marco Bonardo
99ffcc6359
Backout changeset 984e656becec (Bug 664659) due to regressions in Tp5 XRES and RSS.
2011-08-01 10:20:18 +02:00
Brad Lassey
b355e967d6
bug 636042 - All fonts are serif, follow up to fix build warning r=jdaggett
2011-07-29 21:44:32 -04:00
Walter Meinl
1a962a5ab4
Bug672951 [OS/2] follow-up for bug668758 r=dragtext
2011-07-31 14:05:14 -07:00
Walter Meinl
28228f2ee2
Bug672959 [OS/2] follow-up to bug467669 r=dragtext
2011-07-31 14:00:13 -07:00
Justin Lebar
816e51259b
Bug 664659 - Fix about:memory image reporters. r=joe
2011-07-18 09:20:27 -04:00
Jeffrey Gilbert
a50f06d79d
Bug 674731 - WebGL/ANGLE interop with D3D layers requests incorrect extension - r=bjacob
2011-07-28 16:37:58 -04:00
Brad Lassey
fabf4f3f9a
bug 636042 - All fonts are serif, give preference to stock android fonts r=jdaggett
2011-07-28 01:28:43 -04:00
Benoit Girard
378a10a454
Bug 674230 - Rename qcms pref; r=jmuizelaar
2011-07-27 16:09:27 -04:00
Joe Drew
769a87995c
Bug 660090 - EGL: Track creation/allocation/valid status of textures; r=florian.haenel,romaxa
2011-07-26 13:52:03 -07:00
Joe Drew
c72fce6b51
Bug 660090 - EGL: Allocate Texture in Constructor; r=florian.haenel,romaxa
2011-07-26 13:51:56 -07:00
Benoit Girard
fa00069d9c
Bug 674230 - Add 'Add gfx.color_management.force_v4' pref; r=jmuizelaar
2011-07-27 13:56:22 -04:00
Scott Ruff
a1835137c8
Bug 649525 - WebGL layer compositing through the BasicCanvasLayer is very slow (desktop version). r=jmuizelaar
2011-07-27 13:00:17 +02:00
Michael Wu
6a28121ce1
Bug 671417 - Incorrect use of PRBool when other types are more appropriate or vice versa, r=bz,ehsan,dwitte,joe,vlad,luke,mak,roc
2011-07-26 23:43:37 -07:00
Michael Wu
3d255259df
Bug 668133 - Add telemetry probes for font enumeration, r=jtd
2011-07-26 23:42:53 -07:00
Paul ADENOT
a09cf85d8c
Bug 634997 - no synthetic bolding on Android. r=jdaggett
2011-07-26 10:04:55 -04:00
Jonathan Kew
f6edd66077
bug 671385 - restore the recursive application of ForEachFontInternal to font names from preferences, to avoid breaking Fontconfig generics. r=jdaggett
2011-07-26 10:50:14 +01:00
Jonathan Kew
15cc1d8920
bug 672955 - prefer harfbuzz to core text backend for Thai OT fonts on OS X. r=jdaggett
2011-07-26 10:47:36 +01:00
Josh Matthews
67d4a7782c
Bug 671960 - Prevent calling cairo functions on invalid surfaces through gfxASurface. r=joe,dougt,jmuizelaar
2011-07-21 20:41:39 -07:00
Matt Woodrow
ba6834dec3
Bug 670573 - Add glTex(Sub)Image2D wrappers that correctly handle stride and alignment. r=derf
2011-07-25 19:32:56 +12:00
Matt Woodrow
071b50617b
Backed out changeset 39fef2383893
2011-07-25 13:18:23 +12:00
Matt Woodrow
0b746c54ed
Bug 670573 - Add glTex(Sub)Image2D wrappers that correctly handle stride and alignment. r=derf
2011-07-25 12:50:00 +12:00
Matt Woodrow
0be3a56574
Bug 505115 - Part 4 - Add a lot of new functionality to gfx3DMatrix. r=jrmuizel
2011-07-23 10:28:33 +12:00
Matt Woodrow
f00688318f
Bug 505115 - Part 3 - Convert nsStyleTransformMatrix to be backed by a 4x4 matrix. r=dbaron
2011-07-23 10:28:07 +12:00
Justin Lebar
6132ee5300
Backing out bug 664659 (rev 7b49a2857e18) due to Mac memory regressions.
2011-07-19 19:25:19 -04:00
Justin Lebar
ecdd58c973
Bug 664659 - Fix about:memory image reporters. r=joe,njn
2011-07-18 09:20:27 -04:00
Chris Jones
d8c3256765
Merge backout
2011-07-15 11:36:22 -07:00
Chris Jones
24f027292c
Back out bug 648484
2011-07-15 11:35:55 -07:00
Jonathan Kew
4a85d71c3c
bug 670072 - round font sizes to integers in the GDI backend. r=jdaggett
2011-07-15 15:16:15 +01:00
Chris Jones
8a96cd22fa
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
b154d14e64
Bug 670106 - Check the surface type before attempting to create a GLXPixmap. r=joe
2011-07-15 08:45:33 +12:00
Rob Bradford
a3a670fa80
Bug 670645 - Lookup texture_from_pixmap symbols using glXGetProcAddress. r=mattwoodrow
2011-07-11 14:07:49 +01:00
Adrian Johnson
ca5502b6f3
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
096131f2a7
Merge the last green changeset on mozilla-inbound to mozilla-central
2011-07-13 11:40:03 -04:00
Jonathan Kew
4ddf26ea1f
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
c7c5b7169b
Backed out changeset 51b49a7cf2e4 (bug 668758) because of android bustage
2011-07-13 10:50:37 +01:00
Jonathan Kew
e163f1538f
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
952c2f25af
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
275db5cd96
bug 494130 - log downloadable font errors to console. r=jdaggett
2011-07-12 12:24:36 +01:00
Daniel Holbert
7024f8afe3
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
94da8809f7
Merge mozilla-inbound and mozilla-central
2011-07-08 11:53:56 +02:00
Nicholas Nethercote
7b61ea2b0e
Bug 653627 - Don't use char** in nsIMemoryReporter. r=khuey, sr=bz.
2011-07-08 12:45:16 +10:00
Benoit Jacob
eb0e51fa33
Bug 665070 - part 1: implement GLContext::GetAndClearError - r=jrmuizel
2011-07-07 20:01:16 -04:00
Florian Haenel
32ba480e5b
Bug 607687 - Fennec should take care about Texture MAX size HW limitation r=jmuizelaar
2011-07-06 11:00:47 -07: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
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
Mike Hommey
60b73b4219
Bug 676252 part 1 - Don't use $(OBJ_SUFFIX) before including config.mk. r=ted
2011-08-29 07:34:02 +02:00
Matt Brubeck
4e7caa789f
Merge mozilla-central and mozilla-inbound
2011-08-12 07:08:33 -07:00
Jeff Muizelaar
cb92f6ff06
Bug 660662. Eliminate NS_(ceil|floor). r=roc
...
These just called the system versions.
2011-05-30 15:08:55 -04: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
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
Masayuki Nakano
e06d6eb819
Bug 663036 part.3 gfx should use mozilla::Preferences r=roc+joe
2011-06-12 11:30:16 +09:00
Matheus Kerschbaum
5a7b295546
Bug 614721 - Remove some DirectDraw left overs. r=joedrew,jrmuizel
2011-06-10 18:27:01 +02:00
Oleg Romashin
dc9d518633
Bug 659832 - Make WebGL working on Maemo r=joe
2011-06-09 21:18:43 -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