Commit Graph

301 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
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
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
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
Robert O'Callahan
ea9f2b9fe9 Fixing bustage, a=me 2010-09-03 16:20:23 +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
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
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
Robert O'Callahan
e31e06e790 Backing out bug 579276. a=me 2010-09-02 23:14:25 +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
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
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
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
Jacek Caban
4deb092f3a Bug 723942 - ImageLayerD3D*.cpp does not compile on mingw r=bas
--HG--
extra : rebase_source : e98c15c62a8998c1c646a5d9851ec96514f0b376
2012-02-06 11:24:47 +01: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
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
Justin Wood
eb068a8f7d bug 586187 - Build failure in LayerManagerD3D9 due to --disable-ipc not also defining Unicode, r=khuey a=bustage 2010-08-11 18:05:14 +02:00
Bas Schouten
a7370d6077 Bug 584539: Part 3 - Use D2D interop when using the D3D9 layer manager. r=vlad a=dougt 2010-08-11 02:36:05 +02:00
Bas Schouten
1174dba84a Bug 584754: Use the D3D9Ex device where available. r=vlad 2010-08-11 01:39:45 +02:00
Bas Schouten
16fbc64865 Bug 585248: Use a single device for all LayerManagerD3D9's. r=vlad 2010-08-11 01:32:45 +02:00
Bas Schouten
7f066e30d5 Bug 578384: Clear to to transparent black instead of solid white. r=jrmuizel 2010-08-11 01:32:43 +02: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
34ff738268 b=574481; fix layers lifetime issues; part 4 - fix other layers; r=bas 2010-08-06 22:09:18 -07:00
Vladimir Vukicevic
9735a3a8c3 b=575469; use CreateOffscreen in layers; r=bas 2010-07-18 22:01:14 -07:00
Bas Schouten
46677257b1 Bug 577462: Addition - add comment requested in review. 2010-07-14 00:23:32 +02:00
Bas Schouten
a481f56985 Bug 577462: Use GetDC where possible for ThebesLayerD3D9 textures. r=jrmuizel 2010-07-14 00:19:45 +02:00
Bas Schouten
42feb308be Bug 578500: Clear mTarget at the end of a transaction. r=roc 2010-07-14 00:19:43 +02:00
Bas Schouten
af1a1cc748 Bug 577770: LayerManagerD3D9 should be using GetClientBounds not GetBounds. r=roc 2010-07-14 00:19:41 +02:00
Bas Schouten
4e102a00dd Bug 574239: Have ThebesLayerD3D9 retain its content even across changes to the visible region. r=jrmuizel 2010-07-02 04:08:48 +02:00
Robert O'Callahan
8442c7897c Bug 564991. Part 6: Make BasicLayers support retained ThebesLayer contents. r=cjones,sr=vlad 2010-03-04 10:37:04 +13:00
Matt Woodrow
76ed4033a0 Bug 564991. Part 8: Hoist GetLayerType out of individual layer manager types and make it available for all layers. r=jrmuizel,sr=vlad 2010-07-01 20:01:09 -05:00
Robert O'Callahan
a66b969df2 Bug 586041. Part 2: refactor RemoveChild. r=bas 2010-06-01 11:32:05 +12:00
Robert O'Callahan
17b78218c8 Bug 568041. Add user-data API and GetRoot to LayerManager. Move mVisibleRegion into Layer. r=bas,sr=vlad 2010-06-01 11:29:37 +12:00
Bas Schouten
c5e57ed188 Numerous whitespace fixes in D3D9 layers code. 2010-05-29 05:27:03 +02:00
Bas Schouten
cd94c32d80 Bug 567966: Part 2: Remove rogue allocation from PlanarYCbCrImageD3D9. r=vlad 2010-05-25 09:37:21 +02:00
Bas Schouten
44402345e3 Bug 567966: Part 1: Properly handle siblings and children. Also fix missing release on container destructor. r=vlad 2010-05-25 09:37:19 +02:00
Bas Schouten
a6f5b5a240 Bug 567943: Let ContainerLayerD3D9 keep references to their children. r=roc 2010-05-25 04:43:59 +02:00
Bas Schouten
5c0ef5136a Bug 546515: Part 1: Add a layers backend based on Direct3D9. r=jrmuizel 2010-05-24 17:28:51 +02:00