Граф коммитов

583 Коммитов

Автор SHA1 Сообщение Дата
Oleg Romashin 4d098d2cca Bug 607653 - avoid temporary fbos/textures on transformed layers, when possible. r=roc a=approval2.0 2010-11-30 08:02:46 +02:00
Bas Schouten be7bc31176 Bug 615316 - Part 10: Support different layer managers in ImageLayerD3D9. r=jrmuizel a=blocking-betaN 2010-12-20 22:37:30 +00:00
Bas Schouten 4a36c18e42 Bug 615316 - Part 9: Support changing devices for YCbCrImageD3D9. r=jrmuizel a=blocking-betaN 2010-12-20 22:37:18 +00:00
Bas Schouten 6dadf14a29 Bug 615316 - Part 8: Support GetAsSurface for CairoImageD3D9. r=jrmuizel a=blocking-betaN 2010-12-20 22:37:11 +00:00
Bas Schouten d57c481abf Bug 615316 - Part 7: Support surfaces with Alpha for CairoImageD3D9. r=jrmuizel a=blocking-betaN 2010-12-20 22:37:08 +00:00
Bas Schouten 927d397255 Bug 615316 - Part 6: Support device changing for CairoImageD3D9. r=jrmuizel a=blocking-betaN 2010-12-20 22:37:04 +00:00
Bas Schouten 72d635dfe1 Bug 615316 - Part 5: Factor out SurfaceToTexture in D3D9 Image layers. r=jrmuizel a=blocking-betan 2010-12-20 22:37:01 +00:00
Bas Schouten f2d3583dfc Bug 615316 - Part 4: Store device on CairoImageD3D9 instead of on the LayerManager. r=jrmuizel a=blocking-betan 2010-12-20 22:35:31 +00:00
Bas Schouten 9d5e5cc13f Bug 604647: Never create swap chains while the device is lost. r=jrmuizel a=blocking-final 2010-12-20 22:35:28 +00:00
Robert O'Callahan c6700e764d Bug 612840. Part 4: Invert the meaning of CONTENT_NO_TEXT_OVER_TRANSPARENT and rename it. r=vlad 2010-12-20 14:26:14 +13:00
Robert O'Callahan 3259bd6e70 Bug 612840. Part 3: Make Layer::CONTENT_NO_TEXT_OVER_TRANSPARENT applicable to all layer types, and set CONTENT_NO_TEXT_OVER_TRANSPARENT on container layers. r=tnikkel,r=vlad 2010-12-20 14:26:14 +13:00
Robert O'Callahan 76d7bbcd27 Bug 612840. Part 2: Remove unnecessary opacity check. r=cjones 2010-12-20 14:26:14 +13:00
Robert O'Callahan d8ccf4a713 Bug 612840. Part 1: Remove CONTENT_NO_TEXT flag since it's not really used. Also remove ShouldRetainTransparentSurface and related code; we'll assume that when text is over opaque pixels in an RGBA surface we can always paint it with subpixel AA --- and make it so in later patches. r=vlad 2010-12-20 14:26:13 +13:00
Matt Woodrow 3dbd1ca420 Bug 604101 - Part 6 - Add TextureImage::DirectUpload for faster texture uploads. r=jrmuizel a=blocking2.0 2010-12-16 23:50:26 -08:00
Matt Woodrow 8ff0e949d1 Bug 604101 - Part 4 - Use UploadSurfaceToTexture in TextureImage. r=joe a=blocking2.0 2010-12-16 23:29:23 -08:00
Matt Woodrow 8bcd4fedaf Bug 604101 - Part 3 - Use UploadSurfaceToTexture in CanvasLayerOGL. r=joe a=blocking2.0 2010-12-16 23:28:30 -08:00
Matt Woodrow 5ef80d284d Bug 604101 - Part 2 - Use UploadSurfaceToTexture in CairoImageOGL. r=joe a=blocking2.0 2010-12-16 23:27:56 -08:00
Matt Woodrow 4d552e1a3a Bug 604101 - Part 1 - Add UploadSurfaceToTexture. r=joe a=blocking2.0 2010-12-16 23:23:07 -08:00
Matt Woodrow 393a7569c1 Bug 615741 - Too large canvases don't draw and be black. r=joe a=joe 2010-12-16 23:19:28 -08:00
Matthew Gregan ae02f0728c Bug 584259 - Add support for StereoMode element. r=roc a=roc 2010-11-03 12:43:29 +13:00
Bas Schouten c3704f5a92 Bug 613790: Comment update follow-up. a=comment 2010-12-16 08:08:49 +00:00
Bas Schouten 5fa6132b24 Bug 613790: Use GDI compatible flag for our swap chains. r=jrmuizel a=blocking-final 2010-12-16 01:35:44 +00:00
Bas Schouten 8b9aaead5d Bug 615316 - Part 3: Support any container in ImageLayerD3D10. r=jrmuizel a=blocking-betan 2010-12-15 21:37:15 +01:00
Bas Schouten 00e40a60f5 Bug 615316 - Part 2: Support GetAsSurface for CairoImageD3D10. r=jrmuizel 2010-12-15 21:37:12 +01:00
Bas Schouten 2049747455 Bug 615316 - Part 1: Factor out SurfaceToTexture conversion for D3D10 Image Layers. r=jrmuizel 2010-12-15 21:37:10 +01:00
Matt Woodrow 2131e29dfd Bug 614651: Intersect clip rects properly in D3D9 layers. r=bas a=blocking-final 2010-12-15 21:37:07 +01:00
Oleg Romashin f1941ee1f5 Bug 616469 - Video sync is slow because of slow yuv2rgb conversion. use 16bpp neon r=roc a=blocking-fennec 2010-12-10 21:32:52 +02:00
Oleg Romashin 3f6521bff5 Bug 616469 - Video sync is slow because of slow yuv2rgb conversion. Offscreen API r=roc a=b-f 2010-12-15 10:17:27 -08:00
Michael Wu adc8f28efe Backed out changeset 34bd12eb4a9c for causing bug 618916, a=stuart 2010-12-13 16:14:07 -08:00
Oleg Romashin 32de6ed302 Bug 615870 - Remote HTML5 video rendering pipeline should be shorter r=roc a=b-f 2010-12-10 21:32:52 +02:00
Chris Jones 3c75d4e7d2 Bug 613000: Updates to thebes-layer textures must account for resolution. r=jrmuizel a=b 2010-12-09 16:26:13 -06:00
Bas Schouten 604a3dd45e Bug 595277 - Part 0: Clear out user data on destroy. r=roc 2010-12-07 03:05:25 +01:00
Bas Schouten 5346d5ea59 Bug 617242: Don't cull for transforms that flip the content. r=jrmuizel a=joedrew 2010-12-07 18:42:08 +01:00
Bas Schouten a8a2865db2 Backout bug 595277. a=bustage 2010-12-07 05:39:19 +01:00
Bas Schouten e53c7eb164 Bug 595277 - Part 0: Clear out user data on destroy. r=roc 2010-12-07 03:05:25 +01:00
Ms2ger 78236f0f98 Bug 605179 - Fix build warnings in gfx/; r=roc a=bsmedberg
--HG--
extra : rebase_source : f9bd24d5f4bc6124b431ce22e6ac72bd218dc208
2010-12-05 18:38:12 +00:00
Oleg Romashin 900507d5b5 Bug 607653 - avoid temporary fbos/textures on transformed layers, when possible. part2 r=roc a=apporval2.0 2010-11-30 07:51:56 +02:00
Bas Schouten 0942db0268 Bug 601273: Properly retain copied region. r=jrmuizel a=blocking-final 2010-12-02 19:44:18 +01:00
Justin Lebar 9167d8acf3 Backed out changeset a5ec817740f0. a=orange 2010-11-29 09:08:24 -08:00
Oleg Romashin 8a52f4b99f Bug 607653 - avoid temporary fbos/textures on transformed layers, when possible. r=roc a=approval2.0 2010-11-24 11:35:21 +02:00
Bas Schouten a7e89adb8d Bug 614762: Null autoptr instead of release. r=jrmuizel a=blocking-beta8 2010-11-26 00:18:56 +01:00
Chris Jones 8a774f63b4 Bug 612573: Make sure shadowable layers aren't destroyed in the middle of transactions. r=karlt a=2.0 2010-11-24 21:33:37 -06:00
Dave Townsend fb8abb6e9d Backing out changeset 8fff1c186b30 from bug 607653 due to reftest failures on OSX. a=bustage 2010-11-24 16:19:41 -08:00
Oleg Romashin bb4bf02096 Bug 607653 - avoid temporary fbos/textures on transformed layers, when possible. r=roc a=approval2.0 2010-11-24 11:35:21 +02:00
Brad Lassey 2a732521f3 bug 604533 - Tearing/Shearing while panning on local pages/error console in Fennec r=cjones,roc a=blocking-fennec 2010-11-23 22:04:58 -05:00
Bas Schouten 1c4fe46fe9 Bug 614111: Clear and recreate VertexBuffer on device reset. r=jrmuizel a=blocking-beta8 2010-11-23 17:24:39 +01:00
Benjamin Smedberg 58fa533523 Bug 611595 - Prevent a crash when D3D9 texture creation fails because the screen is locked. In CairoImageD3D9::SetData, save the surface as a member. Try to create the texture immediately, but also try to create the texture again when painting if it failed the first time. r=bas a=blocker-topcrash 2010-11-18 13:47:59 -05:00
Vladimir Vukicevic 8c51dcf560 b=598328; clean up nv console spam; r=joe, a=b 2010-11-16 20:33:04 -08:00
Tatiana Meshkova d9e0f71218 bug 606730 - Remote thebesLayer BG color rendering always, even if it's not visible, Part 2: MarkLeafLayersCoveredByOpaque() for BasicLayers r=roc a=roc 2010-11-16 18:33:56 -05:00
Tatiana Meshkova cdf92598c9 bug 606730 - Remote thebesLayer BG color rendering always, even if it's not visible, Part 1: Add mLastChild to all ContainerLayer r=roc a=roc 2010-11-16 18:33:56 -05:00
Markus Stange ext:(%2C%20Joe%20Drew%20%3Cjoe%40drew.ca%3E%2C%20Matt%20Woodrow%20%3Cmwoodrow%40mozilla.com%3E) d47d49d852 Bug 593342 - Use double buffering on Mac instead of flushing, for greater performance. r=vlad,roc,joe a=b 2010-09-21 14:39:38 -04:00
Benjamin Stover 0521600299 Bug 611799 Prefill newly created buffers with old content r=cjones a=blocking-fennec 2010-11-12 14:21:05 -08:00
Vladimir Vukicevic 7c9f6ae03a b=609195; use GL_REPEAT for non-power-of-two textures if we have support for them; r=jrmuizel, a=b 2010-11-12 12:02:20 -08:00
Vladimir Vukicevic c2d23145ca b=609195; don't use GL_REPEAT for non-power-of-two textures; r=jrmuizel 2010-11-12 12:02:17 -08:00
Chris Double 96cbe7d2f7 Bug 583138 - Update to latest Chromium YCbCr to RGB Conversion code - r=roc a=blocking2.0 2010-11-11 12:54:27 +13:00
Chris Double 0965268b8a Bug 577843 - Scale videos at YCbCr conversion time - r=roc a=blocking2.0
--HG--
extra : rebase_source : ae011843fdd812dbeab7e5de0bf3b6029cccb3e5
2010-10-26 16:11:13 +13:00
Robert O'Callahan 24f17c94ae Bug 608636. Clip to transformed bounds of BasicContainerLayers when compositing their opacity groups back to the target surface. r=vlad,a=blocking 2010-11-12 14:43:42 +13:00
Robert O'Callahan d224a4edaf Bug 579885. Part 2: Never use SOURCE to composite ThebesLayers into the target, just use OVER and assume cairo backends will optimize. r=vlad,a=blocking 2010-11-12 14:43:42 +13:00
Robert O'Callahan 6befdb5626 Bug 579985. Part 3.2: Remove gfxASurface::AreSimilarSurfacesSensitiveToContentType because it's effectively always true now. r=jrmuizel,a=blocking 2010-11-12 14:43:40 +13:00
Matt Woodrow ced3693cdf Bug 605057 - Add gfxASurface::GetAsImageSurface to convert generic surfaces into image surfaces without copies (if possible). r=roc a=b 2010-11-11 15:31:22 -05:00
Oleg Romashin cdf15687d8 Bug 609838 - Fennec double-tap zoom is broken with HW acceleration enabled. r=jones.chris.g a=b-f 2010-11-11 07:44:42 +02:00
Chris Jones 339106b788 Bug 562424: Switch IPDL interfaces to infallible TArray. r=bent a=blocking 2010-11-08 20:49:00 -06:00
Robert O'Callahan 26f24119f8 Bug 602200. Share code to compute effective transforms and opacity, and snap effective transforms. r=bas,sr=vlad,a=blocker 2010-11-08 22:06:15 +13:00
Matt Woodrow bc736cccb8 Bug 599507. Propagate opacity and transform from single-child ContainerLayerOGL to child. r=joe, a=blocker 2010-11-08 22:06:14 +13:00
Jacek Caban facbb12c80 Bug 606155 - LayerManagerD3D9.cpp compilation failure on mingw r=bas.schouten a=benjamin
--HG--
extra : rebase_source : c7689b0313df5701fe7bb6297fc932c11d17ff0d
2010-11-06 14:24:19 +00:00
Oleg Romashin b5bdb5ed73 Bug 609637 - Don't swapBuffers with NULL EndTransaction call r=jones.chris.g a=b-f 2010-11-06 10:42:56 +02:00
Benoit Jacob 63522ce239 Bug 604571 - Copying frames from <video> to <canvas> with drawImage glitches - r+a=vladimir 2010-11-05 15:57:58 -04:00
Oleg Romashin b9b045d77b Bug 572651 - ThebesLayer shader program (GetBGRXLayerProgram) is slow on mobile r=vladimir a=b-f 2010-11-05 08:40:19 +02:00
Alon Zakai acb20a5fc5 Bug 609678 - Fix memory leak in SetBackingBuffer. r=cjones a=blocking-fennec 2010-11-05 09:37:40 -07:00
Chris Jones 71323d9d0b Bug 603885, part 8: Add logging for buffer creation and readback operations. r=roc 2010-11-05 02:17:07 -05:00
Chris Jones 5548cd55c7 Bug 603885, part 7: Remove front-buffer pre-fill code that is now subsumed by swap-and-readback (which also gets the pre-fill off the critical path for repainting). r=roc 2010-11-05 02:17:07 -05:00
Chris Jones 958dbecd19 Bug 603885, part 6: Implement swap-and-readback. r=roc 2010-11-05 02:17:07 -05:00
Chris Jones 599ea35c26 Bug 603885, part 5: Move the code for getting a gfxContext for a quadrant update into its own method. r=roc 2010-11-05 02:17:07 -05:00
Chris Jones c493eae976 Bug 603885, part 4: Use unsafe-shmem-backed gfxSharedImageSurface for IPC shadow layers. r=joe 2010-11-05 02:17:07 -05:00
Chris Jones 3070bf00d3 Bug 603885, part 2: Set up the framework for swap-and-readback. r=roc sr=vlad 2010-11-05 02:17:07 -05:00
Chris Jones 7ac34efa3a Bug 603885, part 1: Move separate a method decl/def and reindent a long block. r=roc 2010-11-05 02:17:07 -05:00
Bas Schouten 1f2d4f4d6c Bug 606411: Remove ImageContainerD3D10 dependencies on LayerManagerD3D10. r=roc a=blocking-final 2010-10-26 00:24:57 +02:00
Robert O'Callahan f77d26e905 Bug 593839. Part 2: Remove DESTINED_FOR_SCREEN flag now that it's no longer used. r=vlad a=blocking-betaN 2010-10-25 16:39:27 +02:00
Bas Schouten a09e9678c4 Bug 584494: Avoid creating intermediate surfaces in D3D9 layers. r=roc a=blocking-betaN 2010-10-21 22:41:04 +02:00
Bas Schouten 76c1b35c5d Bug 603071 - Part 2: Fix race condition in PlanarYCbCrImageD3D10. r=roc a=blocking-beta8 2010-10-19 21:08:34 +02:00
Bas Schouten 83961c800b Bug 603071 - Part 1: Properly propagate LayerManager destruction through layer tree. r=roc a=blocking-beta8 2010-10-19 21:08:31 +02:00
Bas Schouten 2a9c8711b6 Bug 546514: Address D3D10 Layers backend review comments. r=jrmuizel 2010-10-19 21:08:27 +02:00
Chris Jones 309019725a Fix --disable-libxul bustage from bug 602431 and bug 602428. a=bustage 2010-10-13 18:36:44 -05:00
Chris Jones d4ed6c86d2 Bug 602428, part 6: Turn on real allocators for shadow OGL layers. r=vlad 2010-10-13 17:55:45 -05:00
Chris Jones f3bf477028 Bug 602428, part 5: Implement HW-decelerating ShadowContainerLayerOGL. r=vlad 2010-10-13 17:55:45 -05:00
Chris Jones 05cdadbe85 Bug 602428, part 4: Implement HW-decelerating ShadowThebesLayerOGL. r=vlad 2010-10-13 17:55:45 -05:00
Chris Jones 063cfb2b8c Bug 602428, part 3: Implement HW-decelerating ShadowImageLayerOGL. r=joe 2010-10-13 17:55:45 -05:00
Chris Jones 97e0d0df05 Bug 602428, part 2: Implement HW-decelerating ShadowCanvasLayerOGL. r=vlad 2010-10-13 17:55:45 -05:00
Chris Jones e7840e9007 Bug 602428, part 1: Implement HW-decelerating ShadowColorLayerOGL. r=joe 2010-10-13 17:55:45 -05:00
Chris Jones 076e6e07a3 Bug 602428, part 0.5: Add dummy allocators for shadow OGL layers. r=vlad 2010-10-13 17:55:45 -05:00
Chris Jones db725f8b3b Bug 602428, part 0: Add NSPR layers logging to OGL backend and log ThebesLayer resolution. r=vlad 2010-10-13 17:55:45 -05:00
Chris Jones b112317927 Bug 602431, part 7: Honor shadow-layer attributes in the GL layers backend. r=vlad 2010-10-13 17:55:45 -05:00
Chris Jones 3314234fb5 Bug 602431, part 6: Honor shadow-layer attributes in the basic layers backend and take off the container-transform training wheels. r=roc 2010-10-13 17:55:45 -05:00
Chris Jones 9d4c7a5e0c Bug 602431, part 3: Add a ShadowContainerLayer base class and BasicShadowContainerLayer implementation. sr=roc 2010-10-13 17:55:45 -05:00
Chris Jones 57c58b918e Bug 602431, part 2: Add a ShadowColorLayer base class and BasicShadowColorLayer implementation. sr=roc 2010-10-13 17:55:45 -05:00
Chris Jones ef69e48c78 Bug 60431, part 1: Add a ShadowLayer base class. r=roc sr=vlad 2010-10-13 17:55:45 -05:00
Chris Jones c900f0f8e1 Bug 601888, part 1: Teach ThebesLayerOGL to draw backing buffers drawn with a resolution other than 1.0. r=mattwoodrow,vlad 2010-10-13 17:55:45 -05:00
Vladimir Vukicevic 94775bddec Bug 602659 - <video> playback is twitchy / possessed by the devil with OpenGL layers - r=jmuizelaar, a=blocking-beta7 2010-10-13 17:19:12 -04:00
Chris Jones 65e40b3c52 Bug 604058: Shadowable layers might not have shadows. r=joe a=blocking-betaN 2010-10-13 14:22:17 -05:00
Benoit Jacob c6c0aa1744 Bug 602659 - move some mutex locking - r=roc 2010-10-12 17:01:59 -04:00
Benjamin Stover 026af3301e Bug 600908 Always retain shadowable layers r=cjones a=2.0b2+ 2010-10-11 11:36:20 -07:00
Bas Schouten 727b51cc4d Bug 601928: Check result of create texture for tmpTexture. r=jrmuizel a=blocking-beta8 2010-10-08 18:02:53 +02:00
Bas Schouten 063f4e37dd Bug 601785: Use true pointer size for x64 builds. r=vlad a=approval2.0 2010-10-08 18:02:41 +02:00
Bas Schouten b67a107150 Bug 601053: Prevent DXGI from handling alt+enter. r=vlad a=blocking-beta8 2010-10-08 18:02:39 +02:00
Benoit Jacob 310c23ebfd Bug 600620 - 1/2 - Expose feature status block reason so that it can be used by about:support - r=vladimir, a=blocking2.0-b7 2010-10-06 21:40:08 -07:00
Benoit Jacob 2dc899c77e Backed out changeset 638ce363a9b1 2010-10-06 17:05:19 -04:00
Benoit Jacob e02aaadb50 Bug 600620 - 1/2 - Expose feature status block reason so that it can be used by about:support - r=vladimir, a=blocking2.0-b7 2010-10-06 16:43:25 -04:00
Vladimir Vukicevic 0810605b28 b=600863; disable framebuffer blit optimization for TEXTURE_RECTANGLE targets; r=joe a=b7 2010-10-01 20:56:56 -07:00
Bas Schouten f891485ca7 Bug 593678: Initialize RenderTargetOffset as part of setting up the pipeline. r=jrmuizel a=joedrew 2010-10-02 00:25:00 +02:00
Bas Schouten 77748a5e32 Bug 601257: Clean up usage of shader constants in D3D9 layers. r=jrmuizel a=joedrew 2010-10-02 00:24:58 +02:00
Bas Schouten b90c29d4b9 Bug 546514 - Part 4: Build D3D10 layers. r=vlad 2010-10-01 00:53:51 +02:00
Bas Schouten 889fee7223 Bug 546514 - Part 3: Add D3D10 layers code. r=vlad 2010-10-01 00:53:49 +02:00
Joe Drew 2e222d6a5d Bug 598143 - Flush the WebGL canvas's context before reading from it on a different context. r=vlad, a=b
--HG--
extra : rebase_source : 6acf05aa439c11b056f0ae15c3cf8bae37d81ec4
2010-09-29 18:46:22 -04:00
Matt Woodrow 28c345d48a Bug 598538 - Reset the viewport rect when we create a temporary VBO, which can be bigger than the viewport! r=vlad a=b 2010-09-29 14:36:32 -04:00
Chris Jones 374601de26 Bug 599359, part 2: When we allocate a new front/back buffer pair, pre-fill the new front buffer with what we painted into the back buffer to stabilize the first Swap(). r=vlad a=blocking-fennec 2010-09-28 17:05:30 -05:00
Chris Jones 6bee72a35f Bug 599359, part 1: Fix a minor bug with previous Swap() implementation that was irrelevant in practice. r=vlad 2010-09-28 17:05:30 -05:00
Chris Jones 59ae652264 Bug 599562: Allocate cross-process layers surfaces from SyS V shm instead of /dev/shm to avoid being arbitrarily capped on maemo5/N900. r=stuart a=blocking-fennec 2010-09-27 19:59:43 -05:00
Bas Schouten 818de29c8d Bug 594779: Bail out when texture creation fails, to avoid NULL pointer dereference. r=vlad a=blocking-beta7 CLOSED TREE 2010-09-27 04:57:40 +00:00
Chris Jones d4a32df6d8 Bug 591555: Shadow layer resources are scoped to their PLayerParent, of which there may be many for one layer manager, so move resource management down into Shadow*Layer. r=joe sr=roc 2010-09-24 17:41:31 -05:00
Oleg Romashin 30a25e1f73 Bug 598531 - Fennec Remote Layer rendering is slow on N900 (pixman hitting slow path). r=roc a=blocking-fennec 2010-09-23 20:09:00 -07:00
Chris Jones 61c93dad95 Bug 597336, part 3: Generalize the not-using-X-compositing check when creating shadow-layer backing surfaces. r=karl 2010-09-23 20:00:06 -05:00
Oleg Romashin 8bf2f65db7 Bug 598531 - pixman hitting slow path. disable scaling. r=roc a=blocking-fennec 2010-09-23 16:06:27 -07:00
Joe Drew 770a81fa76 Bug 596784 - Only draw the rects of the visible region, not the bounds. r=vlad a=b 2010-09-22 14:17:01 -04:00
Vladimir Vukicevic 82a36cf46a Bug 596784 - Implement faster scrolling for GL thebes layers. r=roc,mattwoodrow a=b 2010-09-21 15:41:24 -04:00
Chris Jones e9e6c123e5 Bug 598265: Initialize BasicImageLayer::mSize. r=roc a=blocking-fennec 2010-09-21 01:57:25 -05:00
Matt Woodrow ea68b8ef10 Bug 596050 - Set the correct GL minification/magnification filter based on the GraphicsFilter set by content. r=joe a=b 2010-09-21 12:32:17 -04:00
Chris Jones 09cd99ac19 Bug 596240: Don't front() on an empty vector. r=joe a=blocking-2.0 2010-09-20 14:40:30 -05:00
Benoit Jacob 2cfb719a2a Bug 596907 - Fix glScissor calls in ContainerLayerOGL - r+a=shaver 2010-09-18 11:59:06 -04:00
Oleg Romashin 0332671ba9 Bug 597565 - Qt Port crashes on N900 (-graphicssystem raster by default). r=karlt a=npodb 2010-09-17 16:32:16 -07:00
Chris Jones 4d10273aee Bug 593175, part 3: Let CreateOffscreenSurface() decide which image format to use on X11 platforms. r=karl a=blocking-fennec 2010-09-17 14:15:18 -05:00
Doug Turner d03c15e824 Bug 593175, part 2: Use 5-6-5 opaque gfxSharedImageSurfaces on mobile platforms. r=karl a=blocking-fennec 2010-09-16 16:24:20 -05:00
Chris Jones d5d1794564 Bug 593175, part 1: Request backing buffers with gfxContentType rather than gfxImageFormat. r=karl a=blocking-fennec 2010-09-16 16:24:17 -05:00
Chris Jones b10bbc722f Bug 593175, part 0: Allow forcing use of Shmem-backed cross-process layers in DEBUG builds. r=karl a=blocking-fennec 2010-09-14 00:51:49 -05:00
Robert O'Callahan edffdd77c1 Bug 584494. Avoid clipping in BasicThebesLayer when not necessary. r=cjones a2.0=blocking2.0:betaN 2010-09-17 12:29:52 -07:00
Bas Schouten 8385c77c3e Bug 597320: Blacklist NVidia Optimus technology drivers for d3d9 layers. r=jrmuizel a=blocking-beta7 2010-09-17 18:57:46 +00:00
Oleg Romashin a0276bc2ac Bug 576437 - CreateOffscreenSurface should not silently translate ImageFormat24 into ImageFormat16_565. r=joe a=blocking2.0 2010-09-16 14:34:53 -07:00
Joe Drew edaafea0fe Fix mismerge. a=bustage 2010-09-17 11:17:32 -07:00
Matt Woodrow 81dfaaffd7 Bug 595938 - Garbage/overdrawing when using -moz-transform: Fix the clip rect before clearing the FBO. r=vlad a=b
--HG--
extra : transplant_source : %FE%06%7Bq%F1%AE%F58%FFW%0Fr%A6W%DA%2B%8B%08%C1%89
2010-09-13 21:30:00 -07:00
Matt Woodrow c4ea3060d4 Bug 594643 - Fix typo in ImageLayerOGL::SetData. r=joe a=b
--HG--
extra : transplant_source : %B3%DC%24%EF%E8X%7D%C3A8%9F%9F%B2%C3o%87%B0d%24T
2010-09-13 14:01:28 -07:00
Benoit Jacob a37e73a500 Bug 594874 - GfxInfo blocklist needs to be used by D3D, WebGL, OpenGL - 2/3 - r=vladimir 2010-09-16 12:45:19 -04:00
Benoit Jacob 39afae6c37 Bug 594874 - GfxInfo blocklist needs to be used by D3D, WebGL, OpenGL - 1/3 - r=vladimir 2010-09-16 12:45:15 -04:00
Benoit Jacob ee1bbcd8a8 Bug 596907 - Fix glScissor calls in ContainerLayerOGL - r=vladimir 2010-09-16 12:45:08 -04:00
Oleg Romashin 2d8c812a3a Bug 596769 - ShadowLayers not expecting Layer create/destruction during transaction. r=jones.chris.g a=approval2.0 2010-09-15 21:49:31 -07:00
Chris Jones 2d3753c877 Merge m-c --> cedar 2010-09-15 18:28:06 -05:00
Bas Schouten 8915449d83 Bug 596489 - Part 3: Recreate the layer manager when a device is removed. r=roc 2010-09-15 22:16:02 +00:00
Bas Schouten 3b157b7a00 Bug 596489 - Part 2: Expose when a device manager is removed. r=jrmuizel 2010-09-15 22:15:59 +00:00
Bas Schouten ade2ddb365 Bug 596489 - Part 1: Refactor DeviceManager ownership. r=jrmuizel 2010-09-15 22:15:56 +00:00
Bas Schouten 90d4b99c8d Bug 596419: Fix up layer destruction scheme. r=jrmuizel 2010-09-15 22:15:49 +00:00
Chris Jones 06ec6c6ee8 Merge m-c --> cedar 2010-09-15 16:44:30 -05:00
Chris Jones 166112f466 Bug 596542: Repainting a thebes layer with a non-1.0 resolution shouldn't (always) force buffer reallocs. r=roc 2010-09-15 16:03:13 -05:00
Chris Jones 2b12976c51 Merge m-c --> cedar 2010-09-14 14:28:39 -05:00
Chris Jones 7c1181632c Bug 570625, part 9: When updating thebes layers, swap out back/front buffers and invalidate the newly-painted region on the old front buffer. r=roc sr=shaver 2010-09-14 00:23:08 -05:00
Chris Jones 61979f9825 Bug 570625, part 8: Share Xlib surfaces across processes on X11 platforms. r=karl 2010-09-14 00:23:08 -05:00
Chris Jones 0cb7bd0628 Bug 570625, part 5: Mostly mechanically switch BasicShadowable/ShadowThebes over to the new SurfaceDescriptor API. r=roc 2010-09-14 00:23:08 -05:00
Chris Jones 433a837370 Bug 570625, part 4: Put support in place for allocating platform-specific backing buffers for IPC layers, and synchronizing properly during transactions (i.e. XSync() on X11). The platform-specific interfaces just default to Shmem in this patch. r=karl sr=shaver 2010-09-14 00:23:08 -05:00
Chris Jones f7bf383e15 Bug 570625, part 3: Add a SurfaceDescriptor IPDL union over all surfaces share-able to another process. r=roc sr=shaver 2010-09-14 00:23:08 -05:00
Chris Jones 413f96b038 Bug 570625, part 2: Add a SurfaceDescriptorX11 datatype that abstracts what's needed to share an Xlib surface to another process. r=karl sr=shaver 2010-09-14 00:23:08 -05:00
Chris Jones 7e002c08ab Bug 570625, part 1: Only use back/front buffers for BasicThebesLayer and update back->front in the compositor process. r=roc sr=shaver 2010-09-14 00:23:08 -05:00
Chris Jones f5894e967e Bug 570625, part 0: Don't throw out buffers when scrolling with a resolution applied. r=roc 2010-09-14 00:23:08 -05:00
Chris Jones 3f1c9a5b8a Bug 570625, part -1: ThebesLayerBuffer::SetBuffer needs to hold its ref to the old buffer. r=roc 2010-09-14 00:23:08 -05:00
Chris Jones d8f9eb58aa Merge m-c --> cedar 2010-09-13 19:24:09 -05:00
Bas Schouten dbb710b503 Bug 595154 - Part 4: Bail when texture lock fails. r=vlad a=b 2010-09-14 12:57:25 +02:00
Bas Schouten 9ff24ead27 Bug 595154 - Part 3: Recreate/update CanvasLayerD3D9 texture when needed. r=vlad 2010-09-14 12:57:03 +02:00
Bas Schouten 05782c80c6 Bug 595154 - Part 2: Clean CanvasLayerD3D9 resources when needed. r=jrmuizel 2010-09-14 12:56:56 +02:00
Bas Schouten 55b8afc7e5 Bug 595154 - Part 1: Generalize cleaning layer resources. r=jrmuizel 2010-09-14 12:56:39 +02:00
Oleg Romashin 8c88c718ff Merge with mozilla central 2779c55431a4, no conflicts 2010-09-10 22:32:25 -07:00
Vladimir Vukicevic fba30f2714 b=594892; [gl] force a real call to MakeCurrent after a widget is resized; r*=joe/jeff
* * *
b=594892; merge fail
2010-09-09 16:40:29 -04:00
Matt Woodrow 3d2ced7b82 b=594642; [gl] use scissor rect when drawing layers; r=vlad 2010-09-09 16:40:15 -04:00
Vladimir Vukicevic c4d22f2b89 b=594567; teach EGL backend about ANGLE for Layers; r=jrmuizel 2010-09-09 16:40:11 -04:00
Doug Turner e41b48044c Bug 594080 - On mobile, use nearest-neighbor interpolation when drawing BasicThebesLayers with a scale transform. r=roc a=cjones 2010-09-09 12:33:04 -07:00
Chris Jones 3b953ced69 Merge m-c --> cedar 2010-09-08 17:25:30 -05:00
Vladimir Vukicevic 0031e81e55 Bug 592462 - fix fullscreen video with OpenGL on Maemo with Qt. r=jmuizelaar. a=blocking-fennec
--HG--
extra : rebase_source : 765979328a5337242c9b7a8bd837b92ed2ed4062
2010-09-09 16:41:02 -07:00
Jeff Muizelaar acdcaa5b39 Bug 594187. ogl: Handle 0x0 widgets in Render(). r=vlad
OpenGL doesn't like drawing to things without area so just bail.
2010-09-07 19:59:47 -04:00
Chris Jones 7688c45243 Merge m-c --> cedar 2010-09-07 17:35:15 -05:00
Vladimir Vukicevic 1a13eb330a b=592462; [gl] followup, clear scissor region we're about to repaint; r=jrmuizel 2010-09-07 17:31:40 -04:00
Bas Schouten ddb91c6769 Bug 594624: Toss out surfaces on content type changes. r=jrmuizel a=blocking-beta6 2010-09-12 21:38:47 +02:00
Chris Jones a2c93af9b1 Bug 590294, part 8: Implement resolution-scaled drawing for basic layers. r=roc 2010-09-03 15:10:46 -05:00
Chris Jones f502883ffc Bug 590294, part 7: Add APIs for recording the resolution at which ThebesLayers were painted and for requesting resolution-scaled drawing for basic layers. r=roc sr=vlad 2010-09-03 15:10:46 -05:00
Chris Jones 0c28df6c86 Bug 590294, part 3: Keep ContainerLayer type info around in a few places. r=roc 2010-09-03 15:10:45 -05:00
Chris Jones 6480591e23 Bug 590294, part 2: Add a ContainerLayer attribute FrameMetrics that stores relevant information from layout/ on the root layer. r=roc sr=vlad 2010-09-03 15:10:45 -05:00
Chris Jones 1ef9f416ce Merge m-c --> cedar
--HG--
rename : layout/style/test/hover_helper.html => layout/style/test/chrome/hover_helper.html
rename : layout/style/test/test_hover.html => layout/style/test/chrome/test_hover.html
2010-09-03 14:07:55 -05:00
Matt Woodrow 95051089f9 b=593273, fix d3d9 layer manager crash on reftest shutdown, r=bas a=b 2010-09-03 14:07:59 -04:00
Joe Drew dbb9a82fc2 Bug 590841 - Add the ability for a DOM window to let us know when it's accelerated, and use that value in about:support. r=gavin sr=roc a=blocking2.0:beta6+ 2010-09-03 14:01:05 -04:00
Robert O'Callahan 418edf53e3 Fixing bustage, a=me 2010-09-03 16:20:23 +12:00
Chris Jones f2ee7d2dd8 Followup to bug 570294: Need to use OPERATOR_SOURCE for copying surface->surface. r=roc 2010-09-02 23:14:12 -05:00
Matt Woodrow 0fe2dd0835 Bug 590367 - Render RGB d2d layers with a RGBA surface and shader r=Bas, a=blocking2.0 2010-09-03 15:51:04 +12:00
Matt Woodrow e4a9dac062 Bug 593224 - ContainerLayerD3D9 can reset the clip rect r=Bas, a=blocking2.0 2010-09-03 15:50:53 +12:00
Matt Woodrow b5fb6a703c Bug 590735 - D3D9/OGL Image layers need to round up on uneven sized YCbCr images r=joe, a=blocking2.0 2010-09-03 15:50:42 +12:00
Matt Woodrow 47a5284310 Bug 589632 - Fix LayerManagerD3D9 debug output r=Bas, a=blocking2.0 2010-09-03 15:50:29 +12:00
Chris Jones 81e7d1c97a Bug 593248: Release old shmem surfaces on realloc. r=joe 2010-09-02 22:05:01 -05:00
Robert O'Callahan d070f2c342 Bug 579276. Part 13: Use CONTENT_COLOR for temporary surface in nonretained path, if possible. r=cjones 2010-09-03 14:31:42 +12:00
Robert O'Callahan ef6a01f479 Bug 579276. Part 12: Clip all drawing to the visible region on the nonretained path. r=cjones 2010-09-03 14:31:42 +12:00
Robert O'Callahan dc9e28789b Bug 579276. Part 11: Move ClipToRegion to gfxUtils. r=vlad 2010-09-03 14:31:42 +12:00
Robert O'Callahan c4801219d7 Bug 579276. Part 7: Don't retain transparent layers that would hurt text rendering. r=cjones 2010-09-02 21:18:41 +12:00
Robert O'Callahan be2d05f9a8 Bug 579276. Part 3: Change Set/IsOpaqueContent API to a more generic Get/SetContentFlags API. r=cjones,sr=vlad 2010-09-02 21:18:40 +12:00
Robert O'Callahan c649008789 Bug 579276. Part 1: Change layer/layermanager user data API to use keys and values. r=cjones,sr=vlad 2010-09-02 21:18:39 +12:00
Bas Schouten 575f0f6eee Bug 596152: Clear intermediate textures used with container layers. r=jrmuizel a=blocking-beta7 2010-09-15 17:00:42 +00:00
Robert O'Callahan c06ae165fe Bug 593361. Part 2. Don't bother trying to draw directly to the backbuffer instead of retaining ThebesLayer, if the backbuffer is transparent anyway. r=tnikkel
--HG--
extra : rebase_source : 4a8d5833d6fab79147389a7c2f49f8653e90b9c5
2010-09-06 15:02:43 +12:00
Robert O'Callahan 349f37cc97 Bug 593361. Part 1: Limit the region of a non-retained layer we repaint to the clip region of the destination buffer. r=tnikkel
--HG--
extra : rebase_source : 20bea1e114bffe61bb621e7e99757cccd9fc98a0
2010-09-06 15:00:10 +12:00
Bas Schouten f7a7d600cc Bug 590695: Don't check mDeviceEx when it doesn't exist. r=vlad a=blocking-beta6 2010-09-05 18:59:57 +02:00
Joe Drew a6a9e1fd22 Bug 593618 - Because we always paint the whole texture we're drawing to, we need to validate and draw the _bounds_ of the visible region, not just the visible region's subrectangles. r=bas a=blocking2.0:beta6+ 2010-09-05 01:31:19 -04:00
Bas Schouten 8ae2d33728 Bug 592024 - Don't clear shared D3D9/D2D surfaces in cairo_d2d_create_for_handle because D3D9 and D2D need a lot of synchronization points. Instead, put a clear in DrawRegion, which already has synchronization points. r=jrmuizel a=blocking 2010-09-02 15:07:26 -04:00
Matt Woodrow aaa21a504a Bug 587678 - Implement ImageLayerOGL::GetCurrentAsSurface for YUV surfaces. r=bas a=blocking2.0:beta6+ 2010-09-03 23:27:04 -04:00
Matt Woodrow 881a4c21e1 Bug 593530 - Don't leak the DeviceManagerD3D9 if initializing it fails. r=joe a=blocking2.0:beta6+ 2010-09-03 23:21:26 -04:00
Chris Jones 76dde2a6bc Merge m-c --> cedar
--HG--
rename : layout/style/test/test_hover.html => layout/style/test/hover_helper.html
2010-08-31 00:35:03 -05:00
Atul Apte 3551ca8cb1 Enable basic stereoscopic rendering support for D3D9 layers with 3D Vision. r=bas 2010-08-26 20:44:53 +00:00
Bas Schouten a98eb3997a Fix line endings in DeviceManagerD3D9. 2010-08-26 20:44:11 +00:00
Oleg Romashin 6e925ce155 Merged with mozilla-central: 00186bbb7459 2010-08-24 14:21:48 -07:00
Chris Jones f22350f2bc Bug 570620, part o: Connect the dots to enable drawing remote frames for <browser remote>: create the frame on the content side, insert a display item for it in compositor-side SubdocFrame, and use IPC-enabled layer managers to make it all work. r=mats sr=roc 2010-08-20 18:24:41 -05:00
Chris Jones 0e3d3aaf97 Bug 570620, part n: Hook layout/ipc into the build system, and integrate PRenderFrame into the PBrowser family. sr=bsmedberg 2010-08-20 18:24:41 -05:00
Chris Jones b4c4c02965 Bug 570620, part i: Implement ShadowLayer::Disconnect() for common-case shutdown, and ShadowableLayer::Disconnect() for emergency-case shutdown. r=vlad 2010-08-20 18:24:41 -05:00
Chris Jones 16b9e25f92 Bug 570620, part h: Add a Layer::Disconnect interface. sr=vlad 2010-08-20 18:24:41 -05:00
Chris Jones 03c4f01c8b Bug 570620, part g: Fix bone-headed bugs with shadowable layers, remove unnecessary MOZ_LAYER_DECL_NAME()s, and have the "shadow layer manager" side keep a "shadow root" rather than setting the "real" root. r=vlad 2010-08-20 18:24:41 -05:00
Bas Schouten a35172c9e2 Bug 593860: Only render parts of a layer in the visible region. r=jrmuizel a=blocking-betaN 2010-09-08 05:27:38 +02:00
Bas Schouten 9f3321e5ee Bug 593268 - Part 3: Implement CreateOptimalSurface for D3D9 layers and use interop in CanvasLayerD3D9. r=jrmuizel 2010-09-08 05:27:36 +02:00
Bas Schouten 2d7db6d80e Bug 593268 - Part 1: Expose LayerManager::CreateOptimalSurface. r=vlad sr=roc 2010-09-08 05:27:29 +02:00
Oleg Romashin 8aa93601ef Bug 578649 - ThebesLayerOGL using wrong shader program on QT GL build. r=vlad,a=blocking-fennec 2010-09-07 17:37:34 -07:00
Matt Woodrow 0e4edc0417 Bug 505115 - Part 1 - Fix OpenGL container layer to support transforming children.r=vlad,a=roc 2010-09-07 17:35:50 -07:00
Vladimir Vukicevic 79b654fd1a comments only, updating license text. a=b 2010-09-13 13:45:20 -07:00
Robert O'Callahan cfb7f48514 Backing out bug 579276. a=me 2010-09-02 23:14:25 +12:00
Robert O'Callahan df7ddc69f9 Fixing bustage, a=me 2010-09-02 22:15:17 +12:00
Robert O'Callahan 2fb2fc7212 Bug 579276. Part 7: Don't retain transparent layers that would hurt text rendering. r=cjones 2010-09-02 21:18:41 +12:00
Robert O'Callahan 93076398d1 Bug 579276. Part 3: Change Set/IsOpaqueContent API to a more generic Get/SetContentFlags API. r=cjones,sr=vlad 2010-09-02 21:18:40 +12:00
Robert O'Callahan bc14460ac4 Bug 579276. Part 1: Change layer/layermanager user data API to use keys and values. r=cjones,sr=vlad 2010-09-02 21:18:39 +12:00
Jeff Muizelaar 49feffb4b6 Bug 589395. d3d9: adjust vertex locations in the vertex shader. r=bas,a=blocking
Previously we adjusted the vertex locations directly, now
they have an implicit adjustment that happens in the vertex shader.
This should let us ignore the pixel center differences between
opengl/d3d9/d3d10.
2010-09-01 17:10:51 -04:00
Jeff Muizelaar 981b6640f0 Bug 592458. Generate the d3d9 shaders using a script. r=bas,a=joe
This isn't part of the build because we don't want to depend
on the directx sdk (fxc) for building.
2010-09-01 17:02:02 -04:00
Matt Woodrow 2441967f84 Bug 589978 - [D3D9] 2D canvas layers always have premultiplied alpha. r=bas, a=beta5+ 2010-08-23 20:58:27 -07:00
Matt Woodrow 56e9a9a98a Bug 589755 - [D3D9] Canvas layer uses incorrect source with d2d surfaces. r=bas, a=beta5+ 2010-08-23 20:57:59 -07:00
Matt Woodrow a4b8d433d4 Bug 589097 - [D3D9] Incorrect alpha blending on canvas layers. r=bas, a=beta5+ 2010-08-23 20:57:22 -07:00
Matt Woodrow 35a7b7fe11 Bug 588212 - LayerManagerD3D9 PaintToTarget uses wrong render target. r=bas, a=beta5+ 2010-08-23 20:56:49 -07:00
Karl Tomlinson b1ef0bf840 backout dbbb9575aae1 due to build issues in some configurations b=577743 2010-08-23 16:27:49 +12:00
Chris Double d2b3e251e9 Bug 577743 - Scale videos at YCbCr to RGB conversion time - r=roc a=blocking 2010-08-23 13:47:33 +12:00
Bas Schouten 77a6b11872 Fix bustage from changeset 8c767b950381. a=bustage 2010-08-20 05:58:44 +02:00
Bas Schouten cb632a9c1b Bug 588690 - Part 1: Expose ClearCachedResources on BasicLayerManagers. r=roc 2010-08-20 05:40:49 +02:00
Vladimir Vukicevic 0fff021bbd b=586043; GL layer manager should use GetClientBounds, not GetBounds; r=bas 2010-08-14 10:52:16 -07:00
Jacek Caban aac1a9302f Bug 586279 - Broken DeviceManagerD3D9.h compilation on mingw r=bas.schouten a=joe
--HG--
extra : rebase_source : c3c6d40e0adbfa705759cb238ea10fc0e12e0d4a
2010-08-14 16:43:14 +02:00
Bas Schouten 2d2753ac80 Bug 586562: Always use A8R8G8B8 for our swap chains. Fixes black chrome for NVidia. r=vlad a=mossop 2010-08-12 18:25:12 +00:00
Bas Schouten 4055e82557 Bug 586159: Use SYSTEMMEM textures instead of OffscreenPlainSurfaces, better supported on NVidia. r=vlad 2010-08-12 18:25:09 +00:00
Justin Wood 0b585cc0a7 bug 586187 - Build failure in LayerManagerD3D9 due to --disable-ipc not also defining Unicode, r=khuey a=bustage 2010-08-11 18:05:14 +02:00
Bas Schouten 3ef26ae8e5 Bug 584539: Part 3 - Use D2D interop when using the D3D9 layer manager. r=vlad a=dougt 2010-08-11 02:36:05 +02:00
Bas Schouten 93ae62051a Bug 584754: Use the D3D9Ex device where available. r=vlad 2010-08-11 01:39:45 +02:00
Bas Schouten 9ea6e6543e Bug 585248: Use a single device for all LayerManagerD3D9's. r=vlad 2010-08-11 01:32:45 +02:00
Bas Schouten 4138c802e8 Bug 578384: Clear to to transparent black instead of solid white. r=jrmuizel 2010-08-11 01:32:43 +02:00
Vladimir Vukicevic d0c8473b6b b=583838; add ANGLE/D3D WebGL support - part 4 - allow CanvasLayerOGL to work with different-type GL contexts; r=bas 2010-08-06 22:09:18 -07:00
Vladimir Vukicevic ee64634b3d b=583844; use correct pack alignment when reading via ReadPixels; also use EXT_bgra correctly; r=bjacob 2010-08-06 22:09:18 -07:00
Vladimir Vukicevic 99c28af205 b=583838; add ANGLE/D3D WebGL support - part 2 - build EGL on windows and try to use it; r=bjacob 2010-08-06 22:09:18 -07:00
Vladimir Vukicevic b524227b49 b=574481; fix layers lifetime issues; part 4 - fix other layers; r=bas 2010-08-06 22:09:18 -07:00
Vladimir Vukicevic df9d6bc2dd b=574481; fix layers lifetime isues; part 3 - add lifetime mgmt to GL layers; r=bas 2010-08-06 22:09:18 -07:00
Vladimir Vukicevic 956826cf56 b=574481; fix layers lifetime issues; part 1 - add API; r=roc 2010-08-06 22:09:17 -07:00
Robert O'Callahan 1524120859 Bug 579349. Track the 'drawn region' of content in layers, whhich ignores visibility, and use it to determine which layer a display item should be placed in. r=tnikkel 2010-08-02 15:06:58 +12:00