Matt Woodrow
cd05bbfd33
Bug 505115 - Part 7 - Layers support for 3d transforms. r=roc
2011-08-03 15:04:20 +12:00
Matthew Gregan
db3428cfec
Bug 672755 - Add memory reporters for decoded video and audio queues. r=cpearce r=joe
2011-07-22 15:17:23 +12:00
arno renevier
5388ac92cf
Bug 669299 - Remove unneeded nsPrintfCString.h includes. r=bsmedberg
2011-07-21 04:37:31 +02:00
Chris Jones
24f027292c
Back out bug 648484
2011-07-15 11:35:55 -07:00
Chris Jones
d827503aa5
Bug 648484, part E: Hook d3d9 shadow layers up to new system. r=BenWa
2011-07-06 13:29:27 -04:00
Robert O'Callahan
26c67a621c
Bug 649924. Use image surfaces to implement canvases beyond the texture size limit. r=bas
2011-07-08 22:42:21 +12:00
Matt Woodrow
dd264db48d
Bug 656185 - Part 3 - Upload the entire image for PlanarYCbCrImageD3D9 to a texture and clip using texture coordinates. r=Bas
2011-07-05 14:52:34 +12:00
Benoit Girard
dd61f3a2ea
Bug 648480 - Add shadow-layer support to d3d9 backend. r=cjones
2011-07-04 09:15:05 -04:00
Benoit Girard
069dc7b333
Backout 627489bb6288.
2011-07-01 18:05:54 -04:00
Benoit Girard
c83b82cbd1
Bug 648480 - Add shadow-layer support to d3d9 backend. r=cjones
2011-07-01 16:57:15 -04:00
Matt Woodrow
cc66446a05
Back out bug 656185 due to windows compile failures
2011-06-27 15:21:22 +12:00
Matt Woodrow
31412c006b
Bug 656185 - Part 4 - Fix for D3D9. r=Bas
2011-06-27 14:32:42 +12:00
Robert O'Callahan
64c5e295e0
Bug 637852. Part 8: Remove resolution support from D3D9 layers. r=mattwoodrow
...
Layer-system resolution support is no longer needed.
2011-06-23 00:11:27 +12:00
Masayuki Nakano
e06d6eb819
Bug 663036 part.3 gfx should use mozilla::Preferences r=roc+joe
2011-06-12 11:30:16 +09:00
Masayuki Nakano
85c451e309
Bug 660121 Remove all pref related methods from nsContentUtils r=roc
2011-05-29 08:42:57 +09:00
Neil Rashbrook
a823051c1e
Fix DOS line endings rs=joedrew!
...
DONTBUILD
2011-05-26 20:41:33 +01:00
Robert O'Callahan
ea286efab6
Bug 654950. Fix scissor rect calculations for descendants of container layers with intermediate surfaces. r=bas
2011-05-23 12:27:03 +12:00
Chris Jones
ed22df8f64
Bug 556214, parts 1 and 1.1: Rename Monitor to ReentrantMonitor and fix existing Monitor users. r=roc
...
--HG--
rename : xpcom/glue/Monitor.h => xpcom/glue/ReentrantMonitor.h
2011-04-29 14:21:57 -05:00
Robert O'Callahan
c957ae039e
Bug 641426. Part 5: Avoid operator== where possible to distinguish between 'equal edges' and 'equal areas' for rectangles. r=dbaron,sr=cjones
2011-04-19 15:07:23 +12:00
Robert O'Callahan
1f51cb45b0
Bug 622072. Part 2: Add DidTransactionCallback to CanvasLayer. r=bas, sr=joe
2011-03-28 12:59:46 +13:00
Robert O'Callahan
e865324942
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
Robert O'Callahan
750234b3f1
Bug 635373. When resampling a ThebesLayer, ensure that D3D9 and OpenGL layers paint the entire layer as one quad to avoid unnecessary aliasing. r=bas
2011-04-01 10:33:46 +13:00
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