Commit Graph

1057 Commits

Author SHA1 Message Date
Ali Juma
96f267b56a Merge heads. 2012-02-10 10:31:31 -05:00
Patrick Walton
c5f56a495f Implement the rendering hooks for Java compositor integration. Currently segfaulting, so ifdef'd out. 2012-02-09 23:55:13 -08:00
Patrick Walton
6a14c62d7f Add a DrawWindowUnderlay() to match DrawWindowOverlay() 2012-02-09 19:47:50 -08:00
Benoit Girard
0b782cb5e9 Bug 721489 - Allocate a PoT Shmem for the Adreno. This replaces segfaults by visual artifacts
--HG--
extra : rebase_source : 400e392843cf2d15b941e7e94b736106e6b447e2
2012-02-09 17:52:03 -05:00
Ali Juma
54af353fd7 Code cleanup. 2012-02-09 17:39:04 -05:00
Kartikaya Gupta
772e6369b5 Guard against crash in debug mode caused by using a null TimeStamp in a subtraction 2012-02-08 22:22:30 -05:00
Benoit Girard
beb2ae7df8 Merge viewport with tip 2012-02-08 20:42:17 -05:00
Ali Juma
1f21ac563d Build fix. 2012-02-08 19:57:21 -05:00
Benoit Girard
2f35d690b6 Merge m-c into maple 2012-02-08 16:43:22 -05:00
Benoit Girard
0fc7c92286 Build fixes and clean up 2012-02-08 12:08:03 -05:00
Patrick Walton
25b146219c Remove the blinkenlights in the background 2012-02-07 23:24:58 -08:00
Patrick Walton
37bd0b7e1d Have the compositor thread manipulate the layer with a display port if there is one 2012-02-07 22:17:54 -08:00
Benoit Jacob
48c5b9a871 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
Ali Juma
e534f84472 Fix delayed rendering after orientation change. 2012-02-07 11:26:52 -05:00
Ali Juma
ac787b0863 Move surface ownership to GLContextProviderEGL.
--HG--
extra : rebase_source : a3f83d279de5087a521a938d66c4e7b5dee79d74
2012-02-06 16:53:09 -05:00
Ali Juma
f9ebf5ebe2 Pause/resume composition on surface destruction/creation. 2012-02-06 13:57:06 -05:00
Benoit Girard
02795249cd Limit composition to every 15 ms, may want to try increasing this value 2012-02-06 13:51:33 -05:00
Benoit Girard
15426bdfef Limit composite events to one at a time 2012-02-06 12:38:23 -05:00
Ali Juma
d596ccbbea Fix null pointer dereference causing startup crash. 2012-02-06 09:42:53 -05:00
Ali Juma
92e59fd959 Add support for pausing/resuming composition from Java. 2012-02-05 13:33:38 -05:00
Patrick Walton
402747340d Stand up async panning and zooming 2012-02-03 23:31:05 -08:00
Ali Juma
fccf312a28 Add ifdefs to fix desktop build.
--HG--
extra : rebase_source : fe51e388ff7dbd95e968cf60af800917801ab911
2012-02-03 21:48:05 -05:00
Patrick Walton
50c7df015c Poke the compositor to composite on a pan or zoom; stub AndroidBridge::GetViewTransform() 2012-02-03 18:35:58 -08:00
Patrick Walton
9159739ff5 Stub ViewTransform code; unbork the viewport size a bit 2012-02-03 16:39:15 -08:00
Bas Schouten
349297a0c5 Bug 651192 - Part 7: Implement the NPP_DidComposite API. r=roc 2012-02-16 04:30:25 +01:00
Bas Schouten
87964f395c Bug 651192 - Part 5: Support remote access to ImageContainers. r=roc 2012-02-16 04:26:19 +01:00
Matt Woodrow
bf3005c3f4 Bug 700240 - Print display lists to a file. r=roc,bjacob 2012-03-01 21:26:09 +13:00
Patrick Walton
2b6bcfedfa Partial removal of tiling, stub callouts 2012-02-02 19:28:22 -08:00
Benoit Girard
8febee184a Add debug code, unapply me later 2012-02-02 16:34:23 -05:00
Benoit Girard
7876b39a69 Fix GetLayerManager logic 2012-02-02 14:16:59 -05:00
Benoit Girard
36780c8b69 Progress on omtc integration 2012-02-01 16:18:35 -05:00
Ali Juma
38f425cf74 Implement logic needed for simple async scrolling. 2012-02-01 14:31:34 -05:00
Benoit Girard
8b421129d7 Merge fixes 2012-01-30 15:57:30 -05:00
Benoit Girard
cc153dc324 Mergi mc to kiwifox, lots of conflicts so may not build 2012-01-30 13:38:20 -05:00
Joe Drew
5b5451e0e4 Back out 9699edcbcedd (bug 721467) for causing bug 722167. 2012-01-29 19:41:48 -05:00
Benoit Girard
2a3688a8df Partial work for android OGLSurfaceView
--HG--
extra : rebase_source : 2c6ce362dd859e9f81a5b4490e2451826259a651
2012-01-26 14:23:13 -05:00
George Wright
cbdcca5c64 Bug 721467 - Add an optional codepath (currently enabled only for Adreno 200 GPUs) to only use glTexImage2D for texture uploads as glTexSubImage2D can be slow and/or buggy r=joe,BenWa
--HG--
extra : rebase_source : 0f2903fe23edf3b191ae5dcfa7df6d9066d1d952
2012-01-24 19:44:48 -05:00
Ali Juma
51ac38f75e Work around Bug 719036. 2012-01-18 11:38:45 -05:00
Ali Juma
11cc82c789 merge m-c to kiwifox 2012-01-18 11:04:04 -05:00
Ali Juma
9b8a32266c Address next set of review comments. 2012-01-16 10:31:16 -05:00
Ali Juma
3dd73e278d merge mc to kiwifox 2012-01-16 09:58:14 -05:00
Benoit Girard
2e4455c294 Merge m-c into kiwifox
--HG--
rename : widget/src/cocoa/nsChildView.h => widget/cocoa/nsChildView.h
rename : widget/src/cocoa/nsChildView.mm => widget/cocoa/nsChildView.mm
rename : widget/public/nsIWidget.h => widget/nsIWidget.h
rename : widget/src/xpwidgets/nsBaseWidget.cpp => widget/xpwidgets/nsBaseWidget.cpp
rename : widget/src/xpwidgets/nsBaseWidget.h => widget/xpwidgets/nsBaseWidget.h
2012-01-11 17:30:40 -05:00
Ali Juma
8b5223756e More handling review comments for Bug 711168. 2012-01-10 18:04:21 -05:00
Ali Juma
f4c33e6ca1 Address review comments from Bug 711168.
--HG--
rename : gfx/layers/ipc/ShadowLayersHost.h => gfx/layers/ipc/ShadowLayersManager.h
2012-01-06 17:52:32 -05:00
Boris Zbarsky
aa1e6384d2 Bug 718150. Make sure to update our stored size on Swap() even if we didn't already have a front surface. r=cjones 2012-01-14 11:48:48 -05:00
Ed Morley
329417cd35 Merge mozilla-central to mozilla-inbound 2012-01-13 03:19:46 +00:00
Oleg Romashin
d6ad5fab8a Bug 694964 - crash [@ gfxSharedImageSurface::Open]. r=ajuma 2012-01-12 15:49:43 -08:00
Chris Jones
24f87ab423 Bug 716332: Delete temporary fbo. r=joedrew 2012-01-12 16:27:34 -08:00
Ali Juma
af41b90a2a Clean up Compositor destruction. 2011-12-22 10:59:53 -05:00
Ali Juma
6ca080a97a Clean up pointer usage 2011-12-21 11:10:33 -05:00
Ali Juma
e2f8f1561d Clean up 2011-12-20 15:12:54 -05:00
Ali Juma
6117479177 Fix crash when deleting Compositor parent, and change RPC calls to sync calls.. 2011-12-20 10:37:27 -05:00
Ali Juma
07635403cc Composite only when needed. 2011-12-19 13:17:29 -05:00
Benoit Girard
3f4e7da732 merge mc to kiwifox 2011-12-19 11:34:31 -05:00
Ali Juma
b0a7f53f0f Merged. 2011-12-19 10:44:18 -05:00
Benoit Girard
46c36ce8e7 More clean up. Shutdown down a window no longer crashes 2011-12-16 19:21:51 -05:00
Ali Juma
ffe1c7b58d Add a 10ms delay when scheduling next composition. 2011-12-16 17:54:06 -05:00
Benoit Girard
334208c02a Clean up some hacks and useless code 2011-12-15 16:31:16 -05:00
Ali Juma
aed9038a0f Ensure added code only runs when using a Compositor, not in e10s. 2011-12-15 16:16:38 -05:00
Ali Juma
a5bd408df9 Make shadow layer transformations work. 2011-12-15 15:20:06 -05:00
Ali Juma
42f2a7bb6f imported patch hacking 2011-12-15 15:07:25 -05:00
Ali Juma
62c753efee imported patch PCompositorProgress 2011-12-15 15:07:19 -05:00
Benoit Girard
3723d79344 Part A: Setup PCompositor (in progress) 2011-12-12 10:15:57 -05:00
Matt Woodrow
1e6a0c0b07 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
4d60675b38 Bug 708124 - Remove unnecessary glFlushs from Layers - r=bjacob 2011-12-16 14:24:46 -08:00
Jeff Gilbert
1be07963e0 Bug 705024 - Guarantee GLContexts are resolved properly - r=bjacob 2011-12-16 14:24:46 -08:00
Ali Juma
1ec6927862 Bug 705641 - Add even more output to framebuffer incompleteness abort message. r=jrmuizel 2011-12-16 14:02:03 -05:00
Matt Woodrow
bea9136024 Bug 707563 - Convert vertex vector back into normal coordinate space before applying offset. r=Bas 2011-12-09 16:21:45 +13:00
Bas Schouten
56d3b6d55c Bug 644199: Properly re-upload after clearing mTexture because of device reset. r=roc 2012-01-17 18:32:24 +01:00
Bas Schouten
db305dbad5 Bug 668344: Deal with missing Direct2D device in Azure. r=jrmuizel 2012-02-07 06:14:21 +01:00
Julian Seward
5918745e20 Bug 720758 - Uninitialised value use in gfx/layers/basic/BasicLayers.cpp. r=bas
--HG--
extra : rebase_source : 78899a63fff9762875ee720817514ab0625ceab1
2012-01-26 11:00:15 +01:00
Chris Jones
c4d3bbde9f Bug 715232: Don't attempt to CopyTexImage from an RGB framebuffer to an RGBA texture. r=joedrew 2012-01-25 18:05:34 -08:00
Karl Tomlinson
1d8d7233fb b=682625 pass VisualID when PictFormat is not available r=cjones
--HG--
extra : transplant_source : A%2ALD%92%93%A3%D8%AB%03i%17Y%F4%CA%D3%AAE%3D%99
2012-01-10 23:54:38 +13:00
Krzysztof Kotlenga
6dcd161a90 Bug 678940 - remove caching of uniform values. r=joe 2012-01-09 10:57:21 +01:00
Jeff Muizelaar
4ac327e933 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
bf4eadaee5 Bug 711063 - Part 11: Allow using Azure for content drawing with D3D10 layers. r=jrmuizel 2012-01-05 08:17:52 +01:00
Bas Schouten
056cdb4884 Bug 711063 - Part 10: Adjust BasicLayers code for Azure-Thebes wrapper. r=roc 2012-01-05 08:17:52 +01:00
Karl Tomlinson
154582bdd0 b=713572 don't draw from BasicThebesLayerBuffers when transaction is incomplete r=roc
--HG--
extra : rebase_source : a85034d1207100a3563e7bb8b92ea696c91ac206
2012-01-05 11:16:37 +13:00
Jeff Walden
91683ae3e3 Bug 704313 - Implement mozilla/StdInt.h. r=cjones
--HG--
extra : rebase_source : b221134fdfbde13a37a6ef621bba3ca183a46101
2011-11-22 17:42:57 -08:00
Ali Juma
944ab6b896 Bug 705641 - Add reason for framebuffer incompleteness to abort message. r=jrmuizel 2011-12-02 09:43:58 -05:00
Jeff Gilbert
f15bef0f8e Bug 706297 - Remove unnecessary glFinish preceeding glReadPixels from LayerManagerOGL - r=bjacob 2011-11-30 17:25:20 -08:00
Benoit Jacob
ba094503ec Bug 717658 - OOM crash in BasicLayers: dump sizes to help understand this crash - r=joe 2012-01-24 16:12:30 -05:00
Benoit Girard
d3a3a98379 Bug 635544 - rename nsIWidget::DrawOver to DrawWindowOverlay. r=roc 2012-01-21 21:01:17 -05:00
aceman
9f40d11539 Bug 678982 - check for null pointer dereference in gfx/layers/d3d10/ImageLayerD3D10.cpp; r=bas.schouten 2012-01-19 15:53:56 +01:00
Benoit Girard ext:(%2C%20Ali%20Juma%20%3Cajuma%40mozilla.com%3E)
3a24e71200 Bug 711168 - Implement the compositor protocol for OMTC. r=cjones 2012-01-19 09:45:37 -05:00
Jeff Muizelaar
9c9e2eed37 Bug 718440. Add more sampler labels to various places. r=bgirard
This shows the problems described in bug 710068.
2012-01-17 15:33:04 -05:00
Ali Juma
93422a504e Bug 705641 - Add more output to framebuffer incompleteness abort message. r=jrmuizel 2011-12-15 13:06:18 -05:00
Robert O'Callahan
c1f1cc4a64 Bug 708109. Remove THEBES_INLINE_DECL_THREADSAFE_REFCOUNTING in favour of NS_ version. r=joe 2011-12-15 23:26:42 +13:00
Matt Brubeck
2e1e2ae3c5 Back out 88733ce1bef3 (bug 718440) because of Windows build failure 2012-01-17 15:15:47 -08:00
Jeff Muizelaar
581f54f157 Bug 718440. Add more sampler labels to various places. r=bgirard
This shows the problems described in bug 710068.
2012-01-17 15:33:04 -05:00
Robert O'Callahan
f6d9e65b02 Bug 703491. Part 2: use bools, not nsresults, and silence the rest of the assertions. r=bas 2011-11-24 12:01:39 +13:00
Jeff Walden
4f3f8250ea Bug 704127 - Move C++ attribute support out of mozilla/Types.h and into mozilla/Attributes.h so that it can be used by code that's not yet compatible with the full mfbt experience. r=cjones
--HG--
extra : rebase_source : 7b653358a73f222c055f5139e33ca470475f88c9
2011-11-20 12:22:51 -08:00
Robert O'Callahan
46a8f52b3d Bug 703491. Silence useless assertion. r=bas 2011-11-21 17:40:11 +13:00
Oleg Romashin
1fe995bea0 Bug 618765 - unbind VBO required in order to share GL context with toolkit. r=matt.woodrow 2011-11-20 08:49:48 -05:00
Oleg Romashin
9706557ec7 Bug 618765 - unbind VBO required in order to share GL context with toolkit. r=jrmuizel 2011-11-18 14:01:35 +01:00
Marco Castelluccio
65fe650cde Bug 699258 - Get skia backend compiling and running on Windows. r=mattwoodrow 2011-11-18 17:00:37 +13:00
Jeff Walden
e15cf47cfd Bug 702437 - Implement MOZ_OVERRIDE to encapsulate support for the contextual override keyword on virtual member functions. r=cjones 2011-11-14 10:31:46 -08:00
Chris Pearce
f689fe4458 Bug 701259 - Restrict BasicPlanarYCbCrImage scaling destination size. r=roc 2011-11-15 09:35:46 +13:00
Robert O'Callahan
f5a402ffe7 Bug 701528. Fix component alpha shader so correct destination alpha values are produced. r=bas 2011-11-14 17:42:08 +13:00
Matt Brubeck
d9a00c1f73 Back out 5ddda2b25e28 and 3abfdb807a4f (bug 699258) for crashes in WinXP tests 2011-11-11 17:49:47 -08:00
Marco Castelluccio
f70d384da0 Bug 699258 - Part 2: [Skia] Get Skia backend working on Windows. 2011-11-11 15:51:00 -05:00
Jeff Gilbert
50ccee0ff9 Bug 571507 - Add checks for texture creation failure to ContainerLayerD3D* - r=bas.schouten 2011-11-03 12:10:10 -07:00
Matt Woodrow
807731094a Bug 688342 - Make nsCanvasRenderingContext2D support Azure backends other than Direct2D. r=Bas 2011-11-03 08:55:03 +13:00
Ali Juma
558d777703 Bug 696768 - Abort when framebuffer completeness check fails. r=jrmuizel 2011-11-02 09:40:14 -04:00
Matt Woodrow
9e5aed979b Bug 698212 - Let UploadSurfaceToTexture create the texture for CairoImageOGL. r=BenWa 2011-10-31 14:03:00 +13:00
Andrew Quartey
faa8be8d82 Bug 706010 - Remove NS_SPECIALIZE_TEMPLATE and HAVE_CPP_MODERN_SPECIALIZE_TEMPLATE_SYNTAX; r=khuey a=cleanup/removal 2011-12-13 14:17:59 +00:00
Benoit Girard
bcdd27f3de Bug 698137 - Set texture unit before binding FPS texture. r=ajuma
--HG--
extra : rebase_source : 5ea49b85e0ba0d2b5eabc4477a0e692d0a531faf
2011-10-31 15:04:09 -04:00
Benoit Jacob
b9688f7857 Bug 697845 - only call glFinish in RenderLayer, not in UpdateSurface - r=mattwoodrow
This could make WebGL a bit faster.
2011-10-29 19:15:52 -04:00
Benoit Girard
d8ebb72e62 Bug 680082 - Add GetMaxTextureImageSize to correct size support for TiledTextureImage. r=matt.woodrow
--HG--
extra : rebase_source : e121a8718fa68e602794957bae278d7351d7d585
2011-10-26 14:36:18 -07:00
Benoit Girard
134532115c Bug 680082 - [backout] Add GetMaxTextureImageSize to correct size support for TiledTextureImage. 2011-10-27 10:17:40 -04:00
Benoit Girard
202863145b Bug 680082 - Add GetMaxTextureImageSize to correct size support for TiledTextureImage. r=matt.woodrow 2011-10-26 14:36:18 -07:00
Oleg Romashin
e9ae370ccc Bug 696013 - Nightly crashes @ mozilla::layers::BasicShadowCanvasLayer::DestroyFrontBuffer. r=cjones 2011-10-27 13:30:43 +02:00
Jeff Gilbert
f369e1aa40 Bug 615976 - Post-patch cleanup for WebGL antialiasing - r=bjacob 2011-10-26 16:00:44 -04:00
Matt Woodrow
0a33a7a798 Bug 695275 - Fix crashtest failures with BasicShadowableImageLayer. r=roc 2011-10-26 16:25:42 +13:00
Matt Woodrow
99cf04846c Bug 696517 - Make sure our temporary surface allocation succeeded. r=roc 2011-10-26 16:15:53 +13:00
Oleg Romashin ext:(%2C%20Matt%20Woodrow%20%3Cmwoodrow%40mozilla.com%3E)
964003f601 Bug 695406 - Reset IPC double buffers if the ContentType has changed. r=cjones 2011-10-21 14:29:09 +13:00
Marco Bonardo
eb898b2d68 Backout 73dc291f8974 (Bug 695406) to investigate Android Crashtests permaorange 2011-10-21 12:07:32 +02:00
Oleg Romashin ext:(%2C%20Matt%20Woodrow%20%3Cmwoodrow%40mozilla.com%3E)
dadc414f5e Bug 695406 - Reset IPC double buffers if the ContentType has changed. r=cjones 2011-10-21 14:29:09 +13:00
Jeff Gilbert
825b094e01 Bug 615976 - Fixes layer compositing with AA on Mac - r=bjacob 2011-10-19 15:09:57 -04:00
Jeff Gilbert
0e2d70e819 Bug 615976 - Adds support for multisampled GLContexts, esp. EGL, WGL paths - r=bjacob 2011-10-19 15:09:57 -04:00
Benoit Jacob
99bb756bd6 Back out Jeff's patches because they lack a Bug number and/or a r= field. Sorry, should have checked that. Re-landing. 2011-10-19 15:31:33 -04:00
Jeff Gilbert
69f1b4f393 Fixes layer compositing with AA on Mac 2011-10-19 15:09:57 -04:00
Jeff Gilbert
1b399b78a0 Adds support for multisampled GLContexts, esp. EGL, WGL paths 2011-10-19 15:09:57 -04:00
Ehsan Akhgari
2a602a5685 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
Benoit Girard
e84a828b1c Bug 691354 - Restore CanvasLayerOGL::RenderLayer apply filter. r=bustage 2011-10-16 22:31:15 -04:00
Benoit Girard
1daed01c41 Bug 691354 - Use NEAREST filter when OGL layers have no 3d transform/scaling. r=jmuizelaar 2011-10-14 13:16:19 -07:00
Jeff Walden
b7753477cf 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
Oleg Romashin
46a8580477 Bug 694140 - With GL layers, panning/zooming causes corruption and wrong colours on Fennec. r=ajuma 2011-10-15 21:07:10 +01:00
Matt Woodrow
67c757e3a4 Bug 693521 - Improve preserve-3d sorting behaviour by using line intersection points. r=roc 2011-10-15 09:45:01 +13:00
Matt Woodrow
903d47038f Bug 692968 - Check the return value of CreateTexture2D in ContainerLayerD3D10. r=Bas 2011-10-13 14:01:30 +13:00
Jeff Walden
eb2cb918a4 Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail 2011-10-12 12:21:53 -07:00
Jeff Walden
77ebbde4ab 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
Benoit Girard
881b619cc6 Bug 626694 - Remove unused TextureImage::IsRGB(). r=mattwoodrow 2011-10-11 21:11:03 -04:00
Oleg Romashin
a969b2f6e7 Bug 693282 - BasicShadowableThebesLayer leaking backBuffers. r=cjones 2011-10-10 16:43:56 -07:00
Matt Brubeck
eb9465f1a3 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
Ehsan Akhgari
ee637e4944 Merge mozilla-central into mozilla-inbound 2011-10-10 11:30:21 -04:00
Brad Lassey
24e472b6ab merge 2011-10-10 11:01:34 -04:00
Brad Lassey
a80dbfc6f5 Backed out changeset 703df62e855b due to crashes reported in bug 693086 2011-10-10 11:00:16 -04:00
Oleg Romashin
a86f160f81 Bug 690469 - ShadowThebesLayer Init/Swap API rework. r=cjones
--HG--
extra : rebase_source : 92daf535bc48e1fa2a80d3ef1a6ed20855135eb4
2011-10-02 17:19:32 -04:00
timeless@mozdev.org
14354c0e59 Bug 620171 - [@ ImageContainerOGL::GetCurrentAsSurface] if GetFormat() can return anything other than PLANAR_YCBCR or CAIRO_SURFACE
r=bgirard
2011-10-10 15:27:05 +01:00
Benoit Girard
68a8c52603 Bug 692548 - Properly print OGL Shader compile errors on Android. r=jmuizelaar 2011-10-06 12:12:51 -07:00
Jeff Gilbert
ddbd79d20d Bug 692458 - Fix for GLContext currency error - r=bjacob 2011-10-07 15:16:48 -04:00
Matt Woodrow
f5bcaad772 Bug 689416 - Stop using intermediate layers to render 3d transforms. r=roc 2011-10-07 10:29:07 +13:00
Matt Woodrow
37b2a02d8f Bug 684759 - Part 4 - Add layer sorting support to the LayerManagers. r=roc 2011-10-07 10:24:32 +13:00
Matt Woodrow
5725b611f5 Bug 684759 - Part 3a - Sort preserve-3d layers using their z depth at points where they intersect in 2d space. r=roc 2011-10-07 10:23:18 +13:00
Matt Woodrow
5ca101cd1c Bug 684759 - Part 2 - Add DirectedGraph and gfxQuad classes. r=roc 2011-10-07 10:22:18 +13:00
Ali Juma
26e350dca1 Bug 690566 - Associate filters with texture images. r=jrmuizel 2011-10-05 14:20:33 -04:00
Matt Woodrow
e23cc710a1 Bug 689501 - Use an offscreen surface for rendering 3d transformed content instead of PushGroup in BasicLayers. r=roc 2011-09-30 14:13:50 +13:00
Michael Wu
d8e503c38b 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
Oleg Romashin
c4c535022d Bug 689045 - Canvas Shadow swap/Init API rework r=cjones
--HG--
extra : rebase_source : 7b2acb0ffededb54815d7222d79999d32506bee5
2011-09-27 15:19:28 -07:00
Oleg Romashin
ae53d5a0c3 Bug 687372 - ImageLayerOGL should not destroy surface given as argument. r=cjones
--HG--
extra : rebase_source : 00d0c49f320c0969570917a321b8a95a3357a943
2011-09-27 15:19:26 -07:00
Oleg Romashin
8ddd2bdc2f Bug 686742 - Move YUV conversion code into gfxUtil functions. r=derf
--HG--
extra : rebase_source : 0993d4fc7558c40fd6df97278919c01fc8e92918
2011-09-27 15:19:24 -07:00
Ali Juma
e85791a064 Bug 681033 - Prevent ShadowLayers::RecvUpdate from triggering an immediate repaint. r=cjones 2011-09-26 09:20:42 -04:00
Benoit Jacob
ac72c48614 Bug 662258 - GCC warning about BasicThebesLayerBuffer::CreateBuffer getting hidden by ShadowThebesLayerBuffer::CreateBuffer. r=roc 2011-09-24 21:01:18 +02:00
Florian Hänel
5b1dfe0a4d Bug 687458 - TimeStamp in FPSState uninitialized, leads to crash; r=romaxa 2011-09-22 00:16:12 -04:00
Oleg Romashin
2043d49e51 Bug 687373 - Provide mozilla::layers::SurfaceDescriptorX11 non xlib surface ctor. r=cjones 2011-09-20 17:20:51 +01:00
Oleg Romashin
4ead548122 Bug 685082 - Transparent plugins not cleared on Maemo; r=cjones 2011-09-14 08:51:24 +01:00
Benoit Girard
13e2f34b00 Bug 685694 - Don't use glDrawBuffer in GLES2. r=matt.woodrow 2011-09-08 14:21:36 -07:00
Benoit Girard
645ee9b6d4 Bug 683745 - Fix OGL FPS Counter on Android; r=jrmuizel 2011-08-31 15:58:19 -07:00
Matt Woodrow
3ec9b74079 Bug 682615 - Use fallible new for BasicPlanarYCbCrImage. r=roc 2011-08-31 14:03:34 +12:00
Joshua Cranmer
de2c647b2f Bug 681634 - Get m-c to build with static checking; NS_OVERRIDE failure in gfx. r=cjones 2011-08-29 12:29:51 -07:00
Benjamin Stover
d5d60db425 Bug 634759 Allow buffer rotation for mobile r=roc 2011-08-29 10:56:50 -07:00
Matt Woodrow
784208bb3e Bug 675837 - Add 3D transforms support to BasicLayers. r=roc 2011-08-27 12:04:06 +12:00
Alfred Kayser ext:(%2C%20Ms2ger%20%3Cms2ger%40gmail.com%3E)
944c74ce98 Bug 537223 - Cleanup gfxColor.h; r=jrmuizel 2011-08-25 10:46:01 +02:00
Chris Lord
eab558f3d1 Bug 611315 - Fix handling of rotated ShadowBufferOGL
Although we currently have buffer rotation disabled for shadow buffers when
using the GL layer manager, if you re-enable it, it will be broken. This is
because we don't take into account the rotation when handling updates.

