Commit Graph

1599 Commits

Author SHA1 Message Date
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
Karl Tomlinson
fde5e0a9ac b=574220 add gfxXlibSurface::GetVisualAndColormap() r=vlad 2010-07-02 16:04:01 +12:00
Karl Tomlinson
efa9fe2155 b=573626 provide an API to create Pixmap gfxXlibSurfaces with a Drawable hint for XCreatePixmap r=vlad sr=roc 2010-07-02 15:55:24 +12:00
Markus Stange
deaa46fc54 Bug 572680 - Shuffle some gfx dependencies around. r=joe
--HG--
extra : rebase_source : 982a57f4466a69e6e6a2053794b6b09c2b470b12
2010-07-01 18:43:33 +02:00
Chris Jones
854c966b1a Bug 573889, part 5: Implement TextureImage for CGL and WGL. r=vlad 2010-07-01 11:30:38 -05:00
Chris Jones
915e12af15 Bug 573889, part 4: Implement TextureImage for GLX. r=vlad 2010-07-01 11:30:38 -05:00
Chris Jones
41829a2ec0 Bug 573889, part 3: Implement TextureImage for EGL/X11. r=romaxa,vlad 2010-07-01 11:30:38 -05:00
Chris Jones
4400d277fd Bug 573889, part 2: Add a BasicTextureImage implementation that synchronizes new pixels to its texture with a scratch gfxASurface and glTexSubImage2D(). r=vlad 2010-07-01 11:30:38 -05:00
Chris Jones
f78c7cdfe9 Bug 573889, part 1: Add a TextureImage interface to manage synchronizing thebes-drawn content with a GL texture. sr=vlad 2010-07-01 11:30:38 -05:00
Chris Jones
7be702f00b Bug 573889, part 0: Move the DEBUG_GL_ERROR_CHECK() macro into GLContext.h. r=vlad 2010-07-01 11:30:38 -05:00
Justin Wood
ded76f3ed7 Bug 576074 - In gfxSurfaceRefCountTest thebes.lib not found. r=vlad
--HG--
extra : rebase_source : 20c72bb80ced7ee200b0456463048e59e080ec11
2010-07-01 11:36:40 -04:00
Doug Turner
ba5d48b7ab merge with mc 2010-06-30 10:50:45 -07:00
Doug Turner
c92986c46a Merge from mc 2010-06-29 14:39:57 -07:00
Bas Schouten
c7167334c9 Bug 558467: Use nsIMemoryReporter to report the image surface cache memory usage. r=jrmuizel 2010-06-30 15:52:13 +02:00
Doug Turner
901e02b2de Merging with mozilla-central. Manually merged: content/canvas/src/nsCanvasRenderingContext2D.cpp ipc/ipdl/Makefile.in toolkit/toolkit-tiers.mk toolkit/xre/nsEmbedFunctions.cpp
--HG--
rename : gfx/thebes/src/gfxSharedImageSurface.cpp => gfx/thebes/gfxSharedImageSurface.cpp
rename : gfx/thebes/public/gfxSharedImageSurface.h => gfx/thebes/gfxSharedImageSurface.h
2010-06-28 16:33:19 -07:00
Oleg Romashin
b8ab8239cd Auto-merge with m-c b51803f3fdef 2010-06-25 08:30:40 -04:00
Doug Turner
4719dd0705 Automerge w mozilla-central 2010-06-24 14:06:13 -07:00
Jonathan Kew
195f712d74 bug 574287 - honor the bad-underline blacklist in dwrite font backend. r=bas 2010-06-24 21:38:57 +01:00
Jonathan Kew
4f21861adb bug 574076 - correctly get width of digit glyph with dwrite. r=bas 2010-06-24 13:11:59 +01:00
Jason Duell
1b0fefc8aa Merged again from m-c to get latest bits and avoid deleted branch issue. 2010-06-22 17:57:09 -07:00
Jason Duell
d194b9d486 Merge from m-c.
Fair amount of merge conflicts.

Biggest item was changes to nsHttpChannel from web sockets changes.

Other likely suspects if things are borken:

nsFrameLoader.cpp:
    - nsFrameLoader::EnsureMessageManager: pass "this" (orig e10s code) or
      nsnull (m-c) to local process call to new nsFrameMessageManager(),
      callback arg?  Smaug said null.
    - only calling SetCallBackData for local case.  also +r smaug.

nsPrefBranch.cpp had fairly extensive merge conflicts.

nsChromeRegistry had lots of changes.

Dougt did most of the non-necko changes (thanks).

