Commit Graph

197 Commits

Author SHA1 Message Date
Jacek Caban
99f37a11db Bug 670913 - LayerManagerD3D10.h fails to compile on mingw (r=joe) 2011-07-13 17:58:17 +02:00
Robert O'Callahan
d4259656be 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
ef4adc6afb Bug 656185 - Part 4 - Upload the entire image for PlanarYCbCrImageD3D10 to a texture and clip using texture coordinates. r=Bas 2011-07-05 14:52:50 +12:00
Matt Woodrow
f47d6dca8b Back out bug 656185 due to windows compile failures 2011-06-27 15:21:22 +12:00
Matt Woodrow
63f8b0a243 Bug 656185 - Part 3 - Fix for D3D10. r=Bas 2011-06-27 14:32:34 +12:00
Bas Schouten
662596f4fb Bug 651858 - Part 5: Add CanvasLayer code for azure. r=jrmuizel 2011-06-24 19:41:18 +02:00
Bas Schouten
c504745112 Bug 651858 - Part 4: Implement API for creating a D3D10 compatible DrawTarget. r=roc 2011-06-24 19:41:18 +02:00
Robert O'Callahan
783029e208 Bug 637852. Part 7: Remove resolution support from D3D10 layers. r=mattwoodrow
Layer-system resolution support is no longer needed.
2011-06-23 00:11:27 +12:00
Neil Rashbrook
3678727236 Fix DOS line endings rs=joedrew!
DONTBUILD
2011-05-26 20:41:33 +01:00
Benoit Jacob
9ebd896e48 Bug 657748 - Update ANGLE to r653 - a=joe
This ANGLE update fixes bugs, brings large performance improvements, and adds major new features that web devs are looking forward to: vertex shader texture lookup and float textures.

http://code.google.com/p/angleproject/

