Commit Graph

748 Commits

Author SHA1 Message Date
Horia Iosif Olaru
b44521b18a Bug 952051 - Change the GetOperator call in FlushGroup to take into account the mix-blend-mode operator for the group. r=roc
Create a new GetEffectiveOperator function that also takes into acount the mix-blend-mode operator for basic layers. Replace logic that chooses between the effective mix blend mode and the operator returned by GetOperator, with calls to this function.
2014-02-27 11:56:48 -05:00
Milan Sreckovic
bc67325654 Bug 971942: 5. nglayout.debug.widget_update_flashing, canvas.azure.accelerated, layers.offmainthreadcomposition.enabled, layers.offmainthreadcomposition.testing.enabled, layers.offmainthreadcomposition.force-enabled, layers.acceleration.disabled moved to gfxPrefs. r=bschouten 2014-02-26 21:53:32 -05:00
Milan Sreckovic
5c4cd11666 Bug 971942: 4. layers.frame-counter, layers.draw-borders, layers.draw-tile-borders, layers.draw-bigimage-borders, layers.dump, layers.frame-counter, layers.progressive-paint, layers.low-precision-buffer moved to gfxPrefs. r=nsilva 2014-02-26 21:53:31 -05:00
L. David Baron
4f04bcdc57 Bug 976350 patch 1: Move the contents of nsTraceRefcnt.h into nsISupportsImpl.h. r=bsmedberg
This makes sense since the file no longer contains anything with the
nsTraceRefcnt name in it, and it will allow renaming nsTraceRefcntImpl
back to nsTraceRefcnt.
2014-02-26 13:36:35 -08:00
Matt Woodrow
048b93a1e5 Bug 975592 - Make sure we find the correct composition manager when updating child process layer trees. r=nical
--HG--
extra : rebase_source : 5e1457117293c74a362a0570aca2673c90038334
2014-02-25 11:45:40 +13:00
Nicolas Silva
c10a56f5ab Bug 974841 - Fix TextureClientX11::Lock. r=jrmuizel 2014-02-24 11:42:54 +01:00
Benoit Jacob
021c61cf16 Bug 970747 - 5/6 - Make ContainerLayer::RepositionChild always perform checks and return bool - r=mattwoodrow 2014-02-21 16:50:25 -05:00
Benoit Jacob
2ad50f33a8 Bug 970747 - 3/6 - Make ContainerLayer::RemoveChild always perform checks and return bool - r=mattwoodrow 2014-02-21 16:50:25 -05:00
Benoit Jacob
874a145907 Bug 970747 - 1/6 - Make ContainerLayer::InsertAfter always perform checks and return bool - r=mattwoodrow 2014-02-21 16:50:25 -05:00
Benoit Jacob
be25d16da4 Bug 971695 - 2/2 - make YCbCrImageDataSerializer check data size - r=nical 2014-02-20 16:04:13 -05:00
Morris Tseng
6998680bed Bug 926128 - Use a single configurable shader in OpenGL layers backend. r=vlad, r=nical, r=gal 2013-11-07 22:22:05 -08:00
Tom Schuster
d2a80abaa7 Bug 973227 - Split up TextureHostX11 into TextureSource and TextureHost file, make it backend independent. r=nical
--HG--
rename : gfx/layers/basic/TextureHostX11.cpp => gfx/layers/basic/X11TextureSourceBasic.cpp
rename : gfx/layers/basic/TextureHostX11.h => gfx/layers/basic/X11TextureSourceBasic.h
rename : gfx/layers/basic/TextureHostX11.cpp => gfx/layers/composite/X11TextureHost.cpp
rename : gfx/layers/basic/TextureHostX11.h => gfx/layers/composite/X11TextureHost.h
2014-02-18 01:30:05 +01:00
Tom Schuster
a79164e45e Bug 973227 - Add GetBackendType to every Compositor class. r=nical 2014-02-18 01:30:05 +01:00
Bill McCloskey
785a0402ee Bug 963952 - [e10s] Don't use basic compositor when using D3D11 compositor (r=mattwoodrow) 2014-02-13 08:53:50 -08: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
Tor Arvid Lund
a31d080fc6 Bug 948765 - Implement BasicImageLayer::Paint. r=nical 2014-02-12 10:07:47 -05:00
Tor Arvid Lund
298876b747 Bug 948765 - Implement BasicColorLayer::Paint. r=nical 2014-02-12 10:07:47 -05:00
Tor Arvid Lund
09df5cf35c 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
Benoit Girard
828b60ea42 Bug 963821 - Port FPS counter to the Compositor API. r=bas
--HG--
rename : gfx/layers/opengl/FPSCounter.h => gfx/layers/composite/FPSCounter.h
2014-02-10 17:14:11 -05:00
Matt Woodrow
bf435a520d Bug 966679 - Implement widget paint flashing for BasicCompositor. r=roc 2014-02-11 16:59:39 +13:00
Bill McCloskey
5fa762bf98 Bug 970736 - Make basic compositor handle texture wrapping correctly (r=mattwoodrow) 2014-02-10 18:46:34 -08:00
Bill McCloskey
1e5217ce6b Bug 970711 - Make basic compositor respect TexturedEffect filter (r=mattwoodrow) 2014-02-10 18:45:11 -08:00
Bill McCloskey
0bbb9d4f11 Bug 970496 - Make sure software compositor's invalid region is sane (r=mattwoodrow) 2014-02-10 16:43:32 -08:00
Bill McCloskey
760c7bf9bb Bug 968635 - Store texture flags in the right place in TextureClientX11 (r=mattwoodrow) 2014-02-10 11:28:50 -08:00
Ms2ger
479e9f45c5 Bug 952033 - Part b: Use IntSize in CreateOffscreenSurface; r=roc 2014-02-09 09:04:38 +01:00
David Anderson
2617e179a9 Bug 947045 - Use Xlib surfaces in basic compositor (r=mattwoodrow) 2014-02-05 08:39:02 -08:00
Ryan VanderMeulen
4ffb4c29de Backed out changesets fce6b2c04bab and db5a4ed50de4 (bug 947045) and changeset bef65fd678a4 (bug 950235) for IPC test crashes on a CLOSED TREE. 2014-02-05 15:45:03 -05:00
David Anderson
974b776f27 Bug 947045 - Use Xlib surfaces in basic compositor (r=mattwoodrow) 2014-02-05 08:39:02 -08:00
Bill McCloskey
d7dfb24c4a Backout bug 947045 for build failures on a CLOSED TREE 2014-02-05 09:05:25 -08:00
David Anderson
3c130dd88c Bug 947045 - Use Xlib surfaces in basic compositor (r=mattwoodrow) 2014-02-05 08:39:02 -08: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
David Zbarsky
20476fcd10 Bug 952977: Convert AutoMaskData to gfx::Matrix4x4 r=nical 2014-01-27 15:25:21 -05:00
David Zbarsky
b03cdd7b39 Bug 952977: Convert CompositingRenderTargetOGL to gfx::Matrix4x4 r=nical 2014-01-27 15:25:21 -05:00
David Zbarsky
8c0287eca2 Bug 952977: Convert DrawTo to gfx::Matrix4x4 r=nical 2014-01-27 15:25:20 -05:00
David Zbarsky
0bbd7b8bd8 Bug 952977: Convert PrepareViewport to gfx::Matrix4x4 r=nical 2014-01-27 15:25:20 -05:00
David Zbarsky
8a0b149ece Bug 952977: Perform some cleanup r=nical 2014-01-27 15:25:19 -05:00
David Zbarsky
2cef9a18e8 Bug 952977: Convert GetLocalTransform to gfx::Matrix4x4 r=nical 2014-01-27 10:28:18 -05:00
David Zbarsky
4e68a5f47e Bug 952977: Convert ComputeEffectiveTransforms to gfx::Matrix4x4 r=nical 2014-01-27 10:28:04 -05:00
David Zbarsky
cbdd71e0f8 Bug 952977: Convert SnapTransforms to gfx::Matrix r=nical 2014-01-27 10:27:20 -05:00
David Zbarsky
0b4e10c2b0 Bug 952977: Convert GetEffectiveTransform to gfx::Matrix4x4 r=nical 2014-01-24 17:49:19 -08:00
Nicholas Cameron
02f536a1b9 Bug 959842. Rename ContentClient::ReturnDrawTarget. r=mattwoodrow 2014-01-24 19:58:33 +13: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
Benoit Jacob
93826fc6b0 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
3846defaec 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
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
Nicolas Silva
3db8b58478 Bug 947213 - Fix an e10s with basic layers crash. r=bjacob 2014-01-23 15:11:36 +01: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
David Zbarsky
3e6531d3e8 Bug 952977: Switch GL world transform to gfx::Matrix r=nical 2014-01-16 02:22:19 -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
Nicholas Cameron
7548c8ea75 Bug 951554. Change the high level painting functions. r=nical
--HG--
extra : rebase_source : bcbed6d9d4e46d4b21854954789fe6ba28cdf3cc
2014-01-13 09:07:42 +13:00
Benoit Jacob
06f7a9c4a2 Bug 958375 - 8/9 - Make remaining Moz2D enums typed - r=Bas
Specifically:
  r=Bas for manual changes
  f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:17 -05:00