--HG--
rename : netwerk/protocol/http/nsHttpChannel.cpp => netwerk/protocol/http/nsHttpChannelAuthProvider.cpp
rename : netwerk/protocol/http/nsHttpChannel.h => netwerk/protocol/http/nsHttpChannelAuthProvider.h
2010-06-22 17:33:57 -07:00
Chris Jones
6b36c3e919 Followup to bug 572939: include fixes for Mesa-family drivers that were accidentally omitted earlier. 2010-06-22 19:24:52 -05:00
Karl Tomlinson
51cbc2ced9 b=572968 use gdk_pixmap_foreign_new_for_screen to avoid XGetGeometry round trip r=jrmuizel 2010-06-23 11:11:42 +12:00
Oleg Romashin
3baacdf6ed Backout changeset 850ff2cf2868, ba88e35da4e7 due to crash on SVG test 2010-06-22 21:44:03 -04:00
Karl Tomlinson
28449a8986 b=573319 no longer use GdkPixmaps in offscreen-surfaces as they were unusable without a GdkColormap r?jrmuizel
--HG--
extra : rebase_source : 0e50d8eb410c6c130acbfa86d4e211083bab9a05
2010-06-22 20:00:38 -04:00
Bas Schouten
c91eede928 Bug 573506: Expose GetDC/ReleaseDC on D2D surfaces. r=jrmuizel 2010-06-22 03:10:34 +02:00
Chris Jones
44f4fbe884 Bug 570294, part a: Style cleanup for gfxSharedImageSurface.h. r=joedrew 2010-06-21 15:35:49 -05:00
Chris Jones
072b3cb9d2 Bug 570098: Implement operator== for a grab-bag of gfx types. r=joe 2010-06-21 15:35:49 -05:00
Matt Woodrow
9fb5f65fde Bug 572939: Implement GLContexProvider::CreateForWindow() for GLX. r=vlad 2010-06-18 18:17:00 -05:00
Doug Turner
ded51c1c5f Merging with M-C.
Hand merged the following files:

U chrome/src/nsChromeRegistry.cpp
U chrome/src/nsChromeRegistry.h
U content/base/src/nsFrameLoader.cpp
U content/base/src/nsFrameLoader.h
U dom/src/geolocation/nsGeolocation.cpp
U dom/src/geolocation/nsGeolocation.h
U netwerk/build/Makefile.in
U netwerk/cookie/nsCookieService.cpp
U netwerk/cookie/nsCookieService.h

