Ehsan Akhgari
9bfa79023b
Bug 1038158 - Give ReadbackResultWriter a private destructor; r=bjacob
2014-07-15 16:41:05 -04:00
Jeff Gilbert
f032a2a672
Bug 1037151 - Merge SharedSurface_GL into SharedSurface. - r=mattwoodrow
2014-07-11 15:10:49 -07:00
Jeff Gilbert
4c1235d464
Bug 1033124 - Use correct and more precise coeffs for YCbCr->RGB conversion. - r=mattwoodrow,r=bas
2014-07-02 17:48:18 -07:00
Jeff Gilbert
7975417def
Bug 1000640 - Update Gralloc and ANGLE ShSurf backends. - r=mattwoodrow
2014-06-18 17:04:05 -07:00
Jonathan Watt
351e484b60
Bug 1025494 - Remove dead code in ThebesLayerD3D10 that creates a gfxD2DSurface. r=Bas
2014-06-17 18:35:51 +01:00
Jonathan Watt
c0a8b4c744
Bug 1022667, part 3 - Remove various bits of dead code from D3D layers code. r=Bas
2014-06-10 16:42:22 +01:00
Wes Kocher
6d7b8049c9
Backed out changeset cb1ea8162165 (bug 1000640)
2014-06-04 18:27:31 -07:00
Jeff Gilbert
418da95c47
Bug 1000640 - Update Gralloc and ANGLE ShSurf backends. - r=mattwoodrow
2014-06-04 15:20:25 -07:00
Matt Woodrow
6566a558e8
Bug 1001845 - Simplify invalid regions to avoid spending excessive amounts of time in region code. r=roc
2014-04-28 16:17:31 +12:00
Nicolas Silva
69c73e6b6b
Bug 1013292 - Fix some using namespace + unified build issues in gfx code. r=kats
2014-05-22 12:11:45 +02:00
Matt Woodrow
e00ee174fb
Bug 1008573 - Simplify D3D10 invalid region before we clear the surface. r=Bas
2014-05-13 11:46:54 +12:00
Matt Woodrow
f67185f255
Bug 938395 - Enable single rect painting for d3d10. r=Bas
2014-05-08 14:56:48 +12:00
Carsten "Tomcat" Book
7ee15a69e3
Backed out changeset 6efbbdf09c63 (bug 1001845) for refest failures
2014-05-06 14:09:56 +02:00
Matt Woodrow
8a1624f75f
Bug 1001845 - Simplify invalid regions to avoid spending excessive amounts of time in region code. r=roc
2014-04-28 16:17:31 +12:00
Birunthan Mohanathas
5f1fde8824
Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj
2014-04-27 03:06:00 -04:00
Jeff Gilbert
53a1f9efe3
Bug 992874 - Don't try to texture from bad D3D10 texture. - r=bas
2014-04-16 11:05:48 -07:00
Kartikaya Gupta
c96a07d472
Bug 996768 - Remove redundant copies of HasOpaqueAncestorLayer. r=Bas
2014-04-16 13:56:52 -04:00
Jonathan Watt
200e95e9eb
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
d54d6a8047
Bug 960524 - Get rid of Image::DeprecatedGetAsSurface (Moz2D migration). r=mattwoodrow
2014-04-10 09:49:53 +01:00
Jonathan Watt
52c729fd76
Bug 964731 - Convert ImageLayerD3D10 and CreateOptimalSurface/CreateOptimalMaskSurface to Moz2D. r=Bas
2014-04-10 09:49:49 +01:00
Jeff Gilbert
0f2e420ea1
Bug 963962 - Fix use of CreateDrawTargetForData in CanvasLayerD3D9/10. r=Bas
2014-04-07 10:24:14 -04:00
Jonathan Watt
5ddf21644d
Bug 990752 - Make ImageLayerD3D9/ImageLayerD3D10::Render() use mSourceSurface instead of mDeprecatedSurface (Moz2D migration). r=mattwoodrow
2014-04-02 12:33:15 +01:00
snigdha
9cc482da68
Bug 798033 - Headers should generally not do "using namespace" at file scope. r=jib, r=jmathies, r=rjesup, r=ekr, r=ncameron, r=blassey
2014-04-01 08:29:25 -04:00
Jonathan Watt
cddedd8d2b
Bug 985049 - Remove gfxPlatform::SupportsAzureContent() and kill of the resulting dead code. r=mattwoodrow
2014-03-19 10:36:58 +08:00
Kyle Huey
fe6c4e28d6
Bug 967364: Rename already_AddRefed::get to take. r=bsmedberg
2014-03-15 12:00:15 -07:00
Jeff Gilbert
8f53ae3993
Bug 976813 - Separate ShSurf::Texture for Prod and Cons. - r=snorp
2014-03-10 19:08:49 -07:00
Matt Woodrow
0304720ba9
Bug 940455 - Add LayerManager functonality to clear out a portion of the window for the OS to paint. r=roc,Bas
2014-02-13 13:20:41 +13:00
Mike Conley
e5ef2f1eee
Backing out bug 940455 (36e45a68452b) for numerous regressions. r=bustage-fix.
2014-03-07 16:50:30 -05:00
Matt Woodrow
205af94a59
Bug 940455 - Add LayerManager functonality to clear out a portion of the window for the OS to paint. r=roc,Bas
2014-02-13 13:20:41 +13:00
Ryan VanderMeulen
0d7b59001e
Backed out changeset 6f05267b4afc (bug 798033) for Android bustage.
2014-03-05 09:55:52 -05:00
snigdha
a441998156
Bug 798033 - Headers should generally not do "using namespace" at file scope. r=jib, r=jmathies, r=rjesup, r=ekr, r=ncameron, r=blassey
2014-03-05 08:47:45 -05:00
Milan Sreckovic
2d75d8ad7c
Bug 971943: 2. webgl.force-layers-readback preference moved to gfxPrefs. r=gw280
2014-02-28 12:59:37 -05:00
Masatoshi Kimura
8ddf7de8a5
Bug 969918 - Use decltype to declare pointers for dynamic-loaded functions. r=jimm sr=roc
2014-02-18 07:32:52 +09:00
Tor Arvid Lund
cdfd45fed5
Bug 948765 - Port CopyableCanvasLayer to Moz2D. r=nical
...
This patch deprecates the UpdateSurface and PaintWithOpacity methods in the
CCL class. To do this, many other changes were made in the process.
BasicImplData::Paint was deprecated, and its mOperator was ported to Moz2D.
This caused changes in several *Layer subclasses.
GLScreenBuffer::Readback was deprecated.
I want to change the usages of the (now) deprecated functions, so that they
use the new Moz2D ones: CanvasClient::Update has been updated, but the big
one (BasicLayerManager::PaintSelfOrChildren) will have to be its own
project.
2014-02-12 10:07:46 -05:00
Bas Schouten
b496b18de3
Bug 805406: Do not validate ThebesLayers when the D2D device is invalid. r=jrmuizel
2014-02-08 19:37:38 +00:00
Tor Arvid Lund
03db0bd74b
Bug 968746 - Remove unused CanvasLayer::Data::mSurface. r=nical
...
Since no code path ever set CanvasLayer::Data::mSurface, remove the field
entirely
2014-02-06 09:46:30 -05:00
Benoit Jacob
684ce17489
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
Jeff Gilbert
278a0e44f6
Bug 960319 - Don't use GLTextures for non-ANGLE D3D WebGL layers. r=vlad
2014-01-30 10:59:16 -05:00
Ali Akhtarzada
70b230ed85
Bug 961714 - Implement RemoteDXGITextureImage::GetAsSourceSurface. r=nical
2014-01-28 09:00:10 -05:00
David Zbarsky
76ec000c2f
Bug 952977: Perform some cleanup r=nical
2014-01-27 15:25:19 -05:00
David Zbarsky
85e9d23aa9
Bug 952977: Convert ComputeEffectiveTransforms to gfx::Matrix4x4 r=nical
2014-01-27 10:28:04 -05:00
David Zbarsky
b339e3cd5c
Bug 952977: Convert GetEffectiveTransform to gfx::Matrix4x4 r=nical
2014-01-24 17:49:19 -08:00
Ali Akhtarzada
667ea8a730
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
61df69f208
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
Benoit Jacob
aebf0bb92a
Bug 959380 - 4/5 - Make gfxContentType a typed enum - r=jrmuizel
...
find . -type f | grep -v '\./obj' | grep -v '\.hg' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)GFX_CONTENT_\(COLOR\|ALPHA\|COLOR_ALPHA\|SENTINEL\)\($\|[^A-Za-z0-9_]\)/\1gfxContentType::\2\3/g'
2014-01-23 13:26:40 -05:00
Benoit Jacob
ed427f9600
Bug 959380 - 3/5 - Make gfxSurfaceType a typed enum - r=jrmuizel
...
find . -type f | grep -v '\./obj' | grep -v '\.hg' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)gfxSurfaceType\(Image\|PDF\|PS\|Xlib\|Xcb\|Glitz\|Quartz\|Win32\|BeOS\|DirectFB\|SVG\|OS2\|Win32Printing\|QuartzImage\|Script\|QPainter\|Recording\|VG\|GL\|DRM\|Tee\|XML\|Skia\|Subsurface\|D2D\|Max\)\($\|[^A-Za-z0-9_]\)/\1gfxSurfaceType::\2\3/g'
2014-01-23 13:26:40 -05:00
Benoit Jacob
e5ed95579b
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
Wes Kocher
c881c5f2e1
Backed out changeset e0f69ad55edf (bug 962288) under suspicion of leaking on a CLOSED TREE
2014-01-22 14:18:13 -08:00
Ali Akhtarzada
b35c1e7891
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.
2014-01-22 14:12:02 -05:00
Ali Akhtarzada
cd930785a2
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