Vladimir Vukicevic
18c7818ede
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
6656705ec5
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
c8b0bb098e
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
41c36793bb
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
32e1df6ff8
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
2215e35a5d
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
0a67be7b51
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
5b01c5e03f
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
703c658a1c
Bug 562424: Switch IPDL interfaces to infallible TArray. r=bent a=blocking
2010-11-08 20:49:00 -06:00
Robert O'Callahan
669ff953e8
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
eb10edeff3
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
24de518aff
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
06749b4eac
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
d888a0f39f
Bug 604571 - Copying frames from <video> to <canvas> with drawImage glitches - r+a=vladimir
2010-11-05 15:57:58 -04:00
Oleg Romashin
8ada90638c
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
0eea5c252a
Bug 609678 - Fix memory leak in SetBackingBuffer. r=cjones a=blocking-fennec
2010-11-05 09:37:40 -07:00
Chris Jones
cfafc2d132
Bug 603885, part 8: Add logging for buffer creation and readback operations. r=roc
2010-11-05 02:17:07 -05:00
Chris Jones
5d4e5b42c3
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
288dc3e604
Bug 603885, part 6: Implement swap-and-readback. r=roc
2010-11-05 02:17:07 -05:00
Chris Jones
8e5431c6bc
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
26eb3d0bcb
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
ec4a82019e
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
db22ab9350
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
dde42e33c1
Bug 606411: Remove ImageContainerD3D10 dependencies on LayerManagerD3D10. r=roc a=blocking-final
2010-10-26 00:24:57 +02:00
Robert O'Callahan
260e34f8ed
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
911e5dfba9
Bug 584494: Avoid creating intermediate surfaces in D3D9 layers. r=roc a=blocking-betaN
2010-10-21 22:41:04 +02:00
Bas Schouten
f2b22b6625
Bug 603071 - Part 2: Fix race condition in PlanarYCbCrImageD3D10. r=roc a=blocking-beta8
2010-10-19 21:08:34 +02:00
Bas Schouten
3e8591afde
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
a6c66f0992
Bug 546514: Address D3D10 Layers backend review comments. r=jrmuizel
2010-10-19 21:08:27 +02:00
Chris Jones
4b82fba0c3
Fix --disable-libxul bustage from bug 602431 and bug 602428. a=bustage
2010-10-13 18:36:44 -05:00
Chris Jones
ad5cce517f
Bug 602428, part 6: Turn on real allocators for shadow OGL layers. r=vlad
2010-10-13 17:55:45 -05:00
Chris Jones
51fc2de345
Bug 602428, part 5: Implement HW-decelerating ShadowContainerLayerOGL. r=vlad
2010-10-13 17:55:45 -05:00
Chris Jones
dd6710b8fc
Bug 602428, part 4: Implement HW-decelerating ShadowThebesLayerOGL. r=vlad
2010-10-13 17:55:45 -05:00
Chris Jones
ace8a9c91c
Bug 602428, part 3: Implement HW-decelerating ShadowImageLayerOGL. r=joe
2010-10-13 17:55:45 -05:00
Chris Jones
f0dd48964f
Bug 602428, part 2: Implement HW-decelerating ShadowCanvasLayerOGL. r=vlad
2010-10-13 17:55:45 -05:00
Chris Jones
6f8a6ea683
Bug 602428, part 1: Implement HW-decelerating ShadowColorLayerOGL. r=joe
2010-10-13 17:55:45 -05:00
Chris Jones
55a81f3a07
Bug 602428, part 0.5: Add dummy allocators for shadow OGL layers. r=vlad
2010-10-13 17:55:45 -05:00
Chris Jones
b9441008dc
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
4c54015a6b
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
57d3708463
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
72ebe49a58
Bug 602431, part 3: Add a ShadowContainerLayer base class and BasicShadowContainerLayer implementation. sr=roc
2010-10-13 17:55:45 -05:00
Chris Jones
0f138edde0
Bug 602431, part 2: Add a ShadowColorLayer base class and BasicShadowColorLayer implementation. sr=roc
2010-10-13 17:55:45 -05:00
Chris Jones
08140e03cb
Bug 60431, part 1: Add a ShadowLayer base class. r=roc sr=vlad
2010-10-13 17:55:45 -05:00
Chris Jones
4c32a6c59e
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
910d74f7e0
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
b51dfd9724
Bug 604058: Shadowable layers might not have shadows. r=joe a=blocking-betaN
2010-10-13 14:22:17 -05:00
Benoit Jacob
9840c2c44d
Bug 602659 - move some mutex locking - r=roc
2010-10-12 17:01:59 -04:00
Benjamin Stover
cc825b09f6
Bug 600908 Always retain shadowable layers r=cjones a=2.0b2+
2010-10-11 11:36:20 -07:00
Bas Schouten
50d248afd4
Bug 601928: Check result of create texture for tmpTexture. r=jrmuizel a=blocking-beta8
2010-10-08 18:02:53 +02:00
Bas Schouten
4fe7e27b52
Bug 601785: Use true pointer size for x64 builds. r=vlad a=approval2.0
2010-10-08 18:02:41 +02:00
Bas Schouten
9f234ad045
Bug 601053: Prevent DXGI from handling alt+enter. r=vlad a=blocking-beta8
2010-10-08 18:02:39 +02:00
Benoit Jacob
764d885972
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
20a45b4898
Backed out changeset 638ce363a9b1
2010-10-06 17:05:19 -04:00
Benoit Jacob
b5bc302c89
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
31056ac783
b=600863; disable framebuffer blit optimization for TEXTURE_RECTANGLE targets; r=joe a=b7
2010-10-01 20:56:56 -07:00
Bas Schouten
15fb5328a2
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
1a307b788a
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
67888ccd42
Bug 546514 - Part 4: Build D3D10 layers. r=vlad
2010-10-01 00:53:51 +02:00
Bas Schouten
176e99bd57
Bug 546514 - Part 3: Add D3D10 layers code. r=vlad
2010-10-01 00:53:49 +02:00
Joe Drew
bbb5aece59
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
934603a171
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
678312b9e1
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
33cc73ab7e
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
03e574157d
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
7706293fb5
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
f8b4169a1c
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
fc88947b5d
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
31344283ca
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
e01fadb4cc
Bug 598531 - pixman hitting slow path. disable scaling. r=roc a=blocking-fennec
2010-09-23 16:06:27 -07:00
Joe Drew
40d107bd4e
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
0a2aa77b6f
Bug 596784 - Implement faster scrolling for GL thebes layers. r=roc,mattwoodrow a=b
2010-09-21 15:41:24 -04:00
Chris Jones
3a1a617c6f
Bug 598265: Initialize BasicImageLayer::mSize. r=roc a=blocking-fennec
2010-09-21 01:57:25 -05:00
Matt Woodrow
c9c6ee11c6
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
1a07a8c8df
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
162bd97e20
Bug 596907 - Fix glScissor calls in ContainerLayerOGL - r+a=shaver
2010-09-18 11:59:06 -04:00
Oleg Romashin
d5f22b4e04
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
6c9bacbfa6
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
ab70a6a3a6
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
b5f4f77a8e
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
ab9691cd8f
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
36f52dc8db
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
9720e04483
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
7ab9f25f57
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
171200229b
Fix mismerge. a=bustage
2010-09-17 11:17:32 -07:00
Matt Woodrow
5365430c59
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
29577d4de5
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
ab08d9888f
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
cd99425493
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
ff872b84ee
Bug 596907 - Fix glScissor calls in ContainerLayerOGL - r=vladimir
2010-09-16 12:45:08 -04:00
Oleg Romashin
fb56a869f7
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
0a1ec83bc9
Merge m-c --> cedar
2010-09-15 18:28:06 -05:00
Bas Schouten
3a223b0317
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
bf697e7d43
Bug 596489 - Part 2: Expose when a device manager is removed. r=jrmuizel
2010-09-15 22:15:59 +00:00
Bas Schouten
a41f88e4e6
Bug 596489 - Part 1: Refactor DeviceManager ownership. r=jrmuizel
2010-09-15 22:15:56 +00:00
Bas Schouten
910c08e31f
Bug 596419: Fix up layer destruction scheme. r=jrmuizel
2010-09-15 22:15:49 +00:00
Chris Jones
2bb3bb3e9c
Merge m-c --> cedar
2010-09-15 16:44:30 -05:00
Chris Jones
242dbbc943
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
110d280286
Merge m-c --> cedar
2010-09-14 14:28:39 -05:00
Chris Jones
c8b26707ee
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
5c7d89b4f0
Bug 570625, part 8: Share Xlib surfaces across processes on X11 platforms. r=karl
2010-09-14 00:23:08 -05:00
Chris Jones
8d2b6d00c9
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
c1ddf7a569
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
d012cf36a8
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
00f365ac1f
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
95660d9348
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
ab37ed636b
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
737172e9d9
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
ee72f210ea
Merge m-c --> cedar
2010-09-13 19:24:09 -05:00
Bas Schouten
e4f9c60a96
Bug 595154 - Part 4: Bail when texture lock fails. r=vlad a=b
2010-09-14 12:57:25 +02:00
Bas Schouten
419fbbb7b3
Bug 595154 - Part 3: Recreate/update CanvasLayerD3D9 texture when needed. r=vlad
2010-09-14 12:57:03 +02:00
Bas Schouten
260c735044
Bug 595154 - Part 2: Clean CanvasLayerD3D9 resources when needed. r=jrmuizel
2010-09-14 12:56:56 +02:00
Bas Schouten
e7f5acb977
Bug 595154 - Part 1: Generalize cleaning layer resources. r=jrmuizel
2010-09-14 12:56:39 +02:00
Oleg Romashin
497f2db326
Merge with mozilla central 2779c55431a4, no conflicts
2010-09-10 22:32:25 -07:00
Vladimir Vukicevic
cfe8913fec
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
0a385ec477
b=594642; [gl] use scissor rect when drawing layers; r=vlad
2010-09-09 16:40:15 -04:00
Vladimir Vukicevic
61fb3a126f
b=594567; teach EGL backend about ANGLE for Layers; r=jrmuizel
2010-09-09 16:40:11 -04:00
Doug Turner
259afcafb6
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
4820da2166
Merge m-c --> cedar
2010-09-08 17:25:30 -05:00
Vladimir Vukicevic
c9440f4f86
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
8feca90288
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
9e23f35349
Merge m-c --> cedar
2010-09-07 17:35:15 -05:00
Vladimir Vukicevic
1ef839a9f7
b=592462; [gl] followup, clear scissor region we're about to repaint; r=jrmuizel
2010-09-07 17:31:40 -04:00
Bas Schouten
c8c48218d9
Bug 594624: Toss out surfaces on content type changes. r=jrmuizel a=blocking-beta6
2010-09-12 21:38:47 +02:00
Chris Jones
29a74cf7e8
Bug 590294, part 8: Implement resolution-scaled drawing for basic layers. r=roc
2010-09-03 15:10:46 -05:00
Chris Jones
041882a123
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
c3e279df85
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
2aaf1a0c12
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
6e7a7cd71a
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
80b5ce86e3
b=593273, fix d3d9 layer manager crash on reftest shutdown, r=bas a=b
2010-09-03 14:07:59 -04:00
Joe Drew
3ef9ce1660
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
ea9f2b9fe9
Fixing bustage, a=me
2010-09-03 16:20:23 +12:00
Chris Jones
88720785f0
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
8188c29e37
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
47a1df4aa3
Bug 593224 - ContainerLayerD3D9 can reset the clip rect r=Bas, a=blocking2.0
2010-09-03 15:50:53 +12:00
Matt Woodrow
da3df6842e
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
ca68b51b78
Bug 589632 - Fix LayerManagerD3D9 debug output r=Bas, a=blocking2.0
2010-09-03 15:50:29 +12:00
Chris Jones
ffd2e6087e
Bug 593248: Release old shmem surfaces on realloc. r=joe
2010-09-02 22:05:01 -05:00
Robert O'Callahan
33df3b813d
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
faf8ba3044
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
fa118e17df
Bug 579276. Part 11: Move ClipToRegion to gfxUtils. r=vlad
2010-09-03 14:31:42 +12:00
Robert O'Callahan
5cc76df7ce
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
0356f8659e
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
a150e0aa96
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
5cbe2d49ec
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
122b1cde0f
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
1e8c57404f
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
06e1af0909
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
8678c3e212
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
37b1df3df1
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
580d5fa9de
Bug 587678 - Implement ImageLayerOGL::GetCurrentAsSurface for YUV surfaces. r=bas a=blocking2.0:beta6+
2010-09-03 23:27:04 -04:00
Matt Woodrow
3b8fe67d49
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
49048c0d61
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
4a9f8dee1f
Enable basic stereoscopic rendering support for D3D9 layers with 3D Vision. r=bas
2010-08-26 20:44:53 +00:00
Bas Schouten
ea31f72c26
Fix line endings in DeviceManagerD3D9.
2010-08-26 20:44:11 +00:00
Oleg Romashin
832333ab06
Merged with mozilla-central: 00186bbb7459
2010-08-24 14:21:48 -07:00
Chris Jones
9ce9433a4a
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
07e1a3fd87
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
f30d5c8a27
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
d839c7e1a5
Bug 570620, part h: Add a Layer::Disconnect interface. sr=vlad
2010-08-20 18:24:41 -05:00
Chris Jones
b59148a17a
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
ba35c84ad7
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
8f778f866d
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
b3e32db8d5
Bug 593268 - Part 1: Expose LayerManager::CreateOptimalSurface. r=vlad sr=roc
2010-09-08 05:27:29 +02:00
Oleg Romashin
736c7d9124
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
a7f65761ea
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
2df58148c6
comments only, updating license text. a=b
2010-09-13 13:45:20 -07:00
Robert O'Callahan
e31e06e790
Backing out bug 579276. a=me
2010-09-02 23:14:25 +12:00
Robert O'Callahan
c47e21d634
Fixing bustage, a=me
2010-09-02 22:15:17 +12:00
Robert O'Callahan
3f950a172c
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
09145533e8
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
14f3d9ad78
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
8854ffd842
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
46319343f4
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
5407e8a286
Bug 589978 - [D3D9] 2D canvas layers always have premultiplied alpha. r=bas, a=beta5+
2010-08-23 20:58:27 -07:00
Matt Woodrow
2bfe332d33
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
368146a42c
Bug 589097 - [D3D9] Incorrect alpha blending on canvas layers. r=bas, a=beta5+
2010-08-23 20:57:22 -07:00
Matt Woodrow
5eefa3d811
Bug 588212 - LayerManagerD3D9 PaintToTarget uses wrong render target. r=bas, a=beta5+
2010-08-23 20:56:49 -07:00
Karl Tomlinson
9262413ddf
backout dbbb9575aae1 due to build issues in some configurations b=577743
2010-08-23 16:27:49 +12:00
Chris Double
2c4ba817cd
Bug 577743 - Scale videos at YCbCr to RGB conversion time - r=roc a=blocking
2010-08-23 13:47:33 +12:00
Bas Schouten
76f1a10ae3
Fix bustage from changeset 8c767b950381. a=bustage
2010-08-20 05:58:44 +02:00
Bas Schouten
61add0e551
Bug 588690 - Part 1: Expose ClearCachedResources on BasicLayerManagers. r=roc
2010-08-20 05:40:49 +02:00
Vladimir Vukicevic
189a43e086
b=586043; GL layer manager should use GetClientBounds, not GetBounds; r=bas
2010-08-14 10:52:16 -07:00
Jacek Caban
7460ee1472
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
bd1249e5eb
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
2b819506ec
Bug 586159: Use SYSTEMMEM textures instead of OffscreenPlainSurfaces, better supported on NVidia. r=vlad
2010-08-12 18:25:09 +00:00
Justin Wood
eb068a8f7d
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
a7370d6077
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
1174dba84a
Bug 584754: Use the D3D9Ex device where available. r=vlad
2010-08-11 01:39:45 +02:00
Bas Schouten
16fbc64865
Bug 585248: Use a single device for all LayerManagerD3D9's. r=vlad
2010-08-11 01:32:45 +02:00
Bas Schouten
7f066e30d5
Bug 578384: Clear to to transparent black instead of solid white. r=jrmuizel
2010-08-11 01:32:43 +02:00
Vladimir Vukicevic
51835ef8a6
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
d362d738b4
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
c44e0d0074
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
34ff738268
b=574481; fix layers lifetime issues; part 4 - fix other layers; r=bas
2010-08-06 22:09:18 -07:00
Vladimir Vukicevic
03b79c9f14
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
2cdde897f8
b=574481; fix layers lifetime issues; part 1 - add API; r=roc
2010-08-06 22:09:17 -07:00
Robert O'Callahan
01e41cf67d
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
Chris Jones
74fa6ec682
Followup to bug 573829: Clean up a chunk of .rej vomit that just so happened to be syntactically correct and not change semantics. r=vlad
2010-07-29 14:15:13 -05:00
Vladimir Vukicevic
74195c1120
b=580345; fix up some GLESv2 vs. desktop GL differences; r=joe
2010-07-28 14:24:09 -07:00
Robert O'Callahan
348d1c7009
Bug 579262. Inherit FLAG_DESTINED_FOR_SCREEN into BasicLayer rendering. r=vlad
2010-07-24 21:37:17 +12:00