Benoit Jacob
d9d3f5553b
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
84032e42d1
Fix delayed rendering after orientation change.
2012-02-07 11:26:52 -05:00
Ali Juma
0d4cfe1f1d
Move surface ownership to GLContextProviderEGL.
...
--HG--
extra : rebase_source : a3f83d279de5087a521a938d66c4e7b5dee79d74
2012-02-06 16:53:09 -05:00
Ali Juma
13bc9d7ea3
Pause/resume composition on surface destruction/creation.
2012-02-06 13:57:06 -05:00
Benoit Girard
680e677e9d
Limit composition to every 15 ms, may want to try increasing this value
2012-02-06 13:51:33 -05:00
Benoit Girard
7d37c53505
Limit composite events to one at a time
2012-02-06 12:38:23 -05:00
Ali Juma
20f2d38bab
Fix null pointer dereference causing startup crash.
2012-02-06 09:42:53 -05:00
Ali Juma
c6c2bdb4ee
Add support for pausing/resuming composition from Java.
2012-02-05 13:33:38 -05:00
Patrick Walton
f8ea04d7c4
Stand up async panning and zooming
2012-02-03 23:31:05 -08:00
Ali Juma
551a7cc952
Add ifdefs to fix desktop build.
...
--HG--
extra : rebase_source : fe51e388ff7dbd95e968cf60af800917801ab911
2012-02-03 21:48:05 -05:00
Patrick Walton
0d34646db6
Poke the compositor to composite on a pan or zoom; stub AndroidBridge::GetViewTransform()
2012-02-03 18:35:58 -08:00
Patrick Walton
10cc13fb4b
Stub ViewTransform code; unbork the viewport size a bit
2012-02-03 16:39:15 -08:00
Bas Schouten
12c50f6ea4
Bug 651192 - Part 7: Implement the NPP_DidComposite API. r=roc
2012-02-16 04:30:25 +01:00
Bas Schouten
0ec7bea211
Bug 651192 - Part 5: Support remote access to ImageContainers. r=roc
2012-02-16 04:26:19 +01:00
Matt Woodrow
5830977a25
Bug 700240 - Print display lists to a file. r=roc,bjacob
2012-03-01 21:26:09 +13:00
Patrick Walton
0a9b369575
Partial removal of tiling, stub callouts
2012-02-02 19:28:22 -08:00
Benoit Girard
379da61fcd
Add debug code, unapply me later
2012-02-02 16:34:23 -05:00
Benoit Girard
874f061b97
Fix GetLayerManager logic
2012-02-02 14:16:59 -05:00
Benoit Girard
0c685c9aa9
Progress on omtc integration
2012-02-01 16:18:35 -05:00
Ali Juma
25d55347ec
Implement logic needed for simple async scrolling.
2012-02-01 14:31:34 -05:00
Benoit Girard
d13d333d04
Merge fixes
2012-01-30 15:57:30 -05:00
Benoit Girard
e53cce72f1
Mergi mc to kiwifox, lots of conflicts so may not build
2012-01-30 13:38:20 -05:00
Joe Drew
e8396257dd
Back out 9699edcbcedd (bug 721467) for causing bug 722167.
2012-01-29 19:41:48 -05:00
Benoit Girard
210be2a996
Partial work for android OGLSurfaceView
...
--HG--
extra : rebase_source : 2c6ce362dd859e9f81a5b4490e2451826259a651
2012-01-26 14:23:13 -05:00
George Wright
6672bf8383
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
6f1646b79e
Work around Bug 719036.
2012-01-18 11:38:45 -05:00
Ali Juma
a4b640487b
merge m-c to kiwifox
2012-01-18 11:04:04 -05:00
Ali Juma
e12c793870
Address next set of review comments.
2012-01-16 10:31:16 -05:00
Ali Juma
710922f128
merge mc to kiwifox
2012-01-16 09:58:14 -05:00
Benoit Girard
c80702c6c3
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
9afe821b41
More handling review comments for Bug 711168.
2012-01-10 18:04:21 -05:00
Ali Juma
ff89573447
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
63feecbdde
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
2537334d2c
Merge mozilla-central to mozilla-inbound
2012-01-13 03:19:46 +00:00
Oleg Romashin
70f89939ad
Bug 694964 - crash [@ gfxSharedImageSurface::Open]. r=ajuma
2012-01-12 15:49:43 -08:00
Chris Jones
fbcecfeecd
Bug 716332: Delete temporary fbo. r=joedrew
2012-01-12 16:27:34 -08:00
Ali Juma
1c0a78071b
Clean up Compositor destruction.
2011-12-22 10:59:53 -05:00
Ali Juma
1c19c72729
Clean up pointer usage
2011-12-21 11:10:33 -05:00
Ali Juma
5a550c4a06
Clean up
2011-12-20 15:12:54 -05:00
Ali Juma
540d88be61
Fix crash when deleting Compositor parent, and change RPC calls to sync calls..
2011-12-20 10:37:27 -05:00
Ali Juma
4f2ee20c89
Composite only when needed.
2011-12-19 13:17:29 -05:00
Benoit Girard
50655bded6
merge mc to kiwifox
2011-12-19 11:34:31 -05:00
Ali Juma
89f552cade
Merged.
2011-12-19 10:44:18 -05:00
Benoit Girard
8de41d03a6
More clean up. Shutdown down a window no longer crashes
2011-12-16 19:21:51 -05:00
Ali Juma
eb3547b425
Add a 10ms delay when scheduling next composition.
2011-12-16 17:54:06 -05:00
Benoit Girard
48eb7995d9
Clean up some hacks and useless code
2011-12-15 16:31:16 -05:00
Ali Juma
6870dabd13
Ensure added code only runs when using a Compositor, not in e10s.
2011-12-15 16:16:38 -05:00
Ali Juma
8c61077022
Make shadow layer transformations work.
2011-12-15 15:20:06 -05:00
Ali Juma
5f3684bfe7
imported patch hacking
2011-12-15 15:07:25 -05:00
Ali Juma
c25e4ad6de
imported patch PCompositorProgress
2011-12-15 15:07:19 -05:00
Benoit Girard
815c1b1640
Part A: Setup PCompositor (in progress)
2011-12-12 10:15:57 -05:00
Matt Woodrow
4f97b72958
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
31be7199ca
Bug 708124 - Remove unnecessary glFlushs from Layers - r=bjacob
2011-12-16 14:24:46 -08:00
Jeff Gilbert
31b31c80ce
Bug 705024 - Guarantee GLContexts are resolved properly - r=bjacob
2011-12-16 14:24:46 -08:00
Ali Juma
9877e39437
Bug 705641 - Add even more output to framebuffer incompleteness abort message. r=jrmuizel
2011-12-16 14:02:03 -05:00
Matt Woodrow
1222b84d76
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
beb7e1dd62
Bug 644199: Properly re-upload after clearing mTexture because of device reset. r=roc
2012-01-17 18:32:24 +01:00
Bas Schouten
df85ecb4bb
Bug 668344: Deal with missing Direct2D device in Azure. r=jrmuizel
2012-02-07 06:14:21 +01:00
Julian Seward
718d044230
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
bb1dd66504
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
79ae6b2b25
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
7d7af68671
Bug 678940 - remove caching of uniform values. r=joe
2012-01-09 10:57:21 +01:00
Jeff Muizelaar
9204c6fbaa
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
6bcf9853da
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
e8bb9d13ab
Bug 711063 - Part 10: Adjust BasicLayers code for Azure-Thebes wrapper. r=roc
2012-01-05 08:17:52 +01:00
Karl Tomlinson
5ddb16ab36
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
28b66411e2
Bug 704313 - Implement mozilla/StdInt.h. r=cjones
...
--HG--
extra : rebase_source : b221134fdfbde13a37a6ef621bba3ca183a46101
2011-11-22 17:42:57 -08:00
Ali Juma
03b2f1037e
Bug 705641 - Add reason for framebuffer incompleteness to abort message. r=jrmuizel
2011-12-02 09:43:58 -05:00
Jeff Gilbert
f2de1e594d
Bug 706297 - Remove unnecessary glFinish preceeding glReadPixels from LayerManagerOGL - r=bjacob
2011-11-30 17:25:20 -08:00
Benoit Jacob
b718918058
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
dad8afacb0
Bug 635544 - rename nsIWidget::DrawOver to DrawWindowOverlay. r=roc
2012-01-21 21:01:17 -05:00
aceman
ff3b047be8
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)
10d4df463e
Bug 711168 - Implement the compositor protocol for OMTC. r=cjones
2012-01-19 09:45:37 -05:00
Jeff Muizelaar
c4546a4ef0
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
b336f1ee50
Bug 705641 - Add more output to framebuffer incompleteness abort message. r=jrmuizel
2011-12-15 13:06:18 -05:00
Robert O'Callahan
3f8b3494fb
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
62f6eb194e
Back out 88733ce1bef3 (bug 718440) because of Windows build failure
2012-01-17 15:15:47 -08:00
Jeff Muizelaar
6fffa906f2
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
328d53c10b
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
08a4a435bb
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
c0eb2d7162
Bug 703491. Silence useless assertion. r=bas
2011-11-21 17:40:11 +13:00
Oleg Romashin
d703436314
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
880831ca63
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
539afdfd2d
Bug 699258 - Get skia backend compiling and running on Windows. r=mattwoodrow
2011-11-18 17:00:37 +13:00
Jeff Walden
ac7d6ff8ac
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
c5aabd8c01
Bug 701259 - Restrict BasicPlanarYCbCrImage scaling destination size. r=roc
2011-11-15 09:35:46 +13:00
Robert O'Callahan
818235e696
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
ac8a886cca
Back out 5ddda2b25e28 and 3abfdb807a4f (bug 699258) for crashes in WinXP tests
2011-11-11 17:49:47 -08:00
Marco Castelluccio
db401edaf6
Bug 699258 - Part 2: [Skia] Get Skia backend working on Windows.
2011-11-11 15:51:00 -05:00
Jeff Gilbert
0f0aab17b6
Bug 571507 - Add checks for texture creation failure to ContainerLayerD3D* - r=bas.schouten
2011-11-03 12:10:10 -07:00
Matt Woodrow
54ee03f30c
Bug 688342 - Make nsCanvasRenderingContext2D support Azure backends other than Direct2D. r=Bas
2011-11-03 08:55:03 +13:00
Ali Juma
5dd4f41ada
Bug 696768 - Abort when framebuffer completeness check fails. r=jrmuizel
2011-11-02 09:40:14 -04:00
Matt Woodrow
76d62d4955
Bug 698212 - Let UploadSurfaceToTexture create the texture for CairoImageOGL. r=BenWa
2011-10-31 14:03:00 +13:00
Andrew Quartey
ed6375373b
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
c0848138f3
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
860367863b
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
93e07e7cbe
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
df6a9f86e3
Bug 680082 - [backout] Add GetMaxTextureImageSize to correct size support for TiledTextureImage.
2011-10-27 10:17:40 -04:00
Benoit Girard
297f77f944
Bug 680082 - Add GetMaxTextureImageSize to correct size support for TiledTextureImage. r=matt.woodrow
2011-10-26 14:36:18 -07:00
Oleg Romashin
ab75260ae2
Bug 696013 - Nightly crashes @ mozilla::layers::BasicShadowCanvasLayer::DestroyFrontBuffer. r=cjones
2011-10-27 13:30:43 +02:00
Jeff Gilbert
5e2f003fc6
Bug 615976 - Post-patch cleanup for WebGL antialiasing - r=bjacob
2011-10-26 16:00:44 -04:00
Matt Woodrow
9c8b19f0b7
Bug 695275 - Fix crashtest failures with BasicShadowableImageLayer. r=roc
2011-10-26 16:25:42 +13:00
Matt Woodrow
55f95c179c
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)
e0b39ef3a6
Bug 695406 - Reset IPC double buffers if the ContentType has changed. r=cjones
2011-10-21 14:29:09 +13:00
Marco Bonardo
31ad079ea9
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)
2c71275b8a
Bug 695406 - Reset IPC double buffers if the ContentType has changed. r=cjones
2011-10-21 14:29:09 +13:00
Jeff Gilbert
54151c8f39
Bug 615976 - Fixes layer compositing with AA on Mac - r=bjacob
2011-10-19 15:09:57 -04:00
Jeff Gilbert
fab4647e5b
Bug 615976 - Adds support for multisampled GLContexts, esp. EGL, WGL paths - r=bjacob
2011-10-19 15:09:57 -04:00
Benoit Jacob
6888d8511d
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
d51afab888
Fixes layer compositing with AA on Mac
2011-10-19 15:09:57 -04:00
Jeff Gilbert
9075ff5ca7
Adds support for multisampled GLContexts, esp. EGL, WGL paths
2011-10-19 15:09:57 -04:00
Ehsan Akhgari
1deb9f1504
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
b117904175
Bug 691354 - Restore CanvasLayerOGL::RenderLayer apply filter. r=bustage
2011-10-16 22:31:15 -04:00
Benoit Girard
505faabb10
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
1bb2d1626a
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
da35901251
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
231796bcb0
Bug 693521 - Improve preserve-3d sorting behaviour by using line intersection points. r=roc
2011-10-15 09:45:01 +13:00
Matt Woodrow
aacab0b9a4
Bug 692968 - Check the return value of CreateTexture2D in ContainerLayerD3D10. r=Bas
2011-10-13 14:01:30 +13:00
Jeff Walden
1872189eac
Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail
2011-10-12 12:21:53 -07:00
Jeff Walden
37f2b96015
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
b68dcd1a37
Bug 626694 - Remove unused TextureImage::IsRGB(). r=mattwoodrow
2011-10-11 21:11:03 -04:00
Oleg Romashin
be134854a7
Bug 693282 - BasicShadowableThebesLayer leaking backBuffers. r=cjones
2011-10-10 16:43:56 -07:00
Matt Brubeck
e8cbf38fa7
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
46f95f9ad9
Merge mozilla-central into mozilla-inbound
2011-10-10 11:30:21 -04:00
Brad Lassey
1984f4b690
merge
2011-10-10 11:01:34 -04:00
Brad Lassey
472de3a44a
Backed out changeset 703df62e855b due to crashes reported in bug 693086
2011-10-10 11:00:16 -04:00
Oleg Romashin
f098738cd4
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
01e5ea98a3
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
011a0ece0e
Bug 692548 - Properly print OGL Shader compile errors on Android. r=jmuizelaar
2011-10-06 12:12:51 -07:00
Jeff Gilbert
8a0a638428
Bug 692458 - Fix for GLContext currency error - r=bjacob
2011-10-07 15:16:48 -04:00
Matt Woodrow
1934f743d7
Bug 689416 - Stop using intermediate layers to render 3d transforms. r=roc
2011-10-07 10:29:07 +13:00
Matt Woodrow
669bd978eb
Bug 684759 - Part 4 - Add layer sorting support to the LayerManagers. r=roc
2011-10-07 10:24:32 +13:00
Matt Woodrow
224fe2d2f1
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
c45a16d1df
Bug 684759 - Part 2 - Add DirectedGraph and gfxQuad classes. r=roc
2011-10-07 10:22:18 +13:00
Ali Juma
8d44e3dfeb
Bug 690566 - Associate filters with texture images. r=jrmuizel
2011-10-05 14:20:33 -04:00
Matt Woodrow
c2ce6259ac
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
ac54b41b01
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
b0a107ab29
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
7ec9c0bcb5
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
7dd5232e47
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
329778947c
Bug 681033 - Prevent ShadowLayers::RecvUpdate from triggering an immediate repaint. r=cjones
2011-09-26 09:20:42 -04:00
Benoit Jacob
f6669a003b
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
69c8f51a20
Bug 687458 - TimeStamp in FPSState uninitialized, leads to crash; r=romaxa
2011-09-22 00:16:12 -04:00
Oleg Romashin
abbc248a06
Bug 687373 - Provide mozilla::layers::SurfaceDescriptorX11 non xlib surface ctor. r=cjones
2011-09-20 17:20:51 +01:00
Oleg Romashin
fd638cf4a1
Bug 685082 - Transparent plugins not cleared on Maemo; r=cjones
2011-09-14 08:51:24 +01:00
Benoit Girard
1333715561
Bug 685694 - Don't use glDrawBuffer in GLES2. r=matt.woodrow
2011-09-08 14:21:36 -07:00
Benoit Girard
dc74a5282c
Bug 683745 - Fix OGL FPS Counter on Android; r=jrmuizel
2011-08-31 15:58:19 -07:00
Matt Woodrow
0c8db7cb1e
Bug 682615 - Use fallible new for BasicPlanarYCbCrImage. r=roc
2011-08-31 14:03:34 +12:00
Joshua Cranmer
c53373976e
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
6bca62e7c7
Bug 634759 Allow buffer rotation for mobile r=roc
2011-08-29 10:56:50 -07:00
Matt Woodrow
7da28f98a5
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)
6e8022d0b4
Bug 537223 - Cleanup gfxColor.h; r=jrmuizel
2011-08-25 10:46:01 +02:00
Chris Lord
fa2eb454b3
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
47440d1eaa
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
f9d86a4ee5
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
5e50dbe670
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
79eb8b98c8
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
7d1f192cc5
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
0dd7097f9b
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
d76f4073e0
Bug 674494 - Uninitialised variable in ThebesLayerBuffer::BeginPaint. r=mattwoodrow
2011-08-18 09:52:48 +12:00
Marco Bonardo
bc786313e0
Backout changeset 3db901280232, (Bug 666385) to investigate Mac Tdhtml regression.
2011-08-17 22:55:14 +02:00
Benoit Girard
6b2ff85fcb
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
91cc3cdc07
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
c8204f38b9
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
3ec80a1c03
Bug 648484, part E: Hook d3d9 shadow layers up to new system. r=BenWa
2011-07-06 13:29:27 -04:00
Chris Jones
6e9a06d184
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
7d5f7d2f9a
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
5192203458
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
78ac497925
Bug 648484, part 9: Make LayerManagerD3D10 a shadow-layer manager and forwarder. r=Bas
2011-08-09 12:38:26 -07:00
Chris Jones
df9999da63
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
75a7b49667
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
b48ec9bcd5
Bug 648484, part 6: Add code to share D3D10 textures across processes. r=Bas
2011-08-09 12:38:26 -07:00
Chris Jones
8a3db53305
Bug 648484, part 4: Log layers transactions in the d3d10 backend. r=Bas
2011-08-09 12:38:26 -07:00
Chris Jones
ef494be5fb
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
e32f6e9a10
Bug 648484, part 2: Add various helpers, refactor ContainerLayer::SetSpecificAttributes. r=roc
2011-08-09 12:38:26 -07:00
Chris Jones
0df4a68455
Bug 648484, part 1: Fix some warning spam. r=roc
2011-08-09 12:38:26 -07:00
Florian Haenel
fc3b7a4184
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
fba020d750
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
f3b63676a0
Bug 655017 - Let gfxXlibSurface track GLXPixmaps and use this for CanvasLayerOGL. r=karlt, roc
2011-08-05 13:13:25 +12:00
Matt Woodrow
c6d864929e
Bug 505115 - Part 7 - Layers support for 3d transforms. r=roc
2011-08-03 15:04:20 +12:00
Marco Bonardo
9bd254609a
Merge mozilla-central and mozilla-inbound
2011-07-29 13:46:15 +02:00
Benoit Jacob
5a7930753a
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
bf1f0246c8
Bug 674731 - WebGL/ANGLE interop with D3D layers requests incorrect extension - r=bjacob
2011-07-28 16:37:58 -04:00
Scott Ruff
d256779fb0
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
43672c27e6
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
04840bff95
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
ddc0b8f99e
Backed out changeset 39fef2383893
2011-07-25 13:18:23 +12:00
Matt Woodrow
17029fcbea
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
b0190c2f49
Bug 669299 - Remove unneeded nsPrintfCString.h includes. r=bsmedberg
2011-07-21 04:37:31 +02:00
Oleg Romashin
630133cef5
Bug 671986 - ImageLayerOGL does not apply offset/transform for layer r=jrmuizel
2011-07-17 12:07:41 +02:00
Chris Jones
2a348817d0
Merge backout
2011-07-15 11:36:22 -07:00
Chris Jones
f146a2e9a6
Back out bug 648484
2011-07-15 11:35:55 -07:00
Chris Jones
38fbacd96d
Bug 648484, part E: Hook d3d9 shadow layers up to new system. r=BenWa
2011-07-06 13:29:27 -04:00
Chris Jones
f2ff0bef7d
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
1073aa2ec1
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
fe392d2fa0
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
6dad1820c5
Bug 648484, part 9: Make LayerManagerD3D10 a shadow-layer manager and forwarder. r=Bas
2011-07-13 22:43:43 -07:00
Chris Jones
13f0731b83
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
1deb8c8c6e
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
45f338891b
Bug 648484, part 6: Add code to share D3D10 textures across processes. r=Bas
2011-07-13 22:43:43 -07:00
Chris Jones
df91337674
Bug 648484, part 4: Log layers transactions in the d3d10 backend. r=Bas
2011-07-13 22:43:43 -07:00
Chris Jones
304ad17b82
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
3cc7620e43
Bug 648484, part 2: Add various helpers, refactor ContainerLayer::SetSpecificAttributes. r=roc
2011-07-13 22:43:43 -07:00
Chris Jones
51cca919da
Bug 648484, part 1: Fix some warning spam. r=roc
2011-07-13 22:43:43 -07:00
Matt Woodrow
ddc776f45a
Bug 670106 - Check the surface type before attempting to create a GLXPixmap. r=joe
2011-07-15 08:45:33 +12:00
Jacek Caban
056c0b6d5c
Bug 670913 - LayerManagerD3D10.h fails to compile on mingw (r=joe)
2011-07-13 17:58:17 +02:00
Benoit Girard
fea3984790
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
de1149163d
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
de4075b859
Bug 607687 - Fennec should take care about Texture MAX size HW limitation r=jmuizelaar
2011-07-06 11:00:47 -07:00
Matt Woodrow
460ed95954
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
22e8b20b01
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
05215ab935
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
044bd51ed7
Bug 656185 - Part 1 - Move BindAndDrawQuadWithTextureRect into LayerManagerOGL. r=joe
2011-07-05 14:50:38 +12:00
Benoit Girard
3027b5bdff
Bug 636707 - Check for null MacIOSurfaceImageOGL. r=mattwoodrow
2011-07-04 09:51:37 -04:00
Benoit Girard
ad37441b0d
Bug 648480 - Add shadow-layer support to d3d9 backend. r=cjones
2011-07-04 09:15:05 -04:00
Benoit Girard
eaeda0937d
Backout 627489bb6288.
2011-07-01 18:05:54 -04:00
Benoit Girard
12d015b9e6
Bug 648480 - Add shadow-layer support to d3d9 backend. r=cjones
2011-07-01 16:57:15 -04:00
Rafael Ávila de Espíndola
71a3eaf68b
Bug 708051 - Avoid IPC x ipc confusion on case insensitive filesystems. r=joe.
2012-01-03 14:36:00 -05:00
Matt Woodrow
63c3010542
Back out bug 656185 due to windows compile failures
2011-06-27 15:21:22 +12:00
Matt Woodrow
4668b5de93
Bug 656185 - Part 4 - Fix for D3D9. r=Bas
2011-06-27 14:32:42 +12:00
Matt Woodrow
f38887ff11
Bug 656185 - Part 3 - Fix for D3D10. r=Bas
2011-06-27 14:32:34 +12:00
Matt Woodrow
35182074d3
Bug 656185 - Part 2 - Handle odd crop offsets correctly with OpenGl. r=derf
2011-06-27 14:32:16 +12:00
Matt Woodrow
467c57b3b0
Bug 656185 - Part 1 - Move BindAndDrawQuadWithTextureRect into LayerManagerOGL. r=joe
2011-06-27 14:32:06 +12:00
Matt Woodrow
395b2c454c
Bug 724025 - Correctly flatten transform-style:flat with BasicLayers. r=roc
2012-02-15 22:28:22 +13:00
Matt Woodrow
fd906febff
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
ff4a793d9b
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
40198e7c4e
bug 726962 - remove stray instances of PRBool in gfx. r=joe
2012-02-14 16:17:19 +00:00
Oleg Romashin
9de30fca2d
Bug 725925 - ShadowableThebesLayer does useless extra composite into 1x1 fake surface. r=cjones
2012-02-10 11:22:21 -08:00
Ed Morley
0cba88efa3
Backout b43f4d9f38da (bug 725925) for reftest failures
2012-02-10 23:23:16 +00:00
Oleg Romashin
5d41a0622b
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
26471af978
Backout 76dcfabe0a2a, d8004eb22252, 86e91202ef51 & f9a5736cd6bc (bug 695845) for build failures on windows
2011-12-19 20:27:59 +00:00
Matt Woodrow
876ec275f7
Bug 695845 - Part 4: Move BasicShadowableLayer into ImageLayers.h. r=cjones
2011-12-19 14:49:45 -05:00
Matt Woodrow
c80e8f62d2
Bug 695845 - Part 3: Add Flush() and Disconnect() methods to ImageContainer. r=cjones
2011-12-19 14:49:45 -05:00
Matt Woodrow
6f643cfd80
Bug 695845 - Part 2: Add ShadowImplData. r=cjones
2011-12-19 14:49:45 -05:00
Matt Woodrow
de442321de
Bug 695845 - Part 1: Add ImplData to ImageContainer. r=roc
2011-12-19 14:49:45 -05:00
Jeff Gilbert
42a004e3d6
Bug 711649 - Resolve OGL canvas layer in UpdateSurface - r=mattwoodrow
2011-12-19 11:21:56 -08:00
Bas Schouten
601c78b697
Bug 651858 - Part 5: Add CanvasLayer code for azure. r=jrmuizel
2011-06-24 19:41:18 +02:00
Bas Schouten
2fa07357d2
Bug 651858 - Part 4: Implement API for creating a D3D10 compatible DrawTarget. r=roc
2011-06-24 19:41:18 +02:00
Bas Schouten
498a2c2177
Bug 651858 - Part 3: Add layers API for creating an optimal DrawTarget. r=roc
2011-06-24 19:41:18 +02:00
Jeff Muizelaar
7e2a9f4684
Bug 662649. DrawFPS: Make the conversion loop easier to follow. r=joe
2011-06-22 14:53:11 -04:00
Jeff Muizelaar
c434408ec3
Bug 662649. DrawFPS: Add a comment about why DrawFPS is a little weird.
2011-06-22 14:49:31 -04:00
Jeff Muizelaar
edc14c1847
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
abea9cd8f9
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
7e9c21543b
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
38aca80b2f
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
f8c3336443
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
92bdbb8438
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
61b842f77e
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
922c14276b
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
b044f25c6a
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