--HG--
rename : extensions/cookie/test/unit/test_cookies.js => extensions/cookie/test/unit/test_cookies_thirdparty.js
rename : netwerk/cookie/src/nsCookieService.cpp => netwerk/cookie/nsCookieService.cpp
rename : netwerk/cookie/src/nsCookieService.h => netwerk/cookie/nsCookieService.h
rename : netwerk/dns/src/nsIDNKitInterface.h => netwerk/dns/nsIDNKitInterface.h
rename : netwerk/protocol/http/src/nsHttp.h => netwerk/protocol/http/nsHttp.h
rename : netwerk/protocol/http/src/nsHttpChannel.cpp => netwerk/protocol/http/nsHttpChannel.cpp
rename : netwerk/protocol/http/src/nsHttpChannel.h => netwerk/protocol/http/nsHttpChannel.h
rename : netwerk/protocol/http/src/nsHttpChunkedDecoder.h => netwerk/protocol/http/nsHttpChunkedDecoder.h
rename : netwerk/protocol/http/src/nsHttpHandler.cpp => netwerk/protocol/http/nsHttpHandler.cpp
rename : netwerk/protocol/http/src/nsHttpHeaderArray.h => netwerk/protocol/http/nsHttpHeaderArray.h
rename : netwerk/protocol/http/src/nsHttpRequestHead.h => netwerk/protocol/http/nsHttpRequestHead.h
rename : netwerk/protocol/http/src/nsHttpResponseHead.h => netwerk/protocol/http/nsHttpResponseHead.h
rename : netwerk/protocol/http/src/nsHttpTransaction.cpp => netwerk/protocol/http/nsHttpTransaction.cpp
rename : netwerk/protocol/res/src/nsResProtocolHandler.cpp => netwerk/protocol/res/nsResProtocolHandler.cpp
rename : netwerk/protocol/res/src/nsResProtocolHandler.h => netwerk/protocol/res/nsResProtocolHandler.h
2010-06-07 13:38:02 -07:00
Matt Woodrow
0444dac3c3 Bug 573929: Prevent GLX textures from being released after the window supplying the GLContext from which they were allocated dies. r=vlad 2010-06-23 18:37:00 -05:00
Dão Gottwald
b314909c2e Backed out changeset db6f8068e9a5 2010-06-29 17:49:21 +02:00
Saint Wesonga
c3669d7e9c Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedgerg 2010-06-29 17:14:36 +02:00
Zack Weinberg
f5cf8c125c Bug 571989 part 3: Flatten directory structure below gfx/thebes.
--HG--
rename : gfx/thebes/src/GLContext.cpp => gfx/thebes/GLContext.cpp
rename : gfx/thebes/public/GLContext.h => gfx/thebes/GLContext.h
rename : gfx/thebes/public/GLContextProvider.h => gfx/thebes/GLContextProvider.h
rename : gfx/thebes/src/GLContextProviderCGL.mm => gfx/thebes/GLContextProviderCGL.mm
rename : gfx/thebes/src/GLContextProviderEGL.cpp => gfx/thebes/GLContextProviderEGL.cpp
rename : gfx/thebes/src/GLContextProviderGLX.cpp => gfx/thebes/GLContextProviderGLX.cpp
rename : gfx/thebes/src/GLContextProviderNull.cpp => gfx/thebes/GLContextProviderNull.cpp
rename : gfx/thebes/src/GLContextProviderOSMesa.cpp => gfx/thebes/GLContextProviderOSMesa.cpp
rename : gfx/thebes/src/GLContextProviderWGL.cpp => gfx/thebes/GLContextProviderWGL.cpp
rename : gfx/thebes/public/GLDefs.h => gfx/thebes/GLDefs.h
rename : gfx/thebes/public/GLXLibrary.h => gfx/thebes/GLXLibrary.h
rename : gfx/thebes/public/WGLLibrary.h => gfx/thebes/WGLLibrary.h
rename : gfx/thebes/src/cairo-gdk-utils.c => gfx/thebes/cairo-gdk-utils.c
rename : gfx/thebes/src/cairo-gdk-utils.h => gfx/thebes/cairo-gdk-utils.h
rename : gfx/thebes/src/cairo-xlib-utils.c => gfx/thebes/cairo-xlib-utils.c
rename : gfx/thebes/src/cairo-xlib-utils.h => gfx/thebes/cairo-xlib-utils.h
rename : gfx/thebes/src/genUnicodeScriptData.pl => gfx/thebes/genUnicodeScriptData.pl
rename : gfx/thebes/public/gfx3DMatrix.h => gfx/thebes/gfx3DMatrix.h
rename : gfx/thebes/src/gfxASurface.cpp => gfx/thebes/gfxASurface.cpp
rename : gfx/thebes/public/gfxASurface.h => gfx/thebes/gfxASurface.h
rename : gfx/thebes/src/gfxAlphaRecovery.cpp => gfx/thebes/gfxAlphaRecovery.cpp
rename : gfx/thebes/public/gfxAlphaRecovery.h => gfx/thebes/gfxAlphaRecovery.h
rename : gfx/thebes/src/gfxAndroidPlatform.cpp => gfx/thebes/gfxAndroidPlatform.cpp
rename : gfx/thebes/public/gfxAndroidPlatform.h => gfx/thebes/gfxAndroidPlatform.h
rename : gfx/thebes/src/gfxAtomList.h => gfx/thebes/gfxAtomList.h
rename : gfx/thebes/src/gfxAtoms.cpp => gfx/thebes/gfxAtoms.cpp
rename : gfx/thebes/src/gfxAtoms.h => gfx/thebes/gfxAtoms.h
rename : gfx/thebes/src/gfxBeOSPlatform.cpp => gfx/thebes/gfxBeOSPlatform.cpp
rename : gfx/thebes/public/gfxBeOSPlatform.h => gfx/thebes/gfxBeOSPlatform.h
rename : gfx/thebes/src/gfxBeOSSurface.cpp => gfx/thebes/gfxBeOSSurface.cpp
rename : gfx/thebes/public/gfxBeOSSurface.h => gfx/thebes/gfxBeOSSurface.h
rename : gfx/thebes/public/gfxColor.h => gfx/thebes/gfxColor.h
rename : gfx/thebes/src/gfxContext.cpp => gfx/thebes/gfxContext.cpp
rename : gfx/thebes/public/gfxContext.h => gfx/thebes/gfxContext.h
rename : gfx/thebes/src/gfxCoreTextShaper.cpp => gfx/thebes/gfxCoreTextShaper.cpp
rename : gfx/thebes/src/gfxCoreTextShaper.h => gfx/thebes/gfxCoreTextShaper.h
rename : gfx/thebes/src/gfxD2DSurface.cpp => gfx/thebes/gfxD2DSurface.cpp
rename : gfx/thebes/public/gfxD2DSurface.h => gfx/thebes/gfxD2DSurface.h
rename : gfx/thebes/src/gfxDDrawSurface.cpp => gfx/thebes/gfxDDrawSurface.cpp
rename : gfx/thebes/public/gfxDDrawSurface.h => gfx/thebes/gfxDDrawSurface.h
rename : gfx/thebes/src/gfxDWriteCommon.cpp => gfx/thebes/gfxDWriteCommon.cpp
rename : gfx/thebes/src/gfxDWriteCommon.h => gfx/thebes/gfxDWriteCommon.h
rename : gfx/thebes/src/gfxDWriteFontList.cpp => gfx/thebes/gfxDWriteFontList.cpp
rename : gfx/thebes/src/gfxDWriteFontList.h => gfx/thebes/gfxDWriteFontList.h
rename : gfx/thebes/src/gfxDWriteFonts.cpp => gfx/thebes/gfxDWriteFonts.cpp
rename : gfx/thebes/public/gfxDWriteFonts.h => gfx/thebes/gfxDWriteFonts.h
rename : gfx/thebes/src/gfxDWriteShaper.cpp => gfx/thebes/gfxDWriteShaper.cpp
rename : gfx/thebes/src/gfxDWriteShaper.h => gfx/thebes/gfxDWriteShaper.h
rename : gfx/thebes/src/gfxDWriteTextAnalysis.cpp => gfx/thebes/gfxDWriteTextAnalysis.cpp
rename : gfx/thebes/src/gfxDWriteTextAnalysis.h => gfx/thebes/gfxDWriteTextAnalysis.h
rename : gfx/thebes/src/gfxDirectFBSurface.cpp => gfx/thebes/gfxDirectFBSurface.cpp
rename : gfx/thebes/public/gfxDirectFBSurface.h => gfx/thebes/gfxDirectFBSurface.h
rename : gfx/thebes/src/gfxDllDeps.cpp => gfx/thebes/gfxDllDeps.cpp
rename : gfx/thebes/src/gfxFT2FontBase.cpp => gfx/thebes/gfxFT2FontBase.cpp
rename : gfx/thebes/public/gfxFT2FontBase.h => gfx/thebes/gfxFT2FontBase.h
rename : gfx/thebes/src/gfxFT2FontList.cpp => gfx/thebes/gfxFT2FontList.cpp
rename : gfx/thebes/src/gfxFT2FontList.h => gfx/thebes/gfxFT2FontList.h
rename : gfx/thebes/src/gfxFT2Fonts.cpp => gfx/thebes/gfxFT2Fonts.cpp
rename : gfx/thebes/public/gfxFT2Fonts.h => gfx/thebes/gfxFT2Fonts.h
rename : gfx/thebes/src/gfxFT2Utils.cpp => gfx/thebes/gfxFT2Utils.cpp
rename : gfx/thebes/src/gfxFT2Utils.h => gfx/thebes/gfxFT2Utils.h
rename : gfx/thebes/src/gfxFont.cpp => gfx/thebes/gfxFont.cpp
rename : gfx/thebes/public/gfxFont.h => gfx/thebes/gfxFont.h
rename : gfx/thebes/public/gfxFontConstants.h => gfx/thebes/gfxFontConstants.h
rename : gfx/thebes/src/gfxFontMissingGlyphs.cpp => gfx/thebes/gfxFontMissingGlyphs.cpp
rename : gfx/thebes/src/gfxFontMissingGlyphs.h => gfx/thebes/gfxFontMissingGlyphs.h
rename : gfx/thebes/src/gfxFontTest.cpp => gfx/thebes/gfxFontTest.cpp
rename : gfx/thebes/public/gfxFontTest.h => gfx/thebes/gfxFontTest.h
rename : gfx/thebes/src/gfxFontUtils.cpp => gfx/thebes/gfxFontUtils.cpp
rename : gfx/thebes/public/gfxFontUtils.h => gfx/thebes/gfxFontUtils.h
rename : gfx/thebes/src/gfxFontconfigUtils.cpp => gfx/thebes/gfxFontconfigUtils.cpp
rename : gfx/thebes/src/gfxFontconfigUtils.h => gfx/thebes/gfxFontconfigUtils.h
rename : gfx/thebes/src/gfxGDIFont.cpp => gfx/thebes/gfxGDIFont.cpp
rename : gfx/thebes/src/gfxGDIFont.h => gfx/thebes/gfxGDIFont.h
rename : gfx/thebes/src/gfxGDIFontList.cpp => gfx/thebes/gfxGDIFontList.cpp
rename : gfx/thebes/src/gfxGDIFontList.h => gfx/thebes/gfxGDIFontList.h
rename : gfx/thebes/src/gfxGDIShaper.cpp => gfx/thebes/gfxGDIShaper.cpp
rename : gfx/thebes/src/gfxGDIShaper.h => gfx/thebes/gfxGDIShaper.h
rename : gfx/thebes/src/gfxGdkNativeRenderer.cpp => gfx/thebes/gfxGdkNativeRenderer.cpp
rename : gfx/thebes/public/gfxGdkNativeRenderer.h => gfx/thebes/gfxGdkNativeRenderer.h
rename : gfx/thebes/public/gfxGlitzSurface.h => gfx/thebes/gfxGlitzSurface.h
rename : gfx/thebes/src/gfxHarfBuzzShaper.cpp => gfx/thebes/gfxHarfBuzzShaper.cpp
rename : gfx/thebes/src/gfxHarfBuzzShaper.h => gfx/thebes/gfxHarfBuzzShaper.h
rename : gfx/thebes/src/gfxImageSurface.cpp => gfx/thebes/gfxImageSurface.cpp
rename : gfx/thebes/public/gfxImageSurface.h => gfx/thebes/gfxImageSurface.h
rename : gfx/thebes/src/gfxMacFont.cpp => gfx/thebes/gfxMacFont.cpp
rename : gfx/thebes/src/gfxMacFont.h => gfx/thebes/gfxMacFont.h
rename : gfx/thebes/src/gfxMacPlatformFontList.h => gfx/thebes/gfxMacPlatformFontList.h
rename : gfx/thebes/src/gfxMacPlatformFontList.mm => gfx/thebes/gfxMacPlatformFontList.mm
rename : gfx/thebes/src/gfxMatrix.cpp => gfx/thebes/gfxMatrix.cpp
rename : gfx/thebes/public/gfxMatrix.h => gfx/thebes/gfxMatrix.h
rename : gfx/thebes/src/gfxOS2Fonts.cpp => gfx/thebes/gfxOS2Fonts.cpp
rename : gfx/thebes/public/gfxOS2Fonts.h => gfx/thebes/gfxOS2Fonts.h
rename : gfx/thebes/src/gfxOS2Platform.cpp => gfx/thebes/gfxOS2Platform.cpp
rename : gfx/thebes/public/gfxOS2Platform.h => gfx/thebes/gfxOS2Platform.h
rename : gfx/thebes/src/gfxOS2Surface.cpp => gfx/thebes/gfxOS2Surface.cpp
rename : gfx/thebes/public/gfxOS2Surface.h => gfx/thebes/gfxOS2Surface.h
rename : gfx/thebes/src/gfxPDFSurface.cpp => gfx/thebes/gfxPDFSurface.cpp
rename : gfx/thebes/public/gfxPDFSurface.h => gfx/thebes/gfxPDFSurface.h
rename : gfx/thebes/src/gfxPSSurface.cpp => gfx/thebes/gfxPSSurface.cpp
rename : gfx/thebes/public/gfxPSSurface.h => gfx/thebes/gfxPSSurface.h
rename : gfx/thebes/src/gfxPangoFonts.cpp => gfx/thebes/gfxPangoFonts.cpp
rename : gfx/thebes/public/gfxPangoFonts.h => gfx/thebes/gfxPangoFonts.h
rename : gfx/thebes/src/gfxPath.cpp => gfx/thebes/gfxPath.cpp
rename : gfx/thebes/public/gfxPath.h => gfx/thebes/gfxPath.h
rename : gfx/thebes/src/gfxPattern.cpp => gfx/thebes/gfxPattern.cpp
rename : gfx/thebes/public/gfxPattern.h => gfx/thebes/gfxPattern.h
rename : gfx/thebes/src/gfxPlatform.cpp => gfx/thebes/gfxPlatform.cpp
rename : gfx/thebes/public/gfxPlatform.h => gfx/thebes/gfxPlatform.h
rename : gfx/thebes/src/gfxPlatformFontList.cpp => gfx/thebes/gfxPlatformFontList.cpp
rename : gfx/thebes/src/gfxPlatformFontList.h => gfx/thebes/gfxPlatformFontList.h
rename : gfx/thebes/src/gfxPlatformGtk.cpp => gfx/thebes/gfxPlatformGtk.cpp
rename : gfx/thebes/public/gfxPlatformGtk.h => gfx/thebes/gfxPlatformGtk.h
rename : gfx/thebes/src/gfxPlatformMac.cpp => gfx/thebes/gfxPlatformMac.cpp
rename : gfx/thebes/public/gfxPlatformMac.h => gfx/thebes/gfxPlatformMac.h
rename : gfx/thebes/public/gfxPoint.h => gfx/thebes/gfxPoint.h
rename : gfx/thebes/src/gfxQPainterSurface.cpp => gfx/thebes/gfxQPainterSurface.cpp
rename : gfx/thebes/public/gfxQPainterSurface.h => gfx/thebes/gfxQPainterSurface.h
rename : gfx/thebes/src/gfxQtNativeRenderer.cpp => gfx/thebes/gfxQtNativeRenderer.cpp
rename : gfx/thebes/public/gfxQtNativeRenderer.h => gfx/thebes/gfxQtNativeRenderer.h
rename : gfx/thebes/src/gfxQtPlatform.cpp => gfx/thebes/gfxQtPlatform.cpp
rename : gfx/thebes/public/gfxQtPlatform.h => gfx/thebes/gfxQtPlatform.h
rename : gfx/thebes/src/gfxQuartzImageSurface.cpp => gfx/thebes/gfxQuartzImageSurface.cpp
rename : gfx/thebes/public/gfxQuartzImageSurface.h => gfx/thebes/gfxQuartzImageSurface.h
rename : gfx/thebes/src/gfxQuartzNativeDrawing.cpp => gfx/thebes/gfxQuartzNativeDrawing.cpp
rename : gfx/thebes/public/gfxQuartzNativeDrawing.h => gfx/thebes/gfxQuartzNativeDrawing.h
rename : gfx/thebes/src/gfxQuartzPDFSurface.cpp => gfx/thebes/gfxQuartzPDFSurface.cpp
rename : gfx/thebes/public/gfxQuartzPDFSurface.h => gfx/thebes/gfxQuartzPDFSurface.h
rename : gfx/thebes/src/gfxQuartzSurface.cpp => gfx/thebes/gfxQuartzSurface.cpp
rename : gfx/thebes/public/gfxQuartzSurface.h => gfx/thebes/gfxQuartzSurface.h
rename : gfx/thebes/src/gfxRect.cpp => gfx/thebes/gfxRect.cpp
rename : gfx/thebes/public/gfxRect.h => gfx/thebes/gfxRect.h
rename : gfx/thebes/src/gfxScriptItemizer.cpp => gfx/thebes/gfxScriptItemizer.cpp
rename : gfx/thebes/src/gfxScriptItemizer.h => gfx/thebes/gfxScriptItemizer.h
rename : gfx/thebes/src/gfxSharedImageSurface.cpp => gfx/thebes/gfxSharedImageSurface.cpp
rename : gfx/thebes/public/gfxSharedImageSurface.h => gfx/thebes/gfxSharedImageSurface.h
rename : gfx/thebes/src/gfxSkipChars.cpp => gfx/thebes/gfxSkipChars.cpp
rename : gfx/thebes/public/gfxSkipChars.h => gfx/thebes/gfxSkipChars.h
rename : gfx/thebes/src/gfxTextRunCache.cpp => gfx/thebes/gfxTextRunCache.cpp
rename : gfx/thebes/public/gfxTextRunCache.h => gfx/thebes/gfxTextRunCache.h
rename : gfx/thebes/src/gfxTextRunWordCache.cpp => gfx/thebes/gfxTextRunWordCache.cpp
rename : gfx/thebes/public/gfxTextRunWordCache.h => gfx/thebes/gfxTextRunWordCache.h
rename : gfx/thebes/public/gfxTypes.h => gfx/thebes/gfxTypes.h
rename : gfx/thebes/src/gfxUnicodeProperties.cpp => gfx/thebes/gfxUnicodeProperties.cpp
rename : gfx/thebes/src/gfxUnicodeProperties.h => gfx/thebes/gfxUnicodeProperties.h
rename : gfx/thebes/src/gfxUnicodePropertyData.cpp => gfx/thebes/gfxUnicodePropertyData.cpp
rename : gfx/thebes/src/gfxUniscribeShaper.cpp => gfx/thebes/gfxUniscribeShaper.cpp
rename : gfx/thebes/src/gfxUniscribeShaper.h => gfx/thebes/gfxUniscribeShaper.h
rename : gfx/thebes/src/gfxUserFontSet.cpp => gfx/thebes/gfxUserFontSet.cpp
rename : gfx/thebes/public/gfxUserFontSet.h => gfx/thebes/gfxUserFontSet.h
rename : gfx/thebes/src/gfxUtils.cpp => gfx/thebes/gfxUtils.cpp
rename : gfx/thebes/public/gfxUtils.h => gfx/thebes/gfxUtils.h
rename : gfx/thebes/src/gfxWindowsNativeDrawing.cpp => gfx/thebes/gfxWindowsNativeDrawing.cpp
rename : gfx/thebes/public/gfxWindowsNativeDrawing.h => gfx/thebes/gfxWindowsNativeDrawing.h
rename : gfx/thebes/src/gfxWindowsPlatform.cpp => gfx/thebes/gfxWindowsPlatform.cpp
rename : gfx/thebes/public/gfxWindowsPlatform.h => gfx/thebes/gfxWindowsPlatform.h
rename : gfx/thebes/src/gfxWindowsSurface.cpp => gfx/thebes/gfxWindowsSurface.cpp
rename : gfx/thebes/public/gfxWindowsSurface.h => gfx/thebes/gfxWindowsSurface.h
rename : gfx/thebes/src/gfxXlibNativeRenderer.cpp => gfx/thebes/gfxXlibNativeRenderer.cpp
rename : gfx/thebes/public/gfxXlibNativeRenderer.h => gfx/thebes/gfxXlibNativeRenderer.h
rename : gfx/thebes/src/gfxXlibSurface.cpp => gfx/thebes/gfxXlibSurface.cpp
rename : gfx/thebes/public/gfxXlibSurface.h => gfx/thebes/gfxXlibSurface.h
rename : gfx/thebes/src/ignorable.x-ccmap => gfx/thebes/ignorable.x-ccmap
rename : gfx/thebes/src/nsUnicodeRange.cpp => gfx/thebes/nsUnicodeRange.cpp
rename : gfx/thebes/src/nsUnicodeRange.h => gfx/thebes/nsUnicodeRange.h
rename : gfx/thebes/src/woff-private.h => gfx/thebes/woff-private.h
rename : gfx/thebes/src/woff.c => gfx/thebes/woff.c
rename : gfx/thebes/src/woff.h => gfx/thebes/woff.h
2010-06-28 10:37:23 -07:00
Robert O'Callahan
d34e9db39e Bug 572317. Allow snapped rectangles to snap even if there's a 90 degree rotation. r=jrmuizel 2010-06-28 12:29:57 +12:00
Karl Tomlinson
24799dd3c3 b=573319 no longer use GdkPixmaps in offscreen-surfaces as they were unusable without a GdkColormap r=jrmuizel 2010-06-27 20:05:00 +12:00
Karl Tomlinson
ad9cadf16a b=574158 free Pixmaps from the destructor to handle error cairo surfaces r=jrmuizel 2010-06-27 20:04:33 +12:00
Karl Tomlinson
55e71bbb68 b=574156 limit Pixmap dimensions to the *signed* 16-bit range r=jrmuizel 2010-06-27 20:03:48 +12:00
Vladimir Vukicevic
245c95c82b b=573181; clean up render path on Android and prepare for GL layers rendering; r=mwu 2010-06-25 17:52:37 -07:00
Oleg Romashin
7a883a2803 Bug 548437 - Implement a SysV shared memory backend for Shmem and allow them to be used with Xshm. r=joe,sr=vladimir 2010-06-04 09:58:22 -04:00
Neil Rashbrook
9270d2e6b4 Bug 569490 Don't build D3D9 layer if we can't find d3d9.h r=ted,jmuizelaar 2010-06-06 11:37:44 +01:00
Michael Wu
63f56cde6f Bug 575421 - Improve 2D drawing path on Android, r=vlad 2010-06-28 23:42:28 -07:00
Bas Schouten
ef1cf4a69e Bug 567844 Shared builds on Windows broken by bug 546515 - Add LayerManagerD3D9 to Dll dependencies only for XP_WIN. Patch by Bas, ifdefs by Walter Meini, r=roc 2010-05-25 09:43:30 +01:00
Vladimir Vukicevic
917dfcb032 b=567626; fix up opengl layers; r=bas 2010-05-24 23:35:35 -07:00
Oleg Romashin
df74faa7fe Bug 571832 - Bind(Release)TexImage, fix complex logic commented by vlad 2010-06-24 06:04:28 -04:00
Chris Jones
a5ab49fb9e Followup to bug 572939: Use X11Util and the already_AddRefed type coercion operator in GLContextProviderGLX and fix a potential leak-on-error. r=karlt 2010-06-23 22:52:48 -05:00
Oleg Romashin
0624a7aff7 Bustage build fix on ANDROID, EGL/non-X11 configureation. bug 571832 2010-06-23 11:50:51 -04:00
Oleg Romashin
76e24ff16e Bustage build fix on linux, EGL/X11 configureation. bug 571832 2010-06-23 11:39:33 -04:00
Oleg Romashin
d3bd6b7a5b Bug 571832 - Provide CreateForNativePixmapSurface API. r=vladimir.
--HG--
extra : rebase_source : 0f7214266a6bf449620d6b46fd14bc6978b621ee
2010-06-23 05:24:31 -04:00
Oleg Romashin
dc52950aa1 Bug 560537 - Make EGL provider use GL context created by Qt. r=bas.schouten.
--HG--
extra : rebase_source : 45a0da770a8e8a89c4ca02c67469893cd4f9872a
2010-06-23 05:24:22 -04:00
Oleg Romashin
9e9a380094 Bug 560537 - Fix indent for EGL provider. r=bas.schouten.
--HG--
extra : rebase_source : 5e2376f681dd4c638c111c74cc203c59df9c318a
2010-06-23 04:02:12 -04:00
Robert O'Callahan
68673e0e55 Bug 572288. Fix surface leak in CreateSimilarSurface. r=jrmuizel 2010-06-18 21:21:15 +12:00
Jonathan Kew
018a6f2a55 bug 571724 - check for missing hhea table; fall back to platform if unable to use harfbuzz with the given font. r=jdaggett 2010-06-16 07:37:37 +01:00
Vladimir Vukicevic
3061c863cb untabifying GLContext.cpp 2010-06-14 23:56:29 -07:00
Matt Woodrow
add71beb77 b=565833; add GLX GLContextProvider, pbuffers only; r=vlad 2010-06-14 23:55:08 -07:00
Benoit Jacob
0ff97eaf80 b=569236; better WebGL messages; r=vladimir 2010-06-14 14:44:12 -04:00
Bas Schouten
2d1a915eac Bug 564959: Re-introduce division of text ranges for analysis at proper division points. r=jfkthame 2010-06-14 17:46:30 +02:00
John Daggett
bbd0a368bc Bug 449292. Fix ReadCMAP compile error. r=vlad 2010-06-14 15:53:53 +09:00
Oleg Romashin
c1ec97595b Bug 545632 - Add 16bpp format support enabler. r=jmuizelaar 2010-06-11 05:33:22 -04:00
Benoit Jacob
58619e4355 Bug 567209. OSMesa rendering needs to be flipped. r=vlad 2010-05-24 09:36:49 +12:00
Benoit Jacob
3a52454889 Bug 567190. Initialize ContextFormat to zero properly. r=vlad 2010-05-24 09:36:49 +12:00
Vladimir Vukicevic
e976fe877d b=563701; add memory reporters for imglib, canvas, and some gfx surfaces; r=joe 2010-05-21 21:10:14 -07:00
Vladimir Vukicevic
525840a488 b=567272; wglMakeCurrent is expensive; r=bas 2010-05-20 17:20:39 -07:00
Walter Meinl
c8241db0f1 bug564026 - [OS/2] fix linking issues with layers on shared builds r=ted
--HG--
extra : rebase_source : 10cb036b2e2e41de85d1b318d982f027d21e4554
2010-05-18 13:32:00 -04:00
Ehsan Akhgari
a87b134220 Bug 560647 - add startup timeline instrumentation; r=vlad 2010-05-19 19:22:19 -04:00
Benoit Jacob
7dfee0fad7 b=565417; add OSMesa GLContextProvider (pbuffers only); r=vlad 2010-05-19 13:46:08 -07:00
Brad Lassey
33de7c15c9 Bug 565096 - Prevent crash on shutdown in FT2 backend, r=vlad 2010-05-19 13:11:26 -07:00
Brad Lassey
fea6ae45f8 Bug 565094 - mFaceName unnecessary in gfxFT2Fonts.h, r=vlad 2010-05-19 13:09:36 -07:00
Oleg Romashin
edfc506b1a Bug 566133 - gfxSharedImageSurface.cpp is not compiling for other platforms. r=jones.chris.g 2010-05-18 07:04:21 -04:00
Vladimir Vukicevic
27ea4b61fc Sprinkle some THEBES_API to fix non-libxul builds 2010-05-17 22:43:05 -07:00
Vladimir Vukicevic
b99bb96c47 b=561168; convert canvas to use layers for rendering; r=roc,bas 2010-05-17 21:04:22 -07:00
Jonathan Kew
9835bb0285 merged backout of c475fc8bac21 2010-05-16 11:54:47 +01:00
Jonathan Kew
7c95994203 Backed out changeset c475fc8bac21 (bug 554820) due to Hebrew regression on OS X 10.5, see bug 565766. 2010-05-16 11:53:43 +01:00
Jonathan Kew
d59bed2651 bug 554820 - prefer Windows cmap subtable to avoid problems with synthesized tables on OS X 10.6. r=jdaggett 2010-04-30 21:10:51 +01:00
Jeff Muizelaar
347084e968 Bug 562334. cairo: Fix cairo_quartz_get_cg_context_with_clip. r=vlad
A problem happens when clip->all_clipped is set and we go to get a clipped
context. Normally backends don't see operations with clip->all_clipped and so
_cairo_surface_clipper_set_clip is designed with the assumption that
clip->all_clipped is never true. I added a work-around by manually setting the
CGContextClip with an empty rectangle, however this caused cairo to be confused
about what the actual clip was.

