Kartikaya Gupta
7a0456fa50
Bug 965945 - Prevent the parent process from running out of memory if the child process requests a giant gralloc buffer. r=bjacob
2014-02-19 12:08:00 -05:00
Kartikaya Gupta
a20adb29b4
Back out 679e69e79fe2 (bug 965945) for causing C2 bustage on B2G emulator builds. r=backout
2014-02-19 17:21:09 -05:00
Kartikaya Gupta
fcc987ee4f
Bug 965945 - Prevent the parent process from running out of memory if the child process requests a giant gralloc buffer. r=bjacob
2014-02-19 12:08:00 -05:00
Sotaro Ikeda
81d019b34f
Bug 966446 - Handle GrallocBufferActor::ActorDestroy for new texture. r=nical
2014-02-06 20:32:29 -05:00
Sotaro Ikeda
8039dc9590
Bug 964976 - Prevent crash of unsupported pixel format gralloc allocation. r=nical
2014-01-30 11:17:10 -05:00
Benoit Jacob
123083a93d
Bug 959380 - Fix a mismatched enum bug revealed by the conversion of gfxImageFormat into a typed enum - no review, trivial build fix
2014-01-23 15:02:23 -05:00
Benoit Jacob
3369ca8bb6
Bug 959380 - 2/5 - Make gfxImageFormat a typed enum - r=jrmuizel
...
find . -type f | grep -v \./obj | grep -v \.hg | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)gfxImageFormat\(ARGB32\|RGB24\|A8\|A1\|RGB16_565\|Unknown\)\($\|[^A-Za-z0-9_]\)/\1gfxImageFormat::\2\3/g'
2014-01-23 13:26:40 -05:00
Solomon Chiu
374ffb7755
Bug 958420 - Remove obsolete code trying to use PIXEL_FORMAT_A_8 with gralloc. r=gal, r=pchang
2014-01-13 10:00:34 +08:00
Carsten "Tomcat" Book
482a1c8977
Backed out changeset e9a7aaad1771 (bug 958420) for causing merge conflicts from m-c
2014-01-13 14:41:31 +01:00
Solomon Chiu
10551087fa
Bug 946245 - Port GonkDisplay to KK, r=mwu,sotaro,pchang
2014-01-09 18:42:54 +08:00
Solomon Chiu
007c15898f
Bug 958420 - remove obsolete code trying to use PIXEL_FORMAT_A_8 with gralloc, r=gal,pchang
2014-01-13 10:00:34 +08:00
Nicholas Nethercote
82b05b710d
Bug 955942 (part 2) - Remove MemoryUniReporter. r=mccr8.
...
--HG--
extra : rebase_source : 9d70016cb19637ffece6409a184bf41d574cc6b4
2013-12-07 22:09:10 -08:00
Tor Arvid Lund
018c04cd13
Bug 950677 - Fix compile errors on Windows/FFOS builds. r=nical
...
The errors were discovered when running on the try server. Chose #include
in GrallocImages because there were problems with fwd declarations again.
2013-12-20 11:46:31 -05:00
Tor Arvid Lund
7ca62e387f
Bug 950677 - gfxIntSize -> IntSize in ipc/Shadow* files. r=nical
2013-12-20 11:46:30 -05:00
Tor Arvid Lund
63ea87829c
Bug 950677 - Change gfxIntSize -> gfx::IntSize some places in layers/ipc. r=nical
2013-12-20 11:46:28 -05:00
Nicolas Silva
2c99be0508
Bug 897452 - Part 1 - Implement the PTexture protocol - r=mattwoodrow
2013-12-11 20:44:44 -05:00
Ryan VanderMeulen
f9166936cb
Backed out 17 changesets (bug 897452) for OSX crashes on a CLOSED TREE.
...
Backed out changeset 11ad8608bc27 (bug 897452)
Backed out changeset 6bcc629e76f9 (bug 897452)
Backed out changeset b91c858a43f5 (bug 897452)
Backed out changeset 38ba49ee3e97 (bug 897452)
Backed out changeset ea184ef84762 (bug 897452)
Backed out changeset 686cc5122149 (bug 897452)
Backed out changeset 3685a8018e49 (bug 897452)
Backed out changeset be7ef6240068 (bug 897452)
Backed out changeset f95c20e70947 (bug 897452)
Backed out changeset 4a370d2a1c62 (bug 897452)
Backed out changeset 1222f6ab66d2 (bug 897452)
Backed out changeset 5e9d3c681ee9 (bug 897452)
Backed out changeset 3b9ddce12b7a (bug 897452)
Backed out changeset 7aec6387f3e9 (bug 897452)
Backed out changeset eb1fe464fdaf (bug 897452)
Backed out changeset 07deaa53b6fd (bug 897452)
Backed out changeset ddab7d071d69 (bug 897452)
2013-12-11 14:52:50 -05:00
Nicolas Silva
7924a5e832
Bug 897452 - Part 1 - Implement the PTexture protocol - r=mattwoodrow
2013-12-11 13:05:09 -05:00
Benoit Jacob
38f49f84a9
Bug 942501 - Part 1: remove some dead code around TextureImage functions - r=BenWa
2013-12-03 13:44:38 -05:00
Nicholas Nethercote
77419f6a47
Bug 936964 (part 7, attempt 2) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz.
...
* * *
Bug 936964 (part 7b) - Fix a use-after-free found by ASan.
--HG--
extra : rebase_source : d38ab6b63e9d576773baf8e55fa4f7182c33915e
2013-11-07 16:35:30 +11:00
Ehsan Akhgari
c3970a73fb
Backed out 9 changesets (bug 943660, bug 936964) because of ASAN use-after-free crashes on browser-chrome and mochitest-other
...
Backed out changeset 85486c4aa3d8 (bug 936964)
Backed out changeset 25312eb71998 (bug 936964)
Backed out changeset 6dbb8333960c (bug 936964)
Backed out changeset da6465ad476f (bug 936964)
Backed out changeset a87ffc992f38 (bug 936964)
Backed out changeset 4ae3a61182db (bug 936964)
Backed out changeset 34e9c3137804 (bug 936964)
Backed out changeset fd1459e71585 (bug 936964)
Backed out changeset 3e8a701d8bdc (bug 943660)
Landed on a CLOSED TREE
--HG--
rename : content/canvas/src/WebGLMemoryTracker.h => content/canvas/src/WebGLMemoryReporterWrapper.h
2013-11-27 20:05:00 -05:00
Nicholas Nethercote
78e4d6490d
Bug 936964 (part 7) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz.
...
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryTracker.h
extra : rebase_source : 611e8d35907959b163aeced1c4ffe1d265048fe6
2013-11-07 16:35:30 +11:00
Benoit Jacob
5f4cdeaa93
Bug 933082 - Part 4: let ClientLayerManager hold a ShadowLayerForwarder instead of inheriting from ShadowLayerForwarder. Make ISurfaceAllocator refcounted. Make SharedSurface_Gralloc keep its mAllocator alive - r=nical
2013-11-27 10:19:34 -05:00
Ryan VanderMeulen
bc4870bf0a
Backed out changesets 7caa8e80b06a, 1509f8be5df3, a249bd79e71a, and 9cc4a77561e8 (bug 933082) for mochitest asserts on a CLOSED TREE.
2013-11-26 14:58:09 -05:00
Benoit Jacob
7031739d99
Bug 933082 - Part 4: let ClientLayerManager hold a ShadowLayerForwarder instead of inheriting from ShadowLayerForwarder. Make ISurfaceAllocator refcounted. Make SharedSurface_Gralloc keep its mAllocator alive - r=nical
2013-11-26 14:00:29 -05:00
Chris Lord
75cb9a11ee
Bug 869696 - Enable Gralloc on the Geeksphone Peak again. r=bjacob
...
The issues that caused it to be disabled initially have now been resolved.
2013-11-19 13:29:29 +00:00
Benoit Jacob
bb1bb8f958
Bug 919219 - fix the b2g build - no review, bustage, CLOSED TREE
2013-09-24 18:09:20 -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 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
Benoit Jacob
b14e6db315
Bug 915869 - Let the GrallocBufferActor inform its old TextureHost when it's switching to another TextureHost - r=jrmuizel
2013-09-17 14:47:27 -04:00
Nicholas Nethercote
9d1d4e73b0
Bug 910517 (3rd attempt) - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
...
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 2b2a1b2667d6562fcf803ec48b4a8c10fdd519a3
2013-08-27 16:24:51 -07:00
Benoit Jacob
590564045c
Bug 912042 - Avoid including GLContext.h in headers that don't need it - r=jrmuizel
2013-09-04 08:14:52 -04:00
Nicolas Silva
5a54f98b0f
Bug 907745 - Gralloc implementaion of the new texture client/host. r=pchang, bjacob
2013-08-09 17:23:46 +02:00
Nicholas Nethercote
febbe1a12f
Bug 831193 (part 10) - Don't use NS_MEMORY_REPORTER_IMPLEMENT in parts of gfx/. r=bjacob.
...
--HG--
extra : rebase_source : 433b12748c8562b384a02fbee6d98e3bc991802d
2013-01-17 16:45:11 -08:00
Edwin Flores
c80309e9c2
Bug 892934 - Pass RGB image format into CreateTextureImage r=mattwoodrow
2013-08-08 10:38:21 +12:00
Ryan VanderMeulen
d19fb9ee63
Backed out changeset d264bdb8b400 (bug 884188).
2013-07-24 11:15:47 -04:00
Ryan VanderMeulen
0439786998
Merge m-c to inbound on a CLOSED TREE.
2013-07-18 14:53:05 -04:00
Gabriele Svelto
93c7102266
Bug 884188 - Resize small gralloc'd surfaces to work around issues when drawing small canvases on certain devices. r=nrc
2013-07-17 17:04:33 +02:00
Chris Lord
023cccd339
Bug 869696 - Disable gralloc surfaces on the Geeksphone Peak. r=jrmuizel
...
Geeksphone distribute a known bad driver that has issues when using
gralloc-backed surfaces. Performance is much better just falling back to
shared memory.
2013-07-17 15:34:52 +01:00
Nicolas Silva
e997aad0fc
Bug 858914 - Mark all TextureHost and TextureClient classes deprecated. r=mattwoodrow
2013-07-08 23:30:44 +02: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
Kyle Machulis
346c0ff7e2
Bug 885266: Fix wrong ifdef in ShadowLayersUtilsGralloc; r=kanru
2013-06-21 12:33:12 -07:00
Kyle Machulis
d90cdf598a
Bug 871624 - gralloc in b2g doesn't work on the Nexus S [r=bjacob r=mwu]
2013-06-05 13:42:00 -07:00
Sotaro Ikeda
cefbc254da
Bug 880268 - Handle default pixel format in BytesPerPixelForPixelFormat(). r=vlad
2013-06-07 12:05:03 -04:00
Michael Wu
8644c6a810
Bug 880095 - ShadowLayerUtilsGralloc.cpp uses pixel formats removed on gonk-JB, r=vlad
2013-06-06 14:01:30 -04: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
Vladimir Vukicevic
8f3c6c3bb6
Backed out changeset fd25fb9e951e and 0f0c080ed1ba (bug 843599) for mac debug assertion failures on a CLOSED TREE
2013-05-27 11:45:59 -04:00
Vladimir Vukicevic
dfdb68d68a
b=843599; use gralloc buffers for WebGL streaming on B2G; r=nical,jgilbert,jrmuizel
2013-05-27 10:12:13 -04:00
Bas Schouten
79b9b4b638
Bug 866952: Unregister from old GrallocBufferActor when switching buffers. r=bjacob
2013-04-30 12:14:21 +02:00
Benoit Jacob
1d641ad5c1
Bug 862324 - Let the PGrallocBufferParent inform the TextureHost when it's going away - r=nrc
2013-04-26 23:31:53 -04:00