Robert O'Callahan
bfb12d86f0
Bug 635373. If we need to resample a ThebesLayer texture, make sure we make all the pixels of the texture valid in case they get sampled. r=bas
2011-04-01 10:33:46 +13:00
Ehsan Akhgari
931bd6ee19
Back out bug 622072 because it caused bug 645987
2011-03-29 14:31:53 -04:00
Robert O'Callahan
333b8d0f05
Bug 622072. Part 2: Add DidTransactionCallback to CanvasLayer. r=bas, sr=joe
2011-03-28 12:59:46 +13:00
Robert O'Callahan
6536947736
Bug 622072. Part 1: Remove rect parameter from Updated() and change implementations to defer updates to render time. r=bas
...
The rectangle parameter is currently not used --- all callers always pass the full canvas bounds. In the long term,
we probably won't want this parameter since all implementations should be doing accelerated drawing direct to buffers
with no intermediate copies, hence there will be no need to optimize the size of those copies. Plus, performance-sensitive
testcases tend to paint most or all of the canvas on every frame anyway.
2011-03-28 12:59:46 +13:00
Matt Woodrow
ca1fbaeed0
Bug 635383 - Part 2 - Share scissoring code between all accelerated backends. r=joe
2011-02-25 20:44:22 +13:00
Chris Pearce
38662eb161
Bug 580531 - Record first paint time and number of images painted in ImageContainer. r=roc
2011-03-24 11:28:57 +13:00
Chris Pearce
18e05ec12b
Bug 580531 - Push ImageContainer subclass' locks up into a superclass monitor. r=roc
2011-03-24 11:28:57 +13:00
Benoit Jacob
7f1f831a27
Bug 627464 - Annotate crash reports if the forced-enabled prefs are set - r=jrmuizel, a=joe
2011-03-02 15:50:36 -05:00
Benjamin Smedberg
7989cbf1bc
Bug 635980. Change Nv3DVStreaming assert to warning. r=jmuizelaar, a=jmuizelaar
2011-03-01 13:00:35 +09:00
Jeff Muizelaar
c97adad679
Bug 626678. Try to handle docking station device resets better. r=bas,a=b
...
Docking stations seem to cause DEVICELOST errors that never become
DEVICERESET so we don't ever succeed in reseting the device. We now
try to detect these situations and recreate the device.
2011-02-23 09:18:00 -08:00
Bas Schouten
601534bd2e
Bug 635275: Only update portions within scaled texture bounds. r=roc a=blocking-betan
2011-02-19 04:51:10 +01:00
Bas Schouten
0b629adab9
Bug 634669: Use scaled size for our drawing surface. r=mattwoodrow a=blocking-betan
2011-02-16 23:32:16 +01:00
Bas Schouten
2060524e0d
Fix EOL-style in ThebesLayerD3D9. r=mattwoodrow a=lineendings
2011-02-16 23:32:13 +01:00
Robert O'Callahan
579e5a534f
Bug 626602. Part 5: Implement ReadbackLayers for D3D9. r=bas
2011-02-16 16:43:30 -06:00
Robert O'Callahan
2c94778839
Bug 626602. Part 1: Create ReadbackLayer API to enable collection of background pixels in a layer tree. r=bas,sr=cjones
2011-02-16 16:43:30 -06:00
Robert O'Callahan
93e5f40859
Bug 626602. Part 0: Fix header guards. r=bas
2011-02-16 16:43:30 -06:00
Bas Schouten
1875232a5d
Bug 629866 - Part 10: Do not upload during SetData call on D3D9. r=jrmuizel a=blocking-final
2011-02-15 00:47:33 +01:00
Bas Schouten
265dd7c2c2
Bug 629866 - Part 9: Improve ImageLayerD3D9 uploading code. r+a=roc
2011-02-15 00:47:30 +01:00
Bas Schouten
5ebefc9aa2
Bug 628173 - Part 1: Update CanvasLayerD3D9 to respect surface content type. r=jrmuizel a=blocking-final
2011-02-10 21:03:24 +01:00
Robert O'Callahan
18f02b2962
Bug 625672. Part 1.5: Make layer managers silently do nothing when ending a transaction with no root layer. r=bas,a=blocker
2011-02-10 21:58:11 +13:00
Jeff Muizelaar
e129abb21a
Bug 632822. Hookup LayerManager ReportFailure to LogFailure. r=bas,a=ehsan
...
--HG--
extra : rebase_source : 1ed9c86005f4ce8c5088b4b5fca6976a0e41113d
2011-02-09 14:28:39 -05:00
Marco Bonardo
aaac8f2d4c
Backout bug 626602, follow-ups and conflicting bug 631388 due to Win Tp4 permaorange causing a=CLOSED TREE
2011-02-09 15:48:12 +01:00
Robert O'Callahan
290a193f72
Bug 626602. Part 5: Implement ReadbackLayers for D3D9. r=bas
2011-02-08 18:44:14 -06:00
Robert O'Callahan
a02e22f69f
Bug 626602. Part 1: Create ReadbackLayer API to enable collection of background pixels in a layer tree. r=bas,sr=cjones
2011-02-08 18:44:13 -06:00
Robert O'Callahan
5f8299aa98
Bug 626602. Part 0: Fix header guards. r=bas
2011-02-08 18:44:12 -06:00
Matt Woodrow
4875d1968d
Bug 586683 - Part 3 - Add resolution handling to ThebesLayerD3D9. r=Bas a=blocking2.0
2011-02-09 09:39:09 +13:00
Bas Schouten
b4fa1d9cec
Bug 628658: Ensure the container layer's clip is reset when done drawing a layer. r=roc,joedrew a=blocking-final
2011-01-26 05:54:35 +01:00
Bas Schouten
d6d0b3d6a8
Bug 625043: Properly save and restore old clip rect. r=jrmuizel a=blocking-final
2011-01-24 19:57:19 +01:00
Robert O'Callahan
69dc2ae3e3
Bug 621601. Part 4: Fix ImageLayers to handle null current image. r=bas,a=me
2011-01-19 21:27:54 +13:00
Robert O'Callahan
ad79053b53
Bug 621601. Part 2: Implement EndEmptyTransaction for D3D9. r=bas,a=joe
2011-01-19 21:27:54 +13:00
Robert O'Callahan
b36673c985
Bug 625409. ColorLayer implementations need to premultiply by the alpha value of their color. r=bas,a=blocking
2011-01-19 21:27:54 +13:00
Jeff Muizelaar
61fd279abc
Bug 625508. This moves the GfxInfo checks out of LayerManagerOGL and into the callers. r=vlad
...
--HG--
extra : rebase_source : 6545f8a3982b04147b41907f1d2f2dd4768538e2
2011-01-18 15:11:19 -05:00
Bas Schouten
ba51e3f9ed
Bug 624088: Recreate our device agressively on device losses. r=jrmuizel a=joedrew
2011-01-17 21:28:24 +00:00
Dhiren Bhatia
4079e0a4d6
Bug 617220 - Add 3DVision stereoscopic rendering support to D3D10 layers. r=bas.schouten r=vlad a=roc a=vlad
2011-01-12 17:51:27 +13:00
Jeff Muizelaar
11c0641ff9
Bug 623446. Turn the layer acceleration prefs into a tri-state. r=joe,a=b
...
This removes:
layers.accelerate-all
layers.accelerate-none
and adds:
layers.acceleration.disabled
layers.acceleration.force-enabled
This is closer to what D2D does.
2011-01-11 17:01:37 -05:00
Robert O'Callahan
abf01d108d
Bug 624170. Part 1: Don't try to release the DC for null surfaces. r=bas; a=blocking-beta9+ landed on a CLOSED TREE
2011-01-10 17:24:10 -05:00
Robert O'Callahan
d18586045a
Bug 622886 - Further wallpaper over crashes in gfxContext::gfxContext(gfxASurface *). r=bas,jrmuizel a=blocking-beta9+, CLOSED TREE
2011-01-10 17:07:49 -05:00
Robert O'Callahan
60388a174c
Bug 622886 - spike in crashes [@ gfxContext::gfxContext(gfxASurface*) ]. r=bas, a=blocking
2011-01-04 12:59:00 -08:00
Robert O'Callahan
10f7e06464
Bug 539604. Part 12: Enable component alpha for containers that don't have an intermediate surface. r=bas,a=blocking
2011-01-03 15:04:59 +13:00
Bas Schouten
ae52927fa7
Bug 622678: Empty valid region when resources are cleared. r=roc a=blocking-betan
2011-01-04 02:37:13 +01:00
Bas Schouten
e83cf39bed
Bug 593604 - Part 11: Remove code to support D2D/D3D9 interop. r+a=roc
2011-01-04 02:37:10 +01:00
Robert O'Callahan
65a4ff9706
Bug 593604. Back out changeset c20f34eefa5d to fix regression. a=blocking
2011-01-03 23:55:32 +13:00
Robert O'Callahan
0a2b0dfbde
Bug 593604. Re-add missing hunk of part 10. a=blocking
2011-01-03 15:04:59 +13:00
Robert O'Callahan
b648fa5116
Bug 593604. Part 10: When ContainerLayerD3D9 uses an intermediate surface, try to copy up the background into the intermediate surface so we can composite component alpha into it correctly. r=bas,a=blocking
2011-01-03 14:48:09 +13:00
Robert O'Callahan
b890fea2f3
Bug 593604. Part 9: Support component alpha in ThebesLayerD3D9. r=bas,a=blocking
2011-01-03 14:48:09 +13:00
Robert O'Callahan
7e985e9c2e
Bug 593604. Part 8.6: Add component-alpha shaders. r=bas,a=blocking
2011-01-03 14:48:09 +13:00
Bas Schouten
e9e5023ac1
Bug 604452: Default to linear upscaling in D3D9 layers and adhere to mFiler. r=bjacob a=blocking-final
2010-12-29 19:22:18 +00:00
Bas Schouten
bf0f317029
Backed out changeset c59ea33927d7
2010-12-29 19:31:26 +00:00
-f
3ecf39d8bf
Bug 604452: Default to linear upscaling in D3D9 layers and adhere to mFiler. r=bjacob a=blocking-final
2010-12-29 19:22:18 +00:00
Bas Schouten
f34157c8d5
Bug 620665 - Part 6: Do not use mManager pointer for D3D9 layers. r=roc a=blocking-beta9
2010-12-29 01:07:15 +00:00
Bas Schouten
0c30be213f
Bug 620665 - Part 3: Add some safety to ImageContainerD3D9::CreateImage. r=roc a=blocking-beta9
2010-12-29 01:07:06 +00:00
Bas Schouten
692f5c8f55
Bug 620665 - Part 2: Use fallback when ImageContainer's backend type doesn't match. r=roc a=blocking-beta9
2010-12-29 01:07:04 +00:00
Bas Schouten
e4cc92e61d
Bug 620665 - Part 1: Expose backend type on ImageContainers. r=roc a=blocking-beta9
2010-12-29 01:07:00 +00:00
Jacek Caban
8c9652c9ac
Bug 620669 - d3d9 layout does not compile on mingw; r=Bas a=Mossop
2010-12-21 05:52:00 -05:00
Oleg Romashin
3ae058666d
Bug 607653 - avoid temporary fbos/textures on transformed layers, when possible. r=roc a=approval2.0
2010-11-30 08:02:46 +02:00
Bas Schouten
72e0b70c33
Bug 615316 - Part 10: Support different layer managers in ImageLayerD3D9. r=jrmuizel a=blocking-betaN
2010-12-20 22:37:30 +00:00
Bas Schouten
2f2ceb7f86
Bug 615316 - Part 9: Support changing devices for YCbCrImageD3D9. r=jrmuizel a=blocking-betaN
2010-12-20 22:37:18 +00:00
Bas Schouten
116672a916
Bug 615316 - Part 8: Support GetAsSurface for CairoImageD3D9. r=jrmuizel a=blocking-betaN
2010-12-20 22:37:11 +00:00
Bas Schouten
b6abb56232
Bug 615316 - Part 7: Support surfaces with Alpha for CairoImageD3D9. r=jrmuizel a=blocking-betaN
2010-12-20 22:37:08 +00:00
Bas Schouten
67d24c5af4
Bug 615316 - Part 6: Support device changing for CairoImageD3D9. r=jrmuizel a=blocking-betaN
2010-12-20 22:37:04 +00:00
Bas Schouten
9ba96ad8f7
Bug 615316 - Part 5: Factor out SurfaceToTexture in D3D9 Image layers. r=jrmuizel a=blocking-betan
2010-12-20 22:37:01 +00:00
Bas Schouten
db1c1db668
Bug 615316 - Part 4: Store device on CairoImageD3D9 instead of on the LayerManager. r=jrmuizel a=blocking-betan
2010-12-20 22:35:31 +00:00
Bas Schouten
402680c191
Bug 604647: Never create swap chains while the device is lost. r=jrmuizel a=blocking-final
2010-12-20 22:35:28 +00:00
Matthew Gregan
fc868e4d64
Bug 584259 - Add support for StereoMode element. r=roc a=roc
2010-11-03 12:43:29 +13:00
Matt Woodrow
b424421392
Bug 614651: Intersect clip rects properly in D3D9 layers. r=bas a=blocking-final
2010-12-15 21:37:07 +01:00
Michael Wu
a3ec8a5ae1
Backed out changeset 34bd12eb4a9c for causing bug 618916, a=stuart
2010-12-13 16:14:07 -08:00
Oleg Romashin
0da1b085e9
Bug 615870 - Remote HTML5 video rendering pipeline should be shorter r=roc a=b-f
2010-12-10 21:32:52 +02:00
Oleg Romashin
61e5abed8a
Bug 607653 - avoid temporary fbos/textures on transformed layers, when possible. part2 r=roc a=apporval2.0
2010-11-30 07:51:56 +02:00
Justin Lebar
43b18d2b18
Backed out changeset a5ec817740f0. a=orange
2010-11-29 09:08:24 -08:00
Oleg Romashin
233ef8a80c
Bug 607653 - avoid temporary fbos/textures on transformed layers, when possible. r=roc a=approval2.0
2010-11-24 11:35:21 +02:00
Bas Schouten
251e12c687
Bug 614762: Null autoptr instead of release. r=jrmuizel a=blocking-beta8
2010-11-26 00:18:56 +01:00
Dave Townsend
1244f0ae62
Backing out changeset 8fff1c186b30 from bug 607653 due to reftest failures on OSX. a=bustage
2010-11-24 16:19:41 -08:00
Oleg Romashin
a8abb4a458
Bug 607653 - avoid temporary fbos/textures on transformed layers, when possible. r=roc a=approval2.0
2010-11-24 11:35:21 +02:00
Bas Schouten
648e0fa2c0
Bug 614111: Clear and recreate VertexBuffer on device reset. r=jrmuizel a=blocking-beta8
2010-11-23 17:24:39 +01:00
Benjamin Smedberg
f05b9e173c
Bug 611595 - Prevent a crash when D3D9 texture creation fails because the screen is locked. In CairoImageD3D9::SetData, save the surface as a member. Try to create the texture immediately, but also try to create the texture again when painting if it failed the first time. r=bas a=blocker-topcrash
2010-11-18 13:47:59 -05:00
Vladimir Vukicevic
77225bdf11
b=598328; clean up nv console spam; r=joe, a=b
2010-11-16 20:33:04 -08:00
Tatiana Meshkova
b3ef0bae09
bug 606730 - Remote thebesLayer BG color rendering always, even if it's not visible, Part 1: Add mLastChild to all ContainerLayer r=roc a=roc
2010-11-16 18:33:56 -05:00
Matt Woodrow
0a67be7b51
Bug 605057 - Add gfxASurface::GetAsImageSurface to convert generic surfaces into image surfaces without copies (if possible). r=roc a=b
2010-11-11 15:31:22 -05:00
Robert O'Callahan
669ff953e8
Bug 602200. Share code to compute effective transforms and opacity, and snap effective transforms. r=bas,sr=vlad,a=blocker
2010-11-08 22:06:15 +13:00
Jacek Caban
24de518aff
Bug 606155 - LayerManagerD3D9.cpp compilation failure on mingw r=bas.schouten a=benjamin
...
--HG--
extra : rebase_source : c7689b0313df5701fe7bb6297fc932c11d17ff0d
2010-11-06 14:24:19 +00:00
Bas Schouten
911e5dfba9
Bug 584494: Avoid creating intermediate surfaces in D3D9 layers. r=roc a=blocking-betaN
2010-10-21 22:41:04 +02:00
Bas Schouten
50d248afd4
Bug 601928: Check result of create texture for tmpTexture. r=jrmuizel a=blocking-beta8
2010-10-08 18:02:53 +02:00
Benoit Jacob
764d885972
Bug 600620 - 1/2 - Expose feature status block reason so that it can be used by about:support - r=vladimir, a=blocking2.0-b7
2010-10-06 21:40:08 -07:00
Benoit Jacob
20a45b4898
Backed out changeset 638ce363a9b1
2010-10-06 17:05:19 -04:00
Benoit Jacob
b5bc302c89
Bug 600620 - 1/2 - Expose feature status block reason so that it can be used by about:support - r=vladimir, a=blocking2.0-b7
2010-10-06 16:43:25 -04:00
Bas Schouten
15fb5328a2
Bug 593678: Initialize RenderTargetOffset as part of setting up the pipeline. r=jrmuizel a=joedrew
2010-10-02 00:25:00 +02:00
Bas Schouten
1a307b788a
Bug 601257: Clean up usage of shader constants in D3D9 layers. r=jrmuizel a=joedrew
2010-10-02 00:24:58 +02:00
Bas Schouten
7706293fb5
Bug 594779: Bail out when texture creation fails, to avoid NULL pointer dereference. r=vlad a=blocking-beta7 CLOSED TREE
2010-09-27 04:57:40 +00:00
Bas Schouten
9720e04483
Bug 597320: Blacklist NVidia Optimus technology drivers for d3d9 layers. r=jrmuizel a=blocking-beta7
2010-09-17 18:57:46 +00:00
Oleg Romashin
7ab9f25f57
Bug 576437 - CreateOffscreenSurface should not silently translate ImageFormat24 into ImageFormat16_565. r=joe a=blocking2.0
2010-09-16 14:34:53 -07:00
Benoit Jacob
ab08d9888f
Bug 594874 - GfxInfo blocklist needs to be used by D3D, WebGL, OpenGL - 2/3 - r=vladimir
2010-09-16 12:45:19 -04:00
Bas Schouten
3a223b0317
Bug 596489 - Part 3: Recreate the layer manager when a device is removed. r=roc
2010-09-15 22:16:02 +00:00
Bas Schouten
bf697e7d43
Bug 596489 - Part 2: Expose when a device manager is removed. r=jrmuizel
2010-09-15 22:15:59 +00:00
Bas Schouten
a41f88e4e6
Bug 596489 - Part 1: Refactor DeviceManager ownership. r=jrmuizel
2010-09-15 22:15:56 +00:00
Bas Schouten
910c08e31f
Bug 596419: Fix up layer destruction scheme. r=jrmuizel
2010-09-15 22:15:49 +00: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
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