This patch fixes the problem by adding a new function
cairo_quartz_finish_cg_context_with_clip that is called after we're done with
the native context. It moves the CGContextSave/RestoreGState calls out of
gfxNativeDrawing into cairo and uses them to ensure that the clip remains
consistent with cairo's model of them.
2010-04-29 23:19:08 -04:00
Oleg Romashin
b2716147b6 Bug 562285 - Rewrite gfxSharedImageSurface class to be compatible with IPC Shmem.r=jones.chris.g, sr=vladimir
--HG--
extra : rebase_source : 245e4c8ee52856bcf8900a049132b9f5b4a53bbb
2010-05-13 11:52:59 -04:00
Oleg Romashin
ef8be4ebf8 Bug 561891 - QPainter is is busted after last cairo merge. r=jmuizelaar. 2010-04-29 06:25:02 -04:00
Masatoshi Kimura
ea58edf150 b=546013 Ignore default ignorable chars instead of drawing hexbox r=jfkthame
--HG--
extra : rebase_source : 987fa83e4465cd1e4d2a7a3653b45950b31636a7
2010-04-29 09:51:16 +12:00
Bas Schouten
181e985775 Bug 560147: Follow-up fixing non-libxul builds. This will include layers into thebes.dll, and ensure thebes.dll exposes the correct symbols. r=ted 2010-04-28 22:43:52 +02:00
Benoit Jacob
680ac240d5 Bug 565287: Properly initialize mOGLLibrary on GLContectProviderCGL. r=bas 2010-05-12 18:56:40 +02:00
Jonathan Kew
a338d94cff bug 552308 - add arithmetic overflow checks in woff encoding routines (NPOTB). r=dveditz 2010-05-12 13:17:58 +01:00
Jonathan Kew
9581487a1d bug 564309 - cache non-antialiased font to fix MathML perf regression on Windows. r=roc 2010-05-12 13:17:55 +01:00
Oleg Romashin
078005c4d2 Bug 561772 - Simplify Qt rendering modes and remove dependency from gfxSharedImageSurface. r=joe.
--HG--
extra : rebase_source : d42def8318eb068571f0a5db515593d7f99a56c0
2010-05-11 13:31:56 -04:00
Vladimir Vukicevic
706e10c197 bug 556420 - Add support for android to thebes r=joedrew 2010-05-11 13:27:36 -04:00
Brian Lu
6f6b4e47f9 Bug 563607 Failed to build libthebes.so on OpenSolaris r=roc 2010-05-06 13:44:56 +08:00
Jonathan Kew
81f19261c4 bug 502906 - part 3.1 - followup to fix memory footprint regression from part 3. r=jdaggett 2010-05-05 11:10:36 +01:00
Matt Woodrow
38db2f043b Bug 561957. Support GL backend on Mac OS X. r=vlad 2010-04-28 10:29:29 +12:00
Mats Palmgren
d0b4571d12 Assert that we only increment reasonable side/corner values. Note that incrementing the max value is allowed so that for-loops can be used without complicating the break-condition. r=timeless b=334571 2010-04-27 18:15:02 +02:00
timeless
83499da47b Bug 334571 Coverity 702, NS_SIDES array limit check - replace NS_FOR_CSS_SIDES defines with enum. r=zwol,mats 2010-04-27 18:15:02 +02:00
timeless
97c43a3297 Bug 334571 strip trailing whitespace. r=zwol 2010-04-27 18:15:01 +02:00
Mark Banner
261fd5e0bf Follow up bustage fix to bug 560147, put THEBES_API in the right place. 2010-04-27 10:35:34 +01:00
Mark Banner
94351d1062 Fix non-libxul build bustage from bug 560147 - thebes public functions should define THEBES_API. rs=roc 2010-04-27 09:49:01 +01:00
Bas Schouten
8224eab52e Bug 560147: Bustage fix for changeset c453741bcbdb. r=joe 2010-04-27 04:21:46 +02:00
Bas Schouten
bc05313947 Bug 560147: Add a Unified OpenGL wrapper in Thebes that can be used from throughout the tree. r=vlad 2010-04-27 04:09:44 +02:00
Jeff Muizelaar
1ff50fe646 Bug 542605. Update cairo to 12d521df8acc483b2daa844d4f05dc2fe2765ba6. r=vlad,jwatt,bas
Reland after fixing quartz related clipping bug and a bunch of other ones
2010-04-05 22:28:54 -04:00
Mike Hommey
02347798c9 Bug 560897 - Properly close #pragma pack in gfxFontUtils.cpp, and enclose EOTFixedHeader in #pragma pack [r=roc] a=me 2010-04-24 10:25:45 +02:00
Michael Wu
0dc7ee1deb Bug 540788 - disable text hinting on mobile r=vlad 2010-04-22 15:03:02 -07:00
Taras Glek
95c2c4903e Back out bug 560897. 2010-04-22 11:51:11 -07:00
Taras Glek
e9934754b4 Bug 560897: close #pragma pack r=roc
--HG--
extra : rebase_source : 22e464f28ac79681b13c46fa213a81faa7e87d91
2010-04-21 17:07:44 -07:00
Oleg Romashin
8563022a30 Bug 464966 - Add NPAPI Plugin support for Mozilla Qt. r=karlt
--HG--
extra : rebase_source : d86430f750bbedde12e779f0073369a3b05b2427
2010-04-20 21:49:34 +03:00
Michael Ventnor
3602bd64b6 Bug 544099 - Highly optimise -moz-box-shadow for common cases by allowing layout to specify an area where blurring is not needed r=roc,joe
--HG--
rename : gfx/thebes/src/gfxBlur.cpp => gfx/src/thebes/utils/gfxBlur.cpp
rename : gfx/thebes/public/gfxBlur.h => gfx/src/thebes/utils/gfxBlur.h
extra : rebase_source : d7ad7a1ee2ac9e25937133dba95f0f8d7347d612
2010-04-18 13:13:10 +10:00