This update is also needed because the version we're currently using is the chrome_m10 branch and that's no longer maintained. This update will make it much easier to apply security fixes if needed.
2011-05-24 11:05:56 -04:00
Robert O'Callahan
ab1023ee7a 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
31aa2c4e77 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
a7b4f1246b 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
5d011f0505 Bug 622072. Part 2: Add DidTransactionCallback to CanvasLayer. r=bas, sr=joe 2011-03-28 12:59:46 +13:00
Robert O'Callahan
6e81f6e5b2 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
746312cb6f 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
acac18d785 Back out bug 622072 because it caused bug 645987 2011-03-29 14:31:53 -04:00
Robert O'Callahan
12d79b4b13 Bug 622072. Part 2: Add DidTransactionCallback to CanvasLayer. r=bas, sr=joe 2011-03-28 12:59:46 +13:00
Robert O'Callahan
173828d394 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
554cdb272d Bug 635383 - Fix black rendering on non-square container layers. r=joe,bz 2011-03-24 21:57:09 -04:00
Matt Woodrow
084cbe71fb Bug 635383 - Part 2 - Share scissoring code between all accelerated backends. r=joe 2011-02-25 20:44:22 +13:00
Chris Pearce
f507197104 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
fd6cce5849 Bug 580531 - Push ImageContainer subclass' locks up into a superclass monitor. r=roc 2011-03-24 11:28:57 +13:00
Ehsan Akhgari
0f1e24c309 Bug 639885 - Don't use named Windows kernel objects because they will cause conflicts when running multiple Firefox processes concurrently; r=jrmuizel a=stuart 2011-03-11 21:22:38 -05:00
Ehsan Akhgari
48cfbff3fe Bug 639885 - Abort the program execution if the status of program is unsafe due to thread safety issues in ReadbackManagerD3D10; r=Bas,jrmuizel,cjones a=beltzner 2011-03-09 09:49:29 -05:00
Benoit Jacob
2866aaced4 Bug 627464 - Annotate crash reports if the forced-enabled prefs are set - r=jrmuizel, a=joe 2011-03-02 15:50:36 -05:00
joe@drew.ca
712889b510 Bug 636870 - Using webgl on optimus hardware causes instant crash [part1] (r=jmuizelaar, a=blocker). 2011-03-01 17:00:33 -08:00
Bas Schouten
f732d2dcac Bug 626602, part 6: Implement asynchronous D3D10 readback. r=cjones,jrmuizel 2011-02-04 20:30:00 -06:00
Robert O'Callahan
1a14aa0939 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
7e79a59083 Bug 626602. Part 0: Fix header guards. r=bas 2011-02-16 16:43:30 -06:00
Matt Woodrow
194b1dc82a Bug 622585 - Use Clamp instead of Wrap texture sampling in D3D10 layers. r=Bas a=blocking2.0 2011-02-16 16:19:45 +13:00
Bas Schouten
10cfa9a30f Bug 633511: Detect surface content type in the correct spot. r=jrmuizel a=blocking-betan 2011-02-11 23:46:28 +01:00
Bas Schouten
1c14e4c680 Bug 628173 - Part 2: Update CanvasLayerD3D10 to match D3D9 style. r=jrmuizel a=blocking-final 2011-02-10 21:03:51 +01:00
Robert O'Callahan
bafecf5c32 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
16fc2e763f 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
562557746d 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
Bas Schouten
c059a5cf5b Bug 612103 - Followup: Only report a failure when the call actually fails. r=jrmuizel a=blocking-final 2011-02-08 18:44:14 -06:00
Bas Schouten
8766ff250d Bug 626602, part 6: Implement asynchronous D3D10 readback. r=cjones,jrmuizel 2011-02-04 20:30:00 -06:00
Robert O'Callahan
eb9d0942df 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
b686367c7d Bug 626602. Part 0: Fix header guards. r=bas 2011-02-08 18:44:12 -06:00
Matt Woodrow
09d98c08b1 Bug 586683 - Part 4 - Add resolution handling to ThebesLayerD3D10. r=Bas a=blocking2.0 2011-02-09 09:40:34 +13:00
Vladimir Vukicevic
02369aa833 Bug 630019 - updated ANGLE PBuffers patch (makes ANGLE work again) - r=bjacob, a=blocking2.0 2011-01-31 20:58:21 -05:00
Bas Schouten
84543736fd Bug 612846 - Part 5: Make ContainerLayerD3D10 support component alpha. r=jrmuizel a=blocking-betan 2011-01-28 06:34:33 +01:00
Matt Woodrow
f2d8203ffd Bug 612846 - Part 4: Make ThebesLayerD3D10 support component alpha. r=bas a=blocking-betan 2011-01-28 06:34:31 +01:00
Matt Woodrow
22db1e75f9 Bug 612846 - Part 3: Add component alpha shaders to D3D10. r=bas a=blocking-betan 2011-01-28 06:34:29 +01:00
Matt Woodrow
b44d6291e3 Bug 612846 - Part 1: Refactor ThebesLayers to only draw within Validate. r=bas a=blocking-betan 2011-01-28 06:34:25 +01:00
Robert O'Callahan
719e4bf2b2 Bug 627393. Set correct alpha value for D3D10 ColorLayers. r=bas,a=blocking 2011-01-25 21:45:49 +13:00
Doug Turner
2a68876c25 [mq]: Backout of df6f10906476 2011-01-19 20:47:45 -08:00
Doug Turner
80184682ae [mq]: Backout of 69e4f4ecbdc2 2011-01-19 20:46:08 -08:00
Doug Turner
6ae0d1cace [mq]: Backout of aeb9104f1534 2011-01-19 20:45:20 -08:00
Doug Turner
2ecfdb6185 [mq]: Backout of 89c2c85429fb 2011-01-19 20:44:35 -08:00
Matt Woodrow
d590d84cf4 Bug 627179 - Fix LayerManagerD3D10 debug name. r=Bas a=joe 2011-01-20 15:47:47 +13:00
Matt Woodrow
b84045b61a Bug 612846 - Part 5 - Make ContainerLayerD3D10 support component alpha. r=Bas a=blocking2.0 try: -b do -p win32 -u all -t all 2011-01-20 15:47:39 +13:00
Matt Woodrow
8ce139aa1a Bug 612846 - Part 4 - Make ThebesLayerD3D10 support component alpha. r=Bas a=blocking2.0 2011-01-20 15:47:39 +13:00
Matt Woodrow
8ad676f560 Bug 612846 - Part 3 - Add component alpha shaders to LayerManagerD3D10. r=Bas a=blocking2.0 2011-01-20 15:47:39 +13:00
Matt Woodrow
6e6022d0bd Bug 612846 - Part 1 - Refactor ThebesLayerD3D10 to only draw within Validate(). r=Bas a=blocking2.0 2011-01-20 15:47:38 +13:00
Robert O'Callahan
c69232aaac 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
3b5063283b Bug 621601. Part 3: Implement EndEmptyTransaction for D3D10. r=bas,a=joe 2011-01-19 21:27:54 +13:00
Robert O'Callahan
4c8a59948a 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
Bas Schouten
12030ea7ec Bug 622482 - Part 5: Enable subpixel AA for D2D surfaces that we believe do not need component alpha. r=roc a=blocking-betaN 2011-01-16 03:30:05 +01:00
Dhiren Bhatia
f766495afc 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
Bas Schouten
2c54dbc85c Bug 612103 - Followup: Remove accidentally introduced tabs. r+a=DONTBUILD 2011-01-12 23:29:11 +01:00
Bas Schouten
23f20bb473 Bug 612103 - Part 2: Do not attempt to draw with a shader resource view belonging to an old device. r=jrmuizel a=blocking-final 2011-01-12 01:52:29 +01:00
Bas Schouten
7aefbe99a7 Bug 612103 - Part 1: Do not attempt to do anything when we fail to create a texture for a surface. r=jrmuizel a=blocking-final 2011-01-12 01:52:27 +01:00
Bas Schouten
826f567c32 Bug 612103 - Part 0.5: Add ReportFailure for D3D10 Layers. r=jrmuizel a=blocking-final 2011-01-12 01:52:25 +01:00
Bas Schouten
622018a9e6 Bug 623807: Do not use the GDI compatibility flag for the swap chain on optimus devices. r=jrmuizel a=blocking-beta9 2011-01-08 06:39:15 +01:00
Vladimir Vukicevic
1f95129bca b=618892; [webgl] use ANGLE pbuffers to speed up webgl with d3d10 layers; r=bas 2011-01-06 14:07:12 -08:00
Bas Schouten
b870051fb7 Bug 621156 - Followup: Clarify comment. r+a=comment DONTBUILD 2011-01-03 18:29:10 +01:00
Bas Schouten
4941d55ad8 Bug 621156: Return a properly working surface from GetAsSurface. r=jrmuizel a=blocking-final 2011-01-03 18:05:47 +01:00
Bas Schouten
8c0e855348 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
1d82583232 Bug 620665 - Part 5: Do not use mManager pointer for D3D10 layers. r=roc a=blocking-beta9 2010-12-29 01:07:12 +00:00
Bas Schouten
59e9bd71ff 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
4bb2625477 Bug 620665 - Part 1: Expose backend type on ImageContainers. r=roc a=blocking-beta9 2010-12-29 01:07:00 +00:00
Oleg Romashin
4d098d2cca 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
c3704f5a92 Bug 613790: Comment update follow-up. a=comment 2010-12-16 08:08:49 +00:00
Bas Schouten
5fa6132b24 Bug 613790: Use GDI compatible flag for our swap chains. r=jrmuizel a=blocking-final 2010-12-16 01:35:44 +00:00
Bas Schouten
8b9aaead5d Bug 615316 - Part 3: Support any container in ImageLayerD3D10. r=jrmuizel a=blocking-betan 2010-12-15 21:37:15 +01:00
Bas Schouten
00e40a60f5 Bug 615316 - Part 2: Support GetAsSurface for CairoImageD3D10. r=jrmuizel 2010-12-15 21:37:12 +01:00
Bas Schouten
2049747455 Bug 615316 - Part 1: Factor out SurfaceToTexture conversion for D3D10 Image Layers. r=jrmuizel 2010-12-15 21:37:10 +01:00
Michael Wu
adc8f28efe Backed out changeset 34bd12eb4a9c for causing bug 618916, a=stuart 2010-12-13 16:14:07 -08:00
Oleg Romashin
32de6ed302 Bug 615870 - Remote HTML5 video rendering pipeline should be shorter r=roc a=b-f 2010-12-10 21:32:52 +02:00
Bas Schouten
5346d5ea59 Bug 617242: Don't cull for transforms that flip the content. r=jrmuizel a=joedrew 2010-12-07 18:42:08 +01:00
Oleg Romashin
900507d5b5 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
Bas Schouten
0942db0268 Bug 601273: Properly retain copied region. r=jrmuizel a=blocking-final 2010-12-02 19:44:18 +01:00
Justin Lebar
9167d8acf3 Backed out changeset a5ec817740f0. a=orange 2010-11-29 09:08:24 -08:00
Oleg Romashin
8a52f4b99f Bug 607653 - avoid temporary fbos/textures on transformed layers, when possible. r=roc a=approval2.0 2010-11-24 11:35:21 +02:00
Dave Townsend
fb8abb6e9d 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
bb4bf02096 Bug 607653 - avoid temporary fbos/textures on transformed layers, when possible. r=roc a=approval2.0 2010-11-24 11:35:21 +02:00
Tatiana Meshkova
cdf92598c9 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
Robert O'Callahan
26f24119f8 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
Bas Schouten
1f2d4f4d6c Bug 606411: Remove ImageContainerD3D10 dependencies on LayerManagerD3D10. r=roc a=blocking-final 2010-10-26 00:24:57 +02:00
Bas Schouten
76c1b35c5d Bug 603071 - Part 2: Fix race condition in PlanarYCbCrImageD3D10. r=roc a=blocking-beta8 2010-10-19 21:08:34 +02:00
Bas Schouten
83961c800b Bug 603071 - Part 1: Properly propagate LayerManager destruction through layer tree. r=roc a=blocking-beta8 2010-10-19 21:08:31 +02:00
Bas Schouten
2a9c8711b6 Bug 546514: Address D3D10 Layers backend review comments. r=jrmuizel 2010-10-19 21:08:27 +02:00
Bas Schouten
063f4e37dd Bug 601785: Use true pointer size for x64 builds. r=vlad a=approval2.0 2010-10-08 18:02:41 +02:00
Bas Schouten
b67a107150 Bug 601053: Prevent DXGI from handling alt+enter. r=vlad a=blocking-beta8 2010-10-08 18:02:39 +02:00
Bas Schouten
889fee7223 Bug 546514 - Part 3: Add D3D10 layers code. r=vlad 2010-10-01 00:53:49 +02:00