Commit Graph

259 Commits

Author SHA1 Message Date
Benoit Jacob
2bc65bec27 Bug 674042 - WebGL: crash in getUniformLocation with too long uniform identifiers - r=jrmuizel
This limits the length of uniform and attrib identifiers to 4095 characters, to steer clear GL implementation bugs with too long identifiers. The 4095 is totally arbitrary, all we know is that crashes happen after 2^22 chars.
2011-07-28 17:12:31 -04:00
Jeffrey Gilbert
a50f06d79d Bug 674731 - WebGL/ANGLE interop with D3D layers requests incorrect extension - r=bjacob 2011-07-28 16:37:58 -04: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
Chris Jones
24f027292c Back out bug 648484 2011-07-15 11:35:55 -07:00
Chris Jones
935a393f3a Bug 648484, part C: Forward a shadow-layer transaction after rendering in the D3D10 backend, if remote. r=joedrew
* * *
Unrot bug 648484. r=Bas. To be folded.
2011-07-13 22:43:43 -07:00
Chris Jones
bdfb401e6b Bug 648484, part B: Implement shadowable layer goop for D3D10, just enough to allow sending a window buffer to the compositor. r=Bas 2011-07-13 22:43:43 -07:00
Chris Jones
cb2ee3417a Bug 648484, part A: Allow D3D10 layers to render directly to a share-able texture. r=Bas 2011-07-13 22:43:43 -07:00
Chris Jones
8325aff847 Bug 648484, part 9: Make LayerManagerD3D10 a shadow-layer manager and forwarder. r=Bas 2011-07-13 22:43:43 -07:00
Chris Jones
0a936edcc7 Bug 648484, part 8: Implement a very basic shadow thebes layer for D3D10, only enough to support the upcoming WindowLayer. r=Bas 2011-07-13 22:43:43 -07:00
Chris Jones
9037e7684c Bug 648484, part 7: Implement a very basic shadow container layer for D3D10, only enough to support the upcoming WindowLayer. r=Bas 2011-07-13 22:43:43 -07:00
Chris Jones
46987600ab Bug 648484, part 4: Log layers transactions in the d3d10 backend. r=Bas 2011-07-13 22:43:43 -07:00
Chris Jones
7a11870b91 Bug 648484, part 1: Fix some warning spam. r=roc 2011-07-13 22:43:43 -07:00
Jacek Caban
3cdbb68a2e Bug 670913 - LayerManagerD3D10.h fails to compile on mingw (r=joe) 2011-07-13 17:58:17 +02: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
dbbef6ee35 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
cc66446a05 Back out bug 656185 due to windows compile failures 2011-06-27 15:21:22 +12:00
Matt Woodrow
379c7e6f82 Bug 656185 - Part 3 - Fix for D3D10. r=Bas 2011-06-27 14:32:34 +12:00
Bas Schouten
bfb8808747 Bug 651858 - Part 5: Add CanvasLayer code for azure. r=jrmuizel 2011-06-24 19:41:18 +02:00
Bas Schouten
933cae4fbb 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
0041df680e 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
a823051c1e Fix DOS line endings rs=joedrew!
DONTBUILD
2011-05-26 20:41:33 +01:00
Benoit Jacob
2c0eb7e54e 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
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
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
faf46f850f Bug 635383 - Fix black rendering on non-square container layers. r=joe,bz 2011-03-24 21:57:09 -04: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
Ehsan Akhgari
7acd6a32ad 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
6be46d4acc 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
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
joe@drew.ca
2f9eaad891 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
a2492ec1e6 Bug 626602, part 6: Implement asynchronous D3D10 readback. r=cjones,jrmuizel 2011-02-04 20:30:00 -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
Matt Woodrow
6e0aac0d5e 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
d209c742ad 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
cc02bd1677 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
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
Bas Schouten
8a936691da 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
88246aed65 Bug 626602, part 6: Implement asynchronous D3D10 readback. r=cjones,jrmuizel 2011-02-04 20:30:00 -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
0072c1c361 Bug 586683 - Part 4 - Add resolution handling to ThebesLayerD3D10. r=Bas a=blocking2.0 2011-02-09 09:40:34 +13:00
Vladimir Vukicevic
1b67db06c8 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
9c39576160 Bug 612846 - Part 5: Make ContainerLayerD3D10 support component alpha. r=jrmuizel a=blocking-betan 2011-01-28 06:34:33 +01:00
Matt Woodrow
f1d664e045 Bug 612846 - Part 4: Make ThebesLayerD3D10 support component alpha. r=bas a=blocking-betan 2011-01-28 06:34:31 +01:00
Matt Woodrow
3864321693 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
f1a534a9d2 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
88f0fd8a69 Bug 627393. Set correct alpha value for D3D10 ColorLayers. r=bas,a=blocking 2011-01-25 21:45:49 +13:00
Doug Turner
b7faa64b5f [mq]: Backout of df6f10906476 2011-01-19 20:47:45 -08:00
Doug Turner
d69908e871 [mq]: Backout of 69e4f4ecbdc2 2011-01-19 20:46:08 -08:00
Doug Turner
d9f12a52f9 [mq]: Backout of aeb9104f1534 2011-01-19 20:45:20 -08:00
Doug Turner
a8fdfda435 [mq]: Backout of 89c2c85429fb 2011-01-19 20:44:35 -08:00
Matt Woodrow
bb828dfbec Bug 627179 - Fix LayerManagerD3D10 debug name. r=Bas a=joe 2011-01-20 15:47:47 +13:00
Matt Woodrow
4aaf7f9305 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
23cdfad3a4 Bug 612846 - Part 4 - Make ThebesLayerD3D10 support component alpha. r=Bas a=blocking2.0 2011-01-20 15:47:39 +13:00
Matt Woodrow
97982d28f7 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
67ffd26855 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
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
d50c26afdc Bug 621601. Part 3: Implement EndEmptyTransaction for D3D10. 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
Bas Schouten
8d4fe7465c 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
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
Bas Schouten
909613e5a2 Bug 612103 - Followup: Remove accidentally introduced tabs. r+a=DONTBUILD 2011-01-12 23:29:11 +01:00
Bas Schouten
967e85547a 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
897bd83b70 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
8cf8dbf2c9 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
7322ecf52c 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
5c358eba4e 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
005c4bc381 Bug 621156 - Followup: Clarify comment. r+a=comment DONTBUILD 2011-01-03 18:29:10 +01:00
Bas Schouten
337324ab1f Bug 621156: Return a properly working surface from GetAsSurface. r=jrmuizel a=blocking-final 2011-01-03 18:05:47 +01: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
76fed664bf 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
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
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
68b4817704 Bug 613790: Comment update follow-up. a=comment 2010-12-16 08:08:49 +00:00
Bas Schouten
5bd3bb5cf5 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
476b6e29ba Bug 615316 - Part 3: Support any container in ImageLayerD3D10. r=jrmuizel a=blocking-betan 2010-12-15 21:37:15 +01:00
Bas Schouten
0ded4e0978 Bug 615316 - Part 2: Support GetAsSurface for CairoImageD3D10. r=jrmuizel 2010-12-15 21:37:12 +01:00
Bas Schouten
82a42d2ced Bug 615316 - Part 1: Factor out SurfaceToTexture conversion for D3D10 Image Layers. r=jrmuizel 2010-12-15 21:37:10 +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
Bas Schouten
d6b50ba309 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
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
Bas Schouten
cec0586948 Bug 601273: Properly retain copied region. r=jrmuizel a=blocking-final 2010-12-02 19:44:18 +01: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
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
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
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
Bas Schouten
dde42e33c1 Bug 606411: Remove ImageContainerD3D10 dependencies on LayerManagerD3D10. r=roc a=blocking-final 2010-10-26 00:24:57 +02:00
Bas Schouten
f2b22b6625 Bug 603071 - Part 2: Fix race condition in PlanarYCbCrImageD3D10. r=roc a=blocking-beta8 2010-10-19 21:08:34 +02:00
Bas Schouten
3e8591afde 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
a6c66f0992 Bug 546514: Address D3D10 Layers backend review comments. r=jrmuizel 2010-10-19 21:08:27 +02:00
Bas Schouten
4fe7e27b52 Bug 601785: Use true pointer size for x64 builds. r=vlad a=approval2.0 2010-10-08 18:02:41 +02:00
Bas Schouten
9f234ad045 Bug 601053: Prevent DXGI from handling alt+enter. r=vlad a=blocking-beta8 2010-10-08 18:02:39 +02:00
Bas Schouten
176e99bd57 Bug 546514 - Part 3: Add D3D10 layers code. r=vlad 2010-10-01 00:53:49 +02:00