Commit Graph

2346 Commits

Author SHA1 Message Date
Bas Schouten
c8c48218d9 Bug 594624: Toss out surfaces on content type changes. r=jrmuizel a=blocking-beta6 2010-09-12 21:38:47 +02: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
a3a0931e4a Bug 589845 - Link error in cairo-qt-surface qt_draw_glyphs. r=jmuizelaar, a=stuart 2010-09-05 08:17:58 -07:00
Chris Jones
29a74cf7e8 Bug 590294, part 8: Implement resolution-scaled drawing for basic layers. r=roc 2010-09-03 15:10:46 -05:00
Chris Jones
041882a123 Bug 590294, part 7: Add APIs for recording the resolution at which ThebesLayers were painted and for requesting resolution-scaled drawing for basic layers. r=roc sr=vlad 2010-09-03 15:10:46 -05:00
Chris Jones
c3e279df85 Bug 590294, part 3: Keep ContainerLayer type info around in a few places. r=roc 2010-09-03 15:10:45 -05:00
Chris Jones
2aaf1a0c12 Bug 590294, part 2: Add a ContainerLayer attribute FrameMetrics that stores relevant information from layout/ on the root layer. r=roc sr=vlad 2010-09-03 15:10:45 -05:00
Chris Jones
6e7a7cd71a Merge m-c --> cedar
--HG--
rename : layout/style/test/hover_helper.html => layout/style/test/chrome/hover_helper.html
rename : layout/style/test/test_hover.html => layout/style/test/chrome/test_hover.html
2010-09-03 14:07:55 -05:00
Matt Woodrow
80b5ce86e3 b=593273, fix d3d9 layer manager crash on reftest shutdown, r=bas a=b 2010-09-03 14:07:59 -04:00
Joe Drew
3ef9ce1660 Bug 590841 - Add the ability for a DOM window to let us know when it's accelerated, and use that value in about:support. r=gavin sr=roc a=blocking2.0:beta6+ 2010-09-03 14:01:05 -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
Robert O'Callahan
ea9f2b9fe9 Fixing bustage, a=me 2010-09-03 16:20:23 +12:00
Chris Jones
88720785f0 Followup to bug 570294: Need to use OPERATOR_SOURCE for copying surface->surface. r=roc 2010-09-02 23:14:12 -05: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
Matt Woodrow
8188c29e37 Bug 590367 - Render RGB d2d layers with a RGBA surface and shader r=Bas, a=blocking2.0 2010-09-03 15:51:04 +12:00
Matt Woodrow
47a1df4aa3 Bug 593224 - ContainerLayerD3D9 can reset the clip rect r=Bas, a=blocking2.0 2010-09-03 15:50:53 +12:00
Matt Woodrow
da3df6842e Bug 590735 - D3D9/OGL Image layers need to round up on uneven sized YCbCr images r=joe, a=blocking2.0 2010-09-03 15:50:42 +12:00
Matt Woodrow
ca68b51b78 Bug 589632 - Fix LayerManagerD3D9 debug output r=Bas, a=blocking2.0 2010-09-03 15:50:29 +12:00
Chris Jones
ffd2e6087e Bug 593248: Release old shmem surfaces on realloc. r=joe 2010-09-02 22:05:01 -05:00
Robert O'Callahan
33df3b813d Bug 579276. Part 13: Use CONTENT_COLOR for temporary surface in nonretained path, if possible. r=cjones 2010-09-03 14:31:42 +12:00
Robert O'Callahan
faf8ba3044 Bug 579276. Part 12: Clip all drawing to the visible region on the nonretained path. r=cjones 2010-09-03 14:31:42 +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
5cc76df7ce Bug 579276. Part 7: Don't retain transparent layers that would hurt text rendering. r=cjones 2010-09-02 21:18:41 +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
Robert O'Callahan
0356f8659e Bug 579276. Part 3: Change Set/IsOpaqueContent API to a more generic Get/SetContentFlags API. r=cjones,sr=vlad 2010-09-02 21:18:40 +12:00
Robert O'Callahan
a150e0aa96 Bug 579276. Part 1: Change layer/layermanager user data API to use keys and values. r=cjones,sr=vlad 2010-09-02 21:18:39 +12:00
Oleg Romashin
bd3aa71c63 Merged m-c: 51d17027ff45 -> cedar 2010-09-01 09:36:29 -07:00
Bas Schouten
5cbe2d49ec Bug 596152: Clear intermediate textures used with container layers. r=jrmuizel a=blocking-beta7 2010-09-15 17:00:42 +00:00
Oleg Romashin
346c73181d Bug 556487 - Subimage API. r=roc a=blocking2.0 2010-09-15 09:02:42 -07:00
Mike Hommey
45436fd809 Bug 589743 - Use the slow path for ycbcr on unsupported architectures instead of failing to building. r+a=roc
--HG--
extra : rebase_source : 94d945125b193a29551ebdb5c8f52b98b6787e3e
2010-09-06 09:14:48 +02:00
Robert O'Callahan
122b1cde0f Bug 593361. Part 2. Don't bother trying to draw directly to the backbuffer instead of retaining ThebesLayer, if the backbuffer is transparent anyway. r=tnikkel
--HG--
extra : rebase_source : 4a8d5833d6fab79147389a7c2f49f8653e90b9c5
2010-09-06 15:02:43 +12:00
Robert O'Callahan
1e8c57404f Bug 593361. Part 1: Limit the region of a non-retained layer we repaint to the clip region of the destination buffer. r=tnikkel
--HG--
extra : rebase_source : 20bea1e114bffe61bb621e7e99757cccd9fc98a0
2010-09-06 15:00:10 +12: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
Bas Schouten
06e1af0909 Bug 590695: Don't check mDeviceEx when it doesn't exist. r=vlad a=blocking-beta6 2010-09-05 18:59:57 +02:00
Joe Drew
8678c3e212 Bug 593618 - Because we always paint the whole texture we're drawing to, we need to validate and draw the _bounds_ of the visible region, not just the visible region's subrectangles. r=bas a=blocking2.0:beta6+ 2010-09-05 01:31:19 -04:00
Chris Jones
7b7af2c67c Merge m-c --> cedar
--HG--
rename : layout/generic/nsFrameFrame.cpp => layout/generic/nsSubDocumentFrame.cpp
2010-08-31 02:29:31 -05: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
Bas Schouten
37b1df3df1 Bug 592024 - Don't clear shared D3D9/D2D surfaces in cairo_d2d_create_for_handle because D3D9 and D2D need a lot of synchronization points. Instead, put a clear in DrawRegion, which already has synchronization points. r=jrmuizel a=blocking 2010-09-02 15:07:26 -04:00
Vladimir Vukicevic
70490d6dea b=591486; implement gfx feature blocklist; r=jrmuizel; a=b5 2010-08-30 17:45:29 -04:00
Matt Woodrow
580d5fa9de Bug 587678 - Implement ImageLayerOGL::GetCurrentAsSurface for YUV surfaces. r=bas a=blocking2.0:beta6+ 2010-09-03 23:27:04 -04:00
Matt Woodrow
3b8fe67d49 Bug 593530 - Don't leak the DeviceManagerD3D9 if initializing it fails. r=joe a=blocking2.0:beta6+ 2010-09-03 23:21:26 -04:00
Timothy Nikkel
1573f4c076 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
Chris Jones
49048c0d61 Merge m-c --> cedar
--HG--
rename : layout/style/test/test_hover.html => layout/style/test/hover_helper.html
2010-08-31 00:35:03 -05:00
Timothy Nikkel
72cb3f4b66 Revert to rev 36a5e2fa01c9 2010-08-28 01:11:22 -05: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
Bas Schouten
f72e7d2c0d Bug 574976: Follow-up, process one more review comment. r=jrmuizel a=blocking-beta5 2010-08-27 22:24:42 +00:00
Bas Schouten
6684d88514 Bug 574976: Read the system cleartype pref an adhere to the expected behavior. r=jrmuizel a=blocking-beta5 2010-08-27 22:12:06 +00:00
Bas Schouten
a67e91641e Bug 573013: Report more appropriate errors from acquire_source_image. r=jrmuizel a=blocking-beta5 2010-08-27 22:12:03 +00:00
Timothy Nikkel
1a50041f86 imported patch returnnullincreatesimilar 2010-08-26 22:01:43 -05:00
Chris Jones
8992432666 Merge m-c --> cedar 2010-08-26 21:36:43 -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
Joel Maher
b61eda4b1d Bug 586754 Xpcshell tests should use relativesrcdir instead of $MODULE (android prepartion) r=mitchell.field a=NPOTB 2010-08-26 14:47:28 -07: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
Bas Schouten
ea31f72c26 Fix line endings in DeviceManagerD3D9. 2010-08-26 20:44:11 +00:00
Oleg Romashin
832333ab06 Merged with mozilla-central: 00186bbb7459 2010-08-24 14:21:48 -07:00
Chris Jones
1b38174082 Merge remote-frame code into m-c tip 2010-08-23 22:10:50 -05: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
Loïc Yhuel
b6ed504f4c Bug 589809. D2D: Fix running with PIX. r=bas
When we do "newSurf->backBuf->QueryInterface(&newSurf->surface);", PIX returns
the original interface instead of the hooked one, so I swapped newSurf->backBuf
and newSurf->surface, to get the two interfaces in the reverse order. In this
case PIX returns hooked interfaces which will work when used as argument of
hooked methods.
2010-08-24 13:46:34 -04:00
Loïc Yhuel
9b46c88361 Bug 589809. D2D: Fix surface leak. r=bas
We were using a raw pointer and not releasing it.
Switch to a RefPtr.
2010-08-24 13:46:03 -04: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
Jonathan Kew
db6beae972 bug 580719 followup - add crashtest based on the testcase in comment 9. r=jdaggett a=test-only 2010-08-23 11:32:31 +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
Chris Jones
9ce9433a4a Bug 570620, part o: Connect the dots to enable drawing remote frames for <browser remote>: create the frame on the content side, insert a display item for it in compositor-side SubdocFrame, and use IPC-enabled layer managers to make it all work. r=mats sr=roc 2010-08-20 18:24:41 -05:00
Chris Jones
07e1a3fd87 Bug 570620, part n: Hook layout/ipc into the build system, and integrate PRenderFrame into the PBrowser family. sr=bsmedberg 2010-08-20 18:24:41 -05:00
Chris Jones
f30d5c8a27 Bug 570620, part i: Implement ShadowLayer::Disconnect() for common-case shutdown, and ShadowableLayer::Disconnect() for emergency-case shutdown. r=vlad 2010-08-20 18:24:41 -05:00
Chris Jones
d839c7e1a5 Bug 570620, part h: Add a Layer::Disconnect interface. sr=vlad 2010-08-20 18:24:41 -05:00
Chris Jones
b59148a17a Bug 570620, part g: Fix bone-headed bugs with shadowable layers, remove unnecessary MOZ_LAYER_DECL_NAME()s, and have the "shadow layer manager" side keep a "shadow root" rather than setting the "real" root. r=vlad 2010-08-20 18:24:41 -05:00
Chris Jones
5e7a13a689 Bug 582057, part b: Remove nsIDeviceContext::SupportsNativeWidgets because it's not used meaningfully, and will be confusing in content processes. sr=roc 2010-08-20 14:29:01 -05: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
Jonas Sicking
cbc0676504 Backout bugs 586754, 574189, 584611 due to orange. a=backout 2010-08-20 11:08:43 -07:00
Joel Maher
6763342e81 Bug 586754 xpcshell tests should use relativesrcdir instead of $MODULE r=:Mitch a=NPOTB 2010-08-20 09:32:58 -07: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
Karl Tomlinson
9262413ddf backout dbbb9575aae1 due to build issues in some configurations b=577743 2010-08-23 16:27:49 +12:00
Chris Double
2c4ba817cd Bug 577743 - Scale videos at YCbCr to RGB conversion time - r=roc a=blocking 2010-08-23 13:47:33 +12: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
Bas Schouten
ba35c84ad7 Bug 593860: Only render parts of a layer in the visible region. r=jrmuizel a=blocking-betaN 2010-09-08 05:27:38 +02:00
Bas Schouten
8f778f866d Bug 593268 - Part 3: Implement CreateOptimalSurface for D3D9 layers and use interop in CanvasLayerD3D9. r=jrmuizel 2010-09-08 05:27:36 +02: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
Bas Schouten
b3e32db8d5 Bug 593268 - Part 1: Expose LayerManager::CreateOptimalSurface. r=vlad sr=roc 2010-09-08 05:27:29 +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
Matt Woodrow
a7f65761ea Bug 505115 - Part 1 - Fix OpenGL container layer to support transforming children.r=vlad,a=roc 2010-09-07 17:35:50 -07: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
Rich Walsh
b78cd74449 Bug 557159 - [OS/2] Optimize Cairo/Thebes surfaces. Surface Part 1 - Cairo. r= Peter Weilbacher, a=NPOTB 2010-08-21 12:47:43 -07:00
Jonathan Kew
2d80a708b1 bug 589862 - [harfbuzz] don't zero advances of mark glyphs when doing mark-to-base-attachment. r=jdaggett a=blocking2.0 2010-08-26 13:01:25 +01:00
Makoto Kato
f5bd2bc6da Bug 488851 - Enable SSE2 for pixman r=jmuizelaar, a=joe 2010-08-26 15:54:10 +09:00
Clint Talbert
1afdc1b8df Backed out changeset 49beef9387a0 due to Xpcshell orange a=backout
--HG--
extra : rebase_source : 01307f705ab07b7784401d69a53921b200544978
2010-08-25 14:03:44 -07:00
Joel Maher
51fff79f07 Bug 586754 Change xpcshell to use $relativesrcdir instead of $module for android support a=NPOTB r=mitchell.field 2010-08-25 11:47:39 -07:00
Vladimir Vukicevic
2df58148c6 comments only, updating license text. a=b 2010-09-13 13:45:20 -07: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
Robert O'Callahan
e31e06e790 Backing out bug 579276. a=me 2010-09-02 23:14:25 +12:00
Robert O'Callahan
c47e21d634 Fixing bustage, a=me 2010-09-02 22:15:17 +12:00
Robert O'Callahan
3f950a172c Bug 579276. Part 7: Don't retain transparent layers that would hurt text rendering. r=cjones 2010-09-02 21:18:41 +12:00
Robert O'Callahan
7e230f4f3c Bug 579276. Part 6: Add gfxASurface::GetTextQualityInTransparentSurfaces API. r=jrmuizel,sr=vlad 2010-09-02 21:18:41 +12:00
Robert O'Callahan
09145533e8 Bug 579276. Part 3: Change Set/IsOpaqueContent API to a more generic Get/SetContentFlags API. r=cjones,sr=vlad 2010-09-02 21:18:40 +12:00
Robert O'Callahan
14f3d9ad78 Bug 579276. Part 1: Change layer/layermanager user data API to use keys and values. r=cjones,sr=vlad 2010-09-02 21:18:39 +12:00
Jeff Muizelaar
8854ffd842 Bug 589395. d3d9: adjust vertex locations in the vertex shader. r=bas,a=blocking
Previously we adjusted the vertex locations directly, now
they have an implicit adjustment that happens in the vertex shader.
This should let us ignore the pixel center differences between
opengl/d3d9/d3d10.
2010-09-01 17:10:51 -04:00
Jeff Muizelaar
46319343f4 Bug 592458. Generate the d3d9 shaders using a script. r=bas,a=joe
This isn't part of the build because we don't want to depend
on the directx sdk (fxc) for building.
2010-09-01 17:02:02 -04:00
Vladimir Vukicevic
cbe35a0e14 backing out 2796c7 (bug 539771); a=b 2010-09-01 15:54:01 -04:00
Vladimir Vukicevic
5ff9acda51 b=590244; update ANGLE to r385; r=vlad; a=b 2010-09-01 15:04:51 -04:00
Vladimir Vukicevic
482dd7f865 b=539771; Add support for context attribs to canvas; r=jmuizelaar 2010-09-01 15:04:48 -04:00
Matt Woodrow
5407e8a286 Bug 589978 - [D3D9] 2D canvas layers always have premultiplied alpha. r=bas, a=beta5+ 2010-08-23 20:58:27 -07:00
Matt Woodrow
2bfe332d33 Bug 589755 - [D3D9] Canvas layer uses incorrect source with d2d surfaces. r=bas, a=beta5+ 2010-08-23 20:57:59 -07:00
Matt Woodrow
368146a42c Bug 589097 - [D3D9] Incorrect alpha blending on canvas layers. r=bas, a=beta5+ 2010-08-23 20:57:22 -07:00
Matt Woodrow
5eefa3d811 Bug 588212 - LayerManagerD3D9 PaintToTarget uses wrong render target. r=bas, a=beta5+ 2010-08-23 20:56:49 -07:00
Vladimir Vukicevic
a0c291f145 Bug 589891 - d2d 0-sized surfaces shouldn't cause a Cxx exception. r=jmuizelaar, a2.0=blocking-beta5 2010-08-23 20:12:11 -07:00
Bas Schouten
76f1a10ae3 Fix bustage from changeset 8c767b950381. a=bustage 2010-08-20 05:58:44 +02:00
Bas Schouten
61add0e551 Bug 588690 - Part 1: Expose ClearCachedResources on BasicLayerManagers. r=roc 2010-08-20 05:40:49 +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
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
Rob Arnold
422de2253b Bug 587566 - Enable Depth/Clip to allow D2D for non DX10 devices; r=bas.schouten approval2.0=joe 2010-08-19 09:28:14 +01:00
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