Commit Graph

196 Commits

Author SHA1 Message Date
Vladimir Vukicevic
c4d22f2b89 b=594567; teach EGL backend about ANGLE for Layers; r=jrmuizel 2010-09-09 16:40:11 -04:00
Jeff Muizelaar
acdcaa5b39 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
1a13eb330a b=592462; [gl] followup, clear scissor region we're about to repaint; r=jrmuizel 2010-09-07 17:31:40 -04:00
Bas Schouten
ddb91c6769 Bug 594624: Toss out surfaces on content type changes. r=jrmuizel a=blocking-beta6 2010-09-12 21:38:47 +02:00
Vladimir Vukicevic
0031e81e55 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
Bas Schouten
a35172c9e2 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
9f3321e5ee Bug 593268 - Part 3: Implement CreateOptimalSurface for D3D9 layers and use interop in CanvasLayerD3D9. r=jrmuizel 2010-09-08 05:27:36 +02:00
Bas Schouten
2d7db6d80e Bug 593268 - Part 1: Expose LayerManager::CreateOptimalSurface. r=vlad sr=roc 2010-09-08 05:27:29 +02:00
Oleg Romashin
8aa93601ef 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
0e4edc0417 Bug 505115 - Part 1 - Fix OpenGL container layer to support transforming children.r=vlad,a=roc 2010-09-07 17:35:50 -07:00
Robert O'Callahan
c06ae165fe 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
349f37cc97 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
Bas Schouten
f7a7d600cc 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
a6a9e1fd22 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
aaa21a504a Bug 587678 - Implement ImageLayerOGL::GetCurrentAsSurface for YUV surfaces. r=bas a=blocking2.0:beta6+ 2010-09-03 23:27:04 -04:00
Matt Woodrow
881a4c21e1 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
95051089f9 b=593273, fix d3d9 layer manager crash on reftest shutdown, r=bas a=b 2010-09-03 14:07:59 -04:00
Joe Drew
dbb9a82fc2 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
Robert O'Callahan
418edf53e3 Fixing bustage, a=me 2010-09-03 16:20:23 +12:00
Matt Woodrow
0fe2dd0835 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
e4a9dac062 Bug 593224 - ContainerLayerD3D9 can reset the clip rect r=Bas, a=blocking2.0 2010-09-03 15:50:53 +12:00
Matt Woodrow
b5fb6a703c 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
47a5284310 Bug 589632 - Fix LayerManagerD3D9 debug output r=Bas, a=blocking2.0 2010-09-03 15:50:29 +12:00
Robert O'Callahan
d070f2c342 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
ef6a01f479 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
dc9e28789b Bug 579276. Part 11: Move ClipToRegion to gfxUtils. r=vlad 2010-09-03 14:31:42 +12:00
Robert O'Callahan
c4801219d7 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
be2d05f9a8 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
c649008789 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
Bas Schouten
8ae2d33728 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
Robert O'Callahan
cfb7f48514 Backing out bug 579276. a=me 2010-09-02 23:14:25 +12:00
Robert O'Callahan
df7ddc69f9 Fixing bustage, a=me 2010-09-02 22:15:17 +12:00
Robert O'Callahan
2fb2fc7212 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
93076398d1 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
bc14460ac4 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
49feffb4b6 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
981b6640f0 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
Atul Apte
3551ca8cb1 Enable basic stereoscopic rendering support for D3D9 layers with 3D Vision. r=bas 2010-08-26 20:44:53 +00:00
Bas Schouten
a98eb3997a Fix line endings in DeviceManagerD3D9. 2010-08-26 20:44:11 +00:00
Matt Woodrow
2441967f84 Bug 589978 - [D3D9] 2D canvas layers always have premultiplied alpha. r=bas, a=beta5+ 2010-08-23 20:58:27 -07:00
Matt Woodrow
56e9a9a98a 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
a4b8d433d4 Bug 589097 - [D3D9] Incorrect alpha blending on canvas layers. r=bas, a=beta5+ 2010-08-23 20:57:22 -07:00
Matt Woodrow
35a7b7fe11 Bug 588212 - LayerManagerD3D9 PaintToTarget uses wrong render target. r=bas, a=beta5+ 2010-08-23 20:56:49 -07:00
Karl Tomlinson
b1ef0bf840 backout dbbb9575aae1 due to build issues in some configurations b=577743 2010-08-23 16:27:49 +12:00
Chris Double
d2b3e251e9 Bug 577743 - Scale videos at YCbCr to RGB conversion time - r=roc a=blocking 2010-08-23 13:47:33 +12:00
Bas Schouten
77a6b11872 Fix bustage from changeset 8c767b950381. a=bustage 2010-08-20 05:58:44 +02:00
Bas Schouten
cb632a9c1b Bug 588690 - Part 1: Expose ClearCachedResources on BasicLayerManagers. r=roc 2010-08-20 05:40:49 +02:00
Vladimir Vukicevic
0fff021bbd b=586043; GL layer manager should use GetClientBounds, not GetBounds; r=bas 2010-08-14 10:52:16 -07:00
Jacek Caban
aac1a9302f 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
Bas Schouten
2d2753ac80 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