Nicolas Silva
c2c429d7ae
Bug 1016540 - GrallocTextureSource::DeallocateDeviceData must assert that it has a compositor, rather than a gl context. r=sotaro
2014-10-07 10:45:04 +02:00
Nicolas Silva
18f2933141
Bug 1076825 - Don't crash release builds if allocating the buffer on white failed in RotatedBuffer.cpp. r=Bas
2014-10-06 14:37:57 +02:00
Jeff Muizelaar
c3affcb72a
Bug 1074615. Remove DRAW_SNAPPED. r=mwoodrow
...
This doesn't seem to be necessary and doesn't really make sense to me. This
will help us moving region clipping into Moz2D
--HG--
extra : rebase_source : 4a5987ce2a95eaba44a69233d1b7f461f5ec16ea
2014-10-01 01:25:25 -04:00
Jeff Muizelaar
edcf8c4bd6
Bug 1073086. Remove broken snapping code. r=mwoodrow
...
We generate a Rect from integers and then round them to do the snapping.
- Rect rect(r->x, r->y, r->width, r->height);
-
- rect.Round();
This accomplishes nothing.
Just rip it out.
--HG--
extra : rebase_source : 3194652ca83f2e66ae1cbd02573ab86c444bd2fb
2014-09-25 14:01:10 -04:00
Ed Morley
411fa6cf4e
Backed out changeset 318fa507832d (bug 1073086)
2014-09-29 17:42:34 +01:00
Jeff Muizelaar
c2fad944ff
Bug 1073086. Remove broken snapping code. r=mwoodrow
...
We generate a Rect from integers and then round them to do the snapping.
- Rect rect(r->x, r->y, r->width, r->height);
-
- rect.Round();
This accomplishes nothing.
Just rip it out.
--HG--
extra : rebase_source : 620d4c9b4e6951e42441db336de2badb69c4a39c
2014-09-25 14:01:10 -04:00
Markus Stange
05fdbbaad2
Bug 1073103 - Rename ThebesLayer to PaintedLayer. r=roc
...
--HG--
rename : gfx/layers/basic/BasicThebesLayer.cpp => gfx/layers/basic/BasicPaintedLayer.cpp
rename : gfx/layers/basic/BasicThebesLayer.h => gfx/layers/basic/BasicPaintedLayer.h
rename : gfx/layers/client/ClientThebesLayer.cpp => gfx/layers/client/ClientPaintedLayer.cpp
rename : gfx/layers/client/ClientThebesLayer.h => gfx/layers/client/ClientPaintedLayer.h
rename : gfx/layers/client/ClientTiledThebesLayer.cpp => gfx/layers/client/ClientTiledPaintedLayer.cpp
rename : gfx/layers/client/ClientTiledThebesLayer.h => gfx/layers/client/ClientTiledPaintedLayer.h
rename : gfx/layers/composite/ThebesLayerComposite.cpp => gfx/layers/composite/PaintedLayerComposite.cpp
rename : gfx/layers/composite/ThebesLayerComposite.h => gfx/layers/composite/PaintedLayerComposite.h
rename : gfx/layers/d3d10/ThebesLayerD3D10.cpp => gfx/layers/d3d10/PaintedLayerD3D10.cpp
rename : gfx/layers/d3d10/ThebesLayerD3D10.h => gfx/layers/d3d10/PaintedLayerD3D10.h
rename : gfx/layers/d3d9/ThebesLayerD3D9.cpp => gfx/layers/d3d9/PaintedLayerD3D9.cpp
rename : gfx/layers/d3d9/ThebesLayerD3D9.h => gfx/layers/d3d9/PaintedLayerD3D9.h
2014-09-26 13:06:08 -04:00
Bas Schouten
708dcd456c
Bug 1066417: Add Direct2D 1.1 to the list op backends that don't like OP_SOURCE. r=mattwoodrow
2014-09-14 23:51:28 +02:00
Jonathan Watt
3ed9de9853
Bug 1065031, part 2 - Changes to Moz2D consuming code to update callers of Moz2D Matrix's Translate, Scale and Rotate methods to use these methods' new names. r=Bas
2014-09-10 18:29:35 +01:00
Jonathan Watt
302df746ef
Bug 1065127 - Avoid Matrix().Translate()/Scale()/Rotate() multiplication in lots of places. r=Bas
2014-09-10 14:26:12 +01:00
Carsten "Tomcat" Book
0495ac7e6b
Backed out changeset e6b766d8a815 (bug 1065127) for bustage
2014-09-10 14:30:36 +02:00
Jonathan Watt
78718dbf93
Bug 1065127 - Avoid Matrix().Translate()/Scale()/Rotate() multiplication in lots of places. r=Bas
...
--HG--
extra : rebase_source : ef075258c31973c4943b9b3a9229685a9bb83917
2014-09-10 11:45:42 +01:00
Bas Schouten
e426215d68
Bug 947781 - Part 1: Refactor RotatedBuffer to easily be re-usable for any rotated buffer drawing. r=mattwoodrow
2014-07-30 15:38:46 +02:00
Ed Morley
b588aae10a
Backed out changeset 6bc1a62eb443 (bug 947781) for build failures
2014-07-30 14:54:28 +01:00
Bas Schouten
676a8b7ad5
Bug 947781 - Part 1: Refactor RotatedBuffer to easily be re-usable for any rotated buffer drawing. r=mattwoodrow
2014-07-30 15:38:46 +02:00
Matt Woodrow
c25350a000
Bug 1039145 - Part 2: Fully remove component alpha/background copying support from BasicCompositor. r=roc
2014-07-18 18:48:23 +12:00
Carsten "Tomcat" Book
4bf97d1f11
Backed out changeset 49c713f92304 (bug 1039145)
2014-07-18 10:45:20 +02:00
Matt Woodrow
054275919c
Bug 1039145 - Part 2: Fully remove component alpha/background copying support from BasicCompositor. r=roc
2014-07-18 18:48:23 +12:00
Jonathan Watt
1cdf5f551b
Bug 1027763, part 2 - Make non-Moz2D callers of DrawTarget::GetType() call DrawTarget::GetBackendType() instead. r=Bas
2014-06-19 21:35:33 +01:00
Nicolas Silva
1f897c8bef
Bug 1023350 - Rename TextureClient::GetAsDrawTarget into TextureClient::BorrowDrawTarget and fix TextureClientX11. r=bjacob
2014-06-11 14:57:58 -04:00
Victor Porof
928e1cef59
Bug 1007203 - Always add categories when pushing to the pseudostack, r=djvj
2014-05-23 17:12:29 -04:00
Matt Woodrow
abe649beb6
Bug 1013759 - Simplify invalid region for Direct2D when using OMTC to avoid hitting expensive drawing paths for complex regions. r=jrmuizel
2014-05-23 09:08:21 +12:00
Matt Woodrow
56d789b806
Bug 950312 - Part 1: Copy mix-blend-mode proprties to the compositor layer tree. r=roc
2014-05-09 21:41:56 +12:00
Bas Schouten
b77e14d522
Bug 996745: Do not try to FinalizeFrame when there is no buffer. r=mattwoodrow
2014-04-29 22:33:11 +02:00
Nicolas Silva
51a3c554b6
Bug 990871 - Move TextureClientDrawTarget into TextureClient. r=mattwoodrow
2014-04-10 10:14:28 +02:00
Carsten "Tomcat" Book
bff450d992
Backed out changeset 3747c80a1cde (bug 990871) for bustage on a CLOSED TREE
2014-04-10 13:15:47 +02:00
Nicolas Silva
70427a3c8f
Bug 990871 - Move TextureClientDrawTarget into TextureClient. r=mattwoodrow
2014-04-10 10:14:28 +02:00
Matt Woodrow
4578738674
Bug 992486 - Part 5: Fix copying the front buffer to back buffer. r=roc
2014-04-10 20:42:29 +12:00
Carsten "Tomcat" Book
84fc1aa314
Backed out changeset e6126e815061 (bug 992486) windows bustage
2014-04-10 10:09:25 +02:00
Matt Woodrow
ffce2e9a01
Bug 992486 - Part 5: Fix copying the front buffer to back buffer. r=roc
2014-04-10 19:44:10 +12:00
Matt Woodrow
90e6562ac5
Bug 993784 - Part 1: Use Moz2D mask data for BasicThebesLayer drawing. r=roc
2014-04-09 21:15:19 +12:00
Matt Woodrow
6f304e526d
Bug 991513 - Part 1: Don't lock ContentClientDoubleBuffered's texture until we need the buffers. r=nrc
2014-04-09 21:15:18 +12:00
Matt Woodrow
031f178fa9
Bug 992486 - Part 1: Add API to RotatedContentBuffer for drawing in multiple passes. r=roc
2014-04-09 21:15:17 +12:00
Nicolas Silva
2ceec21089
Bug 989904 - Remove some of the deprecated backend-independent textures. r=mattwoodrow
2014-04-01 14:28:23 +08:00
Matt Woodrow
ec92f23916
Bug 971720 - Adjust the source pattern transform when masking with RotatedBuffer to take the mask transform into account. r=roc
2014-03-01 08:51:17 +13:00
Phil Ringnalda
30526870e0
Merge m-c to m-i
2014-02-26 21:28:10 -08:00
Ryan VanderMeulen
14f5637c5f
Backed out changeset 0569a8a2f83d (bug 958727) for causing performance regressions.
2014-02-26 20:48:41 -05:00
Milan Sreckovic
aebaca5cae
Bug 971942: 3. layers.bufferrotation.enabled, layers.componentalpha.enabled, layers.scroll-graph, layers.acceleration.disabled, layers.acceleration.force-enabled moved to gfxPrefs. r=clord
2014-02-26 21:53:27 -05:00
Mason Chang
d92f7844bd
Bug 958727 - Thebes textures leak memory if visible region shrinks. r=mattwoodrow
2014-02-12 10:24:20 -05:00
Nicholas Cameron
9c2572e5e5
Bug 959781. Ensure we are using the correct content type in BeginPaint and BorrowDrawTargetForPainting. r=mattwoodrow
2014-01-30 22:39:11 +13:00
David Zbarsky
0a9d965999
Bug 952977: Convert AutoMaskData to gfx::Matrix4x4 r=nical
2014-01-27 15:25:21 -05:00
David Zbarsky
8cfe88a6c2
Bug 952977: Convert DrawTo to gfx::Matrix4x4 r=nical
2014-01-27 15:25:20 -05:00
Benoit Jacob
15ef84b8b5
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
28ff3ad25f
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
Nick Lebedev
c63310fb66
Bug 958984. Move SurfaceMode enum out of Layer class so we could forward declare it instead of including header. r=nical
2014-01-17 15:00:00 +01:00
Nicholas Cameron
1eb4069e96
Bug 951554. Changes to RotatedBuffer. r=nical
...
--HG--
extra : rebase_source : b4b0d9eb02e377aff66f9eba582f4cc4ab3a4d77
2014-01-13 08:57:17 +13:00
Nicholas Cameron
2376a54c37
Bug 951554. Add SurfaceMode::SURFACE_NONE. r=nical
...
--HG--
extra : rebase_source : 5854c7994dd861f36860756d10ef5b7ea35d863c
2014-01-13 08:54:36 +13:00
Benoit Jacob
873406e3f0
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
300f4ba3a9
Bug 958375 - 6/9 - Make BackendType and NativeSurfaceType typed enums - 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
Benoit Jacob
535a216635
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