Commit Graph

269 Commits

Author SHA1 Message Date
David Zbarsky
3154e1b535 Bug 784004 - Don't include Layers.h everywhere Part 3 r=nical 2012-08-21 00:06:46 -04:00
Jeff Gilbert
88506f3b6e Bug 783663 - Add ReadScreenIntoImageSurface for reading pixels from the screen - r=bgirard 2012-08-20 17:13:32 -07:00
Nicolas Silva
75542595f3 Bug 782372 - Splits ImageLayers.h into ImageLayers.h ImageContainer.h and ImageTypes.h, r=bgirard 2012-08-19 15:33:25 -04:00
Joe Drew
022bcccbfb Bug 781679 - Assert that we're not in the middle of a transaction when we switch layer managers. r=mattwoodrow 2012-08-15 17:55:38 -04:00
Matt Woodrow
6ac4dc5746 Bug 539356 - Part 30 - Make ShadowContainerLayerD3D10 hold references to child layers. r=roc 2012-08-13 22:10:45 +12:00
Matt Woodrow
2ebb996f8c Bug 539356 - Part 8b - Move painting of retained layers to the view manager flush, and only composite on the paint event. r=roc
* * *
Fix Empty transactions with the new paint timing
2012-08-13 22:10:10 +12:00
Matt Woodrow
8e8f866f65 Bug 539356 - Part 8a - Add END_NO_COMPOSITE to EndTransactionFlags and implement in for all LayerManagers. r=roc 2012-08-13 22:10:10 +12:00
Nicholas Cameron
7ba2f80762 Bug 779650; handle Cairo DrawTargets in CanvasLayerD3D10; r=bas 2012-08-02 16:01:05 +12:00
Nicholas Cameron
afcbca306a Bug 776802; Give better info about Azure. r=Bas 2012-07-31 18:30:10 +12:00
Nicholas Cameron
5dd825ba63 Back out bug 779001, bug 746883, bug 778595, bug 776803, bug 7118849 2012-07-31 18:17:23 +12:00
Nicholas Cameron
883ca8cb74 Bug 776802; Give better info about Azure. r=Bas 2012-07-31 13:45:59 +12:00
Aryeh Gregor
d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Nicholas Cameron
952f2e4661 Bug 764125; remove AzureEnabled from gfxInfo and replace with backend check. r=roc 2012-07-26 13:56:42 +12:00
Nicholas Cameron
9c67b116d5 Bug 764125; sort out preferred and fallback Azure backends for all platforms (gfxPlatform). r=Bas 2012-07-25 12:45:58 +12:00
Brian R. Bondy
1d1476e115 Bug 770694 - Fix for snapped view windows size. r=bas 2012-07-04 20:36:37 -04:00
Nicholas Cameron
e5b55a65ac Back out bug 746883, bug 764125, bug 761895, bug 746883, bug 748116 2012-07-26 18:48:24 +12:00
Nicholas Cameron
c934b676bb Bug 764125; remove AzureEnabled from gfxInfo and replace with backend check. r=roc 2012-07-26 13:56:42 +12:00
Nicholas Cameron
3843356847 Bug 764125; sort out preferred and fallback Azure backends for all platforms (gfxPlatform). r=Bas 2012-07-25 12:45:58 +12:00
Benoit Jacob
bcfa6ecfce Bug 774755 - 6/8 - ANGLE r1242: flip y-axis when using ANGLE share handles in D3D10 layers - r=jgilbert
This new ANGLE version reverses the y-axis.
2012-07-25 12:13:45 -04:00
Nicholas Cameron
00e35a27df Bug 775215; remove D3D10_RESOURCE_MISC_GDI_COMPATIBLE. r=Bas
--HG--
extra : rebase_source : bb05c51a4e7f57dc2db0c17cb321160dc619ecb6
2012-07-25 12:28:20 +12:00
Chris Jones
94c70c8ab5 Bug 776217: Support gecko-implemented screen rotation with omtc. r=roc 2012-07-24 12:01:09 -07:00
Brian R. Bondy
51186dbf6a Bug 750898 - GFX code for Metro. r=bas 2012-07-17 21:53:28 -04:00
David Zbarsky
9a61d96c70 [Bug 774505] Don't include Layers.h everywhere r=cjones 2012-07-18 12:31:40 -04:00
Nicholas Cameron
f81c82b671 Bug 767337; remove D3D10_RESOURCE_MISC_GDI_COMPATIBLE flag from D3D10 layer manager. r=roc 2012-07-18 15:02:12 -04:00
Ehsan Akhgari
658ec4eb81 Backout changeset d97bd4246317 (bug 539356) because of performance and correctness regressions 2012-07-03 20:26:18 -04:00
Ehsan Akhgari
94344ff460 Backout changeset bd0a91621ea9 (bug 539356) because of performance and correctness regressions 2012-07-03 20:25:57 -04:00
Ehsan Akhgari
cf18ee9122 Backout changeset f568fc280fb0 (bug 539356) because of performance and correctness regressions 2012-07-03 20:24:55 -04:00
Ehsan Akhgari
8b3c1f653a Backout changeset cb1ac88bedc2 (bug 539356) because of performance and correctness regressions 2012-07-03 20:14:11 -04:00
Ehsan Akhgari
5eb5d76486 Backout changeset a9ae09d4f1d8 (bug 539356 part 30) because DLBI is being backed out 2012-07-03 19:41:27 -04:00
Robert O'Callahan
f486010303 Bug 539356. Part 30: Call correct HasShadowManager method. Fixing Win mochitest-2 bustage. r=the-wind 2012-07-01 00:21:39 +12:00
Oleg Romashin
5cbefb95a7 Bug 539356 - Part 20 - Simplify regions to avoid excessive region calculation. r=roc 2012-06-30 15:06:13 +12:00
Matt Woodrow
31125260ee Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt 2012-06-30 15:06:11 +12:00
Matt Woodrow
46e6f3d27b Bug 539356 - Part 8b - Move painting of retained layers to the view manager flush, and only composite on the paint event. r=roc 2012-06-30 15:06:10 +12:00
Matt Woodrow
7aaf9816cd Bug 539356 - Part 8a - Add END_NO_COMPOSITE to EndTransactionFlags and implement in for all LayerManagers. r=roc 2012-06-30 15:06:10 +12:00
Nicholas Cameron
0e6b01bba2 Bug 757347; checking the format of images. r=roc 2012-06-26 14:43:31 +12:00
Nicholas Cameron
162bac1537 Bug 757346; mask image format stuff - use A8 textures (except DX10) and some small, misc fixes. r=roc 2012-06-26 14:43:31 +12:00
Nicholas Cameron
f1e0596d58 Bug 757347; Add a shutdown hook and remove MaskImageFormat(). r=roc 2012-06-26 14:43:30 +12:00
Nicholas Cameron
1a825cc2d4 Back out bug 757346
--HG--
extra : rebase_source : 8a07c2c56ca9dbc165012b679d421435cc886c2c
2012-06-26 10:54:05 +12:00
Nicholas Cameron
90e38cb124 Bug 757347; checking the format of images. r=roc 2012-06-26 09:44:41 +12:00
Nicholas Cameron
eabed73236 Bug 757346; mask image format stuff - use A8 textures (except DX10) and some small, misc fixes. r=roc 2012-06-26 09:44:41 +12:00
Nicholas Cameron
841c20e037 Bug 757347; Add a shutdown hook and remove MaskImageFormat(). r=roc 2012-06-26 09:44:41 +12:00
Ed Morley
865fc92be0 Backout 61fd66629c4f, 7c8121f8d3af & 2a2e9cf8fd41 (bug 539356), e31a5e6545d3 (bug 761884), 85fa80bd9792, a284ccb25b83, 2865904db9fc, 34e07b09c426, e9b3d41e0360, cef00ebcd6c8, f943b729ac14 & 783f298401b6 (bug 539356), 330a086f1570 (bug 741682), d80219c8842c (bug 739671), e8c96b4fd4da, 313af486e68d, 0adc41ff56dc, 0cd288a38085, f1d43208825c, 4859876972f3, eec8ef3ebe48, f7f29fcd1845, 6079b229d306, f23c3a7e7ce0, 9824458a41e2 & 6748b5496059 (bug 539356) for mochitest-4 orange & talos regressions on multiple platforms 2012-06-11 10:08:32 +01:00
Oleg Romashin
d5e281c4cc Bug 539356 - Part 20 - Simplify regions to avoid excessive region calculation. r=roc 2012-06-11 16:45:39 +12:00
Matt Woodrow
cee7c9d24b Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt
* * *
Bug 539356 - Part 9a - Add new display list invalidation API to nsDisplayItem and implement it. r=roc
* * *
Bug 539356 - Part 9b - Add new frame invalidation API. r=roc
* * *
Bug 539356 - Part 9c - Remove old invalidation code. r=bz
* * *
Bug 539356 - Part 9d - Make SVG support the new invalidation model. r=jwatt
* * *
Bug 539356 - Part 9e - FrameLayerBuilder changes for display list invalidation. r=roc
* * *
Bug 539356 - Part 9f - Compute the invalid area of the layer tree and pass this to the widget. r=roc
* * *
Bug 539356 - Part 9g - Modify MozAfterPaint code to work with the new invalidation model. r=roc
2012-06-11 16:45:30 +12:00
Matt Woodrow
554b2e7419 Bug 539356 - Part 8b - Move painting of retained layers to the view manager flush, and only composite on the paint event. r=roc 2012-06-11 16:44:09 +12:00
Matt Woodrow
8b67ce0b4e Bug 539356 - Part 8a - Add END_NO_COMPOSITE to EndTransactionFlags and implement in for all LayerManagers. r=roc 2012-06-11 16:44:08 +12:00
Jacek Caban
61502911db Bug 756996 - GCC warnings in gfx/2d r=bas 2012-06-04 13:02:02 +02:00
Ben Turner
3fdf917cd6 Bug 666693 - 'Remote IndexedDB for multiple IndexedDB-using processes'. r=cjones+sicking. 2012-06-01 10:21:12 -07:00
Ed Morley
2fba49082b Backout fa3fe2aff1f5 (bug 756996) for bustage 2012-05-31 15:46:38 +01:00
Jacek Caban
852c055d05 Bug 756996 - GCC warnings in gfx/2d r=bas 2012-05-31 16:09:20 +02:00
Bas Schouten
f54417f2ea Bug 734404 - Part 1: Add support for DXGI shared surface handles to ImageLayers. r=roc 2012-05-30 07:14:30 +02:00
Matthew Gregan
6a530c81e9 Bug 744063 - Pass Y' texture size rather than picture size to Nv3DV. r=bas
--HG--
extra : rebase_source : 3a8744b67a9cd8b3f149d0c20fa5e0619b34fe9a
2012-05-24 11:00:26 +12:00
Nicholas Cameron
befb18b0a8 Bug 753784; allow access to the max texture size from FrameLayerBuilder. r=roc 2012-05-22 19:15:16 -04:00
Jacek Caban
414a7687cd Bug 733708 - gfx/layers fail to compile on mingw r=bas
--HG--
extra : rebase_source : 4ed99a22f66a20e4c6d2d7096396f6b2c261e63e
2012-05-21 11:03:23 +02:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Bas Schouten
3eed0050e2 Bug 717393 - Part 5: Permit subpixel AA for transparent surfaces. r=roc 2012-05-15 16:57:51 +02:00
Nicholas Cameron
7dc5d18fea Bug 716438; using flags to select a shader. r=Bas 2012-03-01 17:29:30 +00:00
Nicholas Cameron
a888c21025 Bug 716439; dx10 shaders for mask layers. r=Bas 2012-02-16 12:34:28 +13:00
Nicholas Cameron
3631fa0610 Bug 716439; Using mask layer shaders in DX10. r=Bas 2012-02-16 12:34:25 +13:00
Nicholas Cameron
1dade22de5 Bug 716439; Loading a mask layer to textures in DX10. r=Bas 2012-02-16 12:34:23 +13:00
Nicholas Cameron
472977cd01 Bug 716439; creating mask layers. r=roc 2012-02-08 11:27:44 +13:00
Bas Schouten
d15ab65754 Bug 743590: Properly mark ThebesLayer content invalid when changing content type. r=jrmuizel 2012-04-21 17:33:59 +02:00
Bas Schouten
0bb9325706 Bug 743393: Reset scissorrect when clearing surfaces. r=jrmuizel 2012-04-11 18:17:40 +02:00
Bas Schouten
2cf0337dbf Bug 743148: Setup input assembler for component alpha filling. r=jrmuizel 2012-04-11 18:17:40 +02:00
Phil Ringnalda
151c28ec53 Back out 4b82f26f8593:2fcf9cbedd48 (bug 743393, bug 719776) for bustage 2012-04-11 09:06:40 -07:00
Bas Schouten
815aa63737 Bug 743393: Reset scissorrect when clearing surfaces. r=jrmuizel 2012-04-11 16:55:31 +02:00
Bas Schouten
a0e6222044 Bug 743148: Setup input assembler for component alpha filling. r=jrmuizel 2012-04-11 16:55:31 +02:00
Bas Schouten
9f3b39e3e1 Bug 740815 - Part 3: Use component alpha rendering when required and drawing content with Azure. r=jrmuizel 2012-04-03 22:25:52 +02:00
Bas Schouten
82ec0d1a7a Bug 740815 - Part 2: Generalize code for filling component alpha surfaces with opaque colors. r=jrmuizel 2012-04-03 22:25:52 +02:00
Jeff Gilbert
c962e216ff Bug 735378 - Cache temporary composite surfaces - r=bgirard 2012-03-25 12:50:26 -07:00
Bas Schouten
dbb9c56a6c Bug 732988 - Part 1: Add ScaleToSize API to ImageLayers. r=roc 2012-03-13 01:41:29 +00:00
Daniel Holbert
98a7f77a1c Backout 4b46f6eff8f4 (Bug 732988) for linux Cipc orange 2012-03-11 16:43:12 -07:00
Bas Schouten
7630416702 Bug 732988 - Part 1: Add ScaleToSize API to ImageLayers. r=roc 2012-03-11 22:33:22 +00:00
Bas Schouten
b798e874b1 Bug 651192 - Part 5: Support remote access to ImageContainers. r=roc 2012-02-16 04:26:19 +01:00
Benoit Jacob
c5a42c7937 Bug 711656 - report force-enabled features in crash reports - r=jrmuizel
Force-enabled features will be reported with a '!' instead of the usual '?' in AppNotes in crash reports.
2012-02-27 16:33:19 -05:00
Jacek Caban
31719e089e Bug 723942 - ImageLayerD3D*.cpp does not compile on mingw r=bas
--HG--
extra : rebase_source : e98c15c62a8998c1c646a5d9851ec96514f0b376
2012-02-06 11:24:47 +01:00
Bas Schouten
7244d2b180 Bug 715785: Make ImageContainers independent of LayerManagers. r=roc 2012-02-01 03:18:30 +01:00
aceman
3d7f982448 Bug 678982 - check for null pointer dereference in gfx/layers/d3d10/ImageLayerD3D10.cpp; r=bas.schouten 2012-01-19 15:53:56 +01:00
Jeff Muizelaar
32255c18e2 Bug 696398. Add an api to analyse frame rate. r=ajuma
This adds a startFrameTimeRecording() and stopFrameTimeRecording()
to DOMWindowUtils. stopFrameTimeRecording() returns an array of frame times in milliseconds.
2012-01-05 17:40:35 -05:00
Bas Schouten
5af5f11f22 Bug 711063 - Part 11: Allow using Azure for content drawing with D3D10 layers. r=jrmuizel 2012-01-05 08:17:52 +01:00
Matt Woodrow
0ff1407cd7 Bug 707563 - Restore the w component in the LayerManager shaders after applying the offset. r=Bas 2011-12-19 10:11:30 +13:00
Jeff Gilbert
54c1bfce65 Bug 708124 - Remove unnecessary glFlushs from Layers - r=bjacob 2011-12-16 14:24:46 -08:00
Jeff Gilbert
e91e311cc8 Bug 705024 - Guarantee GLContexts are resolved properly - r=bjacob 2011-12-16 14:24:46 -08:00
Matt Woodrow
94d6100570 Bug 707563 - Convert vertex vector back into normal coordinate space before applying offset. r=Bas 2011-12-09 16:21:45 +13:00
Robert O'Callahan
587cc2c570 Bug 701528. Fix component alpha shader so correct destination alpha values are produced. r=bas 2011-11-14 17:42:08 +13:00
Jeff Gilbert
69c7308a1d Bug 571507 - Add checks for texture creation failure to ContainerLayerD3D* - r=bas.schouten 2011-11-03 12:10:10 -07:00
Ehsan Akhgari
92064e6d3f Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Jeff Walden
b5e57820bf Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
Matt Woodrow
c4f7adf6f1 Bug 692968 - Check the return value of CreateTexture2D in ContainerLayerD3D10. r=Bas 2011-10-13 14:01:30 +13:00
Jeff Walden
d0532c3e95 Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail 2011-10-12 12:21:53 -07:00
Jeff Walden
0f30b277bf Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
--HG--
extra : rebase_source : 860a8271bf7e51cde358f2a4185c410de1fc2960
2011-10-10 22:50:08 -07:00
Matt Brubeck
605f836e6c Back out f7bf7ac18a79 (bug 684826), 3a910924c50c (bug 687367), and 524a6bb8744b (bug 693086) because of Android bustage on a CLOSED TREE 2011-10-10 09:47:27 -07:00
Brad Lassey
6f3a6d8c7b merge 2011-10-10 11:01:34 -04:00
Brad Lassey
1dbd9c50c8 Backed out changeset 703df62e855b due to crashes reported in bug 693086 2011-10-10 11:00:16 -04:00
Oleg Romashin
0ee3091dc8 Bug 690469 - ShadowThebesLayer Init/Swap API rework. r=cjones
--HG--
extra : rebase_source : 92daf535bc48e1fa2a80d3ef1a6ed20855135eb4
2011-10-02 17:19:32 -04:00
Jeff Gilbert
2b770669a8 Bug 692458 - Fix for GLContext currency error - r=bjacob 2011-10-07 15:16:48 -04:00
Matt Woodrow
0d0c9a720e Bug 684759 - Part 4 - Add layer sorting support to the LayerManagers. r=roc 2011-10-07 10:24:32 +13:00
Michael Wu
d2b70213ac Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Ali Juma
9af282920f Bug 681033 - Prevent ShadowLayers::RecvUpdate from triggering an immediate repaint. r=cjones 2011-09-26 09:20:42 -04:00
Robert O'Callahan
3e3f6096a0 Bug 677095. Compute reasonable destination alpha values with component-alpha blending in D3D10. r=bas
--HG--
extra : rebase_source : b0264c52df9a37334d9524e1fdd1f15e4e4df866
2011-08-12 10:40:39 +12:00