Andreas Gal
1929e75948
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
4670e7ef81
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
354c5a6223
Bug 923917 - Properly set the y-flip flag in SharedTextureClientOGL. r=Bas
2013-10-09 18:20:57 -07:00
Nicholas Cameron
cfa81cf3d7
Bug 854873. Keep scissor rect enabled. r=kats,nical
2013-10-05 01:03:09 +13:00
Nicolas Silva
fb7278e4bc
Bug 916118 - Simplify the TextureClient deallocation protocol. r=nrc
2013-10-02 13:52:04 -07:00
Nicolas Silva
e422a66147
Bug 922202 - Make PlanarYCbCrImage::Data forward-declarable and remove some header includes. r=bjacob
2013-10-01 17:57:50 -07:00
Ehsan Akhgari
b155782d0a
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
302198d77d
Bug 916116 - Rename CompositableQuirks. r=bjacob
2013-09-30 14:14:38 +02:00
Matt Woodrow
f3fe15f33a
Bug 921233 - Enabled azure for main-thread drawing on OSX. r=jrmuizel
2013-09-30 12:17:35 +13:00
Ehsan Akhgari
cef422f307
Forward declare gfxMatrix as a struct, no bug
2013-09-28 18:20:45 -04:00
Ryan VanderMeulen
a0f5674202
Backed out changeset a77f7d610829 (bug 821474) for leaks.
...
CLOSED TREE
2013-09-27 16:12:28 -04:00
Nicolas Silva
70bd57c168
Bug 821474 - Add memory reporting for Shmem and Memory texture clients. r=BenWa
2013-09-27 20:17:15 +02:00
Nicholas Cameron
009454da8e
Bug 882113. Azurification of compositor classes. r=mattwoodrow
2013-09-27 12:37:19 +12:00
Nicolas Silva
e3ef6e63f3
Bug 916118 - Backed out changeset bafb8bf3b279 on a CLOSED TREE
2013-09-26 19:06:12 +02:00
Nicolas Silva
bc11135ff0
Bug 916118 - Simplify the deallocation flags in TextureClient/Host. r=nrc
2013-09-26 18:00:23 +02:00
Robert O'Callahan
fe273715cd
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
eb8b1d73bb
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
55d6cf1e20
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
c6760a62f1
Bug 919712 - Add labels in IPC message wait. r=benjamin
2013-09-24 11:40:01 -04:00
Benoit Jacob
57f2bcf3fa
Bug 900020 - fix compilation - no review, bustage
2013-09-24 08:21:55 -04:00
Benoit Jacob
fa992cb104
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
32a2e7bb30
Bug 918078 - Do not require locking in TextureHost::PrintInfo. r=BenWa
2013-09-23 13:28:40 +02:00
Benoit Jacob
2dcf3bf15d
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
848985c5e5
Bug 916264 - Delete texture to unbound from texture. r=nical
2013-09-17 11:10:25 -04:00
Ryan VanderMeulen
c5731e7404
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
673a4107bd
Bug 909746 - Delete texture to unbound from texture. r=nical
2013-09-17 11:10:25 -04:00
Nicolas Silva
fbfc359172
Bug 916116 - Avoid some code duplication in Gralloc textures. r=sotaro
2013-09-17 15:29:19 +02:00
Nicolas Silva
dcc027a23f
Bug 916116 - Remove useless #if 1. r=bjacob
2013-09-16 19:04:36 +02:00
Sotaro Ikeda
59015a6eb6
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
fd143fc064
Merge m-c to b2g-inbound.
2013-09-12 20:41:54 -04:00
Nicolas Silva
1393f32821
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
Nicolas Silva
f8616ba377
Bug 901224 - Postpone deallocation of shared data to the end of the next transaction. r=sotaro
2013-09-12 16:50:28 +02:00
Ed Morley
ebfcb6a119
Merge mozilla-central and b2g-inbound
2013-09-12 12:09:58 +01:00
Sotaro Ikeda
422e8f19e2
Bug 871364 - Support GonkNativeWindow on gonk-JB r=jmuizelaar,mwu,doublec,mikeh,glandium
2013-09-12 11:40:26 +02:00
Matt Woodrow
fc0b8ab200
Bug 914505 - Make sure that ThebesLayerBuffer::SupportsAzureContent is correct for the first frame. r=nrc
2013-09-12 16:53:46 +12:00
Benoit Jacob
e77507fa87
Bug 912725 - Do the registration of the TextureHost with the mBuffer exactly when we overwrite *mBuffer, so that in particular we don't do a bogus registration in the single-buffered case - r=nical
2013-09-11 13:39:04 -04:00
Benoit Girard
f11fc41386
Bug 914656 - Annotate the compositor thread for profiling. r=jrmuizel
2013-09-10 15:56:49 -04:00
Matt Woodrow
fa8f16578a
Bug 912173 - Always AddRef and Release the GLContext when sharing a SurfaceStream to avoid mismatches. r=nrc
2013-09-09 14:35:20 +12:00
Nicholas Cameron
6bb0b5ed84
Don't include mozilla-config.h in gfx.layers. No bug. r=me
2013-09-09 08:55:48 +12:00
Benoit Jacob
4dbb3d0ca3
Bug 913603 - Avoid needlessly including nsRect.h - r=jrmuizel
2013-09-06 22:15:49 -04:00
Benoit Jacob
a653be5aa4
Bug 912974 - Split two classes out of GLContext.h, and remove many #includes in GLContext.h - r=jrmuizel
2013-09-06 22:13:37 -04:00
Benoit Jacob
29823d2d34
Bug 912042 - Remove the last occurences of #include "GLContext.h" in remaining headers - r=jrmuizel
2013-09-06 22:11:41 -04:00
Ryan VanderMeulen
10c13ed83a
Merge m-c to inbound.
2013-09-11 22:20:33 -04:00
Andreas Gal
2dd06df490
Follow-up fix for bug 915342 (pushed the original patch without fixing a nit).
2013-09-12 00:07:29 +02:00
Andreas Gal
5ba463915b
Display fill ratio when showing FPS counter (bug 915342, r=bgirard).
2013-09-11 23:57:23 +02:00
Nicolas Silva
afe16b3948
Bug 912040 - Make sure deallocating shared texture data doesn't race with TextureClient access. r=sotaro
2013-09-06 11:04:50 +02:00
Benoit Jacob
8ec75b058c
Bug 912042 - Avoid including GLContext.h in headers that don't need it - r=jrmuizel
2013-09-04 08:14:52 -04:00
Nicholas Cameron
31ac189fe3
Bug 786412. Conslidate container layer methods. r=mattwoodrow
2013-09-02 10:19:18 +12:00
Sotaro Ikeda
5c91bc50ef
Bug 910928 - Fix build and class function override for new gralloc textures. r=nical
2013-08-30 10:24:05 -04:00
Nicolas Silva
a9764d8417
Bug 907745 - Gralloc implementaion of the new texture client/host. r=pchang, bjacob
2013-08-09 17:23:46 +02:00