Justin Wood
fec71e5e8b
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
1a18fc5567
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
db10ec99c6
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
ee19435552
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
d1551ab7c6
Bug 674494 - Uninitialised variable in ThebesLayerBuffer::BeginPaint. r=mattwoodrow
2011-08-18 09:52:48 +12:00
Marco Bonardo
e9f12aebfc
Backout changeset 3db901280232, (Bug 666385) to investigate Mac Tdhtml regression.
2011-08-17 22:55:14 +02:00
Benoit Girard
5d8b20a8b9
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
79a9fa270a
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
3e3f6096a0
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
2bffd8531c
Bug 648484, part E: Hook d3d9 shadow layers up to new system. r=BenWa
2011-07-06 13:29:27 -04:00
Chris Jones
b68c4f2655
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
f4ee161e4c
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
02a198c215
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
7b5e718dab
Bug 648484, part 9: Make LayerManagerD3D10 a shadow-layer manager and forwarder. r=Bas
2011-08-09 12:38:26 -07:00
Chris Jones
a09724480f
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
543953a6d6
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
573d4a32c6
Bug 648484, part 6: Add code to share D3D10 textures across processes. r=Bas
2011-08-09 12:38:26 -07:00
Chris Jones
5d49f97f4c
Bug 648484, part 4: Log layers transactions in the d3d10 backend. r=Bas
2011-08-09 12:38:26 -07:00
Chris Jones
adc6292af8
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
ae2bfc746f
Bug 648484, part 2: Add various helpers, refactor ContainerLayer::SetSpecificAttributes. r=roc
2011-08-09 12:38:26 -07:00
Chris Jones
6033ee3875
Bug 648484, part 1: Fix some warning spam. r=roc
2011-08-09 12:38:26 -07:00
Florian Haenel
fedb6459d8
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
fac88d4499
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
1332468008
Bug 655017 - Let gfxXlibSurface track GLXPixmaps and use this for CanvasLayerOGL. r=karlt, roc
2011-08-05 13:13:25 +12:00
Matt Woodrow
a58142bb2a
Bug 505115 - Part 7 - Layers support for 3d transforms. r=roc
2011-08-03 15:04:20 +12:00
Marco Bonardo
506125133a
Merge mozilla-central and mozilla-inbound
2011-07-29 13:46:15 +02:00
Benoit Jacob
46b893fa86
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
c77b88d953
Bug 674731 - WebGL/ANGLE interop with D3D layers requests incorrect extension - r=bjacob
2011-07-28 16:37:58 -04:00
Scott Ruff
4e4c1347d5
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
2f39e6408b
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
e2113eb4db
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
22504be7f5
Backed out changeset 39fef2383893
2011-07-25 13:18:23 +12:00
Matt Woodrow
c9c57295d3
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
8ed39834bd
Bug 669299 - Remove unneeded nsPrintfCString.h includes. r=bsmedberg
2011-07-21 04:37:31 +02:00
Oleg Romashin
02c7078314
Bug 671986 - ImageLayerOGL does not apply offset/transform for layer r=jrmuizel
2011-07-17 12:07:41 +02:00
Chris Jones
0c9abec3e2
Merge backout
2011-07-15 11:36:22 -07:00
Chris Jones
bd33e7e43e
Back out bug 648484
2011-07-15 11:35:55 -07:00
Chris Jones
e53cec2813
Bug 648484, part E: Hook d3d9 shadow layers up to new system. r=BenWa
2011-07-06 13:29:27 -04:00
Chris Jones
6e20d62d53
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
24d9e755e6
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
712fac36c8
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
28e0de0333
Bug 648484, part 9: Make LayerManagerD3D10 a shadow-layer manager and forwarder. r=Bas
2011-07-13 22:43:43 -07:00
Chris Jones
c1c168aa40
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
18ad2a3d0c
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
7f04c5ba64
Bug 648484, part 6: Add code to share D3D10 textures across processes. r=Bas
2011-07-13 22:43:43 -07:00
Chris Jones
726c115d22
Bug 648484, part 4: Log layers transactions in the d3d10 backend. r=Bas
2011-07-13 22:43:43 -07:00
Chris Jones
f536ed7edf
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
fcb0f65051
Bug 648484, part 2: Add various helpers, refactor ContainerLayer::SetSpecificAttributes. r=roc
2011-07-13 22:43:43 -07:00
Chris Jones
0369ff5024
Bug 648484, part 1: Fix some warning spam. r=roc
2011-07-13 22:43:43 -07:00
Matt Woodrow
d76b381d9f
Bug 670106 - Check the surface type before attempting to create a GLXPixmap. r=joe
2011-07-15 08:45:33 +12:00