Commit Graph

752 Commits

Author SHA1 Message Date
Mike Hommey
2e65ede53b 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
Ryan VanderMeulen
9de3c19600 Backed out changeset 9a5f4bbd4fcb (bug 900188) to see if it fixes the OSX crashtest and reftest asserts.
CLOSED TREE
2013-08-02 00:45:09 -04:00
Matt Woodrow
9b157d1aa6 Bug 898129 - Only set the texture transform for shaders where it will be used. r=nrc 2013-08-01 21:12:15 -04:00
Matt Woodrow
09667de963 Bug 900188 - Correctly treat WebGL as being single buffered when we share it across ipdl. r=nrc 2013-08-01 21:12:15 -04:00
Nicolas Silva
134b1e0673 Bug 899583 - Disallow BigImage with YCbCr compositing. r=BenWa 2013-08-02 01:02:06 +02:00
Nicholas Cameron
afd732f308 back out bug 874721, bug 899435 2013-08-01 18:30:46 +12:00
Nicholas Cameron
feedf03d05 Bug 874721; identify multi-process OMTC and use shmem. r=Bas 2013-08-01 16:52:46 +12:00
Nicholas Cameron
6146fb5d56 Bug 874721. Fallback for EnsureAllocated and compositor, and some more sanity checks. r=mattwoodrow 2013-08-01 16:52:36 +12:00
Nicolas Silva
5ec3fda767 Bug 858914 - New texture classes + OGL backend (preffed off). r=bas, nrc 2013-07-30 11:59:51 +02:00
Nicolas Silva
5d2089d328 Bug 858914 - Mark some Image related classes deprecated. r=jrmuizel DONTBUILD 2013-07-24 18:08:35 +02:00
Nicolas Silva
7a55cdf819 Backed out changeset 9089fe288899 2013-07-24 18:01:39 +02:00
Nicolas Silva
a6bf10f5a6 Bug 868914 - Mark some Image related classes deprecated. r=jrmuizel 2013-07-24 17:43:35 +02:00
Birunthan Mohanathas
cf059676d8 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
James Willcox
7fd84b7bf9 Bug 894405 - fix leaks on a CLOSED TREE
--HG--
extra : rebase_source : d96236c0c9c370bdb055d3ab197707d48f8afe80
2013-07-19 00:23:07 -04:00
Matt Woodrow
d73002e288 Bug 894891 - Follow-up to fix bustage, remove unused shader from the enum. CLOSED TREE 2013-07-19 00:10:21 -04:00
Matt Woodrow
24fa947ddd 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
e06d326e2e Bug 894891 - Use the correct shader for b2g video. r=nrc 2013-07-18 23:05:06 -04:00
James Willcox
ca9e13ffe2 Bug 894405 - Ref GLContext before sending SurfaceStream to compositor r=jgilbert 2013-07-17 13:03:18 -04:00
Matt Woodrow
bab9f61a38 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
c30d4b7957 Bug 875232 - Add SharedSurface_IOSurface for sharing textures on OSX. r=jgilbert 2013-07-17 23:24:15 -04:00
Matt Woodrow
749d37fb57 Bug 875232 - Make alpha channel optional for MacIOSurface. r=BenWa 2013-07-17 23:24:14 -04:00
Matt Woodrow
7be2e2face Bug 886667 - Just assert rather than aborting when our framebuffer is invalid. r=jrmuizel 2013-07-16 15:56:10 -04:00
Peter Chang
439cf8afa8 Bug 885345 - HwcComposer2D doesn't render Camera or Video frames. r=nrc
Correct the buffer validation inside GetRenderState() to pass gralloc
buffer to composer module
2013-07-12 09:06:26 -04:00
Matt Woodrow
93da75702f Bug 889953 - Add a bounds property to ColorLayer to restrict the drawing region instead of using a clip. This stops our accelerated layer backends from requiring a temporary surface to render transformed ColorLayers. r=roc 2013-07-09 10:11:00 -04:00
Matt Woodrow
68a23b3791 Backout a17b6115cdd7 for causing reftest failures 2013-07-09 12:05:04 -04:00
Matt Woodrow
70d581c00d 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
Matt Woodrow
c39a74c126 Bug 889953 - Add a bounds property to ColorLayer to restrict the drawing region instead of using a clip. This stops our accelerated layer backends from requiring a temporary surface to render transformed ColorLayers. r=roc 2013-07-09 10:11:00 -04:00
Nicolas Silva
e997aad0fc Bug 858914 - Mark all TextureHost and TextureClient classes deprecated. r=mattwoodrow 2013-07-08 23:30:44 +02:00
Markus Stange
30c87eb8a8 Bug 888288 - Fix some typos in GFX header comments. r=nrc 2013-07-08 21:21:06 -07:00
Markus Stange
5e73252a64 Bug 882523 - Support OMTC on Mac in non-accelerated mode using OpenGL. r=nrc, r=mattwoodrow 2013-07-08 21:21:05 -07:00
Milan Sreckovic
410a3ae202 Bug 890929 - Add asserts for the surface format. r=BenWa 2013-07-08 10:26:02 -04:00
Benoit Girard
4138a43f75 Bug 890630 - Port FrameCounter to the compositor API. r=nical 2013-07-06 12:19:52 -04:00
Nicholas Cameron
60ff9c9638 Bug 874721. Unify mask type enums; r=bas 2013-07-05 09:48:33 +12:00
Andreas Gal ext:(%2C%20Milan%20Sreckovic%20%3Cmilan%40mozilla.com%3E)
0ffb387490 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
Ryan VanderMeulen
8bf46962c6 Backed out changeset cff8971a6519 (bug 882523) for Linux reftest-ipc crashes. 2013-07-03 10:14:11 -04:00
Matt Woodrow
d426585dce Bug 882523 - Support OMTC on Mac in non-accelerated mode using OpenGL. r=nrc, r=mattwoodrow 2013-06-13 17:15:15 +12:00
Justin Lebar
6c46d0633d Bug 820686 - Remove code after MOZ_CRASH or MOZ_ASSUME_NOT_REACHED. r=(see below)
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=waldo for js
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
2013-06-28 18:38:32 -07:00
Justin Lebar
75c400493b Bug 802686 - s/MOZ_NOT_REACHED/MOZ_CRASH/ in Gecko. r=(see below)
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else

