Commit Graph

1599 Commits

Author SHA1 Message Date
Karl Tomlinson
46c8b1c97d b=597147 part 18: use GDK's default PangoFontMap when suitable r=jfkthame
--HG--
extra : rebase_source : 62f25ad9a6c0b926f8c357cae8b85adfb44f2988
2010-11-11 11:30:21 +13:00
Karl Tomlinson
0fdc24da53 b=597147 part 17: switch from pango_itemize to gfxScriptItemizer r=jfkthame
--HG--
extra : rebase_source : f0b1026020b765d1ffedd1f98d04373b8d8fbc9a
2010-11-11 11:25:59 +13:00
Karl Tomlinson
d8a4e4c012 b=597147 part 16: Add gfxFcFont::InitTextRun to shape with Pango r=jfkthame
--HG--
extra : rebase_source : bb1b064642eb58f86400b774bd8514f9baa956c4
2010-11-11 11:25:59 +13:00
Karl Tomlinson
f6dd30961a b=597147 part 15: set up PangoAnalysis for Pango shaping r=jfkthame
--HG--
extra : rebase_source : 89c6d15adbf7d82672939889aad64a80a36f945a
2010-11-11 11:25:59 +13:00
Karl Tomlinson
43e6d1b464 b=597147 part 14: Let gfxFcFont and gfxPangoFcFont share ownership of each other r=jfkthame
--HG--
extra : rebase_source : 13cc757a75d3a222634606e3f3220869da4bb12e
2010-11-11 11:25:59 +13:00
Karl Tomlinson
f82a1296af b=597147 part 13: Add a factory method to create a gfxPangoFcFont from gfxFcFont r=jfkthame
--HG--
extra : rebase_source : 460d3c74112cec7a42ca29c840dd9120457499e1
2010-11-11 11:25:59 +13:00
Karl Tomlinson
287a3dcee0 b=597147 part 12: un-inline some of gfxPangoFcFont r=jfkthame a=blocking
--HG--
extra : transplant_source : %B3%9C%C9%8E%91%D9%1D%F3%95%12%5CRg%40%7D%D3%E5%06L%0B
2010-11-11 09:04:19 +13:00
Karl Tomlinson
f3d9a0fdaa b=597147 part 11: Use C++ instance methods in gfxPangoFcFont r=jfkthame
--HG--
extra : transplant_source : %D9%15%DB%9C%EB%8CCi%03%C1%915-%9EOA3%B8%5C%7F
2010-11-11 08:46:55 +13:00
Karl Tomlinson
72fddc4960 b=597147 part 10: make font group language a real language for font shaping r=jfkthame
--HG--
extra : transplant_source : %BE%D9%0B%C0I%17%26%14%7E%ED9j%96%7BPE%8C%A3Q%09
2010-11-11 08:46:55 +13:00
Karl Tomlinson
36ae658015 b=597212 remove unnecessary extra nsILanguageAtomService::LookupLanguage r=jfkthame a=joe
--HG--
extra : transplant_source : p%23%5B%82.%9D70%F6%95%96%85%0C%EE%04%1C%BC9%27%D2
2010-11-11 08:45:00 +13:00
Karl Tomlinson
be1b3e0616 b=597212 hold a reference to language nsIAtom from gfxFontStyle r=jfkthame a=joe
--HG--
extra : transplant_source : %11e%10%CF%5E%90Ce%84S%ADj%16%EC%8FA%9A%0A%D5%29
2010-11-11 08:44:32 +13:00
Karl Tomlinson
17490b3745 b=597147 part 9: make language GetSampleLangForGroup parameter an atom r=jfkthame
--HG--
extra : transplant_source : %1C%3E%F6_%93%EFW%AEFx/%2B%8F%0F%AEO%9B%E5%CC%26
2010-11-08 11:44:51 +13:00
Karl Tomlinson
0553d786a8 b=597147 part 7: avoid some signed/unsigned comparisons r=jfkthame
--HG--
extra : transplant_source : %81b%3A%0F%D7Ul%FC%1F%B8/n%CD%25%BB%9E%D8%C2%F7%19
2010-11-08 11:44:51 +13:00
Karl Tomlinson
9c7c805dd5 b=597147 part 6: move Pango shaping out of FontGroup r=jfkthame
--HG--
extra : transplant_source : db%C4%E5%A8i%B7%8C-%16.P%F16%FDb%07P%A9%B6
2010-11-08 11:44:51 +13:00
Karl Tomlinson
41db32b4f0 b=597147 part 5: move glyph run routines from FontGroup to Font r=jfkthame
--HG--
extra : transplant_source : %3E%9A%B3%994%99%E9%08jQb%3D%08%B1y%C5%A36%C9%89
2010-11-08 11:44:51 +13:00
Karl Tomlinson
d3baabcd62 b=597147 part 4b: pass run script to FindFontForChar and add gfxPangoFontGroup implementation r=jfkthame
--HG--
extra : transplant_source : %1D%B2%B9O%9F%2C%05%81%B4%C8%BER%9B%5D%A0%3A-%AB%98%F5
2010-11-08 11:44:51 +13:00
Karl Tomlinson
decd4337ef b=597147 part 4a: move latin-for-common bug 590114 workaround from font group to shaper so as not to disrupt fontconfig font selection language r=jfkthame
--HG--
extra : transplant_source : %E4%29r%B2%84%3Bu%04C%07%EEm%AC%AD%7Ef%3DF%5Ee
2010-11-08 11:44:51 +13:00
Karl Tomlinson
cf72691334 b=597147 part 3: add gfxFcFont* gfxFcFontSet::GetFontAt(i) and use it for size-adjust measuring font r=jfkthame
--HG--
extra : transplant_source : a%F6%9D%D4%9E%89y%7C%A7%A5V%EF.%1F%EEs%B7k%BC7
2010-11-08 11:44:51 +13:00
Karl Tomlinson
bb3d9ff82b b=597147 part 2: rename gfxFcPangoFontSet to gfxFcFontSet, add GetBaseFont to return a gfxFcFont r=jfkthame
--HG--
extra : transplant_source : c%CD%A8%09%A0J%D6%AA%B6%F7lz%1Fj%A4%BC%9C-s%92
2010-11-08 11:44:50 +13:00
Karl Tomlinson
dd0403f1ff b=597147 part 1: remove unused WhichFontSupportsChar r=jfkthame
--HG--
extra : transplant_source : %8B%27%DA%C5R%B4%A0s%1Fb%DC%AF%98%3C%C0%9F%0A%02%E0%D3
2010-11-08 11:44:50 +13:00
L. David Baron
27a87fad7a Fix GLX version check so it won't break when the version hits 1.10. (Bug 605992) r=bjacob a2.0=joedrew 2010-11-10 07:49:52 -08:00
L. David Baron
a9ab99d440 Use extension alternatives for GLX 1.3 features when GLX 1.3 is not available but equivalent extensions are. (Bug 605992) r=bjacob a2.0=joedrew 2010-11-10 07:49:52 -08:00
L. David Baron
2917f2551e Don't repeatedly try to initialize GLXLibrary. (Bug 605992) r=bjacob a2.0=joedrew 2010-11-10 07:49:52 -08:00
L. David Baron
2c661ecb3f Add glXQueryExtensionsString to GLXLibrary. (Bug 605992) r=bjacob a2.0=joedrew 2010-11-10 07:49:52 -08:00
L. David Baron
0b1d00c690 Remove unused functions from GLXLibrary. (Bug 605992) r=bjacob a2.0=joedrew 2010-11-10 07:49:52 -08:00
L. David Baron
5ef5e39547 Remove non-working remnant of support for GLX versions less than 1.3. (Bug 605992) r=bjacob a2.0=joedrew 2010-11-10 07:49:52 -08:00
L. David Baron
4a14a0d6f2 Make glXDestroyContext function pointer consistent with name of function. (Bug 605992) r=bjacob a2.0=joedrew 2010-11-10 07:49:52 -08:00
L. David Baron
8fe93df76f Remove duplicate XFree call. (Bug 605992) r=vlad a2.0=joedrew 2010-11-10 07:49:52 -08:00
L. David Baron
ed2ce3bf01 Make 'bolder' and 'lighter' values of 'font-weight' be computed in the style system, per recent edits to CSS 2.1. (Bug 93725) r=jdaggett a2.0=joedrew 2010-11-10 07:49:52 -08:00
L. David Baron
850dc81ab2 Remove support (style system only) for 'wider' and 'narrower' values of 'font-stretch'. (Bug 604816) r=jdaggett a2.0=joedrew 2010-11-10 07:49:52 -08:00
Benjamin Smedberg
c1f3d96e91 Final merge of bug 596451. a=blocking2.0 - Asynchronous layer-based painting on Windows. Various pieces r=josh/romaxa/karlt/jmathies/roc.
This merge includes the fix for bug 583109 - Add visibility notifications for plugins, so that asynchronous painting can be suspended when plugins are not visible. This collaterally fixes bug 606285, hulu homepage doesn't paint with async layers.

