Commit Graph

215 Commits

Author SHA1 Message Date
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
Chris Jones
40a231016e Bug 573829, part 1: Refactor ThebesLayerBuffer in preparation for its use in the OGL layers backend. r=roc
--HG--
rename : gfx/layers/basic/ThebesLayerBuffer.cpp => gfx/layers/ThebesLayerBuffer.cpp
rename : gfx/layers/basic/ThebesLayerBuffer.h => gfx/layers/ThebesLayerBuffer.h
2010-07-21 13:06:33 -05:00
Vladimir Vukicevic
32f7f1aef8 b=580101; fix GLX GL context provider (nvidia/intel fix); r=cjones 2010-07-19 22:25:47 -07:00
Matt Woodrow
8baacd5f75 b=580101; fix GLX GL context provider; r=vlad 2010-07-19 21:05:42 -07:00
Vladimir Vukicevic
4c1166372f b=579696; BasicTextureImage doesn't handle partial updates properly; r=cjones 2010-07-19 14:54:17 -07:00
Vladimir Vukicevic
27b296ce6e b=575469; use CreateOffscreen in layers; r=bas 2010-07-18 22:01:14 -07:00
Vladimir Vukicevic
e71cc8f81f b=575469; implement CreateOffscreen and context sharing in GLContexts; r=bas 2010-07-18 22:01:14 -07:00
Vladimir Vukicevic
061fa66851 b=575032; make GL Context providers static, allow for multiple providers; r=bas 2010-07-18 22:01:14 -07:00
timeless@mozdev.org
03f17e3cc6 Bug 576375 LayerManagerOGL::Initialize leaks p in SHADER_PROGRAM when p->Initialize fails
r=vlad

--HG--
extra : rebase_source : 3e48dcd70be50d94126272c6339573133075faf6
2010-07-02 17:31:08 +03:00
timeless@mozdev.org
6ad8a00f94 Bug 565326 ContainerLayerOGL::ContainerLayerOGL doesn't use mTexture
r=bas

