James Willcox
96dc030e1c
Bug 928804 - Always use an up-to-date texture transform when compositing SharedTextureSourceOGL r=nical
2013-11-19 08:41:57 -06:00
Benoit Jacob
37e5ffc058
Bug 938970 - 1/5. Move MacIOSurfaceTexture* classes to separate files, minimize the number of cpp files including MacIOSurface.h - r=mattwoodrow
2013-11-17 21:04:38 -05:00
Benoit Girard
64d7fffdfd
Bug 936511 - Add layers.dump to dump layer tree. r=bas,nrc
2013-11-17 16:47:40 -05:00
Ed Morley
23fedeb4fb
Backed out changeset f24ee0606ea6 (bug 926128) for reftest failures on OS X & crashes on B2G on a CLOSED TREE
2013-11-01 15:51:32 +00:00
Andreas Gal
4611250ace
Bug 926128 - Use a single configurable shader in OpenGL layers backend. r=vlad, r=nical
2013-11-01 09:29:20 -04:00
Matt Woodrow
7a4452c3dc
Bug 887791 - Add a TextureHost implementation for MacIOSurface. r=nical
2013-11-01 14:54:14 +13:00
Sotaro Ikeda
6d51d9936c
Bug 925381 - Fix mpeg4 video seek failure. r=nical, r=doublec
2013-10-17 11:09:15 -04:00
Nicolas Silva
d0bc2a62fe
Bug 916116 - Rename CompositableQuirks. r=bjacob
2013-09-30 14:14:38 +02:00
Benoit Jacob
80cb54ab4d
Bug 913872 - Take nested enums out of gfxASurface - 3/3 : remove the now-useless inclusions of gfxASurface.h - r=jrmuizel
2013-09-24 16:45:14 -04:00
Benoit Jacob
f6f57bbbb4
Bug 913872 - Take nested enums out of gfxASurface - 1/3 : automatic changes - r=jrmuizel
...
Generated by these regexes:
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(ImageFormat\|SurfaceType\|ContentType\|MemoryLocation\)[0-9A-Za-z_]*\)/gfx\1/g'
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(CONTENT_\|MEMORY_\)[0-9A-Za-z_]*\)/GFX_\1/g'
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(CONTENT_COLOR\|CONTENT_ALPHA\|CONTENT_COLOR_ALPHA\|CONTENT_SENTINEL\|MEMORY_IN_PROCESS_HEAP\|MEMORY_IN_PROCESS_NONHEAP\|MEMORY_OUT_OF_PROCESS\)\($\|[^A-Za-z0-9_]\)/\1GFX_\2\3/g'
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(ImageFormatARGB32\|ImageFormatRGB24\|ImageFormatA8\|ImageFormatA1\|ImageFormatRGB16_565\|ImageFormatUnknown\|SurfaceTypeImage\|SurfaceTypePDF\|SurfaceTypePS\|SurfaceTypeXlib\|SurfaceTypeXcb\|SurfaceTypeGlitz\|SurfaceTypeQuartz\|SurfaceTypeWin32\|SurfaceTypeBeOS\|SurfaceTypeDirectFB\|SurfaceTypeSVG\|SurfaceTypeOS2\|SurfaceTypeWin32Printing\|SurfaceTypeQuartzImage\|SurfaceTypeScript\|SurfaceTypeQPainter\|SurfaceTypeRecording\|SurfaceTypeVG\|SurfaceTypeGL\|SurfaceTypeDRM\|SurfaceTypeTee\|SurfaceTypeXML\|SurfaceTypeSkia\|SurfaceTypeSubsurface\|SurfaceTypeD2D\|SurfaceTypeMax\)\($\|[^A-Za-z0-9_]\)/\1gfx\2\3/g'
2013-09-24 16:45:13 -04:00
Sotaro Ikeda
f9b461032a
Bug 916264 - Delete texture to unbound from texture. r=nical
2013-09-17 11:10:25 -04:00
Ryan VanderMeulen
84866377a9
Backed out changeset 41f37e48b6e7 (bug 916264) for landing with the wrong bug # in the commit message.
...
Landed as bug 909746.
2013-09-17 14:28:29 -04:00
Sotaro Ikeda
42d954bd18
Bug 909746 - Delete texture to unbound from texture. r=nical
2013-09-17 11:10:25 -04:00
Nicolas Silva
68aab4cd57
Bug 916116 - Avoid some code duplication in Gralloc textures. r=sotaro
2013-09-17 15:29:19 +02:00
Sotaro Ikeda
db0e41a87a
Bug 912134 - allocate texture per CompositableHost. r=jmuizelaar,bjacob
...
The fundamental change of approach in this patch is that now the temporary
texture is per-compositable.
Originally, the temporary texture was per-TextureHost. That was too many
temporary textures. With Nical's work in bug 875211, that switched to having a
temporary texture per compositor only. That's what turned out to be too few.
Now we have one per compositable which is fewer than one per TextureHost,
because e.g. a ContentHost, which is a single Compositable, may have 2
TextureHosts to implement double-buffering.
2013-09-12 22:39:26 -04:00
Benoit Jacob
3e5e988ae0
Bug 913603 - Avoid needlessly including nsRect.h - r=jrmuizel
2013-09-06 22:15:49 -04:00
Benoit Jacob
8b1ffe319e
Bug 912042 - Avoid including GLContext.h in headers that don't need it - r=jrmuizel
2013-09-04 08:14:52 -04:00
Matt Woodrow
8b2b2e484b
Bug 907792 - Use SharedTextureClientOG for SharedTextureImage. r=nical
2013-08-28 08:16:54 +12:00
Ryan VanderMeulen
b5d245f9a6
Backed out changeset a255d2d2b67f (bug 907792) for OSX mochitest asserts on a CLOSED TREE.
2013-08-27 13:07:33 -04:00
Matt Woodrow
85ac66ae1d
Bug 907792 - Use SharedTextureClientOGL when needed. r=nical
2013-08-27 11:50:24 +12:00
Nicholas Cameron
6ff5d55180
Bug 903816. Include-what-you-use for gfx/layers. r=roc
2013-08-12 11:17:23 +12:00
Nicolas Silva
86064316f3
Bug 858914 - Various TextureClient/Host cleanups. r=nrc.
2013-08-08 14:53:12 +02:00
Adrian May
4194c6f863
Bug 877115 - Moz2Dify GLContext and GLTextureImage. r=nical
2013-08-13 15:44:53 +02:00
Phil Ringnalda
06a2cbfa32
Back out d393cfeb5dbf:9f82224bb8a3 (bug 903816) for Android reftest failures
...
CLOSED TREE
2013-08-11 19:21:17 -07:00
Nicholas Cameron
b2b3fa4f0b
Bug 903816. Include-what-you-use for gfx/layers. r=roc
2013-08-12 11:17:23 +12:00
Nicolas Silva
558f4920c0
Bug 900793 - Rename TextureSourceOGL::ReleaseTexture into UnbindTexture. r=nrc
2013-08-05 12:15:21 +02:00
Matt Woodrow
ae903ef11c
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
Ryan VanderMeulen
7c7f150a17
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
1c926d61cb
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
500da44280
Bug 899583 - Disallow BigImage with YCbCr compositing. r=BenWa
2013-08-02 01:02:06 +02:00
Nicolas Silva
c039b2a50f
Bug 858914 - New texture classes + OGL backend (preffed off). r=bas, nrc
2013-07-30 11:59:51 +02:00
James Willcox
f2bcf66b73
Bug 894405 - fix leaks on a CLOSED TREE
2013-07-19 00:23:07 -04:00
Matt Woodrow
43fdf43725
Bug 894891 - Use the correct shader for b2g video. r=nrc
2013-07-18 23:05:06 -04:00
James Willcox
1bac7cae11
Bug 894405 - Ref GLContext before sending SurfaceStream to compositor r=jgilbert
2013-07-17 13:03:18 -04:00
Matt Woodrow
4473e0d572
Bug 875232 - Add SharedSurface_IOSurface for sharing textures on OSX. r=jgilbert
2013-07-17 23:24:15 -04:00
Nicolas Silva
d9acf2e7f6
Bug 858914 - Mark all TextureHost and TextureClient classes deprecated. r=mattwoodrow
2013-07-08 23:30:44 +02:00
Markus Stange
642b75b8af
Bug 888288 - Fix some typos in GFX header comments. r=nrc
2013-07-08 21:21:06 -07:00
Andreas Gal
cc4fcded13
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
Justin Lebar
de89040a2c
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
5c293abae0
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
0b9f23e900
Bug 867460 - Remove notion of ShaderProgramTypes from gfx/gl. r=bschouten, sr=joe
2013-06-24 13:05:13 -04:00
Bill McCloskey
76c78dcf20
Bug 885100 - Need to call ReleaseTexture from CompositorOGL (r=nrc)
2013-06-20 18:04:53 -07:00
Peter Chang
fcca422b27
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
ed94e9fbc9
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
Nicholas Cameron
8b82c0bda5
Bug 862952, Re-enable Composer2D after layers refactoring. r=bjacob,f=diego
2013-06-06 10:14:51 +12:00
Nicolas Silva
d2e27c8460
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
Nicolas Silva
ca1eef4bc6
Bug 867656 - Part 1. Implement GetAsSurface for GL TextureHosts. r=bjacob
2013-05-26 04:43:43 +02:00
Matt Woodrow
083d4345b4
Bug 870211 - Make TextureHosts support updating from partial surfaces. r=Bas
2013-05-16 15:45:43 +12:00
Jeff Muizelaar
7746155fdc
Bug 863498. Get the SurfaceTexture transform every draw. r=nical
...
ShadowImageLayerOGL::RenderLayer used to call gl()->GetSharedHandleDetails()
directly and uses that result.
This makes us do something similar. As a concequence we also drop the
mTextureTransform member because we are not caching it anymore.
I do wonder if it would make more sense for the content thread to send
the transform along with the update to make sure that it always matches.
This would also make it so that we have no chance of causing a GC
in the compositor to get the transform by calling through java.
2013-05-08 18:04:59 -04:00
Michael Wu
0cb43f479b
Backed out changeset 7e4d9be02b8f (bug 869011) for causing bug 870375
2013-05-09 13:00:14 -04:00