Commit Graph

38 Commits

Author SHA1 Message Date
Andreas Gal
e48e7f4315 Bug 905589 - Use VBO instead of client side rendering. r=bas 2013-08-22 15:04:55 -04:00
Ryan VanderMeulen
cdf56a6889 Backed out changeset 230120afcbbf (bug 905589) for Android and B2G bustage on a CLOSED TREE. 2013-08-22 14:17:49 -04:00
Andreas Gal
e712f7caa3 Bug 905589 - Use VBO instead of client side rendering. r=bas 2013-08-22 12:54:21 -04:00
Nicholas Cameron
b5c77aec19 Bug 903816. Include-what-you-use for gfx/layers. r=roc 2013-08-12 11:17:23 +12:00
Nicholas Cameron
1bc1f9224a Bug 901722. Fix up component alpha/sub-pixel AA enablement. r=mattwoodrow 2013-08-09 11:30:19 +12:00
Nicolas Silva
ee0736e8c9 Bug 900793 - Rename TextureSourceOGL::ReleaseTexture into UnbindTexture. r=nrc 2013-08-05 12:15:21 +02:00
Matt Woodrow
eb3dede292 Bug 898129 - Only set the texture transform for shaders where it will be used. r=nrc
--HG--
extra : rebase_source : 6f636720a53dac7d0842caf41dffb457cecd379c
2013-08-01 21:12:15 -04:00
Mike Hommey
8cdcebc8bc Backout changesets 8b67eb363e5c (bug 893824), 2f603fe51b71, d623d68577ec, 12adb590b761, e08e42b8435b (bug 900133) and c8230843d507 (bug 898129) for crashtest bustage on a CLOSED TREE 2013-08-02 15:35:25 +09:00
Matt Woodrow
cfb50c37ed Bug 898129 - Only set the texture transform for shaders where it will be used. r=nrc 2013-08-01 21:12:15 -04:00
Nicolas Silva
f46dc128f3 Bug 899583 - Disallow BigImage with YCbCr compositing. r=BenWa 2013-08-02 01:02:06 +02:00
Nicolas Silva
2b6a0c31a2 Bug 858914 - New texture classes + OGL backend (preffed off). r=bas, nrc 2013-07-30 11:59:51 +02:00
Birunthan Mohanathas
25090caac6 Bug 784739 - Switch from NULL to nullptr in gfx/layers/opengl/; r=joe
--HG--
extra : rebase_source : 65e2c8e72dc4b20ef9aa50688c9320792fca69ee
2013-07-20 11:48:55 +03:00
Matt Woodrow
25483332a6 Bug 894891 - Move texture transform from the RGBATextureLayerExternal shader into the vertex shader, and combine the two GL_TEXTURE_EXTERNAL shaders. r=jrmuziel 2013-07-18 23:05:06 -04:00
Matt Woodrow
319a8298fd Bug 875232 - Add a BGRX shader program that reads from GL_TEXTURE_RECTANGLE. r=jrmuziel 2013-07-17 23:24:15 -04:00
Matt Woodrow
b2e24adee4 Bug 886667 - Just assert rather than aborting when our framebuffer is invalid. r=jrmuizel 2013-07-16 15:56:10 -04:00
Matt Woodrow
6c47d7391d Bug 890950 - Tell OpenGL that our texture upload data is in BGRA format on OSX. r=jrmuizel
This matches the format used internally and prevents the driver from having to do a conversion. We then add a swizzle to the shaders so that we get the correct colors drawn.
2013-07-09 10:13:33 -04:00
Benoit Girard
d000f2c08b Bug 890630 - Port FrameCounter to the compositor API. r=nical 2013-07-06 12:19:52 -04:00
Andreas Gal ext:(%2C%20Milan%20Sreckovic%20%3Cmilan%40mozilla.com%3E)
139c9584fb Bug 867460: remove notion of ShaderProgramTypes from gfx/gl. Carry r=bas. r=bgirard for the changes. 2013-07-04 13:25:50 -04:00
Ehsan Akhgari
2906766499 Backed out changeset 1bf0cdeacb22 (bug 867460) for assertions in various test suites
Landed on a CLOSED TREE
2013-06-25 21:39:07 -04:00
Andreas Gal
363a64ab55 Bug 867460 - Remove notion of ShaderProgramTypes from gfx/gl. r=bschouten, sr=joe 2013-06-24 13:05:13 -04:00
Bill McCloskey
b9ebd4d9dd Bug 885100 - Need to call ReleaseTexture from CompositorOGL (r=nrc) 2013-06-20 18:04:53 -07:00
Ehsan Akhgari
d6628d6d1a Bug 579517 follow-up: Remove NSPR types that crept in 2013-06-12 21:26:59 -04:00
Nicolas Silva
5ac0d55542 Bug 875211 - Make the number of temporary compositor textures dynamic. r=bjacob 2013-06-12 11:05:06 +02:00
Nicolas Silva
72d938108e Bug 875211 - fix windows build on a CLOSED TREE 2013-06-04 21:08:15 +02:00
Nicolas Silva
36b7a99a6e Bug 875211 - fix build on a CLOSED TREE 2013-06-04 21:02:52 +02:00
Nicolas Silva
78867ef005 Bug 875211 - use one global gl texture per texture unit rather than one per GrallocTextureHostOGL. r=bjacob 2013-06-04 20:44:37 +02:00
Markus Stange
3fe44cbe86 Bug 876256 - Restore the previous scissor rect at the end of CompositorOGL::DrawQuad. r=mattwoodrow 2013-05-27 14:48:15 +02:00
Markus Stange
61b4f283ad Bug 861332 - Ensure that the drawing rect used for DrawWindowOverlay doesn't depend on the window's position on the screen, so that for example the 10.6 window resizer is drawn in the correct place. r=mattwoodrow
--HG--
extra : rebase_source : d47ea3f871a619bfab065dd0eddb74d8c309fed1
2013-05-22 11:42:49 +02:00
Matt Woodrow
9b421cc198 Bug 756601 - Use NS_roundf so that it compiles on windows. CLOSED TREE 2013-05-10 09:50:33 +12:00
Matt Woodrow
665739eaea Bug 756601 - Round texture coords to the nearest texel. r=Bas 2013-05-10 09:02:49 +12:00
Nicholas Cameron
15ca66c5f1 Bug 788319. Rename RenderToEGLSurface. r=kats 2013-04-30 15:16:04 +12:00
Chris Lord
b365c94dfd Bug 858969 - Refactor dynamic toolbar so page is offset and not overlapped. r=kats,nrc
Refactor the dynamic toolbar code so that the ownership of various properties
is clearer, and the page is offset by the toolbar instead of being overlapped.
This fixes problems with the scroll origin of the page not corresponding to
the visible origin on the screen.
2013-04-25 18:47:08 +01:00
Ryan VanderMeulen
9cccb1d7a4 Backed out changeset 684a5ca2efb7 (bug 858969) for Android M3 failures.
CLOSED TREE
2013-04-25 10:56:54 -04:00
Chris Lord
e0579b7ab8 Bug 858969 - Refactor dynamic toolbar so page is offset and not overlapped. r=kats,nrc
Refactor the dynamic toolbar code so that the ownership of various properties
is clearer, and the page is offset by the toolbar instead of being overlapped.
This fixes problems with the scroll origin of the page not corresponding to
the visible origin on the screen.
2013-04-24 17:06:23 +01:00
Daniel Holbert
bd8e8a6aa7 Bug 863043: Move CompositorOGL::Initialize's helper-nsRunnable from function-scope to class-scope to fix build warning about ignored visibility attribute. r=Bas 2013-04-17 15:34:26 -07:00
Nicholas Cameron
0318648f5d Bug 844928, remove PTexture. r=nical
--HG--
extra : rebase_source : c6588d7381fc468068eb7e393f52afafb9586253
2013-04-12 19:28:55 +12:00
Jeff Muizelaar
8607e08ec3 Bug 860466: Properly deal with SharedTextureHostOGL. r=nical
There were a number of issues with the current implementation. It couldn't deal
with NULL mSharedHandles. Additionally it was binding things to the wrong
samplers. Finally it was not properly setting the texture transform (which
defaults to all 0). Finally in a debug build an assert would be hit upon client
shutdown due to it not clearing mDescriptor.

