Oleg Romashin
21f38db312
Bug 627661 - RGBA surface clear was broken in 593733 r=roc,mattwoodrow a=approval2.0
2011-01-24 21:31:35 +02:00
Robert O'Callahan
c69232aaac
Bug 621601. Part 4: Fix ImageLayers to handle null current image. r=bas,a=me
2011-01-19 21:27:54 +13:00
Robert O'Callahan
4c8a59948a
Bug 625409. ColorLayer implementations need to premultiply by the alpha value of their color. r=bas,a=blocking
2011-01-19 21:27:54 +13:00
Jeff Muizelaar
47330451db
Bug 625508. This moves the GfxInfo checks out of LayerManagerOGL and into the callers. r=vlad
...
--HG--
extra : rebase_source : 6545f8a3982b04147b41907f1d2f2dd4768538e2
2011-01-18 15:11:19 -05:00
Jeff Muizelaar
9b50356c4e
Bug 625508. Move context creation out of LayerManagerOGL::Initialize() r=vlad
...
- Removes support for reinitialization.
- Moves context creation up to the callers.
--HG--
extra : rebase_source : 66716292da75af8513eaa5a7dff1211cafdf8236
2011-01-18 15:11:18 -05:00
Matt Woodrow
10a7c01a81
Bug 593733 - Support component alpha with GL layers. r=roc, r=joe, a=betaN
2011-01-18 08:22:25 +01:00
Matt Woodrow
b3f50f7e52
Bug 593733 - Make TextureImage::BeginUpdate return a surface, not a context. r=joe, a=betaN
2011-01-18 08:21:12 +01:00
Matt Woodrow
ff93946c65
Bug 622165 - Don't try to draw ThebesLayerOGL's that are greater than the max texture size. r=joe a=blocking2.0
2011-01-18 14:32:40 +13:00
Matt Woodrow
84d4c6a671
Bug 621778 - Allow TextureImage to upload regions instead of only rectangles. r=joe a=blocking2.0
2011-01-18 14:32:40 +13:00
Matt Woodrow
3aa3a68561
Bug 620799 - Fallback to normal surface allocation if creating a PBO fails. r=joe a=blocking2.0
2011-01-18 10:47:18 +13:00
Robert O'Callahan
7eb95710b4
Bug 594253. Update mValidRegion by OR-ing with the visible region after repainting, instead of OR-ing with the redrawn region, since this leads to simpler region structures. r=cjones,a=blocking
2011-01-16 23:38:45 +13:00
Oleg Romashin
d6fc95290e
Bug 618788 - Not initialized used in CairoImageOGL::SetData r=roc a=approval2.0
2011-01-13 15:20:46 +02:00
Jeff Muizelaar
169ebd334c
Bug 623446. Turn the layer acceleration prefs into a tri-state. r=joe,a=b
...
This removes:
layers.accelerate-all
layers.accelerate-none
and adds:
layers.acceleration.disabled
layers.acceleration.force-enabled
This is closer to what D2D does.
2011-01-11 17:01:37 -05:00
Chris Jones
5288f48439
Bug 622838: Use the right rect-rounding mode to avoid accidentally resampling resolution-scaled ThebesLayer textures. r=jrmuizel a=b
2011-01-08 00:05:35 -05:00
Markus Stange
cc800a0b7a
Bug 595180: Draw window resizer on Mac OS X. r=joe r=josh a=blocking2.0beta9+
2011-01-07 15:32:42 -05:00
Chris Jones
ff1aab8620
Bug 623255: Ensure LayerOGL::Destroy is called for "orphaned" shadow OGL layers before the GLContext is deleted. r=vlad a=b
2011-01-05 22:54:47 -06:00
Oleg Romashin
1d932a6704
Bug 621227 - Optimize thebes layer render function. r=vladimir a=approval2.0
...
--HG--
extra : rebase_source : e03927f5f491385725b8dc629060cc688cc299aa
2011-01-04 17:37:22 +02:00
Oleg Romashin
88c2013756
Bug 619490 - Don't use double-buffered shadowed layers with OGL compositing r=cjones a=b-f
2010-12-31 09:40:31 +02:00
Bas Schouten
4bb2625477
Bug 620665 - Part 1: Expose backend type on ImageContainers. r=roc a=blocking-beta9
2010-12-29 01:07:00 +00:00
Oleg Romashin
7775e7fd3f
Bug 618788 - Not initialized used in CairoImageOGL::SetData r=vladimir a=approval2.0
2010-12-21 20:46:31 +02:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Benoit Jacob
c6c0aa1744
Bug 602659 - move some mutex locking - r=roc
2010-10-12 17:01:59 -04: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
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
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
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
Benoit Jacob
2cfb719a2a
Bug 596907 - Fix glScissor calls in ContainerLayerOGL - r+a=shaver
2010-09-18 11:59:06 -04: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
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
Chris Jones
d8f9eb58aa
Merge m-c --> cedar
2010-09-13 19:24:09 -05: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
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
Chris Jones
a2c93af9b1
Bug 590294, part 8: Implement resolution-scaled drawing for basic layers. r=roc
2010-09-03 15:10:46 -05: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
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
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
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
0fff021bbd
b=586043; GL layer manager should use GetClientBounds, not GetBounds; r=bas
2010-08-14 10:52:16 -07: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
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
Chris Jones
9bff50e1eb
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
Chris Jones
da2a929d29
Bug 573829, part 4: Use GL_REPEAT and appropriate texcoords to render ThebesLayerOGL's pixels rotated correctly. r=vlad
2010-07-22 15:29:37 -05:00
Chris Jones
5ce4b9fe07
Bug 573829, part 3: Use ThebesLayerBuffer to retain contents for ASurface-backed TextureImages. r=vlad
2010-07-22 15:29:37 -05:00