Commit Graph

2241 Commits

Author SHA1 Message Date
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
e4f9c60a96 Bug 595154 - Part 4: Bail when texture lock fails. r=vlad a=b 2010-09-14 12:57:25 +02:00
Bas Schouten
419fbbb7b3 Bug 595154 - Part 3: Recreate/update CanvasLayerD3D9 texture when needed. r=vlad 2010-09-14 12:57:03 +02:00
Bas Schouten
260c735044 Bug 595154 - Part 2: Clean CanvasLayerD3D9 resources when needed. r=jrmuizel 2010-09-14 12:56:56 +02:00
Bas Schouten
e7f5acb977 Bug 595154 - Part 1: Generalize cleaning layer resources. r=jrmuizel 2010-09-14 12:56:39 +02:00
Vladimir Vukicevic
2df58148c6 comments only, updating license text. a=b 2010-09-13 13:45:20 -07: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
Matt Woodrow
0a385ec477 b=594642; [gl] use scissor rect when drawing layers; r=vlad 2010-09-09 16:40:15 -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
Jeff Muizelaar
8feca90288 Bug 594187. ogl: Handle 0x0 widgets in Render(). r=vlad
OpenGL doesn't like drawing to things without area so just bail.
2010-09-07 19:59:47 -04:00
Vladimir Vukicevic
1ef839a9f7 b=592462; [gl] followup, clear scissor region we're about to repaint; r=jrmuizel 2010-09-07 17:31:40 -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
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
Vladimir Vukicevic
c9440f4f86 Bug 592462 - fix fullscreen video with OpenGL on Maemo with Qt. r=jmuizelaar. a=blocking-fennec
--HG--
extra : rebase_source : 765979328a5337242c9b7a8bd837b92ed2ed4062
2010-09-09 16:41:02 -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
caacfe8928 Bug 422179 - Part 2: Honor Cairo version in tree; r=jmuizelaar a=blocking-final+ try: --build do --p linux,linux64 --m none --u all --t all 2010-09-09 16:27:12 -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
Daniel Holbert
ecd6d13497 Bug 594650: Replace static variable in header file with static variable + accessor method, to fix codesighs & Composer.dll bustage. r=roc r=taras a=bustage 2010-09-09 09:41:58 -07: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
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
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
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
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
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
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