This patch fixes all of those issues which makes flash work again.

--HG--
extra : rebase_source : 733f242d2cd82c145ef6e3af9584f832af3c1f5d
2013-04-11 19:42:26 -04:00
Bas Schouten
7d182a2102 Bug 825928: Land layers refactoring. r=jrmuizel,bas,nical,mattwoodrow,roc,nrc,benwa,bjacob,jgilbert,kchen CLOSED TREE
Please contact Bas Schouten <bschouten@mozilla.com>, Nicolas Silva <nsilva@mozilla.com> or Nicholas Cameron <ncameron@mozilla.com> with general questions. Below is a rough list of authors to contact with specific questions.

Authors:
gfx/layers/Compositor.* gfx/layers/Effects.h - Compositor Interface - bas,nrc,nical
gfx/layers/d3d* - D3D9/D3D10 - bas
gfx/layers/ThebesLayer* - ThebesLayers - nrc,bas
gfx/layers/composite/* - CompositeLayers - nrc,nical
gfx/layers/client/* - Client - nrc,nical,bas
gfx/layers/*Image* - nical
gfx/layers/ipc ipc - IPC - nical
gfx/layers/opengl - CompositorOGL - nrc,nical
gfx/2d - bas,nrc
gfx/gl - GLContext - bjacob
dom/* layout/* - DOM - mattwoodrow
2013-04-10 09:20:52 +00:00