Commit Graph

848 Commits

Author SHA1 Message Date
Benoit Jacob
45d86c800b Bug 938970 - 4/5. Some gralloc-related tweaks required to build with UNIFIED_SOURCES - r=Bas 2013-11-17 21:06:25 -05:00
Benoit Jacob
803a8cae35 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
87d3e1cc22 Bug 936511 - Add layers.dump to dump layer tree. r=bas,nrc 2013-11-17 16:47:40 -05:00
Robert O'Callahan
151d25e50f Bug 938316. Work around fractional texture resampling issues by switching to NEAREST sampling when we're doing a pixel-aligned compositing operation. r=jrmuizel
--HG--
extra : rebase_source : ec49c8c8993af402a24b57efbaea743d39dcd89c
2013-11-13 23:56:11 +13:00
Robert O'Callahan
45532de9d3 Bug 937987. Don't use lowp for texture coordinates. Only use it for colors. r=bjacob
--HG--
extra : rebase_source : 9dd8bcebb8b8ef3666f4deae1b1c49dc89bc4486
2013-11-13 17:45:19 +13:00
Benoit Jacob
5480ece61e Bug 937204 - 3/3. Kill GfxInfoThread. Instead, get GL strings from the compositor - r=kats,jrmuizel 2013-11-15 11:28:43 -05:00
Jeff Muizelaar
bb0dd83bc0 Bug 929471. Make CGLTexImageIOSurface2D take a CGLContextObj instead of a NSOpenGLContext. r=bgirard 2013-11-07 22:53:54 -05:00
Matt Woodrow
19816190f1 Bug 35380 - Part 5: Remove aOffset from everywhere. r=nrc 2013-11-07 22:53:08 +13:00
Matt Woodrow
37b891a516 Bug 935380 - Part 4: Make the Compositors use the RenderTarget's origin instead of aOffset. r=nrc 2013-11-07 22:53:08 +13:00
Matt Woodrow
accb417824 Bug 935380 - Part 3: Make CompositingRenderTarget store it's origin. r=nrc 2013-11-07 22:53:08 +13:00
Matt Woodrow
613408a7f4 Bug 935380 - Part 2: Pass the actual rect that the RenderTarget represents as the first parameter to CreateRenderTarget. r=nrc 2013-11-07 22:53:07 +13:00
Matt Woodrow
92246b6bed Bug 935380 - Part 1: Remove INIT_MODE_COPY since it was invalid for callers to use it. r=nrc 2013-11-07 22:53:07 +13:00
Matt Woodrow
9731cb7c16 Bug 934860 - Move paint region clipping into DrawThebesLayer. r=roc 2013-11-07 08:10:50 +13:00
Ed Morley
b0b384ebfc 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
07faf96a6d 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
739fce2fb6 Bug 887791 - Add a TextureHost implementation for MacIOSurface. r=nical 2013-11-01 14:54:14 +13:00
Matt Woodrow
a03577262a Bug 887791 - Add a TextureClient implementation for MacIOSurface. r=nical 2013-11-01 14:54:14 +13:00
Ms2ger
4cf23c7adf Bug 923249 - Remove some prtypes use in gfx/; r=roc 2013-10-20 09:25:20 +02:00
Sotaro Ikeda
1181e71e7f Bug 925381 - Fix mpeg4 video seek failure. r=nical, r=doublec 2013-10-17 11:09:15 -04:00
Andreas Gal
c93fa0f44d Bug 923409 - Draw FPS counter with a single GL call and eliminate last use of Copy2D program (r=BenWa). 2013-10-13 09:10:13 -07:00
Markus Stange
c4088f251a Bug 923650 - Restore scissor rects in CompositorOGL more diligently. r=mattwoodrow
--HG--
extra : rebase_source : 5a3cccbd38b18aaa8536382ff744a871646ee786
2013-10-11 10:29:35 -04:00
Nicolas Silva
fb0544316b Bug 923917 - Properly set the y-flip flag in SharedTextureClientOGL. r=Bas 2013-10-09 18:20:57 -07:00
Nicholas Cameron
8027a76868 Bug 854873. Keep scissor rect enabled. r=kats,nical 2013-10-05 01:03:09 +13:00
Nicolas Silva
db5d7b4954 Bug 916118 - Simplify the TextureClient deallocation protocol. r=nrc 2013-10-02 13:52:04 -07:00
Nicolas Silva
8605f47406 Bug 922202 - Make PlanarYCbCrImage::Data forward-declarable and remove some header includes. r=bjacob 2013-10-01 17:57:50 -07:00
Ehsan Akhgari
6c364e9615 Bug 921753 - Part 2: Move GraphicsFilters outside of gfxPattern.h so that we won't need to #include that header everywhere GraphicsFilter is needed; r=roc
This patch reduces the number of files that transitively #include
gfx/2d.h from 1582 to 1362.
2013-10-01 17:01:19 -04:00
Nicolas Silva
696a354b30 Bug 916116 - Rename CompositableQuirks. r=bjacob 2013-09-30 14:14:38 +02:00
Matt Woodrow
77af187390 Bug 921233 - Enabled azure for main-thread drawing on OSX. r=jrmuizel 2013-09-30 12:17:35 +13:00
Ehsan Akhgari
dd0ebfdbf1 Forward declare gfxMatrix as a struct, no bug 2013-09-28 18:20:45 -04:00
Ryan VanderMeulen
c15f17992c Backed out changeset a77f7d610829 (bug 821474) for leaks.
CLOSED TREE
2013-09-27 16:12:28 -04:00
Nicolas Silva
96a3ebcd75 Bug 821474 - Add memory reporting for Shmem and Memory texture clients. r=BenWa 2013-09-27 20:17:15 +02:00
Nicholas Cameron
6d1b35bad7 Bug 882113. Azurification of compositor classes. r=mattwoodrow 2013-09-27 12:37:19 +12:00
Nicolas Silva
642baa4241 Bug 916118 - Backed out changeset bafb8bf3b279 on a CLOSED TREE 2013-09-26 19:06:12 +02:00
Nicolas Silva
92664921c0 Bug 916118 - Simplify the deallocation flags in TextureClient/Host. r=nrc 2013-09-26 18:00:23 +02:00
Robert O'Callahan
149596d5ca Bug 914426. Don't try to dump DeprecatedTextureHost contents unless HTML tree dumping is enabled. Also, be lenient about null values and unknown formats. r=nrc
--HG--
extra : rebase_source : bc7aff0dacdea4a7c71bdb659774fd96a25fa529
2013-09-09 17:08:42 -07:00
Benoit Jacob
6ac61cabdb 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
c1d7f88886 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
Benoit Girard
a9670206fe Bug 919712 - Add labels in IPC message wait. r=benjamin 2013-09-24 11:40:01 -04:00
Benoit Jacob
78d2b1083d Bug 900020 - fix compilation - no review, bustage 2013-09-24 08:21:55 -04:00
Benoit Jacob
b705464fbe Bug 900020 - Renew the surface when we hit an incomplete default framebuffer in the compositor - r=nrc 2013-09-24 07:54:07 -04:00
Nicolas Silva
9a8a26ccc7 Bug 918078 - Do not require locking in TextureHost::PrintInfo. r=BenWa 2013-09-23 13:28:40 +02:00
Benoit Jacob
7c3d0634fa Bug 915869 - Let the GrallocBufferActor keep an _array_ of backrefs to TextureHosts referencing it - r=nical 2013-09-17 14:48:08 -04:00
Sotaro Ikeda
2424f41350 Bug 916264 - Delete texture to unbound from texture. r=nical 2013-09-17 11:10:25 -04:00
Ryan VanderMeulen
d7cbee6d49 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
3f5be0e5e1 Bug 909746 - Delete texture to unbound from texture. r=nical 2013-09-17 11:10:25 -04:00
Nicolas Silva
515bb2ef05 Bug 916116 - Avoid some code duplication in Gralloc textures. r=sotaro 2013-09-17 15:29:19 +02:00
Nicolas Silva
d5dedc7e75 Bug 916116 - Remove useless #if 1. r=bjacob 2013-09-16 19:04:36 +02:00
Sotaro Ikeda
a4c509bf2d 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
Ryan VanderMeulen
c22b2b3980 Merge m-c to b2g-inbound. 2013-09-12 20:41:54 -04:00
Nicolas Silva
be66706698 Bug 913821 - Conservatively ensure that TextureClients/Hosts are removed at the end of a video. r=sotaro 2013-09-12 16:50:35 +02:00