Benoit Jacob
55e7c24065 Bug 958375 - 4/9 - Make SurfaceFormat a typed enum - r=Bas
Specifically:
  r=Bas for manual changes
  f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:16 -05:00
Daniel Holbert
534f8825cb Bug 957858: Drop unnecessary 'switch' in CreateTextureHostBasic, to fix MSVC C4065 warning. r=nical 2014-01-09 06:26:20 -08:00
Daniel Holbert
fc4254eb78 Bug 957499: Fix SetCompositor() signature in subclasses of NewTextureSource, to actually override the parent's impl (and to fix -Woverloaded-virtual build warnings). r=nical 2014-01-08 11:25:52 -08:00
Nicholas Cameron
0c8a244237 Bug 933549. Change PaintState to use a DrawTarget instead of a gfxContext. r=mattwoodrow 2014-01-08 10:09:34 +13:00
Nicholas Cameron
2b06b385d4 backed out bug 933549 on a CLOSED TREE 2014-01-08 10:27:14 +13:00
Nicholas Cameron
b88a44ffc8 Bug 933549. Change PaintState to use a DrawTarget instead of a gfxContext. r=mattwoodrow 2014-01-08 10:09:34 +13:00
Nicolas Silva
89a1de2117 Bug 938591 - Use texture flags in DataTextureSource + D3D9/11 fixes. r=nrc 2014-01-07 17:20:11 +01: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
Markus Stange
4ce81395a5 Bug 951302 - Fix BasicCompositor handling of mask layers. r=mattwoodrow 2013-12-18 12:19:47 +01: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
Tor Arvid Lund
b50cf641f1 Bug 929513 - Add YCbCrUtils class and change gfxIntSize in BasicCompositor r=nical
The purpose of this patch is to replace usages of gfxIntSize with
gfx::IntSize in BasicCompositor.