This fixes that handling by offsetting the updated region by the rotation,
and if that new region crosses texture boundaries, splitting it into
multiple uploads.
2011-08-24 15:10:03 +01:00
Chris Lord
9f3d985c52 Fix drawing of GL Thebes layers with rotation when using tiled textures
Drawing of rotated buffers relies on texture-wrapping, but in the case of
tiled textures, this would cause each individual tile to wrap instead of
wrapping the compound texture.

Add a special case for tiled textures that manually does the wrapping.
2011-08-24 15:09:59 +01:00
Benoit Girard
7ea86c481d Backout changeset 07d34812bdee, b879d413ce2d, 0c59eeb18700 due to android opengl regression on chrome pages; r=backout 2011-08-23 17:12:15 -04:00
Justin Wood
3ef675a7ec Backout Bug 594876, Bug 675474, and Bug 675532, to fix OSX64 Reftest orange, and Linux perf regression. rs+=edmorly
changeset 0a920411e64c, changeset 58147380793b, and changeset 96e052b3e845
2011-08-20 15:07:06 -04:00
Matt Woodrow
2db91dc2ea Bug 675474 - Draw all ThebesLayer content before compositing and synchronize with glXWaitX on GLX. r=bjacob,roc 2011-08-20 14:04:24 +12:00
Chris Lord
c785511059 Bug 611315 - Fix handling of rotated ShadowBufferOGL. r=mattwoodrow
Although we currently have buffer rotation disabled for shadow buffers when
using the GL layer manager, if you re-enable it, it will be broken. This is
because we don't take into account the rotation when handling uploads.

