Andrew McCreight
8145d04124
Bug 1062479 - Use static strings for WeakReference type names. r=ehsan
2015-04-24 09:43:01 -07:00
Andrea Marchesini
cece1d9f00
Bug 1156632 - Remove unused forward class declarations - patch 6 - the rest of the tree, r=ehsan
2015-04-22 08:29:24 +02:00
Ehsan Akhgari
33bb32f549
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Matt Woodrow
0cf3a7cea7
Bug 1138967 - Part 1: Remove ISharedImage. r=nical
2015-03-19 10:15:38 +13:00
Matt Woodrow
67f43c6536
Bug 1131638 - Discard video frames that fail to sync. r=cpearce
2015-03-12 22:13:23 +13:00
Matt Woodrow
8b8eea83ee
Back out bug 1131638 (changesets 78b34d0e414a and 1b55b99dc432) for causing various video regressions
2015-03-09 16:18:32 +13:00
Anthony Jones
cb8ffc5ee9
Bug 1131638 - Discard DXVA frames that don't complete YUV->RGB conversion. r=cpearce
2015-02-20 16:27:42 +13:00
Ehsan Akhgari
fcf3f5e262
Bug 1117263 - Mark virtual overridden functions as MOZ_OVERRIDE in graphics layers code; r=roc
2015-01-03 12:21:23 -05:00
Alfredo Yang
2b6ee6bf53
Bug 938034 - Add GonkCameraImage format. r=roc
2014-12-17 23:42:00 -05:00
Wes Kocher
2e2d08fbaf
Backed out changeset bfe4f2eb91c5 (bug 938034) for non-unified bustage on a CLOSED TREE
2014-12-15 14:16:59 -08:00
Alfredo Yang
fe254ebfaf
Bug 938034 - Add new GonkCameraImage image type. r=roc
2014-12-15 01:01:00 -05:00
Sotaro Ikeda
4a33624da4
Bug 1091777 - Add TextureClient recycling to CairoImag r=nical
2014-11-13 07:53:49 -08:00
Ryan VanderMeulen
289fc4870b
Backed out changeset 92295f515d2d (bug 1091777) for bustage.
2014-11-12 21:09:40 -05:00
Sotaro Ikeda
34dd2a5f5b
Bug 1091777 - Add TextureClient recycling to CairoImag r=nical
2014-11-12 17:47:10 -08:00
Robert O'Callahan
6d3bc4bb4c
Bug 1072528. Part 2: Remove layers code. r=bas
2014-09-24 16:35:06 -04:00
Trevor Saunders
86b7aff8fc
bug 1047696 - mark a number of classes MOZ_FINAL to get compilers to devirtualize more r=froydnj
2014-08-05 13:33:55 -04:00
chiajung hung
981893619b
Bug 1002823 - [Stingray] Add a new kind of image layer without graphic buffer for overlaying video input. r=nical
2014-08-18 22:14:00 -04:00
Ehsan Akhgari
3bffba3b99
Bug 1050609 - Fix more bad implicit constructors in gfx/layers; r=roc
2014-08-20 00:55:14 -04:00
Cgg
3642ea4e9d
Bug 783043 - Restore original image factory after paint operations. r=nical
...
---
gfx/layers/ImageContainer.h | 5 +++++
gfx/layers/basic/BasicImageLayer.cpp | 7 +++++++
2 files changed, 12 insertions(+)
2014-06-21 14:32:30 +02:00
Nicolas Silva
8e43d830f3
Bug 783043 - Backed out changeset 29bc4fa125d9 (commit message). r=me
2014-06-21 19:51:07 +02:00
Cgg
d2892f8176
From d5e66ff9f47b4bbd59808c75ede6e30ad35a5cd4 Mon Sep 17 00:00:00 2001
...
Bug 783043 - Restore original image factory after paint operations. r=nical
---
gfx/layers/ImageContainer.h | 5 +++++
gfx/layers/basic/BasicImageLayer.cpp | 7 +++++++
2 files changed, 12 insertions(+)
2014-06-21 14:32:30 +02:00
Benoit Jacob
dd18742280
Bug 1027251 - Fix or whitelist dangerous public destructors in gfx/ - r=jrmuizel
2014-06-18 22:28:59 -04:00
Benoit Jacob
90c1d6c82b
Bug 989145 - Convert ImageContainer::mBackendData to be an EnumeratedArray - r=nical
2014-04-25 22:34:06 -04:00
Jonathan Watt
0a0470e24e
Bug 996901 - Remove lots of gfxASurface.h and gfxImageSurface.h includes and forward declarations that are no longer needed. r=mattwoodrow
2014-04-16 01:41:40 +01:00
Jonathan Watt
3e160b2c76
Bug 960524 - Get rid of Image::DeprecatedGetAsSurface (Moz2D migration). r=mattwoodrow
2014-04-10 09:49:53 +01:00
Daniel Holbert
652ce79f6e
Bug 984786 part 8: Give NS_INLINE_DECL_*REFCOUNTING classes private destructor & MOZ_FINAL annotation where appropriate, in /gfx and /content/canvas. r=bjacob
2014-04-04 09:27:02 -07:00
Nicolas Silva
788de6da4a
Bug 989883 - Remove deprecated ImageClient/Host. r=mattwoodrow
2014-04-01 14:28:00 +08:00
Eric Rahm
dbb0f24d7e
Bug 962154 - Use MallocSizeOf to report decoded-video memory. r=cpearce,njn
2014-03-19 14:33:12 -07:00
Jonathan Watt
4ff79704b9
Bug 982395 - Remove ImageContainer::DeprecatedLockCurrentAsSurface. r=mattwoodrow
2014-03-11 23:50:59 +00:00
Ehsan Akhgari
b965cde2f2
Bug 935778 - Part 0.8: Spray some more MOZ_DECLARE_REFCOUNTED_TYPENAME across the tree
2014-03-08 12:14:32 -05:00
Michael Wu
7111cc628d
Bug 962670 - Store decoded images in VolatileBuffers, r=seth,jrmuizel
2014-02-24 22:37:51 -05:00
Ali Akhtarzada
2c7bbd2605
Bug 972843 - Make Image::GetAsSourceSurface pure virtual. r=nical
2014-02-18 08:59:34 -05:00
Matt Woodrow
6dc1fe08d0
Bug 889959 - Implement GetTextureClient for CairoImage. r=nical
2014-02-17 11:23:39 +13:00
Phil Ringnalda
ac63c0f4a1
Backed out 3 changesets (bug 972703, bug 889959) for build failures and crashes
...
CLOSED TREE
Backed out changeset ef3d90780478 (bug 972703)
Backed out changeset 34c95e937671 (bug 889959)
Backed out changeset 5e25912d6696 (bug 889959)
2014-02-16 15:17:01 -08:00
Matt Woodrow
5e0f91a29a
Bug 889959 - Implement GetTextureClient for CairoImage. r=nical
2014-02-17 11:23:39 +13:00
Ali Akhtarzada
1b57105f97
Bug 959120 - Moz2Dify AutoLockImage contructor. r=nical
...
Changed the AutoLockImage constructor to take a SourceSurface
instead of a gfxASurface
2014-02-12 10:24:21 -05:00
Benoit Jacob
3991287fb7
Bug 964442 - Make CreateImage just take a plain format parameter - r=jrmuizel
2014-01-30 17:58:51 -05:00
Benoit Jacob
e6d46b061f
Bug 962784 - Convert ImageTypes.h to typed enums - r=jrmuizel
...
find content/media media/webrtc gfx/layers gfx/tests dom/camera dom/plugins image/src layout/base -type f | grep -v 'gfx/layers/ImageTypes.h' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(GRALLOC_PLANAR_YCBCR\|PLANAR_YCBCR\|SHARED_RGB\|CAIRO_SURFACE\|MAC_IOSURFACE\|REMOTE_IMAGE_BITMAP\|SHARED_TEXTURE\|REMOTE_IMAGE_DXGI_TEXTURE\|D3D9_RGB32_TEXTURE\)\($\|[^A-Za-z0-9_]\)/\1ImageFormat::\2\3/g'
find content/media media/webrtc gfx/layers gfx/tests dom/camera dom/plugins image/src layout/base -type f | grep -v 'gfx/layers/ImageTypes.h' | xargs sed -i 's|ImageFormat\:\:ImageFormat|ImageFormat|g'
find content/media media/webrtc gfx/layers gfx/tests dom/camera dom/plugins image/src layout/base -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)STEREO_MODE_\(MONO\|LEFT_RIGHT\|RIGHT_LEFT\|BOTTOM_TOP\|TOP_BOTTOM\)\($\|[^A-Za-z0-9_]\)/\1StereoMode::\2\3/g'
find content/media media/webrtc gfx/layers gfx/tests dom/camera dom/plugins image/src layout/base -type f | grep -v 'gfx/layers/ImageTypes.h' | xargs sed -i 's|StereoMode\:\:StereoMode|StereoMode|g'
2014-01-30 17:58:49 -05:00
Ali Akhtarzada
1dda9df3be
Bug 962288 - Don't call DeprecatedGetAsSurface unless it's Cairo. r=mattwoodrow
...
Changeset from Bug 959123 caused a performance decrease because
DeprecatedGetAsSurface was being called on an image that may not
be a CAIRO_SURFACE.
Reverted CairoImage surface members to public access as they were
before the patch from bug 959123.
2014-01-24 08:42:12 -05:00
Benoit Jacob
67a17b1047
Bug 959448 - Convert most of LayersTypes.h to typed enums - r=nrc
...
find content/media dom/ipc widget/ gfx/tests gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)LAYERS_\(NONE\|BASIC\|OPENGL\|D3D9\|D3D10\|D3D11\|CLIENT\|LAST\)\($\|[^A-Za-z0-9_]\)/\1LayersBackend::LAYERS_\2\3/g'
find widget gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)BUFFER_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1BufferMode::BUFFER_\2\3/g'
find widget gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)BUFFER_\(BUFFERED\)\($\|[^A-Za-z0-9_]\)/\1BufferMode::\2\3/g'
find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)CLIP_\(DRAW\|DRAW_SNAPPED\)\($\|[^A-Za-z0-9_]\)/\1DrawRegionClip::\2\3/g'
find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)CLIP_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1DrawRegionClip::CLIP_\2\3/g'
find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SURFACE_\(NONE\|OPAQUE\|SINGLE_CHANNEL_ALPHA\|COMPONENT_ALPHA\)\($\|[^A-Za-z0-9_]\)/\1SurfaceMode::SURFACE_\2\3/g'
find gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SCALE_\(STRETCH\|SENTINEL\)\($\|[^A-Za-z0-9_]\)/\1ScaleMode::\2\3/g'
find gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SCALE_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1ScaleMode::SCALE_\2\3/g'
2014-01-23 13:26:41 -05:00
Ali Akhtarzada
c8d408d444
Bug 959526 - Implement PlanarYCrCbImage and derived classes GetAsSourceSurface. r=nical
...
Implement GetAsSourceSurface in:
* PlanarYCrCbImage
* BasicPlanarYCrCbImage
* SharedPlanarYCrCbImage
2014-01-21 11:49:53 -05:00
Ali Akhtarzada
b9fa4ce207
Bug 959124 - Implement RemoteBitmapImage::GetAsSourceSurface. r=nical
...
Just added a subclass specific implementation of GetAsSourceSurface.
2014-01-17 11:22:44 -05:00
Ali Akhtarzada
2b8742c537
Bug 959123 - Implement CairoImage::GetAsSourceSurface. r=nical
...
Deprecate CairoImage::Data::mSurface and add an mSourceSurface.
Also change all the callers of CairoImage::SetData to set the
SourceSurface as well.
Also change scope of CairoImage::mSource to private
2014-01-17 11:22:09 -05:00
Ali Akhtarzada
22923ea39e
Bug 958490 - Implement ImageContainer::Lock/GetAsCurrentSurface. r=nical
...
Added member functions GetCurrentAsSourceSurface and
LockCurrentAsSourceSurface to return a gfx::SourceSurface instead
of a gfxASurface.
Deprecated LockCurrentAsSurface and GetCurrentAsSurface
2014-01-15 10:06:43 -05:00
Ali Akhtarzada
2317024a4c
Bug 958489 - Implement base Image::GetAsSourceSurface. r=nical
...
Added an Image::GetAsSourceSurface to return a gfx::SourceSurface
and implemented in terms of gfxPlatform::GetSourceSurfaceForSurface.
Deprecated GetAsSurface.
2014-01-15 10:06:43 -05:00
Tor Arvid Lund
0f9fdd2d39
Bug 950677 - Change gfxIntSize to gfx::IntSize in ImageContainer.h. r=nical
2013-12-20 11:46:29 -05:00
Tor Arvid Lund
af7e76f848
Bug 929513 - Replace some instances of gfxIntSize with gfx::IntSize r=nical
2013-12-13 18:32:02 +01:00
Sotaro Ikeda
1181e71e7f
Bug 925381 - Fix mpeg4 video seek failure. r=nical, r=doublec
2013-10-17 11:09:15 -04: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
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