Chris Jones
7688c45243
Merge m-c --> cedar
2010-09-07 17:35:15 -05:00
Chris Jones
a2c93af9b1
Bug 590294, part 8: Implement resolution-scaled drawing for basic layers. r=roc
2010-09-03 15:10:46 -05:00
Chris Jones
f502883ffc
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
0c28df6c86
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
6480591e23
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
1ef9f416ce
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
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
Chris Jones
f2ee7d2dd8
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
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
Chris Jones
81e7d1c97a
Bug 593248: Release old shmem surfaces on realloc. r=joe
2010-09-02 22:05:01 -05: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
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
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
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
Chris Jones
76dde2a6bc
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
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
Oleg Romashin
6e925ce155
Merged with mozilla-central: 00186bbb7459
2010-08-24 14:21:48 -07:00
Chris Jones
f22350f2bc
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
0e3d3aaf97
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
b4c4c02965
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
16b9e25f92
Bug 570620, part h: Add a Layer::Disconnect interface. sr=vlad
2010-08-20 18:24:41 -05:00
Chris Jones
03c4f01c8b
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
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
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