The new class YCbCrUtils has two methods ported from gfxUtils in thebes.
BasicCompositor now uses these methods instead of the ones in gfxUtils.
Also changed gfxIntSize to gfx::IntSize and gfxImageFormat to
gfx::SurfaceFormat.
2013-12-13 18:31:57 +01:00
Phil Ringnalda
3a6df5c9dc Back out b6f9dbc91dc4 (bug 947038) for Cipc crashes 2013-12-12 23:33:50 -08:00
David Anderson
5596e857e9 Ensure that the software compositor never uses deprecated textures (bug 947038, r=mattwoodrow). 2013-12-12 20:29:14 -08:00
Nicolas Silva
f8d884874b Bug 897452 - Part 3 - Clean up some unused code after PTexture change - r=mattwoodrow 2013-12-11 20:44:47 -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
82e5ac3f48 Bug 897452 - Part 3 - Clean up some unused code after PTexture change - r=mattwoodrow 2013-12-11 13:05:13 -05:00
Nicholas Cameron
394fe4e5f2 Bug 946958 part 1. Remove GetWidgetSize. r=mattwoodrow 2013-12-09 14:40:59 +13:00
Birunthan Mohanathas
4fc8d6dc86 Bug 798033 - Remove 'using namespace' from gfx/ headers. r=jrmuizel 2013-12-08 21:53:26 -05:00
Phil Ringnalda
617e2b2636 Backed out 7 changesets (bug 946958, bug 865033)
Backed out changeset 6dd0a6cb9ab3 (bug 946958)
Backed out changeset 498152aec5b1 (bug 946958)
Backed out changeset 7d035322f51d (bug 946958)
Backed out changeset 99f8ad7561ef (bug 946958)
Backed out changeset 4639c5abea80 (bug 946958)
Backed out changeset 9d1a4d83eccf (bug 865033)
Backed out changeset 41839e4026bc (bug 865033)
2013-12-08 18:43:45 -08:00
Nicholas Cameron
feeffb08cf Bug 946958 part 1. Remove GetWidgetSize. r=mattwoodrow 2013-12-09 14:40:59 +13:00
David Anderson
86f4f5d832 Support MacIOSurface textures in the basic compositor (bug 942358, r=mattwoodrow). 2013-12-03 16:20:04 -08:00
Andreas Pehrson
6f58615918 Bug 944679 - Do not return nullptr in DeprecatedTextureHostBasic::GetAsSurface. r=nical 2013-11-29 13:39:52 +01:00
Chris Peterson
fd2b11af1f Bug 944257 - Fix warning by removing unused ContentClientBasic member variable mManager. r=gal 2013-11-27 19:19:56 -08:00
Andreas Pehrson
801b8841c8 Bug 907292 - Change gfxImageSurface to gfx::DataSourceSurface in TextureHost et al 2013-11-27 10:59:01 +01:00
Markus Stange
724b3c2649 Bug 920123 - Make Start/Stop FrameTimeRecording work with OMTC and remove paint time recording. r=mattwoodrow 2013-11-27 08:32:19 +01:00
Nicholas Cameron
e09d3edf71 Bug 932888. Rename ThebesLayerBuffer. r=mattwoodrow
--HG--
rename : gfx/layers/ThebesLayerBuffer.cpp => gfx/layers/RotatedBuffer.cpp
rename : gfx/layers/ThebesLayerBuffer.h => gfx/layers/RotatedBuffer.h
2013-11-27 13:29:46 +13:00
Nicholas Cameron
714efc30e2 Bug 932888. Azurify some intermediate surfaces in BasicLayerManager. r=mattwoodrow 2013-11-27 13:29:45 +13:00
David Anderson
13e235e641 Remove unnecessary Lock() calls from BasicCompositor (bug 942318, r=mattwoodrow). 2013-11-25 15:15:03 -08:00
David Anderson
c06bd5c0fb Only composite changed areas in the software compositor (bug 882447, r=mattwoodrow,nrc). 2013-11-21 11:25:16 -08:00
Benoit Jacob
877d71ca5f Bug 938970 - 5/5. Switch gfx/layers to UNIFIED_SOURCES - r=ehsan,mattwoodrow 2013-11-17 21:07:08 -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
David Anderson
159a927b97 Support 3D transforms in the basic compositor (bug 935265, r=mattwoodrow). 2013-11-11 15:53:29 -08: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
David Anderson
a7d34bdd35 Don't copy surfaces in DeprecatedTextureHostBasic::Lock (bug 935641, r=mattwoodrow).
--HG--
extra : rebase_source : e97318912cc295b6b1dc5027eba1690e42d24003
2013-11-06 11:55:58 -08: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
48ad51e65b Bug 922942 - Add a Validate() pass to BasicLayers to avoid needing to create a dummy destination context. r=roc 2013-10-15 16:23:21 +13:00
Matt Woodrow
8cf666badb Bug 922942 - Clean up some no longer used ShadowLayers code from BasicLayers. r=roc 2013-10-15 16:23:21 +13: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
Nicholas Cameron
6d1b35bad7 Bug 882113. Azurification of compositor classes. r=mattwoodrow 2013-09-27 12:37:19 +12: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