Commit Graph

2122 Commits

Author SHA1 Message Date
Robert O'Callahan
8d6e97edd5 Bug 537890. Part 11: Introduce _TO_INT_TWIPS macros and have some _TO_TWIPS callers use _TO_INT_TWIPS instead. r=dbaron 2010-08-13 21:59:16 +12:00
Robert O'Callahan
20c2a19d6a Bug 537890. Part 10: Fix nsPresContext and nsIDeviceContext unit-conversion methods to be explicit about using CSS logical units instead of physical units. r=dbaron 2010-08-13 21:58:04 +12:00
Robert O'Callahan
b7df1787ef Bug 537890. Part 4: Make points be a fixed number of CSS pixels. r=dbaron 2010-08-13 21:58:01 +12:00
Robert O'Callahan
2ee9178a2e Bug 537890. Part 3: Remove gfxPlatform::GetDPI(). r=vlad 2010-08-13 21:58:01 +12:00
Robert O'Callahan
87bbf8a495 Bug 537890. Part 8: Define MM_PER_INCH_FLOAT. r=dbaron 2010-08-13 21:57:57 +12:00
Robert O'Callahan
8eec063c4f Bug 537890. Part 1: Add nsIWidget::GetDPI and nsIWidget::GetDefaultScale and use them to set up device contexts. r=vlad,sr=dbaron 2010-08-13 21:57:48 +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
66f29f398d Bug 587856 - Part 1: Expose D2D surface VRAM usage from cairo device. 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
Rob Arnold
beb6ddf7e8 Bug 554982 - Add support for borderless glass and remove the borders from the main window. r=roc,dao a=blocking2.0 2010-08-17 23:07:10 -04:00
Jeff Muizelaar
5e9ef56af6 cairo: Fix a clip test to test the right coordinate. r=ehsan,a=gavin
Fixed upstream by 498c10032ea3f8631a928cd7df96766f2c8ddca4
2010-08-17 20:08:57 -04: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
Jonathan Kew
9b607c97fd bug 580719 - pt2 - [harfbuzz] check face validity before using ot_layout in hb-ot-layout.cc. r=jdaggett a=blocking2.0 2010-08-17 15:49:40 +01:00
Jonathan Kew
3b45080ed0 bug 580719 - pt1 - [harfbuzz] check head table validity when creating face. r=jdaggett a=blocking2.0 2010-08-17 15:49:40 +01:00
Jonathan Kew
4ce1757549 bug 586501 - [harfbuzz] check 'rows' value is valid during GPOS sanitize. 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
40822a9053 Bug 587342: Use the correct content type for fallback surfaces. r=jrmuizel 2010-08-16 09:15:03 +02: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
Bas Schouten
8e08f7907f Bug 587318: Only pad horizontal glyph metrics. r=jdaggett 2010-08-16 09:15:03 +02:00
Bas Schouten
45503c0935 Bug 587316 - Part 4: Support CAIRO_EXTEND_NONE for D2D source surfaces. r=jrmuizel 2010-08-16 09:15:02 +02:00
Bas Schouten
048318af5c Bug 587316 - Part 3: Allow custom operators when doing masking. r=jrmuizel 2010-08-16 09:15:02 +02:00
Bas Schouten
d84bbb3709 Bug 586316 - Part 1: Use MITER_OR_BEVEL to adhere to cairo expected behavior. r=jrmuizel 2010-08-16 09:15:01 +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
Vladimir Vukicevic
189a43e086 b=586043; GL layer manager should use GetClientBounds, not GetBounds; r=bas 2010-08-14 10:52:16 -07:00
Jacek Caban
7460ee1472 Bug 586279 - Broken DeviceManagerD3D9.h compilation on mingw r=bas.schouten a=joe
--HG--
extra : rebase_source : c3c6d40e0adbfa705759cb238ea10fc0e12e0d4a
2010-08-14 16:43:14 +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
bb134293b4 Bug 587289: Unload D3D10_1.dll at the right place. r=joe a=blocking-beta4+ 2010-08-14 10:18:05 +02: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
Bas Schouten
37823092aa Bug 573229: Part 1 - Allow creating a d2d device from an existing d3d10 device. r=jrmuizel 2010-08-14 08:34:16 +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
Bas Schouten
bd1249e5eb Bug 586562: Always use A8R8G8B8 for our swap chains. Fixes black chrome for NVidia. r=vlad a=mossop 2010-08-12 18:25:12 +00:00
Bas Schouten
2b819506ec Bug 586159: Use SYSTEMMEM textures instead of OffscreenPlainSurfaces, better supported on NVidia. r=vlad 2010-08-12 18:25:09 +00: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
Jeff Muizelaar
12954a0e6e Bug 586348 - [d2d] Device creation has shadow variables that cause problems, r=Bas,joe a=blocking2.0 2010-08-11 18:29:14 -07: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