This fixes that handling by offsetting the updated region by the rotation and
adds an assertion if the updated region crosses a rotation boundary (which
should never happen).
2011-08-19 09:36:18 +01:00
Chris Lord
0aedc7dacb Bug 611315 - Fix drawing of tiled GL Thebes layers with rotation. r=mattwoodrow
Drawing of rotated buffers relies on texture-wrapping, but in the case of
tiled textures, this would cause each individual tile to wrap instead of
wrapping the compound texture.

Add a special case for tiled textures that manually does the wrapping.
2011-08-19 09:36:08 +01:00
Chris Lord
75809b99c5 Bug 674494 - Uninitialised variable in ThebesLayerBuffer::BeginPaint. r=mattwoodrow 2011-08-18 09:52:48 +12:00
Marco Bonardo
a1c8c3f3a3 Backout changeset 3db901280232, (Bug 666385) to investigate Mac Tdhtml regression. 2011-08-17 22:55:14 +02:00
Benoit Girard
c98196049e Bug 666385 - Fix tiled scrolling on Android; r=roc
--HG--
extra : rebase_source : 8a4660808501e8dfc9c58f7769b6c05db6519e83
2011-08-10 08:47:23 -07:00
Robert O'Callahan
5d0f7c6076 Bug 657401. Ensure that when our double-buffering logic expects layers to clip to their visible regions, we actually do. r=tnikkel
--HG--
extra : rebase_source : 16ea17d5a6a0177a26a3d38ae587290e194234b1
2011-08-12 10:44:50 +12:00
Robert O'Callahan
8453430402 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
Chris Jones
02362cc047 Bug 648484, part E: Hook d3d9 shadow layers up to new system. r=BenWa 2011-07-06 13:29:27 -04:00
Chris Jones
9003c2c033 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-08-09 12:38:26 -07:00
Chris Jones
cf90535cbd Bug 648484, part B: Implement shadowable layer goop for D3D10, just enough to allow sending a window buffer to the compositor. r=Bas 2011-08-09 12:38:26 -07:00
Chris Jones
df81c875f3 Bug 648484, part A: Allow D3D10 layers to render directly to a share-able texture. r=Bas 2011-08-09 12:38:26 -07:00
Chris Jones
cfdff93df0 Bug 648484, part 9: Make LayerManagerD3D10 a shadow-layer manager and forwarder. r=Bas 2011-08-09 12:38:26 -07:00
Chris Jones
d5c4f07060 Bug 648484, part 8: Implement a very basic shadow thebes layer for D3D10, only enough to support the upcoming WindowLayer. r=Bas 2011-08-09 12:38:26 -07:00
Chris Jones
e119678c6c Bug 648484, part 7: Implement a very basic shadow container layer for D3D10, only enough to support the upcoming WindowLayer. r=Bas 2011-08-09 12:38:26 -07:00
Chris Jones
c55298d9ae Bug 648484, part 6: Add code to share D3D10 textures across processes. r=Bas 2011-08-09 12:38:26 -07:00
Chris Jones
12b80c293a Bug 648484, part 4: Log layers transactions in the d3d10 backend. r=Bas 2011-08-09 12:38:26 -07:00
Chris Jones
a3317162ef Bug 648484, parts 3, 3.1, and 3.2: Allow passing a "backend hint" to GetLayerManager() to request a non-default layer manager backend. Deal with failure to hook up shadow layers. sr=roc 2011-08-09 12:38:26 -07:00
Chris Jones
8786c55e3f Bug 648484, part 2: Add various helpers, refactor ContainerLayer::SetSpecificAttributes. r=roc 2011-08-09 12:38:26 -07:00
Chris Jones
fe42f83e74 Bug 648484, part 1: Fix some warning spam. r=roc 2011-08-09 12:38:26 -07:00
Florian Haenel
c543f5d68b Bug 669602 - Fennec/OGL: Paint Artifacts on chrome pages background after scrolling. r=joe,roc 2011-08-09 11:38:05 -04:00
Matt Woodrow
343093175d Bug 675073 - Release OpenGL textures with the global context if the creating context has been destroyed. r=joe 2011-08-05 13:13:25 +12:00
Matt Woodrow
6b3e01d5ec Bug 655017 - Let gfxXlibSurface track GLXPixmaps and use this for CanvasLayerOGL. r=karlt, roc 2011-08-05 13:13:25 +12:00
Matt Woodrow
cd05bbfd33 Bug 505115 - Part 7 - Layers support for 3d transforms. r=roc 2011-08-03 15:04:20 +12:00
Marco Bonardo
b818d65b85 Merge mozilla-central and mozilla-inbound 2011-07-29 13:46:15 +02:00
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
Scott Ruff
a1835137c8 Bug 649525 - WebGL layer compositing through the BasicCanvasLayer is very slow (desktop version). r=jmuizelaar 2011-07-27 13:00:17 +02: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
Matt Woodrow
ba6834dec3 Bug 670573 - Add glTex(Sub)Image2D wrappers that correctly handle stride and alignment. r=derf 2011-07-25 19:32:56 +12:00
Matt Woodrow
071b50617b Backed out changeset 39fef2383893 2011-07-25 13:18:23 +12:00
Matt Woodrow
0b746c54ed Bug 670573 - Add glTex(Sub)Image2D wrappers that correctly handle stride and alignment. r=derf 2011-07-25 12:50:00 +12:00