This is a mechanical change made with sed.  Later patches in this queue
clean up the whitespace errors and so on.
2013-06-28 18:38:30 -07:00
Ehsan Akhgari
5827b2e86b 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
a7c3879a87 Bug 867460 - Remove notion of ShaderProgramTypes from gfx/gl. r=bschouten, sr=joe 2013-06-24 13:05:13 -04:00
Bill McCloskey
d747da6b50 Bug 885100 - Need to call ReleaseTexture from CompositorOGL (r=nrc) 2013-06-20 18:04:53 -07:00
Peter Chang
e251e1288e Bug 881460 - Drawing color of CrystallSkull is not correct in master. r=vlad, r=nrc 2013-06-11 18:14:33 +08:00
Matt Woodrow
220b14ec00 Bug 877534 - Use a shutdown listener to destroy the compositor from nsBaseWidget. r=roc
This prevents a case where the nsBaseWidget isn't destroyed until the cycle collector is shutdown,
and we are too late in the shutdown sequence to process the events that get queued during
Compositor teardown.
2013-06-17 14:50:32 +12:00
Ehsan Akhgari
0cae3ba5bd Bug 579517 follow-up: Remove NSPR types that crept in 2013-06-12 21:26:59 -04:00
Nicolas Silva
52b7170d0a Bug 875211 - Make the number of temporary compositor textures dynamic. r=bjacob 2013-06-12 11:05:06 +02:00
Matt Woodrow
ab44f0173c Bug 867226 - Don't crash if we can't create a valid framebuffer. r=bjacob 2013-06-11 11:38:03 +12:00
Nicholas Cameron
e856edd560 Bug 862952, Re-enable Composer2D after layers refactoring. r=bjacob,f=diego
--HG--
extra : rebase_source : eb394b6a7157b399d2e67baf695e9684835bbfcf
2013-06-06 10:14:51 +12:00
Vladimir Vukicevic
903320a647 b=843599; use gralloc buffers for WebGL streaming on B2G; r=nical,jgilbert,jrmuizel 2013-05-27 10:12:13 -04:00
Jeff Gilbert
d6a23b5cdc Bug 874823 - Support unknown consumer for ShSurf_GLTex. - r=mattwoodrow 2013-06-04 17:05:28 -07:00
Nicolas Silva
801ed20893 Bug 875211 - fix windows build on a CLOSED TREE 2013-06-04 21:08:15 +02:00