Bas Schouten
df684d0acb
Bug 651192 - Part 7: Implement the NPP_DidComposite API. r=roc
2012-02-16 04:30:25 +01:00
Bas Schouten
584c87e1e0
Bug 651192 - Part 5: Support remote access to ImageContainers. r=roc
2012-02-16 04:26:19 +01:00
Matt Woodrow
6ec8203d33
Bug 700240 - Print display lists to a file. r=roc,bjacob
2012-03-01 21:26:09 +13:00
Patrick Walton
f15ef916a3
Partial removal of tiling, stub callouts
2012-02-02 19:28:22 -08:00
Benoit Girard
df0fb7f4be
Add debug code, unapply me later
2012-02-02 16:34:23 -05:00
Benoit Girard
d4c038b718
Fix GetLayerManager logic
2012-02-02 14:16:59 -05:00
Benoit Girard
4580dbb21d
Progress on omtc integration
2012-02-01 16:18:35 -05:00
Ali Juma
03df2cf07f
Implement logic needed for simple async scrolling.
2012-02-01 14:31:34 -05:00
Benoit Girard
f1d2fba1df
Merge fixes
2012-01-30 15:57:30 -05:00
Benoit Girard
506188e13c
Mergi mc to kiwifox, lots of conflicts so may not build
2012-01-30 13:38:20 -05:00
Joe Drew
38214cc0f2
Back out 9699edcbcedd (bug 721467) for causing bug 722167.
2012-01-29 19:41:48 -05:00
Benoit Girard
7f35e49cdf
Partial work for android OGLSurfaceView
...
--HG--
extra : rebase_source : 2c6ce362dd859e9f81a5b4490e2451826259a651
2012-01-26 14:23:13 -05:00
George Wright
841e24a315
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
eb69d1849d
Work around Bug 719036.
2012-01-18 11:38:45 -05:00
Ali Juma
bc059aa711
merge m-c to kiwifox
2012-01-18 11:04:04 -05:00
Ali Juma
b868e77d3a
Address next set of review comments.
2012-01-16 10:31:16 -05:00
Ali Juma
4f0e452c4f
merge mc to kiwifox
2012-01-16 09:58:14 -05:00
Benoit Girard
08ecac4e02
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
76de514ab5
More handling review comments for Bug 711168.
2012-01-10 18:04:21 -05:00
Ali Juma
540e7055c9
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
3735d09d56
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
fef529aa3f
Merge mozilla-central to mozilla-inbound
2012-01-13 03:19:46 +00:00
Oleg Romashin
c147ce7168
Bug 694964 - crash [@ gfxSharedImageSurface::Open]. r=ajuma
2012-01-12 15:49:43 -08:00
Chris Jones
d94b958369
Bug 716332: Delete temporary fbo. r=joedrew
2012-01-12 16:27:34 -08:00
Ali Juma
1e5d6f62dd
Clean up Compositor destruction.
2011-12-22 10:59:53 -05:00
Ali Juma
f7d1e27182
Clean up pointer usage
2011-12-21 11:10:33 -05:00
Ali Juma
5f42b67539
Clean up
2011-12-20 15:12:54 -05:00
Ali Juma
8f65b99584
Fix crash when deleting Compositor parent, and change RPC calls to sync calls..
2011-12-20 10:37:27 -05:00
Ali Juma
def2c76a3b
Composite only when needed.
2011-12-19 13:17:29 -05:00
Benoit Girard
688d67d0d9
merge mc to kiwifox
2011-12-19 11:34:31 -05:00
Ali Juma
7ae3e2eb5a
Merged.
2011-12-19 10:44:18 -05:00
Benoit Girard
a487b8f156
More clean up. Shutdown down a window no longer crashes
2011-12-16 19:21:51 -05:00
Ali Juma
413ab5c1e8
Add a 10ms delay when scheduling next composition.
2011-12-16 17:54:06 -05:00
Benoit Girard
99a20ea320
Clean up some hacks and useless code
2011-12-15 16:31:16 -05:00
Ali Juma
28c4f1c682
Ensure added code only runs when using a Compositor, not in e10s.
2011-12-15 16:16:38 -05:00
Ali Juma
1dffbae4ce
Make shadow layer transformations work.
2011-12-15 15:20:06 -05:00
Ali Juma
4fe32b6aeb
imported patch hacking
2011-12-15 15:07:25 -05:00
Ali Juma
059eb910c9
imported patch PCompositorProgress
2011-12-15 15:07:19 -05:00
Benoit Girard
e10f317d41
Part A: Setup PCompositor (in progress)
2011-12-12 10:15:57 -05:00
Matt Woodrow
0169cc36ce
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
8b562f6885
Bug 708124 - Remove unnecessary glFlushs from Layers - r=bjacob
2011-12-16 14:24:46 -08:00
Jeff Gilbert
57ad493b06
Bug 705024 - Guarantee GLContexts are resolved properly - r=bjacob
2011-12-16 14:24:46 -08:00
Ali Juma
3b034818c6
Bug 705641 - Add even more output to framebuffer incompleteness abort message. r=jrmuizel
2011-12-16 14:02:03 -05:00
Matt Woodrow
409f8c5435
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
738b240963
Bug 644199: Properly re-upload after clearing mTexture because of device reset. r=roc
2012-01-17 18:32:24 +01:00
Bas Schouten
13b54eb6ce
Bug 668344: Deal with missing Direct2D device in Azure. r=jrmuizel
2012-02-07 06:14:21 +01:00
Julian Seward
d228b268ad
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
0724ea97f2
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
108f9291b8
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
4675bcbae3
Bug 678940 - remove caching of uniform values. r=joe
2012-01-09 10:57:21 +01:00
Jeff Muizelaar
b0d5f83aad
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
589af2c146
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
43fd152075
Bug 711063 - Part 10: Adjust BasicLayers code for Azure-Thebes wrapper. r=roc
2012-01-05 08:17:52 +01:00
Karl Tomlinson
ad25e956af
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
461e38f5e8
Bug 704313 - Implement mozilla/StdInt.h. r=cjones
...
--HG--
extra : rebase_source : b221134fdfbde13a37a6ef621bba3ca183a46101
2011-11-22 17:42:57 -08:00
Ali Juma
e1eb025d6d
Bug 705641 - Add reason for framebuffer incompleteness to abort message. r=jrmuizel
2011-12-02 09:43:58 -05:00
Jeff Gilbert
91d5935f7c
Bug 706297 - Remove unnecessary glFinish preceeding glReadPixels from LayerManagerOGL - r=bjacob
2011-11-30 17:25:20 -08:00
Benoit Jacob
c5b5075b52
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
2a513e20f0
Bug 635544 - rename nsIWidget::DrawOver to DrawWindowOverlay. r=roc
2012-01-21 21:01:17 -05:00
aceman
85d9ceee4c
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)
fdd5472876
Bug 711168 - Implement the compositor protocol for OMTC. r=cjones
2012-01-19 09:45:37 -05:00
Jeff Muizelaar
a47ca866d2
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
b22dfdd15f
Bug 705641 - Add more output to framebuffer incompleteness abort message. r=jrmuizel
2011-12-15 13:06:18 -05:00
Robert O'Callahan
06e43725c2
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
b79b1e58d3
Back out 88733ce1bef3 (bug 718440) because of Windows build failure
2012-01-17 15:15:47 -08:00
Jeff Muizelaar
315982723f
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
d36d616582
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
f559a0708c
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
4cea2ff5bc
Bug 703491. Silence useless assertion. r=bas
2011-11-21 17:40:11 +13:00
Oleg Romashin
9586ce1357
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
cb8df080e8
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
34d53ff8bc
Bug 699258 - Get skia backend compiling and running on Windows. r=mattwoodrow
2011-11-18 17:00:37 +13:00
Jeff Walden
3a9bae8669
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
bd6113eaaa
Bug 701259 - Restrict BasicPlanarYCbCrImage scaling destination size. r=roc
2011-11-15 09:35:46 +13:00
Robert O'Callahan
a95534ef3a
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
78721ee177
Back out 5ddda2b25e28 and 3abfdb807a4f (bug 699258) for crashes in WinXP tests
2011-11-11 17:49:47 -08:00
Marco Castelluccio
79b0975cc8
Bug 699258 - Part 2: [Skia] Get Skia backend working on Windows.
2011-11-11 15:51:00 -05:00
Jeff Gilbert
e34df6bc1b
Bug 571507 - Add checks for texture creation failure to ContainerLayerD3D* - r=bas.schouten
2011-11-03 12:10:10 -07:00
Matt Woodrow
f871e68d88
Bug 688342 - Make nsCanvasRenderingContext2D support Azure backends other than Direct2D. r=Bas
2011-11-03 08:55:03 +13:00
Ali Juma
1675687981
Bug 696768 - Abort when framebuffer completeness check fails. r=jrmuizel
2011-11-02 09:40:14 -04:00
Matt Woodrow
e766f79a64
Bug 698212 - Let UploadSurfaceToTexture create the texture for CairoImageOGL. r=BenWa
2011-10-31 14:03:00 +13:00
Andrew Quartey
e51c16190c
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
7b2398ff3e
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
5c6e5b5c1e
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
c5d4b20cce
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
bfebbb2e0b
Bug 680082 - [backout] Add GetMaxTextureImageSize to correct size support for TiledTextureImage.
2011-10-27 10:17:40 -04:00
Benoit Girard
662ec0aafa
Bug 680082 - Add GetMaxTextureImageSize to correct size support for TiledTextureImage. r=matt.woodrow
2011-10-26 14:36:18 -07:00
Oleg Romashin
c29f7e94d6
Bug 696013 - Nightly crashes @ mozilla::layers::BasicShadowCanvasLayer::DestroyFrontBuffer. r=cjones
2011-10-27 13:30:43 +02:00
Jeff Gilbert
34bac37946
Bug 615976 - Post-patch cleanup for WebGL antialiasing - r=bjacob
2011-10-26 16:00:44 -04:00
Matt Woodrow
98356d8e44
Bug 695275 - Fix crashtest failures with BasicShadowableImageLayer. r=roc
2011-10-26 16:25:42 +13:00
Matt Woodrow
eab509e665
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)
3a05c340e2
Bug 695406 - Reset IPC double buffers if the ContentType has changed. r=cjones
2011-10-21 14:29:09 +13:00
Marco Bonardo
961b15bdb6
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)
7ebbf8bafb
Bug 695406 - Reset IPC double buffers if the ContentType has changed. r=cjones
2011-10-21 14:29:09 +13:00
Jeff Gilbert
18783419b6
Bug 615976 - Fixes layer compositing with AA on Mac - r=bjacob
2011-10-19 15:09:57 -04:00
Jeff Gilbert
2a3da0403f
Bug 615976 - Adds support for multisampled GLContexts, esp. EGL, WGL paths - r=bjacob
2011-10-19 15:09:57 -04:00
Benoit Jacob
4bbab81c93
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
525da27872
Fixes layer compositing with AA on Mac
2011-10-19 15:09:57 -04:00
Jeff Gilbert
281abc1b80
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
arno renevier
5388ac92cf
Bug 669299 - Remove unneeded nsPrintfCString.h includes. r=bsmedberg
2011-07-21 04:37:31 +02:00
Oleg Romashin
7d3e811adb
Bug 671986 - ImageLayerOGL does not apply offset/transform for layer r=jrmuizel
2011-07-17 12:07:41 +02:00
Chris Jones
d8c3256765
Merge backout
2011-07-15 11:36:22 -07: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
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
e77d94694c
Bug 648484, part 6: Add code to share D3D10 textures across processes. 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
289ccdf1c6
Bug 648484, part 3 and part 3.1: 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-07-13 22:43:43 -07:00
Chris Jones
7e90855ae8
Bug 648484, part 2: Add various helpers, refactor ContainerLayer::SetSpecificAttributes. r=roc
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
Matt Woodrow
b154d14e64
Bug 670106 - Check the surface type before attempting to create a GLXPixmap. r=joe
2011-07-15 08:45:33 +12:00
Jacek Caban
3cdbb68a2e
Bug 670913 - LayerManagerD3D10.h fails to compile on mingw (r=joe)
2011-07-13 17:58:17 +02:00
Benoit Girard
952c2f25af
Bug 663259 - Enable Mac Async plugin by default. r=cjones,mattwoodrow
...
--HG--
extra : rebase_source : 6d397273f10e659a08125b3861e1651a3994aaa0
2011-07-12 10:31:18 -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
Florian Haenel
32ba480e5b
Bug 607687 - Fennec should take care about Texture MAX size HW limitation r=jmuizelaar
2011-07-06 11:00:47 -07: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
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
Matt Woodrow
89e737996c
Bug 656185 - Part 2 - Upload the entire image for PlanarYCbCrImageOGL to a texture and clip using texture coordinates. r=derf
2011-07-05 14:52:00 +12:00
Matt Woodrow
7ab3748569
Bug 656185 - Part 1 - Move BindAndDrawQuadWithTextureRect into LayerManagerOGL. r=joe
2011-07-05 14:50:38 +12:00
Benoit Girard
9c46ca57c5
Bug 636707 - Check for null MacIOSurfaceImageOGL. r=mattwoodrow
2011-07-04 09:51:37 -04: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
Rafael Ávila de Espíndola
e41f04b2a3
Bug 708051 - Avoid IPC x ipc confusion on case insensitive filesystems. r=joe.
2012-01-03 14:36:00 -05: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
Matt Woodrow
379c7e6f82
Bug 656185 - Part 3 - Fix for D3D10. r=Bas
2011-06-27 14:32:34 +12:00
Matt Woodrow
8aba398b72
Bug 656185 - Part 2 - Handle odd crop offsets correctly with OpenGl. r=derf
2011-06-27 14:32:16 +12:00
Matt Woodrow
9376e72c7e
Bug 656185 - Part 1 - Move BindAndDrawQuadWithTextureRect into LayerManagerOGL. r=joe
2011-06-27 14:32:06 +12:00
Matt Woodrow
d3135bba63
Bug 724025 - Correctly flatten transform-style:flat with BasicLayers. r=roc
2012-02-15 22:28:22 +13:00
Matt Woodrow
9fbf1226cb
Bug 725209 - Mark TextureImage as valid when self copying, and correctly mark the region needing to be redrawn. r=joe
2012-02-15 22:28:21 +13:00
Robert O'Callahan
8b57a3e190
Bug 708116. Factor out logic for updating the current frame of a video element into a helper object. r=doublec
2012-02-15 17:35:01 +13:00
Jonathan Kew
dfd78e9265
bug 726962 - remove stray instances of PRBool in gfx. r=joe
2012-02-14 16:17:19 +00:00
Oleg Romashin
fb1be63617
Bug 725925 - ShadowableThebesLayer does useless extra composite into 1x1 fake surface. r=cjones
2012-02-10 11:22:21 -08:00
Ed Morley
cbee902a17
Backout b43f4d9f38da (bug 725925) for reftest failures
2012-02-10 23:23:16 +00:00
Oleg Romashin
5ec8d153e1
Bug 725925 - ShadowableThebesLayer does useless extra composite into 1x1 fake surface. r=cjones
...
--HG--
extra : rebase_source : 517e8624b3da7f83fbb786c10acb45e02f7b5be9
2012-02-10 11:22:21 -08:00
Ed Morley
0b8382e38b
Backout 76dcfabe0a2a, d8004eb22252, 86e91202ef51 & f9a5736cd6bc (bug 695845) for build failures on windows
2011-12-19 20:27:59 +00:00
Matt Woodrow
78a44f2fc4
Bug 695845 - Part 4: Move BasicShadowableLayer into ImageLayers.h. r=cjones
2011-12-19 14:49:45 -05:00
Matt Woodrow
245b51f6b5
Bug 695845 - Part 3: Add Flush() and Disconnect() methods to ImageContainer. r=cjones
2011-12-19 14:49:45 -05:00
Matt Woodrow
51ef152770
Bug 695845 - Part 2: Add ShadowImplData. r=cjones
2011-12-19 14:49:45 -05:00
Matt Woodrow
9f81d4abf6
Bug 695845 - Part 1: Add ImplData to ImageContainer. r=roc
2011-12-19 14:49:45 -05:00
Jeff Gilbert
4eb57c769d
Bug 711649 - Resolve OGL canvas layer in UpdateSurface - r=mattwoodrow
2011-12-19 11:21:56 -08: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
Bas Schouten
58d40df2a4
Bug 651858 - Part 3: Add layers API for creating an optimal DrawTarget. r=roc
2011-06-24 19:41:18 +02:00
Jeff Muizelaar
9c940cc534
Bug 662649. DrawFPS: Make the conversion loop easier to follow. r=joe
2011-06-22 14:53:11 -04:00
Jeff Muizelaar
d2cc193c0b
Bug 662649. DrawFPS: Add a comment about why DrawFPS is a little weird.
2011-06-22 14:49:31 -04:00
Jeff Muizelaar
f15d555c8f
Bug 662649. DrawFPS: Make sure we use a 32 bit type instead of a 64 bit one. r=joe
...
This was causing badness on platforms where unsigned long is 64 bits.
2011-06-22 14:46:27 -04:00
Jeff Muizelaar
e70b966d11
Bug 662649. DrawFPS: free leaked buffer. r=joe
...
glTexImage2D will keep a copy of this data around so we don't have to.
2011-06-22 14:43:52 -04:00
Robert O'Callahan
ae6647d4d2
Bug 637852. Part 26: Ensure that FrameMetrics coordinates are correctly stored as layer coordinates. r=tnikkel
2011-06-23 00:11:28 +12:00
Robert O'Callahan
0c48fabd49
Bug 637852. Part 18: Support computing the "residual transform" for a ThebesLayer --- the difference between its snapped transform and the ideal transform --- and use it to align ThebesLayer drawing for transforms that aren't changing. r=tnikkel
...
This fixes bug 637597 and probably other bugs.
2011-06-23 00:11:28 +12:00
Robert O'Callahan
7f64e9bccf
Bug 637852. Part 10: Remove mX/YResolution from ThebesLayer. r=joe
...
These are the last vestiges of Layer-based resolution API.
2011-06-23 00:11:28 +12:00
Robert O'Callahan
0cc6be313b
Bug 637852. Part 9: Remove resolution support from BasicLayers, ShadowLayers and GL layers. r=mattwoodrow
...
This is not needed anymore.
2011-06-23 00:11:28 +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
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
Robert O'Callahan
2685eb6583
Bug 637852. Part 1: Don't snap BasicThebesLayer effective transforms when we're not retaining layers. r=tnikkel
...
The ThebesLayer contents are going to be drawn through directly without retaining, so there's no point in snapping.
2011-06-23 00:11:27 +12:00
Oleg Romashin
dea57d8792
Bug 660565 - HTML5 HW accelerated video is slow r=roc
...
--HG--
extra : rebase_source : 5a46d17c72caf5ec4afd3f59093be803008c61ec
2011-06-16 12:51:05 +02:00
Neil Rashbrook
747f874cd4
Bug 660525 Remove useless uses of PromiseFlatString (prev cset lacked the code changes) r=joedrew!
2011-06-13 19:02:35 -07:00
Masayuki Nakano
e06d6eb819
Bug 663036 part.3 gfx should use mozilla::Preferences r=roc+joe
2011-06-12 11:30:16 +09:00
Oleg Romashin
bcfe656b06
Bug 612335 - Render remote canvas directly into shared surface r=jones.chris.g
2011-06-09 21:17:02 -04:00
Kyle Huey
39d58838ba
Fix a spelling mistake on this CLOSED TREE
2011-05-31 09:14:54 -07:00
Oleg Romashin
65a70a8e4c
Bug 659768 - HTML5 video does not render anything on Maemo r=mattwoodrow
2011-05-31 09:48:47 +12:00
Mounir Lamouri
53c39f24f1
Merging cedar with mozilla-central.
2011-05-30 12:50:04 +02:00
Robert O'Callahan
a1ebcbf532
Bug 647560. Remove unused MayHaveOverlappingOrTransparentLayers. r=tnikkel
2011-05-30 15:48:34 +12:00
Robert O'Callahan
a537a15852
Bug 647560. Cache temporary backbuffer surfaces. r=karlt
2011-05-30 15:48:29 +12:00
Robert O'Callahan
89fdba6cb9
Bug 647560. Create ApplyDoubleBuffering to recursively walk layer tree and implement double-buffering by setting mUseIntermediateSurface on ContainerLayers where necessary. r=tnikkel
...
The idea here is to do double-buffering just by setting mUseIntermediateSurface on ContainerLayers when needed. When
we need to double-buffer compositing of a layer tree, ApplyDoubleBuffering examines the root container layer. If the
child layers don't overlap and together cover the window, we don't need to double-buffer in that container, instead
we can double-buffer each child layer separately --- so we recursively call ApplyDoubleBuffering on the child layers.
When a container has children that overlap or that don't cover the container's visible rect (the latter case
probably can't happen in practice), we force it to have an intermediate surface.
This change fixes this bug because in normal browser windows the Web content layer double-buffers
2011-05-30 15:48:23 +12:00
Robert O'Callahan
b49eae116d
Bug 647560. Add support for compositing BasicLayers with OPERATOR_SOURCE. r=tnikkel
...
We'll need this for the improved backbuffer code in the next patch. When a layer tree's
leaf layers don't overlap and cover the window, the next patch will avoid double-buffering
by blitting those layers directly to the window. If the window has transparent parts
(e.g. with Aero Glass), we need to draw the layers for those transparent parts using
OPERATOR_SOURCE so that the alpha values in the window are reset.
2011-05-30 15:48:13 +12:00
Robert O'Callahan
c0afe87a4e
Bug 647560. Clean up MarkLeafLayersHidden and make it set the hidden state on container layers. r=tnikkel
...
Instead of doing tricks with the cliprect to prevent layer content from adding to aOpaqueRegion, pass an explicit flag to control that.
Mark a ContainerLayer hidden if all its children are hidden. This will need to be changed if/when we add layer properties
that result in a ContainerLayer drawing content even if it has no children.
2011-05-30 15:48:08 +12:00
Robert O'Callahan
9a390fc021
Bug 647560. Use passed-in aContext instead of getting it from the layer manager. r=tnikkel
2011-05-30 15:48:01 +12:00
Robert O'Callahan
66a57a0a84
Bug 639168. Don't try to reuse a buffer if we don't have one. r=tnikkel
2011-05-30 15:29:07 +12: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
Oleg Romashin
d4e430f071
Bug 659217 - HW accelerated video crashing with OGL layerss enabled. r=matt.woodrow
...
--HG--
extra : rebase_source : bd3b7998f5b8193a01d927c388ee2375d2a6bacf
2011-05-25 10:09:55 +02: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
Matheus Kerschbaum
35f86c76ad
Bug 648911 - Remove support for non-libxul builds. r=ted,joedrew
2011-05-23 18:54:47 +02: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
Vivien Nicolas
8b7b339cab
backout bug 647560 - Pages on Fennec desktop does not not draw anymore
2011-05-20 17:45:00 +02:00
Florian Hänel
8e0d9ab286
Bug 628566 - Implement basic tiling of ImageLayerOGL. r=joe
2011-05-19 12:53:02 +02:00
Robert O'Callahan
4ada86d2cb
Bug 647560. Remove unused MayHaveOverlappingOrTransparentLayers. r=tnikkel
2011-05-18 23:24:52 +12:00
Robert O'Callahan
77cd75a0d2
Bug 647560. Cache temporary backbuffer surfaces. r=karlt
2011-05-18 23:24:52 +12:00
Robert O'Callahan
ebe9f8f585
Bug 647560. Create ApplyDoubleBuffering to recursively walk layer tree and implement double-buffering by setting mUseIntermediateSurface on ContainerLayers where necessary. r=tnikkel
...
The idea here is to do double-buffering just by setting mUseIntermediateSurface on ContainerLayers when needed. When
we need to double-buffer compositing of a layer tree, ApplyDoubleBuffering examines the root container layer. If the
child layers don't overlap and together cover the window, we don't need to double-buffer in that container, instead
we can double-buffer each child layer separately --- so we recursively call ApplyDoubleBuffering on the child layers.
When a container has children that overlap or that don't cover the container's visible rect (the latter case
probably can't happen in practice), we force it to have an intermediate surface.
This change fixes this bug because in normal browser windows the Web content layer double-buffers
2011-05-18 23:24:52 +12:00
Robert O'Callahan
887d235ef0
Bug 647560. Add support for compositing BasicLayers with OPERATOR_SOURCE. r=tnikkel
...
We'll need this for the improved backbuffer code in the next patch. When a layer tree's
leaf layers don't overlap and cover the window, the next patch will avoid double-buffering
by blitting those layers directly to the window. If the window has transparent parts
(e.g. with Aero Glass), we need to draw the layers for those transparent parts using
OPERATOR_SOURCE so that the alpha values in the window are reset.
2011-05-18 23:24:52 +12:00
Robert O'Callahan
99936bcd94
Bug 647560. Clean up MarkLeafLayersHidden and make it set the hidden state on container layers. r=tnikkel
...
Instead of doing tricks with the cliprect to prevent layer content from adding to aOpaqueRegion, pass an explicit flag to control that.
Mark a ContainerLayer hidden if all its children are hidden. This will need to be changed if/when we add layer properties
that result in a ContainerLayer drawing content even if it has no children.
2011-05-18 23:24:52 +12:00
Robert O'Callahan
80101e2ad0
Bug 629866. Part 2: Make MarkLeafLayersHidden actually hide layers that aren't in the dirty region. Don't consider hidden layers when deciding whether double-buffering is needed. r=cjones
2011-05-18 23:24:52 +12:00
Mounir Lamouri
eceb98864c
Backout bug 629866 and bug 647560.
2011-05-17 11:44:17 +02:00
Robert O'Callahan
c5e00b2e8a
Bug 647560. Remove unused MayHaveOverlappingOrTransparentLayers. r=tnikkel
2011-05-17 11:42:19 +12:00
Robert O'Callahan
e5e28d9ac2
Bug 647560. Cache temporary backbuffer surfaces. r=karlt
2011-05-17 11:42:11 +12:00
Robert O'Callahan
03d1ea7300
Bug 647560. Create ApplyDoubleBuffering to recursively walk layer tree and implement double-buffering by setting mUseIntermediateSurface on ContainerLayers where necessary. r=tnikkel
...
The idea here is to do double-buffering just by setting mUseIntermediateSurface on ContainerLayers when needed. When
we need to double-buffer compositing of a layer tree, ApplyDoubleBuffering examines the root container layer. If the
child layers don't overlap and together cover the window, we don't need to double-buffer in that container, instead
we can double-buffer each child layer separately --- so we recursively call ApplyDoubleBuffering on the child layers.
When a container has children that overlap or that don't cover the container's visible rect (the latter case
probably can't happen in practice), we force it to have an intermediate surface.
This change fixes this bug because in normal browser windows the Web content layer double-buffers
2011-05-17 11:42:05 +12:00
Robert O'Callahan
3e50014290
Bug 647560. Add support for compositing BasicLayers with OPERATOR_SOURCE. r=tnikkel
...
We'll need this for the improved backbuffer code in the next patch. When a layer tree's
leaf layers don't overlap and cover the window, the next patch will avoid double-buffering
by blitting those layers directly to the window. If the window has transparent parts
(e.g. with Aero Glass), we need to draw the layers for those transparent parts using
OPERATOR_SOURCE so that the alpha values in the window are reset.
2011-05-17 11:41:57 +12:00
Robert O'Callahan
d1fe5a6711
Bug 647560. Clean up MarkLeafLayersHidden and make it set the hidden state on container layers. r=tnikkel
...
Instead of doing tricks with the cliprect to prevent layer content from adding to aOpaqueRegion, pass an explicit flag to control that.
Mark a ContainerLayer hidden if all its children are hidden. This will need to be changed if/when we add layer properties
that result in a ContainerLayer drawing content even if it has no children.
2011-05-17 11:41:48 +12:00
Robert O'Callahan
0bca45c661
Bug 629866. Part 2: Make MarkLeafLayersHidden actually hide layers that aren't in the dirty region. Don't consider hidden layers when deciding whether double-buffering is needed. r=cjones
2011-05-17 11:41:39 +12:00
Florian Hänel
ba640eeb4a
Bug 643793 - Convert OpenGL scissor rects to world space in ContainerLayerOGL. r=joe
2011-05-14 12:11:37 +12:00
Oleg Romashin
5c6eaea720
Bug 656167 - Temorarily disable or back out fixed layers. r=jones.chris.g
2011-05-12 09:49:33 -07:00
Matt Woodrow
1b63f405ae
Bug 649417 - Check if BasicShadowableImageLayer has a current image before attempting to use it. r=cjones
2011-05-13 12:38:44 +12:00
Matt Woodrow
9d7dd64918
Bug 649417 - Part 2 - Add a YUV option to SharedImage and use it to share YUV data across processes. r=cjones,joe
2011-04-21 16:38:39 +12:00
Matt Woodrow
d3c4acee47
Bug 649417 - Part 1 - Create a SharedImage ipdl union and pass this to ShadowImageLayer::Swap . r=cjones
2011-04-21 11:21:56 +12:00
Oleg Romashin
13f01190c4
Bug 612407 - Add FPS counter like fraps r=joe,jrmuizel
2011-05-10 21:45:42 -04:00
Matt Woodrow
a4d6cf8613
Bug 649685 - Don't flip when drawing the backbuffer to the window with OpenGL. r=joe
2011-05-09 11:44:03 +12:00
Mounir Lamouri
ad09541e90
Backout 2348924d6410 (bug 612407) for build bustage.
2011-05-06 11:42:42 +02:00
Oleg Romashin
bf1f0f0f3d
Bug 612407 - Add FPS counter like fraps r=joe
2011-05-06 11:04:14 +02: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
Oleg Romashin
0dbd90df0c
Bug 610155 - Use SurfaceDescriptor for ImageLayer and CanvasLayer r=jones.chris.g
2011-04-20 14:45:57 -07:00
Daniel Holbert
96fc781c65
Back out 0736b014d4a5 (Bug 610155) for breaking canvas reftests on android
2011-04-21 14:52:22 -07:00
Oleg Romashin
8869e128b5
Bug 610155 - Use SurfaceDescriptor for ImageLayer and CanvasLayer r=jones.chris.g
2011-04-20 14:45:57 -07:00
Zack Weinberg
d5e47757d8
Bug 651017, part 4: deCOM nsIDeviceContext; include-minimization on nsDeviceContext.h itself; merge GetPrintDC() into Windows/OS/2 specific code; merge Shutdown() with ClearCachedSystemFonts(). Most references outside gfx not fixed up.
...
--HG--
rename : gfx/src/nsThebesDeviceContext.cpp => gfx/src/nsDeviceContext.cpp
rename : gfx/src/nsThebesDeviceContext.h => gfx/src/nsDeviceContext.h
extra : rebase_source : 9fb366d99d18c9335ba297d21f673178dae62a64
2011-04-16 18:22:42 -07:00
Robert O'Callahan
72627bced2
Bug 641426. Part 6: Rename Empty to SetEmpty. r=cjones
2011-04-19 15:07:23 +12: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
307547d062
Bug 641426. Part 3: Convert gfxRect::pos/size to x/y/width/height. r=joe,sr=cjones
2011-04-19 15:07:21 +12:00
Robert O'Callahan
73b97e72c4
Bug 641426. Part 2: Remove a bunch of direct gfxRect::pos/size usage. r=joe
2011-04-19 15:07:21 +12:00
Matt Woodrow
c43047b608
Bug 648741 - Correctly bind pixmaps to textures during the draw call on X11 accelerated layers. r=bjacob
2011-04-19 10:50:54 +12:00
Timothy B. Terriberry
bc00a0826c
Bug 634557 - ScaleYCbCrToRGB565: Reference C version, r=doublec
2011-04-14 17:32:15 -07:00
Zack Weinberg
f5a0843ac7
Bug 266236 part 9: Move nsBoundingMetrics to its own header and prune inclusions of nsRenderingContext.h.
...
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
rename : gfx/src/nsThebesRenderingContext.h => gfx/src/nsRenderingContext.h
extra : rebase_source : 92660748436f03475e011184e2828f1db0ad63e0
2011-04-07 18:04:40 -07:00
Jan Küchler
5ef6bf26cf
Bug 266236 part 3: Mechanical rename of nsIRenderingContext and nsThebesRenderingContext to nsRenderingContext. Mechanical substitution of nsRefPtr<nsRenderingContext> for nsCOMPtr<nsRenderingContext>.
...
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
extra : rebase_source : 34884bfcafd885feaf73300bc7246cd192062a48
2011-04-07 18:04:40 -07:00
Benjamin Stover
3dc5b1f7a2
Bug 642246 Don't build ThebesLayers for elements with no displayports r=roc
2011-04-11 13:53:01 -07:00
L. David Baron
ad4318958b
Back out 1edfae12015b (Bug 642246) due to mobile unittest orange.
2011-04-09 18:21:27 -07:00
Benjamin Stover
3270dd31cd
Bug 642246 Don't build ThebesLayers for elements with no displayports r=roc
2011-04-09 12:38:28 -07:00
Tim Terribe
cb46080bbf
Bug 641014 - Fix broken NEO Y'CbCr to RGB conversion - r=doublec
...
--HG--
extra : rebase_source : fddd6ccddd083484c8b46a53747fb2058a46463e
2011-04-09 06:59:22 +12:00
Chris Double
8ea4897f3e
Bug 639415 - Disable prescaling of videos if they have an offset due to chromium scaling code not supporting offsets - r=kinetik
...
--HG--
extra : rebase_source : 0b72a504f731a81a498876a28dfae0d7c4aebded
2011-03-14 17:31:48 +13:00