This changeset only implements asynchronous painting for out-of-process plugins. In-process painting will be implemented as a followup. Note that it is still possible to disable asynchronous layers on Windows by setting the preference mozilla.plugins.use_layers to false, but my intention is to remove this preference and sync-painting codepaths soon in a followup.
2010-11-10 10:29:09 -05:00
Benjamin Smedberg
2aaeb2d246 Merge mozilla-central into the branch for asynchonous plugin painting (bug 596451), especially to pick up and test whether the fix for 602200 also fixes bug 607958. 2010-11-08 09:50:11 -05:00
Benjamin Smedberg
010fbdcb07 Merge mozilla-central into the branch for asynchronous plugin painting on Windows. 2010-11-05 15:56:28 -04:00
Chris Jones
06dffe7607 Bug 603885, part 3: Allow allocating gfxSharedImageSurface with unsafe Shmem. r=joe 2010-11-05 02:17:07 -05:00
Benjamin Smedberg
0a2062e721 Merge mozilla-central to the branch for bug 596451. 2010-10-28 10:05:20 -04:00
Oleg Romashin
04ff8b2cce Bug 606910 - RENDER_DIRECT mode for Qt widget (xshmPutImage). r=dougt a=blocking-fennec
--HG--
extra : rebase_source : 6ea776ea7e0b282d6b61d5e5fa570460e84f90be
2010-10-27 07:56:31 +03:00
Benjamin Smedberg
980b674f06 More build bustage from Bug 596451 part D. Explicitly initialize the const structures for GCC. 2010-10-25 16:25:01 -04:00
Benjamin Smedberg
ae4a853966 Bug 596451 part D - Hook up asynchronous plugin painting on Windows. This part allows opaque plugins to paint correctly. r=jmathies 2010-10-25 13:57:13 -04:00
Ehsan Akhgari
5726920ba8 Bug 603821 - debug non-libxul builds fail in WebGLContext.cpp, with "Undefined reference to `mozilla::gl::GLContext::sCurrentGLContext'" - r=khuey, a=bustage 2010-10-13 07:45:13 -04:00
Stuart Parmenter
f7550eb9c4 Bug 610554. Round advances rather than truncating them. r=karlt a=blocking-fennec 2010-11-09 12:18:17 -08:00
Benoit Jacob
cdfba8c17a fix GLContextSymbols::Zero(), r+a=bustage 2010-10-12 18:06:51 -04:00
Robert O'Callahan
260e34f8ed Bug 593839. Part 2: Remove DESTINED_FOR_SCREEN flag now that it's no longer used. r=vlad a=blocking-betaN 2010-10-25 16:39:27 +02:00
Benoit Jacob
88165b3ed8 Bug 597881 - OpenGL debug mode - r=vladimir 2010-10-12 17:01:59 -04:00
Mats Palmgren
5a51827cc7 Bug 603167 - Link layout fails with Undefined symbols mozilla::gl::GLContext::ReadPixelsIntoImageSurface; r=vladimir a=bustage 2010-10-11 14:06:08 -04:00
Mats Palmgren
a984b3be02 Fix bustage. a=backout 2010-10-11 00:48:33 +02:00
Mats Palmgren
999c4be001 Export GLContext symbols to unbreak --disable-libxul builds. b=603167 r=vlad a=bustage 2010-10-11 00:07:00 +02:00
Vladimir Vukicevic
5585ebca9f b=582053; integrate webgl confromance suite as mochitest, angle followup; r=bjacob 2010-09-13 08:53:52 -07:00
Bas Schouten
d3a7e174bd Bug 600909: Use OptimalFillOperator() for drawing some images. r=joedrew a=blocking-betaN 2010-10-08 18:02:58 +02:00
Julian Seward
2bdb2f941b Bug 604395 - OpenGL contexts use uninitialized format, often resulting in failure to create - r+sr=vladimir, a=bjacob:trust me, we want this in beta7.
Note: pushed by bjacob -- so complain to me if you're not happy about that.
2010-10-31 10:32:46 -04:00
Robert O'Callahan
3f29ca47ee Bug 595842. When GetHDCWithClip fails, fall through to the fallback rendering path. r=vlad,a=blocking-beta7 2010-10-29 16:08:07 +13:00
Tom Brinkman
fa1c5b8b9c Bug 565013: Implement printing to PDF for qt builds. r=romaxa r=dholbert a=blocking-fennec
--HG--
rename : widget/src/gtk2/nsDeviceContextSpecG.cpp => widget/src/qt/nsDeviceContextSpecQt.cpp
rename : widget/src/gtk2/nsDeviceContextSpecG.h => widget/src/qt/nsDeviceContextSpecQt.h
rename : widget/src/gtk2/nsPrintDialogGTK.cpp => widget/src/qt/nsPrintDialogQt.cpp
rename : widget/src/gtk2/nsPrintDialogGTK.h => widget/src/qt/nsPrintDialogQt.h
rename : widget/src/gtk2/nsPrintOptionsGTK.cpp => widget/src/qt/nsPrintOptionsQt.cpp
rename : widget/src/gtk2/nsPrintOptionsGTK.h => widget/src/qt/nsPrintOptionsQt.h
rename : widget/src/gtk2/nsPrintSettingsGTK.cpp => widget/src/qt/nsPrintSettingsQt.cpp
rename : widget/src/gtk2/nsPrintSettingsGTK.h => widget/src/qt/nsPrintSettingsQt.h
2010-10-07 12:19:33 -07:00
Daniel Holbert
ececcd1fd2 Bug 596784 followup: Remove unused variable 'dummy' in GLContext.h. r=vlad a=NPOTB 2010-10-07 12:19:33 -07:00
Jonathan Kew
3e72e86729 bug 527276 - part 5 - implement pref to control whether OTL tables are preserved in sanitized fonts. r=jdaggett a=blocking2.0 2010-10-07 08:59:19 +01:00
Jonathan Kew
a3d07f0790 bug 527276 - part 3 - apply OTS sanitizer to downloaded fonts. r=jdaggett a=blocking2.0 2010-10-07 08:59:19 +01:00
Jonathan Kew
0bed9a8bb2 bug 590114 - treat unresolved common script runs as Latin. r=jdaggett approval2.0=joe 2010-10-07 08:59:17 +01:00
Jonathan Kew
e1d3b86388 bug 580863 part 2 - scale glyph metrics correctly when initializing CFF fonts on OS X 10.6. r=jdaggett a=blocking-betaN 2010-10-07 08:59:16 +01:00
Jonathan Kew
00edb2283a bug 577707 - some Indic scripts rendered with incorrect font/glyphs on OS X. r=jdaggett a=blocking-betaN 2010-10-07 08:59:15 +01:00
Benoit Jacob
764d885972 Bug 600620 - 1/2 - Expose feature status block reason so that it can be used by about:support - r=vladimir, a=blocking2.0-b7 2010-10-06 21:40:08 -07:00
Benoit Jacob
20a45b4898 Backed out changeset 638ce363a9b1 2010-10-06 17:05:19 -04:00
Benoit Jacob
b5bc302c89 Bug 600620 - 1/2 - Expose feature status block reason so that it can be used by about:support - r=vladimir, a=blocking2.0-b7 2010-10-06 16:43:25 -04:00
Benoit Jacob
a671874c70 Bug 602289 - Add Vendor() function to GLContext - r=joe, a=blocking2.0-b7 2010-10-06 16:43:14 -04:00
Oleg Romashin
c58271c6e7 Bug 601451 - Allow compile qt port with system cairo which does not have QT_SURFACE compiled. r=joe a=npodb
--HG--
extra : rebase_source : a6bc7d01efb4a9d91418a33d43bbaf07139b4a18
2010-10-05 09:15:57 +03:00
Oleg Romashin
78afeaaec0 Bug 598970 - GL/EGL qt rendering is broken completely after landing 596784. r=vladimir a=blocking-fennec 2010-10-04 14:21:32 +03:00
Benoit Jacob
8d44a37a58 b=600927; don't print gl extensions in non-debug builds; r=vlad a=b 2010-10-01 21:00:36 -07:00
Bas Schouten
67888ccd42 Bug 546514 - Part 4: Build D3D10 layers. r=vlad 2010-10-01 00:53:51 +02:00
Bas Schouten
786128e3d2 Bug 546514 - Part 2: Add #defines for D3D10 layers. r=vlad 2010-10-01 00:53:47 +02:00
Bas Schouten
2b22fa73c9 Bug 597950 - Part 2: Expose API to create a D2D surface from a D3D10 Texture. r=vlad 2010-10-01 00:53:42 +02:00
Joe Drew
1a4c17d1cb Back out temporary initialization of OpenGL because we're turning it on by default. 2010-09-29 22:34:08 -04:00
Jeff Muizelaar
4c2820c868 Bug 600763. Force initialization of OpenGL on OS X. r,a=joe
This is expected to regress Ts but the idea is to separate
out the costs that we have little control of (like this one)
from the costs that we have more control of.
2010-09-29 22:30:48 -04:00
Joe Drew
80e6919bfc Back out bug 596303 for causing Tp regressions with OpenGL. a=backout 2010-09-29 14:36:20 -04:00
Benoit Jacob
868cedad20 Bug 592769 - EGL and WGL context providers crash on exit because they forget to delete the global context before the glue library dies - r=mattwoodrow, a=blocking-beta7 2010-09-27 16:20:11 -04:00
Benoit Jacob
500e111cce Bug 599466 - OpenGL function glGetError called on wrong GL context from GLDebugPrintError from ThebesLayerOGL::Destroy - r=vladimir, a=blocking-beta7 2010-09-27 16:20:07 -04:00
Chris Jones
8e028241fc Bug 595215: Check for a null FontEntry here. r=karlt a=blocking-oprah 2010-09-24 20:15:02 -05:00
Chris Jones
db41945436 Bug 597336, part 2: Create offscreen gfxImageSurfaces if UseClientSideRendering(). r=vlad 2010-09-23 20:00:06 -05:00
Chris Jones
ad9d76e650 Bug 597336, part 1: Add gfxPlatformGtk::UseClientSideRendering() to control whether to avoid X server compositing. sr=vlad 2010-09-23 20:00:06 -05:00
Oleg Romashin
e01fadb4cc Bug 598531 - pixman hitting slow path. disable scaling. r=roc a=blocking-fennec 2010-09-23 16:06:27 -07:00
Benoit Jacob
c0f4c629bb Bug 598732 - GLX initialization crash [@ mozilla::gl::GLContextGLX::Init ] - r=vladimir, a=blocking-2.0b7 2010-09-23 17:05:52 -04:00
Benoit Jacob
4486ada028 Bug 599101 - Fix EGL crash: mEGLLibrary was not loaded on non-Windows, depending on uninitialized value - r=vlad, a=blocking-fennec-2.0b1 2010-09-23 16:59:17 -04:00
Vladimir Vukicevic
0a2aa77b6f Bug 596784 - Implement faster scrolling for GL thebes layers. r=roc,mattwoodrow a=b 2010-09-21 15:41:24 -04:00
John Daggett
a4541c4944 bug 593296 - avoid potential read beyond end of kern-pair list. r=jfkthame a=blocking-beta7+ 2010-09-22 10:15:57 +01:00
Jeff Muizelaar
8107e95a3c Bug 596303 - Use transparent surfaces for our GL contexts so transparent windows work. r=mstange a=b 2010-09-21 12:30:19 -04:00
Joseph Yasi
2dd82f8e4d Bug 596200 - Ensure that MOZ_WIDGET_QT is defined before including headers that will break non qt builds. r+a=roc 2010-09-21 01:02:00 +02:00
Mounir Lamouri
7041d292a7 Backed out changeset f8854fb6b63f - Wrong patch attached to the bug. 2010-09-21 00:57:19 +02:00
Joseph Yasi
cf5be75b46 Bug 596200 - Ensure that MOZ_WIDGET_QT is defined before including headers that will break non qt builds. r+a=roc 2010-09-20 23:25:58 +02:00
Benoit Jacob
e4d04cf07d Bug 596544 - These WebGL samples are slow on Firefox, fast on Chrome - r=vladimir, a=joe 2010-09-20 13:19:30 -04:00
Robert O'Callahan
ed855da605 Fix shadowing warnings from bug 581222. r=dbaron a2.0=blocking2.0:beta5 2010-09-17 12:29:52 -07:00
Tom Brinkman
ceef26ba74 Bug 576437 - CreateOffscreenSurface should not silently translate ImageFormat24 into ImageFormat16_565. r=joe a=blocking2.0 2010-09-16 14:34:53 -07:00
Jonathan Kew
d2ab2a82f6 bug 593296 - correctly release kern table in HB shaper. r=jdaggett a=blocking2.0 2010-09-16 17:41:41 +01:00
Jonathan Kew
85dcd28188 bug 593564 - account for synthetic bold in glyph metrics when constructing textrun. r=jdaggett a=joe 2010-09-16 17:41:40 +01:00
Chris Jones
0a1ec83bc9 Merge m-c --> cedar 2010-09-15 18:28:06 -05:00
Bas Schouten
32d2b7094e Bug 596494 - Part 2: Refactor render mode functionality to allow UpdateRenderMode. r=jrmuizel 2010-09-15 22:16:09 +00:00
Chris Jones
2bb3bb3e9c Merge m-c --> cedar 2010-09-15 16:44:30 -05:00
Chris Jones
df01b80c7a Bug 570625, part 7: Add gfxXlibSurface::ReleasePixmap() to undo TakePixmap(). sr=roc 2010-09-14 00:23:08 -05:00
Chris Jones
b7034dad64 Bug 570625, part 6: Add gfxXlibSurface::XScreen(). sr=roc 2010-09-14 00:23:08 -05:00
Joe Drew
8ab2818e4f Bug 595055 - Use the correct context when deleting textures, so we don't accidentally unset some state like the viewport. r=vlad a=b 2010-09-09 23:09:39 -04:00
Vladimir Vukicevic
cfe8913fec b=594892; [gl] force a real call to MakeCurrent after a widget is resized; r*=joe/jeff
* * *
b=594892; merge fail
2010-09-09 16:40:29 -04:00
Vladimir Vukicevic
61fb3a126f b=594567; teach EGL backend about ANGLE for Layers; r=jrmuizel 2010-09-09 16:40:11 -04:00
Vladimir Vukicevic
0b88b52f6c b=594553; correctly create gl layer manager on android; r=jrmuizel 2010-09-08 18:19:11 -04:00
Vladimir Vukicevic
7414352ff2 b=593868; fix OpenGL layers on win32 with d2d content; r=jrmuizel 2010-09-07 12:26:43 -04:00
L. David Baron
b272e35a61 Change the blur radius for -moz-box-shadow and text-shadow to match what is specified in css3-background, and the blur radius for canvas to follow what is specified in HTML5. (Bug 590039) r=roc a2.0=blocking2.0:beta6
This fixes the multiplication by 1.5 in
gfxAlphaBoxBlur::CalculateBlurRadius (originally added in changeset
ce9f05b57b95 for bug 467518) to work correctly.  It was previously a
multiplication by 1 due to integer division.  CalculateBlurRadius
previously multiplied by 1.880; it now multiplies by 2.820.