--HG--
extra : rebase_source : 81003129e2b42ed026a43a4a43c295dc0f6fc9cb
2010-05-25 17:34:09 +03:00
Benoit Jacob
f39d072c77 b=576081; Remove gfx/layers/opengl/glDefs.h; r=vladimir 2010-07-03 18:26:56 -04:00
Robert O'Callahan
b12eec77e4 Bug 564991. Part 6: Make BasicLayers support retained ThebesLayer contents. r=cjones,sr=vlad 2010-03-04 10:37:04 +13:00
Matt Woodrow
47f140fb7d Bug 564991. Part 8: Hoist GetLayerType out of individual layer manager types and make it available for all layers. r=jrmuizel,sr=vlad 2010-07-01 20:01:09 -05:00
Chris Jones
2a0c514521 Bug 574585: Have LayerManagerOGL release its root layer before destruction. r=vlad 2010-07-01 20:01:09 -05:00
Chris Jones
0e3cacd0f6 Bug 573889, part 6: RefactorThebesLayerOGL to use TextureImage. r=Bas 2010-07-01 11:30:38 -05:00
Chris Jones
9afc0278ab Bug 573889, part 0: Move the DEBUG_GL_ERROR_CHECK() macro into GLContext.h. r=vlad 2010-07-01 11:30:38 -05:00
Vladimir Vukicevic
5f25830c9f b=573181; clean up render path on Android and prepare for GL layers rendering; r=mwu 2010-06-25 17:52:37 -07:00
Oleg Romashin
fcce45e724 Bug 574581 - "Conditional jump or move depends on uninitialised value(s)" in ThebesLayerOGL::EnsureSurface(). r=jones.chris.g
--HG--
extra : rebase_source : 6934d7596614430ae5366da61b2a0846fd90c311
2010-06-25 07:18:56 -04:00
Matt Woodrow
d1d07f6129 Bug 573929: Prevent GLX textures from being released after the window supplying the GLContext from which they were allocated dies. r=vlad 2010-06-23 18:37:00 -05:00
Oleg Romashin
dde1799847 Bug 571832 - GL ThebesLayer rendering layout on X-System terribly slow. ImageLayer. r=vladimir. 2010-06-23 10:03:31 -04:00
Oleg Romashin
1d72fb92ae Bug 571832 - GL ThebesLayer rendering layout on X-System terribly slow. CanvasLayer. r=vladimir. 2010-06-23 10:02:32 -04:00
Oleg Romashin
c5124a04cd Bug 571832 - GL ThebesLayer rendering layout on X-System terribly slow. ThebesLayer. r=vladimir. 2010-06-23 10:01:29 -04:00
Chris Jones
64c7c1423e Bug 573894: Have LayerManagerOGL hold a strong ref to its root layer. r=Bas 2010-06-23 13:59:07 -05:00
Chris Jones
ff424e7f8f Followup to bug 572939: include fixes for Mesa-family drivers that were accidentally omitted earlier. 2010-06-22 19:24:52 -05:00
Matt Woodrow
f7d661ef25 Bug 572939: Implement GLContexProvider::CreateForWindow() for GLX. r=vlad 2010-06-18 18:17:00 -05:00
Robert O'Callahan
d547fc3e17 Fixing bustage 2010-06-18 21:40:11 +12:00
Robert O'Callahan
d6302b247b Bug 572283. Part 3: Fix compiler warnings. r=vlad 2010-06-18 21:22:08 +12:00
Robert O'Callahan
2280cd5e00 Bug 572283. Fix CanvasLayerOGL to work with retained layers (and on Mac). r=vlad 2010-06-18 21:21:42 +12:00
Matt Woodrow
fad26daa24 b=565833; add GLX GLContextProvider, pbuffers only; r=vlad 2010-06-14 23:55:08 -07:00
Robert O'Callahan
37a26c36a7 Bug 568041. Add user-data API and GetRoot to LayerManager. Move mVisibleRegion into Layer. r=bas,sr=vlad 2010-06-01 11:29:37 +12:00
Daniel Holbert
9088953686 Bug 567626 followup: Add missing "*/" at end of first line in CanvasLayerOGL.cpp, ColorLayerOGL.h, & ThebesLayerOGL.h, to fix 'warning: "/*" within comment'. rs=vlad 2010-05-27 13:04:26 -07:00
Bas Schouten
3c3030d11d Bug 568150: Properly use parent sibling members for OGL Containers. r=roc 2010-05-26 06:06:34 +02:00
Vladimir Vukicevic
4c3754729e b=567626; fix up opengl layers; r=bas 2010-05-24 23:35:35 -07:00
timeless@mozdev.org
fd388768cb Bug 565337 Please cache GetOpacity() in ContainerLayerOGL::RenderLayer. r=Bas
--HG--
extra : rebase_source : 101952fad466e60ac4933ac5d4c347c2b3449092
2010-05-23 15:34:58 -07:00
Robert O'Callahan
4886cf3d1c Bug 564993. Fix build error, and fix Bas' review comment. 2010-05-24 14:25:58 +12:00
Robert O'Callahan
b32027fed6 Bug 564993. Part 5: Change ThebesLayer painting to be callback-based; move layer tree construction to FrameLayerBuilder. r=Bas,mats,sr=vlad 2010-05-21 15:20:48 +12:00
Robert O'Callahan
01e9dabdad Backed out changeset b37bdb032fe7 2010-05-24 10:53:05 +12:00
Robert O'Callahan
0417d4868e Bug 564993. Part 5: Change ThebesLayer painting to be callback-based; move layer tree construction to FrameLayerBuilder. r=Bas,mats,sr=vlad 2010-05-21 15:20:48 +12:00
Robert O'Callahan
20c2e464f7 Backed out changeset efa8719a93d2 2010-05-21 16:34:23 +12:00
Robert O'Callahan
6391e1262a Bug 564993. Part 5: Change ThebesLayer painting to be callback-based; move layer tree construction to FrameLayerBuilder. r=Bas,mats,sr=vlad 2010-05-21 15:20:48 +12:00
Robert O'Callahan
c3ff0859ee Bug 565875. Part 4: Recycle textures used by PlanarYCbCrImageOGL to avoid reallocation/recommit costs (especially on Mac). r=bas 2010-05-17 11:09:28 +12:00
Robert O'Callahan
9695389e69 Bug 565875. Part 3: Recycle temporary buffer used by PlanarYCbCrImageOGL to avoid reallocation/recommit costs (especially on Mac). r=bas 2010-05-17 11:08:41 +12:00
Robert O'Callahan
85fb4022b8 Bug 565875. Part 2: Create GLTexture wrapper to manage texture lifetimes and ensure textures are released on the main thread. r=bas 2010-05-17 11:08:01 +12:00
Robert O'Callahan
cc9d41a047 Bug 565875. Part 1: Refactor PlanarYCbCrImageOGL to make ownership of its temporary buffer more explicit. r=bas 2010-05-17 11:07:13 +12:00
Vladimir Vukicevic
57c2111dfe b=561168; convert canvas to use layers for rendering - followup; r=roc 2010-05-17 21:04:22 -07:00
Vladimir Vukicevic
b5ac042d49 b=561168; convert canvas to use layers for rendering; r=roc,bas 2010-05-17 21:04:22 -07:00
Robert O'Callahan
26569a71da Bug 561959. Implement ColorLayer, which paints a solid color into its layer. r=bas,sr=vlad 2010-05-13 12:56:11 +12:00
Robert O'Callahan
962d37b89b Bug 564993. Part 1: Remove CopyFrom API, it won't be used. r=Bas 2010-03-03 13:53:52 +13:00
Bas Schouten
03102f3dc9 Add a comment explaining texture usage as backbuffer. 2010-05-12 18:21:34 +02:00
Bas Schouten
c6a69f8e5a Bug 562392: Use TEXTURE_RECTANGLE_EXT for backbuffer where we can't bind NPOT TEXTURE_2D to a framebuffer. r=joedrew 2010-05-12 18:21:31 +02:00
Matt Woodrow
2c6e57bb9c Bug 561957. Support GL backend on Mac OS X. r=vlad 2010-04-28 10:29:29 +12:00
Chris Pearce
fce92ab150 Bug 556889 - Honour video aspect ratio in layers rendering. r=roc 2010-04-27 20:53:44 +12:00
Bas Schouten
4ed10293de Bug 560147: Another follow-up bustage fix for changeset c453741bcbdb. r=joe 2010-04-27 04:37:14 +02:00
Bas Schouten
0e5a79ef23 Bug 560147: Use the new Unified OpenGL Wrapper for OpenGL layers, and remove wrapper code from layers. r=vlad 2010-04-27 04:09:47 +02:00
Bas Schouten
351a3f8126 Bug 561678: Use Platform Native drawing surfaces for ThebesLayerOGL. r=roc 2010-04-27 00:24:03 +02:00
Chris Double
ef03b912fb Bug 551277 - Replace liboggplay YUV to RGB color conversion code - r=roc 2010-04-19 13:17:06 +12:00
Chris Pearce
9c85f50feb Bug 556889 - Backed out changeset 6f250c9b680b due to reftest failure on Linux. 2010-04-08 21:18:58 +12:00
Chris Pearce
8ae321bbc6 Bug 556889 - Honour video aspect ratio in layers rendering. r=roc 2010-04-08 20:16:02 +12:00
Bas Schouten
24c3d464ad Bug 557896: Display information on the error console when using a OpenGL layer manager. r=joedrew 2010-04-08 09:29:58 +02:00
Bas Schouten
60de353002 Bug 557671: Properly make image layers threadsafe by guarding the active image. r=roc 2010-04-08 09:29:55 +02:00
Bas Schouten
0291fc7a4f Bug 556584: Allow opaque containers to draw their contents directly to their parent layer. r=joedrew 2010-04-01 23:17:15 +02:00
Bas Schouten
e06c8ff57c Bug 556572: Support none-multiple of 4 strides. r=joedrew 2010-04-01 23:17:13 +02:00
Bas Schouten
4a42fdf506 Bug 556387: Fix OpenGL context creation for some drivers. r=joedrew 2010-04-01 03:44:05 +02:00
Bas Schouten
f7c951c2c7 Bug 556288: Use linear filters so framebuffers can use the same texture on all hardware. Assert succes. r=joedrew 2010-04-01 03:44:02 +02:00
Bas Schouten
fc6417c11a Bug 556029: Add the ability to detect which layers backend is used. r=roc 2010-03-30 20:58:37 +02:00
Bas Schouten
926f20d238 Bug 546517: The layers OpenGL backend. r=vlad 2010-03-30 06:48:52 +02:00