This changes canvas shadow handling to multiply shadowBlur by 2 before
taking its square root, as described in the spec.  This means that
canvas shadow blurs 8px or smaller are 1.5 times larger than they were
previously (due to the CalculateBlurRadius change), and canvas shadow
blurs larger than 8px are 2.121 times larger than they were previously
(due to the CalculateBlurRadius change *and* the additional factor of
sqrt(2)).

This changes text-shadow and -moz-box-shadow handling to use
CalculateBlurRadius on half of the value given instead of passing the
value through directly.  This means that text-shadow and box-shadow
blurs are multiplied by 1.410 relative to their old sizes.  It also
means that we round rather than floor, so that the effect that used to
be drawn by a blur in the range 1px to 1.99px is now drawn by a blur
anywhere in the range 0.36px to 1.05px, the effect that used to be drawn
by a blur in the range 2px to 2.99px is now drawn by a blur anywhere in
the range 1.06px to 1.77px, what used to be a drawn by a blur in the
range 3px to 3.99px is now drawn by a blur anywhere in the range 1.78px
to 2.47px, etc.
2010-09-11 09:27:12 -07:00
Oleg Romashin
346c73181d Bug 556487 - Subimage API. r=roc a=blocking2.0 2010-09-15 09:02:42 -07:00
Benoit Jacob
32eac584aa Bug 595194 - CGL context creation crashes on Mac Tryserver - r=bas.schouten a=blocking2.0
--HG--
extra : rebase_source : b8e2bfde25a0acb33258e77ebd36959c91f73af8
2010-09-10 12:19:09 -04:00
KUROSAWA, Takeshi
abb6802ff0 Bug 422179 - Implement bilinear filtering of upscaled images for Linux; r=jmuizelaar a=blocking-final+ 2010-09-09 16:27:10 -04:00
Bas Schouten
351e721d3b Bug 594322: Do not assert using CAIRO_HAS_D2D_SURFACE when D2D surfaces are not available. r=jrmuizel a=bustage-fix 2010-09-09 09:50:18 +02:00
Oleg Romashin
8af3b31ddc Bug 556487 - XRenderFormat API for remote X-Surface handling. r=karlt,jmuizelaar a=blocking2.0 2010-09-08 08:55:14 -07:00
Oleg Romashin
d3b765aafa Bug 556487 - gfxASurface GetSize. r=joe a=blocking2.0
--HG--
extra : rebase_source : 3f587a6352af1c72f5dbf860380dc8a2ef42f72d
2010-09-07 17:36:57 -07:00
Jeff Muizelaar
09b3c4aab6 Bug 593268 - Part 2.5: Update gfxASurface::SurfaceTypes to be in sync with Cairo. r=Bas 2010-09-08 05:27:34 +02:00
Oleg Romashin
736c7d9124 Bug 578649 - ThebesLayerOGL using wrong shader program on QT GL build. r=vlad,a=blocking-fennec 2010-09-07 17:37:34 -07:00
Vladimir Vukicevic
38e200272a b=593558; make gl context creation quieter; r=matt.woodrow; a=b 2010-09-05 16:37:52 -04:00
Vladimir Vukicevic
74b5baf759 b=592106; correctly update GL context format; r=jrmuizel 2010-09-05 16:37:51 -04:00
Jonathan Kew
55a866274d bug 593155 - check table length before accessing cmap data. r=jdaggett approval2.0=roc 2010-09-03 11:45:53 +01:00
Matt Woodrow
11d93c27a5 Bug 592985 - Free global shared CGL context on shutdown r=vlad, a=blocking2.0 2010-09-03 15:51:15 +12:00
Robert O'Callahan
fa118e17df Bug 579276. Part 11: Move ClipToRegion to gfxUtils. r=vlad 2010-09-03 14:31:42 +12:00
Robert O'Callahan
ef2339dd29 Bug 579276. Part 6: Add gfxASurface::GetTextQualityInTransparentSurfaces API. r=jrmuizel,sr=vlad 2010-09-02 21:18:41 +12:00
Justin Lebar
3e7e1949d1 Bug 587853 - Use PR_ATOMIC_{INCREMENT,DECREMENT} macros for threadsafe addref / release. r+a2.0=bsmedberg 2010-08-17 10:25:41 -07:00
Vladimir Vukicevic
2933c77738 b=591486 followup for non-d2d-surface win32 builds; a=bbbreakage 2010-08-30 20:02:18 -04:00
Vladimir Vukicevic
c1e7b093a7 b=592105; [gl] clear new FBOs when resizing offscreen FBOs at correct time; r=bas a=b5 2010-08-30 19:56:42 -04:00
Vladimir Vukicevic
70490d6dea b=591486; implement gfx feature blocklist; r=jrmuizel; a=b5 2010-08-30 17:45:29 -04:00
Justin Wood
c764890912 Followup to Bug 591139 - Define safeMode outside the ifdef so it can be used properly. r+=Bas. a=BustageFix 2010-08-28 23:10:25 -04:00
Jeff Muizelaar
6df1ff332c Bug 586048. Annotate crashdumps with graphics info at startup. r=gavin,a=blocking
Previously GfxInfo wasn't started until it was used by about:support.
This makes gfxPlatform intialize it during gfxPlatform init.
2010-08-28 10:18:41 -04:00
Joe Drew
18bfa9d172 Bug 591139 - Disable hardware acceleration in safe mode. r=bas a=blocking2.0:beta5+ 2010-08-27 22:44:37 -04:00
Joe Drew
177c57fe4b Bug 590335 - Add a pref to unconditionally disable Direct2D. r=bas a=blocking2.0:beta5+ 2010-08-27 22:44:37 -04:00
Timothy Nikkel
78f46f0276 Bug 590403. If we are asked to create a similar surface and our underling surface isn't valid just return null. r=jmuizelaar 2010-08-27 18:15:08 -05:00
Jonathan Kew
a8bc9dd110 bug 569510 - check validity of mScaledFont before passing to cairo APIs. r=jdaggett a=blocking2.0 2010-08-27 14:16:07 +01:00
Justin Wood
9a1b8c7550 Fix thebes errors in non libXUL and when D3D is not enabled. r+=Bas over irc. a=Bustage Fix 2010-08-26 18:26:47 -04:00
Atul Apte
4a9f8dee1f Enable basic stereoscopic rendering support for D3D9 layers with 3D Vision. r=bas 2010-08-26 20:44:53 +00:00
Bobby Holley
9b62c35018 Bug 578357 - Use fallible allocation for image frames.r=joe,cjones;a=blocker 2010-08-23 15:42:51 -07:00
Jonathan Kew
308278b403 bug 588731 - ensure correct font is selected in the DC when getting glyph metrics. r=jdaggett a=blocking2.0 2010-08-23 11:32:45 +01:00
Robert O'Callahan
79b8d06302 Bug 581222. Extend gfxAlphaBlur to support "spread radii". r=vlad
--HG--
extra : rebase_source : e644ae08007e52c524c3237d336441f1413f846b
2010-08-23 21:30:07 +12:00
Robert O'Callahan
747fa70120 Bug 581222. Extend gfxQuartzNativeDrawing to support non-Quartz destination surfaces. r=vlad
--HG--
extra : rebase_source : 39ddae96ed373e29852ac6ec3bb8430e96514c9b
2010-08-23 21:30:07 +12:00
Ginn Chen
544532c6c0 Bug 587936 Fix a crash in gfxAlphaRecovery::RecoverAlphaSSE2 r=vladimir a=joedrew 2010-08-22 23:17:03 +08:00
Jacek Caban
4ec87049cd Bug 588401 - widget/src/windows compilation causes tons of warnings on mingw r=roc a=joe
--HG--
extra : rebase_source : 8843af3c2bee553f4ee491e12798a260463e82ac
2010-08-20 20:19:38 +02:00
Rich Walsh
420a678bbd Bug 557159 - [OS/2] Optimize Cairo/Thebes surfaces. Surface Part 2 - MozCairo and Thebes. r= Peter Weilbacher, a=NPOTB 2010-08-21 12:50:32 -07:00
Robert O'Callahan
e2e4b00b49 Bug 585817. Part 1: Create a single static 1x1 surface in gfxPlatform that can be used to create contexts for text measurement etc. r=vlad 2010-08-20 14:29:01 -05:00
Bas Schouten
4e42d7bf1a Bug 585817, part -1: Create and expose a scratch DC from gfxWindowsPlatform. r=roc 2010-08-19 20:26:00 -05:00
Jonathan Kew
5be531ab2e bug 594865 - fall back to GDI rendering on dwrite font list failure. r=bas a=blocking2.0 2010-11-08 11:02:27 +00:00
Simon Montagu
b82cf81784 Block some Mac charsets. Bug 601429, r=emk, sr=dveditz, a=blocker 2010-11-08 12:27:40 +02:00
Matt Woodrow
d94575c8d9 Bug 599507. Make gfx3DMatrix::operator* const. r=joe, a=blocker 2010-11-08 22:06:14 +13:00
Masayuki Nakano
1e86a8bd94 Bug 548964 [DW] bottom of spellchecker underline isn't painted in <input> element with some fonts r=jfkthame, a=joe 2010-11-08 15:39:10 +09:00
Matt Woodrow
0851dee289 b=595727 correct assertion test to accept negative device offsets r=karlt a=joe 2010-11-08 09:24:09 +13:00
Karl Tomlinson
16bfd546e6 b=595727 don't rely on cairo_clip_extents returning empty when the clip region is empty r=roc a=joe 2010-11-08 09:21:04 +13:00
Simon Montagu
f0a9415110 Backout changeset 97aca07b7f32 due to test failures, a=backout 2010-11-07 14:26:52 +02:00
Simon Montagu
b042b40b6a Block some Mac charsets. Bug 601429, r=emk, sr=dveditz, a=blocker 2010-11-07 01:39:02 -08:00
Masayuki Nakano
250a76676b Bug 548964 backing out due to reftest failure only on Win Opt (433700) a=orange 2010-11-06 22:18:31 +09:00
Masayuki Nakano
fc878384cc Bug 548964 [DW] bottom of spellchecker underline isn't painted in <input> element with some fonts r=jfkthame, a=joe 2010-11-06 14:08:35 +09:00
Benoit Jacob
ab9bf7d5a8 Bug 607774 - Implement the spec on Renderbuffers and Framebuffers - r=vladimir 2010-11-05 15:57:58 -04:00
Oleg Romashin
a87a1eec59 Bug 608497 - mSize not updated in XXXTextureImage::Resize() function. r=roc a=approval2.0 2010-11-05 21:49:20 +02:00
Chris Jones
2ae808118e Backed out changeset b3e968d831ec 2010-08-19 19:04:21 -05:00
Robert O'Callahan
b9271a11f6 Bug 585817. Part 1: Create a single static 1x1 surface in gfxPlatform that can be used to create contexts for text measurement etc. r=vlad 2010-08-19 13:49:35 -05:00
Stuart Parmenter
c357ba4a2e Bug 600103. Fix android text spacing issues by really truely turning hinting off for mobile. r=karlt a=blocking-fennecb2+ 2010-10-21 12:02:02 -07:00
Timothy Nikkel
5818a1f2f6 Bug 606121. Clip the cached surface in basic layers so we draw only what we need to. r=roc a=joe 2010-10-21 19:58:44 -05:00
Bas Schouten
e34319e8af Bug 605368: Fix shared builds by keeping cairo calls in GFX. r=roc a=joedrew 2010-10-21 22:41:06 +02:00
Rob Arnold
7c93e87d05 Bug 520943 - Windows 7 taskbar previews does not respect browser's zoom level r=roc r=dao a-2.0=gavin 2010-10-19 16:06:00 -07:00
Ben Turner
8a45d0d002 Bug 602733, r=vlad, a=sicking. 2010-10-15 12:32:51 -07:00
Markus Stange
e785f3e168 Bug 592118 - Don't stack-allocate gfxContexts that are passed to other functions. r=roc a=blocking2.0:final
--HG--
extra : rebase_source : efcf3b58c953ea8ec8cad45f4b0ffa0b898a2397
2010-10-15 12:20:22 +02:00
Stuart IDontCode Parmenter
12117b3c64 Bug 600102 - Add ability to build with --disable-pango. r=karlt a=blocking-fennec
--HG--
extra : rebase_source : 9b5da40d5733ee7adc27310de8b962543d7d3ce9
2010-10-13 15:03:19 -07:00
Benjamin Smedberg
3a5f09a601 Revert bug 595337 because of persistent leaks running mochitests, and bug 556487 because of in-process test failures (crashes) and a reftest failure. 2010-09-14 14:50:24 -07:00
Oleg Romashin
dcd9fb6f7a Bug 556487 - Subimage API. r=roc a=blocking2.0 2010-09-14 12:01:02 -07:00
Bas Schouten
690beb1d8a Bug 588568. Only check VRAM if we have a D2D device. r=joe,a=blocking 2010-08-19 21:35:08 +12:00
Robert O'Callahan
2ee9178a2e Bug 537890. Part 3: Remove gfxPlatform::GetDPI(). r=vlad 2010-08-13 21:58:01 +12:00
Bas Schouten
815503bb25 Bug 587936: Add SSE2 optimizations for alpha recovery. r=vlad a=crowder 2010-08-18 05:43:49 +02:00
Bas Schouten
a5fb731221 Bug 587856 - Part 2: Report D2D surface VRAM usage through memory reporter. r=jrmuizel 2010-08-18 05:43:49 +02:00
Bas Schouten
e43ef91c98 Enable D2D by default again. 2010-08-18 05:43:49 +02:00
Jonathan Kew
6b602b597d bug 580719 - pt3 - improve sanity-checking of 'head' table in downloaded fonts. r=jdaggett a=blocking2.0 2010-08-17 15:49:40 +01:00
Jeff Muizelaar
0ae39c92cf Disable D2D to fix browser_bug577990.js timeout 2010-08-16 09:35:40 -04:00
Bas Schouten
9b084a338f Re-enable Direct2D by default. a=joedrew 2010-08-16 09:15:03 +02:00
Bas Schouten
13d541c6b4 Fix line-endings in gfxWindowsPlatform. 2010-08-16 09:15:03 +02:00
Bas Schouten
23600d1535 Bug 587293: When D2D is preffed off, disable DWrite if it wasn't explicitly preffed on. r=joedrew 2010-08-16 09:15:03 +02:00
Jeff Muizelaar
024d8acf0d Bug 587395: Expose whether DWrite is enabled through nsIGfxInfo. r=joedrew 2010-08-16 09:15:03 +02:00
Julian Seward
7a97356e18 Bug 582668 - gfxAlphaBoxBlur::Paint appears to pass garbage down through Cairo. r=roc 2010-08-15 11:01:49 +02:00
Jacek Caban
8d16beb164 Bug 585295 - Broken GLContextProviderEGL.cpp compilation on mingw-w64 r=vladimir a=joe
--HG--
extra : rebase_source : 62a8074c8edfe982e6ddbbc6df6d57b41744aeb1
2010-08-14 16:41:51 +02:00
Jeff Muizelaar
3167f23bb8 Bug 573229. Disable D2D to fix all the orange it's causing.
There are a bunch of failing mochitests that I don't have an answer for,
so just disable D2D for now.
2010-08-14 08:43:27 -04:00
Bas Schouten
bd638f486d Bug 573229: Part 2 - Enable D2D by default on DX 10 hardware. r=jrmuizel 2010-08-14 08:34:55 +02:00
timeless@mozdev.org
819ac8227f Bug 585413 warning: comparison between signed and unsigned integer expressions in GLContext::ExtensionBitset<setlen>. r=vlad a=joe 2010-08-13 21:09:53 -07:00
Robert O'Callahan
f8dc984ede Backing out bug 584282 and bug 537890 2010-08-14 02:35:06 +12:00
Markus Stange
94f1a7ca57 Bug 572680 - Make image drawing use the new gfxDrawable interface. r=joe 2010-08-13 15:30:27 +02:00
Markus Stange
9a0597fca0 Bug 572680 - Create gfxDrawable interface and implementations for surfaces, patterns and drawing callbacks. r=joe 2010-08-13 15:30:14 +02:00
Markus Stange
ac97761cb7 Bug 572680 - Create gfxUtils::DrawPixelSnapped and make imgFrame use it. r=joe 2010-08-13 15:30:02 +02:00
Jonathan Kew
24d6cefcd4 bug 553963 - part 3 - don't reset glyph runs when falling back from uniscribe to GDI text shaping. r=jdaggett 2010-08-11 17:52:26 +01:00
Jonathan Kew
ab84e170d2 bug 553963 - part 2 - make gfxFont handle text-shaping failure more robustly. r=roc 2010-08-11 17:52:23 +01:00
Jonathan Kew
c8f4d990c1 bug 553963 - part 1 - fix handling of overlong text runs in the uniscribe shaper. r=jdaggett 2010-08-11 17:52:21 +01:00
Jonathan Kew
0edcbde657 merge backout of 153bd6dc88be (bug 553963 pt 3) a=backout 2010-08-11 19:09:17 +01:00
Jonathan Kew
b2e93e816f Backed out changeset 153bd6dc88be 2010-08-11 19:06:46 +01:00
Jonathan Kew
266fa0f9f5 merge backout of 444328d96da2 (bug 553963 pt 2) 2010-08-11 19:06:07 +01:00
Jonathan Kew
22451edaa4 Backed out changeset 444328d96da2 2010-08-11 19:04:16 +01:00
Jonathan Kew
4d5859d463 merge backout of changeset fc3b32b2f050 (bug 553963 pt 1) 2010-08-11 18:49:36 +01:00
Jonathan Kew
e0c144a2cf Backed out changeset fc3b32b2f050 2010-08-11 18:47:48 +01:00
Jonathan Kew
5a6b86d70b bug 553963 - part 3 - don't reset glyph runs when falling back from uniscribe to GDI text shaping. r=jdaggett 2010-08-11 17:52:26 +01:00
Jonathan Kew
7bae49de6f bug 553963 - part 2 - make gfxFont handle text-shaping failure more robustly. r=roc 2010-08-11 17:52:23 +01:00
Jonathan Kew
cc017938e2 bug 553963 - part 1 - fix handling of overlong text runs in the uniscribe shaper. r=jdaggett 2010-08-11 17:52:21 +01:00
Bas Schouten
4a42a6b216 Bug 584539: Part 2 - Expose D2D surface creation from handle. r=jrmuizel 2010-08-11 02:36:03 +02:00
Bas Schouten
7432b914e6 Bug 580765: Support different compositing operations with D2D. Add cairo_d2d_device_t to make handling this easier. r=jrmuizel 2010-08-11 01:59:51 +02:00
Karl Tomlinson
7425141d4d b=579676 detect overflow when black and white images differ r=roc 2010-08-09 14:22:56 +12:00
Karl Tomlinson
31f02e5551 b=579676 use the same alpha recovery code for gfxWindowsNativeDrawing and gfxXlibNativeRenderer r=roc 2010-08-09 14:19:17 +12:00
Rich Walsh
720167ddcb Bug 580142 - [OS/2] Build break in gfxOS2Fonts r=mozilla@Weilbacher.org a=NPOTB 2010-08-07 17:35:33 +02:00
Mark Banner
3e1d731fd0 Mark GLContext::MarkDestroyed as THEBES_API to resolve link bustage in shared builds. r=Bustage fix. 2010-08-07 08:49:01 +01:00
Vladimir Vukicevic
9636d54ad1 b=583838; add ANGLE/D3D WebGL support - part 3 - add support for finding ANGLE libs in an addon; r=sdwilsh 2010-08-06 22:09:18 -07:00
Vladimir Vukicevic
d362d738b4 b=583844; use correct pack alignment when reading via ReadPixels; also use EXT_bgra correctly; r=bjacob 2010-08-06 22:09:18 -07:00
Vladimir Vukicevic
c44e0d0074 b=583838; add ANGLE/D3D WebGL support - part 2 - build EGL on windows and try to use it; r=bjacob 2010-08-06 22:09:18 -07:00
Vladimir Vukicevic
1b3227d6a9 b=574481; fix layers lifetime issues; part 2 - add some utils to GLContext; r=bas 2010-08-06 22:09:18 -07:00
Jonathan Kew
f3accd92b1 bug 580863 - don't use CGFontGetUnitsPerEm with OpenType fonts, may result in incorrect glyph metrics for harfbuzz. r=jdaggett a=blocking2.0 2010-08-05 10:18:44 +01:00
Jonathan Kew
2340d242a4 bug 581087 - get true maxAdvance and aveCharWidth in DWrite font metrics. r=bas a=blocking2.0 2010-08-05 10:18:42 +01:00
Robert O'Callahan
21d0bce532 Bug 537890. Part 3: Remove gfxPlatform::GetDPI(). r=vlad 2010-08-13 21:58:01 +12:00
Karl Tomlinson
b63f16d676 b=579736 use cairo_surface_create_similar in CreateSimilarSurface to create surfaces that support simple overlapping self-copies r=jrmuizel
--HG--
extra : rebase_source : c789d681825d8a4b22d7b3161ec476a5f85d73b2
2010-07-30 15:16:17 +12:00
Vladimir Vukicevic
97c8f5f185 b=582469; use high precision depth buffer if available (esp with FBOs); r=bjacob 2010-07-28 14:24:09 -07:00
Vladimir Vukicevic
74195c1120 b=580345; fix up some GLESv2 vs. desktop GL differences; r=joe 2010-07-28 14:24:09 -07:00
Jonathan Kew
e2fbf5336f bug 575695 - support TrueType kerning in the harfbuzz font shaper backend. r=jdaggett 2010-07-28 14:36:07 +01:00
John Daggett
d34d0c5116 Bug 551871. Correct font-weight handling and add large set of font-weight reftests. r=jkew, a=joe 2010-07-28 14:30:21 +09:00
John Daggett
5ba57b18d4 Bug 577065. Force bitmap fonts to use Uniscribe shaper. r=jkew 2010-07-28 13:52:21 +09:00
John Daggett
ee0583c854 Bug 577065. Cleanup MapCharToGlyph parameter types. r=jkew 2010-07-28 13:00:38 +09:00
Benoit Girard
d757e4d425 Bug 580862 - Init gGlobalContext in GLContextProviderCGL. r=vlad 2010-07-24 20:10:58 -04:00
Karl Tomlinson
daf62b7225 b=576143 copy and draw over background to avoid alpha extraction when possible r=roc
--HG--
extra : rebase_source : 810293a95d07bc0f0a981466a596ccd0db8d389b
2010-07-23 10:39:22 +12:00
Karl Tomlinson
1094a22411 add a function to look for a Visual matching an image format b=576143 r=jrmuizel
--HG--
extra : rebase_source : bc38c8223dc91c2ec6a05a35e6ba43863c77dd7b
2010-07-23 10:28:56 +12:00
Karl Tomlinson
fb689d79eb b=580440 use native-rendering temp surfaces only as large as necessary r=roc a2.0=beltzner
--HG--
extra : rebase_source : 53788fe162ea7ef0c8b4190a08801cbd276e702b
2010-07-23 10:25:19 +12:00
Chris Jones
7d90dfc275 Bug 573829, part 2: Add TextureImage API for getting backing ASurface (if exists) and determining whether it's in an update. sr=vlad 2010-07-22 15:29:37 -05:00
Jonathan Kew
0f9e3604bd bug 580212 - loca table validation. r=jdaggett 2010-07-22 10:25:23 +01:00
Jonathan Kew
2fb90b25c6 bug 580100 - sanity-checking of hhea/hmtx tables. r=jdaggett 2010-07-22 10:25:23 +01:00
Jonathan Kew
2f92ddc5b8 bug 577380 - use Core Text shaping for fonts requiring AAT layout on Mac OS X. r=jdaggett 2010-07-22 10:25:21 +01:00
Oleg Romashin
a34b7ea976 Bug 580317 - Qt desktop build not compilable on non-EGL environment. r=vladimir approval2.0=pavlov 2010-07-22 08:07:38 +03:00
Brad Lassey
1e1d624e70 bug 571767 - @font-face is not working on Android r=jdagget b=fennec2.0 2010-07-16 02:03:45 -04:00
Matt Woodrow
6a7826f993 b=580101; fix GLX GL context provider; r=vlad 2010-07-19 21:05:42 -07:00
Neil Rashbrook
d64d74c1cd Bug 579931 - libgklayout.so link failure because of undefined GLContext methods; r=vladimir 2010-07-19 18:19:15 -04:00
Vladimir Vukicevic
fad535298d b=579696; BasicTextureImage doesn't handle partial updates properly; r=cjones 2010-07-19 14:54:17 -07:00
John Daggett
133154bd87 Bug 579838. Remove unnecessary assertion. r=jkew 2010-07-19 17:10:35 +09:00
Vladimir Vukicevic
560f0324e2 b=573720; some small fixes to make OSMesa work; r=bjacob 2010-07-18 22:01:14 -07:00
Vladimir Vukicevic
9735a3a8c3 b=575469; use CreateOffscreen in layers; r=bas 2010-07-18 22:01:14 -07:00
Vladimir Vukicevic
e5aa4fb514 b=575469; implement CreateOffscreen and context sharing in GLContexts; r=bas 2010-07-18 22:01:14 -07:00
Vladimir Vukicevic
dbd5cb620b b=575032; make GL Context providers static, allow for multiple providers; r=bas 2010-07-18 22:01:14 -07:00
John Daggett
cb61376976 Bug 578022. Cleanup font deactivation code on Windows. r=jkew 2010-07-17 10:32:18 +09:00
Vladimir Vukicevic
e506a39da7 b=579336; crash in GLX CreatePBuffer due to missing termination; r=valgrind 2010-07-16 11:58:07 -07:00
Robert O'Callahan
e98a518e3c Bug 564991. Part 34: Make sure that ThebesLayerBuffers are always allocated as similar surfaces to the widget surface, whenever possible. r=cjones 2010-07-16 09:08:10 +12:00
Robert O'Callahan
78f7a6b002 Bug 577631. Don't pass zero sizes to XCreatePixmap. r=jrmuizel 2010-07-16 09:08:09 +12:00
Karl Tomlinson
0b3ce3450e b=573626 support force-24bpp in gfxXlibSurface::CreateSimilar r=vlad 2010-07-16 09:08:09 +12:00
Karl Tomlinson
9bb3ceb7e1 b=573409 expire unused cached double-buffering back surfaces r=vlad sr=roc 2010-07-16 09:08:09 +12:00
Robert O'Callahan
504ea430ab Bug 573942. Adjust transform matrix in RenderDocument to ensure that components close to integers become actual integers. r=jrmuizel,sr=vlad 2010-07-16 09:08:08 +12:00
Bas Schouten
a5924b2fb4 Bug 577200. Part 2: When painting a Win32 transparent widget with GDI (Aero Glass), tell gfxWindowsSurface our HDC surface is transparent. r=roc 2010-07-16 09:07:44 +12:00
Vladimir Vukicevic
79bbb0f9ca b=571172; import and use ANGLE GLSL ES shader validator (disabled by default for now); r=joe 2010-07-14 20:52:34 -07:00
Jonathan Kew
412a2dde9a bug 511339 - bustage fix for android build 2010-07-13 23:58:21 +01:00
Zack Weinberg
29e6f9c217 Bug 571989 part 5: move gfx/src/thebes/utils/* to gfx/thebes. r=joedrew
--HG--
rename : gfx/src/thebes/utils/gfxBlur.cpp => gfx/thebes/gfxBlur.cpp
rename : gfx/src/thebes/utils/gfxBlur.h => gfx/thebes/gfxBlur.h
rename : gfx/src/thebes/utils/gfxThebesUtils.cpp => gfx/thebes/gfxThebesUtils.cpp
rename : gfx/src/thebes/utils/gfxThebesUtils.h => gfx/thebes/gfxThebesUtils.h
rename : gfx/src/thebes/utils/nsCoreAnimationSupport.h => gfx/thebes/nsCoreAnimationSupport.h
rename : gfx/src/thebes/utils/nsCoreAnimationSupport.mm => gfx/thebes/nsCoreAnimationSupport.mm
2010-07-13 14:54:21 -07:00
Zack Weinberg
00dd731d9b Bug 571989 part 4: Reorganize all the tests directories below gfx/. r=joedrew
--HG--
rename : gfx/thebes/crashtests/122875-1.html => gfx/tests/crashtests/122875-1.html
rename : gfx/thebes/crashtests/156882-1.html => gfx/tests/crashtests/156882-1.html
rename : gfx/thebes/crashtests/157320-1.html => gfx/tests/crashtests/157320-1.html
rename : gfx/thebes/crashtests/199379-1.html => gfx/tests/crashtests/199379-1.html
rename : gfx/thebes/crashtests/206561-1.html => gfx/tests/crashtests/206561-1.html
rename : gfx/thebes/crashtests/248518-1.html => gfx/tests/crashtests/248518-1.html
rename : gfx/thebes/crashtests/306649-1.xml => gfx/tests/crashtests/306649-1.xml
rename : gfx/src/thebes/crashtests/306902-1.xml => gfx/tests/crashtests/306902-1.xml
rename : gfx/thebes/crashtests/333861-1.html => gfx/tests/crashtests/333861-1.html
rename : gfx/thebes/crashtests/334735-1.html => gfx/tests/crashtests/334735-1.html
rename : gfx/thebes/crashtests/345576-1.html => gfx/tests/crashtests/345576-1.html
rename : gfx/thebes/crashtests/345629-1.html => gfx/tests/crashtests/345629-1.html
rename : gfx/thebes/crashtests/348462-1.html => gfx/tests/crashtests/348462-1.html
rename : gfx/thebes/crashtests/348462-2.html => gfx/tests/crashtests/348462-2.html
rename : gfx/thebes/crashtests/369688-1.html => gfx/tests/crashtests/369688-1.html
rename : gfx/thebes/crashtests/369947-1.html => gfx/tests/crashtests/369947-1.html
rename : gfx/thebes/crashtests/372094-1.xhtml => gfx/tests/crashtests/372094-1.xhtml
rename : gfx/thebes/crashtests/376627-1.html => gfx/tests/crashtests/376627-1.html
rename : gfx/thebes/crashtests/377231-1.html => gfx/tests/crashtests/377231-1.html
rename : gfx/thebes/crashtests/377232-1.xhtml => gfx/tests/crashtests/377232-1.xhtml
rename : gfx/thebes/crashtests/377461-1.xhtml => gfx/tests/crashtests/377461-1.xhtml
rename : gfx/thebes/crashtests/383473-1.html => gfx/tests/crashtests/383473-1.html
rename : gfx/src/thebes/crashtests/383872-1.svg => gfx/tests/crashtests/383872-1.svg
rename : gfx/thebes/crashtests/385228-1.svg => gfx/tests/crashtests/385228-1.svg
rename : gfx/thebes/crashtests/385228-2.svg => gfx/tests/crashtests/385228-2.svg
rename : gfx/thebes/crashtests/385289-1.xhtml => gfx/tests/crashtests/385289-1.xhtml
rename : gfx/thebes/crashtests/385417-1.html => gfx/tests/crashtests/385417-1.html
rename : gfx/thebes/crashtests/385417-2.html => gfx/tests/crashtests/385417-2.html
rename : gfx/thebes/crashtests/385423-1.html => gfx/tests/crashtests/385423-1.html
rename : gfx/thebes/crashtests/385423-2.html => gfx/tests/crashtests/385423-2.html
rename : gfx/thebes/crashtests/385719-1.html => gfx/tests/crashtests/385719-1.html
rename : gfx/thebes/crashtests/389326-1-inner.xhtml => gfx/tests/crashtests/389326-1-inner.xhtml
rename : gfx/thebes/crashtests/389326-1.html => gfx/tests/crashtests/389326-1.html
rename : gfx/thebes/crashtests/393746-1.xhtml => gfx/tests/crashtests/393746-1.xhtml
rename : gfx/thebes/crashtests/393749-1.html => gfx/tests/crashtests/393749-1.html
rename : gfx/thebes/crashtests/393822-1.html => gfx/tests/crashtests/393822-1.html
rename : gfx/thebes/crashtests/394246-1.html => gfx/tests/crashtests/394246-1.html
rename : gfx/thebes/crashtests/394246-2.html => gfx/tests/crashtests/394246-2.html
rename : gfx/thebes/crashtests/394384-1.html => gfx/tests/crashtests/394384-1.html
rename : gfx/thebes/crashtests/395335-1.xhtml => gfx/tests/crashtests/395335-1.xhtml
rename : gfx/thebes/crashtests/395458-1.html => gfx/tests/crashtests/395458-1.html
rename : gfx/thebes/crashtests/396321-1.svg => gfx/tests/crashtests/396321-1.svg
rename : gfx/thebes/crashtests/398042-1.xhtml => gfx/tests/crashtests/398042-1.xhtml
rename : gfx/thebes/crashtests/398042-2.xhtml => gfx/tests/crashtests/398042-2.xhtml
rename : gfx/thebes/crashtests/402307-1.html => gfx/tests/crashtests/402307-1.html
rename : gfx/thebes/crashtests/403464-1.html => gfx/tests/crashtests/403464-1.html
rename : gfx/thebes/crashtests/404112-1.html => gfx/tests/crashtests/404112-1.html
rename : gfx/thebes/crashtests/404112-2.html => gfx/tests/crashtests/404112-2.html
rename : gfx/thebes/crashtests/405268-1.xhtml => gfx/tests/crashtests/405268-1.xhtml
rename : gfx/thebes/crashtests/407761-1.html => gfx/tests/crashtests/407761-1.html
rename : gfx/thebes/crashtests/407842.html => gfx/tests/crashtests/407842.html
rename : gfx/thebes/crashtests/408754-1.html => gfx/tests/crashtests/408754-1.html
rename : gfx/thebes/crashtests/410728-1.xml => gfx/tests/crashtests/410728-1.xml
rename : gfx/thebes/crashtests/416637-1.html => gfx/tests/crashtests/416637-1.html
rename : gfx/thebes/crashtests/419095-1.html => gfx/tests/crashtests/419095-1.html
rename : gfx/thebes/crashtests/419255-1.html => gfx/tests/crashtests/419255-1.html
rename : gfx/thebes/crashtests/420945-1.html => gfx/tests/crashtests/420945-1.html
rename : gfx/thebes/crashtests/420962-1.html => gfx/tests/crashtests/420962-1.html
rename : gfx/thebes/crashtests/421393-1.html => gfx/tests/crashtests/421393-1.html
rename : gfx/thebes/crashtests/421813-1.html => gfx/tests/crashtests/421813-1.html
rename : gfx/src/thebes/crashtests/423110-1.xhtml => gfx/tests/crashtests/423110-1.xhtml
rename : gfx/thebes/crashtests/423270-1.html => gfx/tests/crashtests/423270-1.html
rename : gfx/thebes/crashtests/429899-1.html => gfx/tests/crashtests/429899-1.html
rename : gfx/thebes/crashtests/441360.html => gfx/tests/crashtests/441360.html
rename : gfx/thebes/crashtests/441360_data.gif => gfx/tests/crashtests/441360_data.gif
rename : gfx/src/thebes/crashtests/445711.html => gfx/tests/crashtests/445711.html
rename : gfx/thebes/crashtests/463307-1.html => gfx/tests/crashtests/463307-1.html
rename : gfx/thebes/crashtests/467703-1.xhtml => gfx/tests/crashtests/467703-1.xhtml
rename : gfx/thebes/crashtests/467873-1.html => gfx/tests/crashtests/467873-1.html
rename : gfx/thebes/crashtests/470418-1.html => gfx/tests/crashtests/470418-1.html
rename : gfx/thebes/crashtests/474410-1.html => gfx/tests/crashtests/474410-1.html
rename : gfx/thebes/crashtests/483120-1.xhtml => gfx/tests/crashtests/483120-1.xhtml
rename : gfx/thebes/crashtests/483120-2.xhtml => gfx/tests/crashtests/483120-2.xhtml
rename : gfx/thebes/crashtests/487549-1.html => gfx/tests/crashtests/487549-1.html
rename : gfx/thebes/crashtests/487549-bad_kern_table.ttf => gfx/tests/crashtests/487549-bad_kern_table.ttf
rename : gfx/thebes/crashtests/487724-1.html => gfx/tests/crashtests/487724-1.html
rename : gfx/thebes/crashtests/490777-1.html => gfx/tests/crashtests/490777-1.html
rename : gfx/thebes/crashtests/532726-1.html => gfx/tests/crashtests/532726-1.html
rename : gfx/thebes/crashtests/538065-1.html => gfx/tests/crashtests/538065-1.html
rename : gfx/thebes/crashtests/546870-1.html => gfx/tests/crashtests/546870-1.html
rename : gfx/thebes/crashtests/balinese-letter-spacing.html => gfx/tests/crashtests/balinese-letter-spacing.html
rename : gfx/thebes/crashtests/crashtests.list => gfx/tests/crashtests/crashtests.list
rename : gfx/thebes/test/gfxColorManagementTest.cmtest => gfx/tests/gfxColorManagementTest.cmtest
rename : gfx/thebes/test/gfxColorManagementTest.cpp => gfx/tests/gfxColorManagementTest.cpp
rename : gfx/thebes/test/gfxFontSelectionTest.cpp => gfx/tests/gfxFontSelectionTest.cpp
rename : gfx/thebes/test/gfxFontSelectionTests.h => gfx/tests/gfxFontSelectionTests.h
rename : gfx/thebes/test/gfxSurfaceRefCountTest.cpp => gfx/tests/gfxSurfaceRefCountTest.cpp
rename : gfx/thebes/test/gfxTestCocoaHelper.h => gfx/tests/gfxTestCocoaHelper.h
rename : gfx/thebes/test/gfxTestCocoaHelper.mm => gfx/tests/gfxTestCocoaHelper.mm
rename : gfx/thebes/test/gfxTextRunPerfTest.cpp => gfx/tests/gfxTextRunPerfTest.cpp
rename : gfx/thebes/test/gfxWordCacheTest.cpp => gfx/tests/gfxWordCacheTest.cpp
rename : gfx/thebes/mochitest/test_bug509244.html => gfx/tests/mochitest/test_bug509244.html
rename : gfx/thebes/mochitest/test_bug513439.html => gfx/tests/mochitest/test_bug513439.html
rename : gfx/thebes/test/per-word-runs.h => gfx/tests/per-word-runs.h
rename : gfx/thebes/test/process-textruns.pl => gfx/tests/process-textruns.pl
rename : gfx/thebes/test/testprofiles/DELL2407WFP-2B283C91.icc => gfx/tests/testprofiles/DELL2407WFP-2B283C91.icc
rename : gfx/thebes/test/testprofiles/G22LWk-2489A79.icc => gfx/tests/testprofiles/G22LWk-2489A79.icc
rename : gfx/thebes/test/testprofiles/MBP20080419-1.icc => gfx/tests/testprofiles/MBP20080419-1.icc
rename : gfx/thebes/test/testprofiles/PhLCD17a.icm => gfx/tests/testprofiles/PhLCD17a.icm
rename : gfx/thebes/test/testprofiles/identity.icc => gfx/tests/testprofiles/identity.icc
rename : gfx/thebes/test/testprofiles/murphy.icc => gfx/tests/testprofiles/murphy.icc
rename : gfx/thebes/test/testprofiles/sRGB_IEC61966-2-1_noBPC.icc => gfx/tests/testprofiles/sRGB_IEC61966-2-1_noBPC.icc
rename : gfx/thebes/test/testprofiles/sRGB_IEC61966-2-1_withBPC.icc => gfx/tests/testprofiles/sRGB_IEC61966-2-1_withBPC.icc
rename : gfx/thebes/test/testprofiles/sRGB_v4_ICC_preference.icc => gfx/tests/testprofiles/sRGB_v4_ICC_preference.icc
2010-07-13 14:54:18 -07:00
Jonathan Kew
8a31220580 bug 511339 - part 2 - font-feature-settings and font-language-override support in gfx/thebes. r=jdaggett 2010-07-13 21:31:31 +01:00
Jonathan Kew
01c260e89e bug 532533 - prefer reading metrics directly from font tables. r=jdaggett 2010-07-11 20:33:56 +01:00
Jonathan Kew
182798d5d4 bug 543780 - don't consider FF_DONTCARE fonts to match all generic family names. r=jdaggett 2010-07-11 20:01:52 +01:00
Jonathan Kew
8d54b7682f bug 550443 - fix font enumeration for x-unicode language group. r=jdaggett 2010-07-11 19:51:26 +01:00
Saint Wesonga
e7a357dcaf Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg 2010-07-05 11:42:18 +02:00
Dão Gottwald
9b15b69a1b Backed out changeset 59ace8d80ce8 2010-07-04 22:01:13 +02:00
Saint Wesonga
8dd5da1024 Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg 2010-07-04 21:39:17 +02:00
Benoit Jacob
22cf5106de b=576081; Remove gfx/layers/opengl/glDefs.h; r=vladimir 2010-07-03 18:26:56 -04:00
Karl Tomlinson
a33e5a1d24 b=574220 refactor gfxXlibNativeRenderer and make sure the surface matches the requested visual r=roc
--HG--
rename : gfx/thebes/cairo-xlib-utils.c => gfx/thebes/gfxXlibNativeRenderer.cpp
2010-07-02 16:04:09 +12:00
Karl Tomlinson
060628d742 b=574220 remove gfxXlibNativeRenderer.cpp r=roc 2010-07-02 16:04:09 +12:00