Milan Sreckovic
31e43752ad
Bug 1099437 - Part 1: Protect against negative sizes and overflow. r=nical
2014-12-09 13:19:29 -05:00
Sotaro Ikeda
4c664402c7
Bug 1100110 - Fix ScaleMode handling of ImageLayer and HwcComposer2D r=mattwoodrow
2014-12-06 17:12:50 -08:00
Ryan VanderMeulen
e1311b2e91
Backed out changesets 258ac2909d6e and 55252aebf52d (bug 1099437) for bustage.
...
CLOSED TREE
2014-11-26 14:14:16 -05:00
Milan Sreckovic
5d485d786c
Bug 1099437 - Part 1: Protect against negative sizes and overflow. r=nical
2014-11-20 15:07:22 -05:00
Jonathan Watt
822aebcae3
Bug 1103621 - Get rid of GraphicsOperator::OPERATOR_CLEAR. r=mattwoodrow
2014-11-20 10:40:04 +00:00
Markus Stange
6765a5dd91
Bug 1097776 - Don't leak the SkBitmapDevice. r=jrmuizel
2014-11-18 17:22:01 -05:00
Markus Stange
eea67df22d
Bug 1097776 - Use Skia for unaccelerated rendering of 3D transforms. r=jrmuizel
2014-11-18 17:21:45 -05:00
Wes Kocher
b5a06e2c31
Backed out changeset 0092a5e1467d (bug 1097776) for reftest failures and leaks
2014-11-18 11:00:08 -08:00
Markus Stange
443175915b
Bug 1097776 - Use Skia for unaccelerated rendering of 3D transforms. r=jrmuizel
2014-11-18 11:36:17 -05:00
Benoit Girard
030a0e30bb
Bug 1087530 - Retain container's intermediate surfaces for up to one frame. r=jmuizelaar
2014-11-03 17:27:32 -05:00
Carsten "Tomcat" Book
d76cdde6d2
Backed out changeset 48667a14f94d (bug 1092360) for test bustage / crashes on a CLOSED TREE
2014-11-14 08:14:22 +01:00
Benoit Girard
8d0678b3a9
Bug 1092360 - Avoid redundant framebuffer switches. r=jrmuizel
2014-11-12 17:39:17 -05:00
Brian Birtles
9567ad161e
Bug 1095315 - Fix the order of applying pending updates and getting the effective transform in BasicLayerManager; r=mattwoodrow
2014-11-11 11:01:28 +09:00
Robert O'Callahan
4fbed12e68
Bug 1073252. Part 4: Flip hasAlpha to isOpaque for consistency. r=mattwoodrow
...
--HG--
extra : rebase_source : a553b4c36feb555b23cbe140a05df09f0dc2656d
2014-10-30 15:32:41 +13:00
Jonathan Watt
71c5fdb910
Bug 1082530, part 4 - Make BasicColorLayer use the variant of Moz2D's UserToDevicePixelSnapped that honors disabling of pixel snapping and make it ignore scaling in the matrix (restore the pre-bug 989858 beharior). r=mattwoodrow
2014-10-19 10:22:47 +01:00
Jonathan Watt
b458383051
Bug 1082530, part 3 - Get rid of gfxContext::FLAG_DISABLE_SNAPPING and use DrawTarget UserData to store information on whether to disable pixel snapping. r=mattwoodrow
2014-10-19 10:22:47 +01:00
Sotaro Ikeda
5aefa96260
Bug 1082986 - Use RefPtr to hold Compositor r=nical
2014-10-16 06:48:29 -07:00
jdashg
24d14eb13a
Bug 1066280 - Handle dirtying in BasicCanvasLayer. - r=mattwoodrow
2014-10-08 15:18:28 -07:00
Markus Stange
1a19aa5302
Bug 1077358 - Clip BasicColorLayer drawing to the layer's bounds. r=Bas
2014-10-07 16:18:01 +02:00
Markus Stange
a4d5e61c0a
Bug 1074280 - Use AsContainerLayer() in order to avoid a bad cast. r=roc
2014-10-07 16:18:00 +02:00
Nicolas Silva
f094ba38b8
Bug 1077307 - Merge NewTextureSource and TextureSource. r=sotaro
2014-10-07 15:58:59 +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
Jonathan Watt
ef3394b492
Bug 1074128, part 3 - Update the Mozilla code to use AutoSaveTransform's new name. r=Bas
2014-09-29 18:32:36 +01:00
Nicolas Silva
d45cef342f
Bug 1054581 - Have all compositor backends behave consistently when creating a zero-sized intermediate render target. r=jrmuizel
2014-09-26 15:02:35 -04:00
Markus Stange
6dda121d47
Bug 1073103 - SReplace 'Thebes' with 'Painted' in some more places. r=roc
2014-09-26 13:07:06 -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
Jeff Muizelaar
0ee07ef4d0
Bug 1064479. Redo how screen rotation is implemented on B2G/Layers. r=nical,mwoodrow
...
Currently we use a world transform on the LayerManager. This gets passed to the
screen render target which adjusts the gl transform to accomplish the rotation.
This causes a lot of the system to have to know about the transform.
Instead we can just bake the transform into the root layer's shadow transform.
Everything now mostly just works.
--HG--
extra : rebase_source : e0e170d191eef5887a2e6b17f71ac79037033006
2014-09-10 15:59:00 -04:00
Jonathan Watt
6eb33e7909
Bug 1064084, part 4 - Convert all consumers of gfxContext::IdentityMatrix() to use gfxContext::SetMatrix(). r=Bas
2014-09-11 07:57:39 +01:00
Jonathan Watt
7740e7e3de
Bug 1064084, part 1 - Convert all consumers of gfxContext::Translate() to use gfxContext::SetMatrix()/Multiply(). r=Bas
2014-09-11 07:57:38 +01: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
Ehsan Akhgari
91c26829a2
Bug 1061250 - Fix more bad implicit constructors in graphics; r=roc
2014-09-02 09:47:43 -04:00
Milan Sreckovic
33707ea4c4
Bug 1033310: Handle CreateDataSourceSurface* returning nullptr. f=nsilva, r=bschouten
2014-08-27 11:57:43 -04:00
Trevor Saunders
b6b2d4b019
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
Ehsan Akhgari
54f553adec
Bug 1050609 - Fix more bad implicit constructors in gfx/layers; r=roc
2014-08-20 00:55:14 -04:00
Botond Ballo
408cb7a987
Bug 1039992 - Fix a unified build issue. r=kats
...
--HG--
extra : rebase_source : 4e1e09c9bcb35f70c3ee7ff833646e5f437f5a86
2014-08-18 16:13:12 -04:00
Nicolas Silva
b51f3ef41e
Bug 1042052 - Add TextureClient::CreateSimilar and have component alpha buffer be of the same type. r=sotaro
2014-07-25 11:24:46 +02:00
Matt Woodrow
01c303051f
Bug 1037226 - Don't crash when surface allocation fails in BasicCompositor. r=Bas
...
--HG--
extra : rebase_source : d6e655c642256ddeddb471726f40f37b98d3ac0f
2014-07-24 15:48:28 +12:00
Frederic Plourde
ef0adc5cf8
b=1015218 Buffer image content layers on server-side xlib surfaces with OMTC basic r=karlt
...
With image offscreen surfaces enabled for content layers on GTK3, our Basic
compositor needs a way to deal with image layers buffering and compositing in
a performant way. This patch subclasses BasicCompositor into a new
X11BasicCompositor and makes use of a new TextureSource
(X11DataTextureSourceBasic) in order to buffer TextureHost's data into
gfxXlibSurface on compositor side so that we can use XRender when available to
composite layer contents directly to the Window.
When this buffering will occur, switch to ContentClientSingleBuffered.
--HG--
extra : rebase_source : adad6b1c05dcf516a1ea84c6a529df5f141c198f
2014-07-23 11:02:25 +12:00
Octoploid
096873a761
bug 1036401 - adjust includes to fix up some issues with complete types instead of forward declarations being required r=bz r=bjacob
2014-07-22 11:29:33 -04:00
Kartikaya Gupta
2c6bc3f45f
Bug 1040906 - Replace the out-param on matrix conversion helpers with a return value. r=Bas
2014-07-22 09:12:14 -04:00
David Zbarsky
f933a75613
Bug 952977: Switch some remaining gfxMatrix uses in layers to gfx::Matrix r=nical
2014-07-21 21:37:57 -04: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
Matt Woodrow
6ef7478aed
Bug 1039145 - Part 1: Clean up AreComponentAlphaLayersEnabled. r=roc
2014-07-18 18:48:23 +12:00
Carsten "Tomcat" Book
dd0c2974e6
Backed out changeset b049e0ae4d1d (bug 1039145)
2014-07-18 10:45:24 +02: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
Matt Woodrow
5397346ec1
Bug 1039145 - Part 1: Clean up AreComponentAlphaLayersEnabled. r=roc
2014-07-18 18:48:23 +12:00
Walter Litwinczyk
797e9f95b4
Bug 1024223 - Fix leak of |dest| and |src| in BasicLayerManager.cpp PixmanTransform(). r=mattwoodrow
2014-07-09 13:48:59 -07:00
Benoit Girard
cb397e6eb5
Bug 1037691 - Fix instances where refcounted classes expose a public destructor. r=ehsan,bent,mayhemer,jrmuizel
2014-07-15 11:37:45 -04:00
Matt Woodrow
7c9e1a5076
Bug 1034247 - Avoid propogating scale factors down to ThebesLayers if it would result in them being larger than the max texture size. r=roc
2014-07-09 14:01:54 +12:00
Matt Woodrow
7fd66ab646
Bug 1032431 - Handle device offsets correctly when 3d transforming in BasicCompositor. r=Bas
2014-07-14 14:15:28 +12:00
Benoit Girard
bd947297a1
Bug 1027380 - Paint flashing from an inactive layer manager saturates the transparent layers. r=mattwoodrow
...
--HG--
extra : rebase_source : 7444cf86fc14bd811d836d4c788958bf3790f572
2014-06-19 14:22:17 -04:00
Ed Morley
7eca339c27
Merge mozilla-central and inbound
2014-07-10 16:29:53 +01:00
Kartikaya Gupta
c57685ddf7
Bug 1036518 - Back out cset cc20208a6eb4 (bug 1034247) for causing blurry painting and janky scrolling on B2G/Fennec on some devices. r=me a=backout
2014-07-10 10:08:44 -04:00
Matt Woodrow
41368efcce
Bug 1034247 - Avoid propogating scale factors down to ThebesLayers if it would result in them being larger than the max texture size. r=roc
2014-07-09 14:01:54 +12:00
Jonathan Watt
51d0ecc45c
Bug 933019, part 9 - Remove code for handling Thebes backed gfxContext from various files under gfx/layers/. r=Bas
2014-07-10 10:58:08 +01:00
Jonathan Watt
008f42576c
Bug 1034528
, part 1 - Get rid of gfxCachedTempSurface and the Thebes backed gfxContext that it creates. r=Bas
2014-07-07 09:05:15 +01:00
Benoit Girard
25279c0512
Bug 1027362 - Remove the old basic frame counter. r=jrmuizel
2014-07-02 16:38:40 -04:00
Matt Woodrow
f0254899d9
Bug 1028237 - Account for device offset for thebes layer masks. r=roc
2014-06-30 16:26:09 +12:00
Cgg
bcc884b13d
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
4dbefdf0a1
Bug 783043 - Backed out changeset 29bc4fa125d9 (commit message). r=me
2014-06-21 19:51:07 +02:00
Cgg
a77defb05f
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
Jeff Gilbert
4ffbabe4bc
Bug 1000640 - Use new StreamTextureClient/Host with OMTC. - r=mattwoodrow
2014-06-18 17:04:06 -07:00
Jeff Gilbert
848f7a9baa
Bug 1000640 - Death to whitespace. - r=mattwoodrow
2014-06-18 17:04:05 -07:00
Nicolas Silva
cba735449e
Bug 1014355 - Fix ownership issue in X11TextureClient. r=cwiiis
2014-06-18 19:11:12 +02: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
Ed Morley
32338f43fe
Backed out changeset 11bb536cdede (bug 1000640)
2014-06-11 17:07:17 +01:00
Ed Morley
eea2dcd242
Backed out changeset c4681bf6680c (bug 1000640)
2014-06-11 17:07:10 +01:00
Jeff Gilbert
03f417f180
Bug 1000640 - Use new StreamTextureClient/Host with OMTC. - r=mattwoodrow
2014-06-04 15:20:26 -07:00
Jeff Gilbert
8c1e713b28
Bug 1000640 - Death to whitespace. - r=mattwoodrow
2014-06-04 15:20:25 -07:00
Chris Lord
3bd5791fea
Bug 1011572 - Only do platform-sync on layer transactions when !IsSameProcess. r=nical
...
There's no need to do platform syncing when the compositor is in the same
process as the content thread, as they'll share a connection to the display
server.
2014-06-11 14:52:20 +01:00
Wes Kocher
7f0d583dfb
Backed out changeset 9d1dd5a9be4f (bug 1000640)
2014-06-04 18:27:41 -07:00
Wes Kocher
3729ad76bc
Backed out changeset 3a764e34c366 (bug 1000640)
2014-06-04 18:27:22 -07:00
Jeff Gilbert
47ba34ee84
Bug 1000640 - Use new StreamTextureClient/Host with OMTC. - r=mattwoodrow
2014-06-04 15:20:26 -07:00
Jeff Gilbert
c3001939d4
Bug 1000640 - Death to whitespace. - r=mattwoodrow
2014-06-04 15:20:25 -07: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
d41315c823
Bug 1013769 - Apply render target offset after the layer transform in BasicCompositor. r=Cwiiis
2014-05-28 13:21:32 +12:00
Matt Woodrow
f6d3bf9e86
Bug 1013767 - Restrict BasicCompositor snapshots to the bounds of the invalid region. r=nical
2014-05-28 13:21:32 +12:00
Matt Woodrow
b5efb819dc
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
2596280202
Bug 1013292 - Fix some using namespace + unified build issues in gfx code. r=kats
2014-05-22 12:11:45 +02:00
Matt Woodrow
7ecf9d751e
Bug 1013784 - Implement ClearRect for BasicCompositor. r=Cwiiis
2014-05-22 14:36:26 +12:00
Chris Lord
813c6531be
Bug 994088 - Only redraw everything on every frame with e10s in BasicCompositor. r=mattwoodrow
...
This was a work-around for an X compositor bug.
2014-05-16 12:44:04 +01:00
Wes Kocher
03bc94d31f
Merge m-c to inbound
2014-05-14 16:32:53 -07:00
Sotaro Ikeda
284e896e23
Bug 971946 - Remove TextureClientData r=nical
2014-05-14 06:29:52 -07:00
Bas Schouten
2cd04fa3bb
Bug 1009600: Use a content DT for reference in BasicCompositor. r=nical
2014-05-15 00:31:23 +02:00
Matt Woodrow
3ac9a58ac5
Bug 979350 - fixup rebase failures
2014-05-12 12:51:08 +12:00
Matt Woodrow
c192374923
Bug 979350 - Readback ThebesLayers for plugin backgrounds during the Validate pass, not the compositing pass. r=roc
2014-05-12 12:31:28 +12:00
Matt Woodrow
cbbbffd575
Bug 997336 - Account for the DrawTarget 'device offset' when drawing layers with a mask. r=Bas
2014-05-12 12:31:27 +12:00
Matt Woodrow
f1253774f4
Bug 950312 - Part 3: Add Layers API to see what blend modes are supported. r=roc
2014-05-09 21:48:32 +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
Chris Lord
ab5e689c3a
Bug 995216 - Compensate for rounding error in DrawSurfaceWithTextureCoords. r=bas
...
Calculating the source rect in DrawSurfaceWithTextureCoords can introduce
small floating point errors that result in detectable blending errors. Round
to pixels because we know the original values (the visible region) are
pixel-aligned. This is also what CompositorOGL does.
2014-05-08 11:39:31 +01:00
Matt Woodrow
8b44365ba0
Bug 1003707 - Pass surfaces sizes in to CreateSourceSurfaceFromNativeSurface instead of trying to extract it from cairo. r=Bas
2014-05-08 11:23:44 +12:00
Carsten "Tomcat" Book
71063cf18c
Backed out changeset 6efbbdf09c63 (bug 1001845) for refest failures
2014-05-06 14:09:56 +02:00
Matt Woodrow
a7147dc432
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
Benoit Jacob
8815295d59
Bug 989144 - Convert EffectChain::mSecondaryEffects to be an EnumeratedArray - r=nical
2014-04-25 22:34:06 -04:00
Benoit Jacob
fe6ce1fe7f
Bug 987311 - 6/6 - Convert the rest of CompositorTypes.h to typed enums, final manual changes - r=nical
2014-04-25 22:34:06 -04:00
Benoit Jacob
675de992e0
Bug 987311 - 5/6 - Convert the rest of CompositorTypes.h to typed enums, auto regex changes - r=nical
...
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)DIAGNOSTIC_\(NONE\|TILE_BORDERS\|LAYER_BORDERS\|BIGIMAGE_BORDERS\|FLASH_BORDERS\)\($\|[^A-Za-z0-9_]\)/\1DiagnosticTypes::\2\3/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/DiagnosticTypes\:\:NONE/DiagosticTypes::NO_DIAGNOSTIC/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)DIAGNOSTIC_\(IMAGE\|CONTENT\|CANVAS\|COLOR\|CONTAINER\|TILE\|BIGIMAGE\|COMPONENT_ALPHA\|REGION_RECT\)\($\|[^A-Za-z0-9_]\)/\1DiagnosticFlags::\2\3/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)EFFECT_\(MASK\|MAX_SECONDARY\|RGB\|YCBCR\|COMPONENT_ALPHA\|SOLID_COLOR\|RENDER_TARGET\|MAX\)\($\|[^A-Za-z0-9_]\)/\1EffectTypes::\2\3/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)TEXTURE_\(CONTENT\|SHMEM\|YCBCR\|SHARED_GL\|SHARED_GL_EXTERNAL\|STREAM_GL\|FALLBACK\)\($\|[^A-Za-z0-9_]\)/\1DeprecatedTextureClientType::\2\3/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(BUFFER_UNKNOWN\|BUFFER_IMAGE_SINGLE\|BUFFER_IMAGE_BUFFERED\|BUFFER_BRIDGE\|BUFFER_CONTENT\|BUFFER_CONTENT_DIRECT\|BUFFER_CONTENT_INC\|BUFFER_TILED\|BUFFER_SIMPLE_TILED\|COMPOSITABLE_IMAGE\|COMPOSITABLE_CONTENT_SINGLE\|COMPOSITABLE_CONTENT_DOUBLE\|BUFFER_COUNT\)\($\|[^A-Za-z0-9_]\)/\1CompositableType::\2\3/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/CompositableType\:\:COMPOSITABLE_/CompositableType::/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)TEXTURE_HOST_\(DEFAULT\|TILED\|COPY_PREVIOUS\)\($\|[^A-Za-z0-9_]\)/\1DeprecatedTextureHostFlags::\2\3/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)Texture\(Front\|Back\|OnWhiteFront\|OnWhiteBack\)\($\|[^A-Za-z0-9_]\)/\1TextureIdentifier::\2\3/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(OPEN_NONE\|OPEN_READ\|OPEN_WRITE\|OPEN_READ_WRITE\|OPEN_READ_ONLY\|OPEN_WRITE_ONLY\)\($\|[^A-Za-z0-9_]\)/\1OpenMode::\2\3/g'
find gfx/layers -type f | grep -v CompositorTypes.h | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(MaskNone\|Mask2d\|Mask3d\|NumMaskTypes\)\($\|[^A-Za-z0-9_]\)/\1MaskType::\2\3/g'
find gfx -type f | xargs sed -i 's/Diagostic/Diagnostic/g'
2014-04-25 22:34:06 -04:00
Benoit Jacob
9a2b04a676
Bug 987311 - 3/6 - Make TextureFlags a typed enum, final manual changes - r=nical
2014-04-25 22:34:05 -04:00
Benoit Jacob
2128bb4f6f
Bug 987311 - 2/6 - Make TextureFlags a typed enum, auto regex changes - r=nical
...
find gfx/layers -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)TEXTURE_\(USE_NEAREST_FILTER\|NEEDS_Y_FLIP\|DISALLOW_BIGIMAGE\|ALLOW_REPEAT\|NEW_TILE\|COMPONENT_ALPHA\|RB_SWAPPED\|FRONT\|ON_WHITE\|ON_BLACK\|TILE\|RECYCLE\|COPY_PREVIOUS\|DEALLOCATE_CLIENT\|IMMUTABLE\|IMMEDIATE_UPLOAD\|DOUBLE_BUFFERED\|ALLOC_FALLBACK\)\($\|[^A-Za-z0-9_]\)/\1TextureFlags::\2\3/g'
find gfx/layers -type f | xargs sed -i 's/TEXTURE_FLAGS_DEFAULT/TextureFlags::DEFAULT/g'
2014-04-25 22:34:05 -04:00
Blair McBride
5cba04ad67
Backed out 9 changesets (bug 987311, bug 989027, bug 989144). r=sheriff
...
Backed out changeset 046c061d91c2 (bug 989144)
Backed out changeset 3f1b41adeaef (bug 987311)
Backed out changeset 8d5a171564bd (bug 987311)
Backed out changeset dcc0d016de7a (bug 987311)
Backed out changeset 27f338fbc835 (bug 989027)
Backed out changeset 4a67f5144ea4 (bug 989027)
Backed out changeset 62ba0a377450 (bug 987311)
Backed out changeset 6a2542a5c865 (bug 987311)
Backed out changeset 1dfd9a457f34 (bug 987311)
2014-04-27 19:45:08 +12:00
Benoit Jacob
59d8409515
Bug 989144 - Convert EffectChain::mSecondaryEffects to be an EnumeratedArray - r=nical
2014-04-25 22:34:06 -04:00
Benoit Jacob
204c6f0755
Bug 987311 - 6/6 - Convert the rest of CompositorTypes.h to typed enums, final manual changes - r=nical
2014-04-25 22:34:06 -04:00
Benoit Jacob
e75e4f70e1
Bug 987311 - 5/6 - Convert the rest of CompositorTypes.h to typed enums, auto regex changes - r=nical
2014-04-25 22:34:06 -04:00
Benoit Jacob
b0f17a58c7
Bug 987311 - 3/6 - Make TextureFlags a typed enum, final manual changes - r=nical
2014-04-25 22:34:05 -04:00
Benoit Jacob
f090eb7a1c
Bug 987311 - 2/6 - Make TextureFlags a typed enum, auto regex changes - r=nical
2014-04-25 22:34:05 -04:00
Nicolas Silva
85eed097b5
Bug 993004 - Fix the clipping of tiles when the screen is rotated. r=botond
2014-04-25 13:38:17 +02:00
Carsten "Tomcat" Book
0dea645453
Backed out changeset 3d116167774f (bug 993004) for bustage on a CLOSED TREE
2014-04-25 12:19:45 +02:00
Nicolas Silva
0bdf3151ed
Bug 993004 - Fix the clipping of tiles when the screen is rotated. r=botond
2014-04-25 11:51:17 +02:00
Matt Woodrow
fcc205b5dd
Bug 994282 - Apply mask layer transforms in the correct order. r=roc
2014-04-24 19:38:35 +12:00
Jonathan Watt
61a8971526
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
Nicolas Silva
cb9620e29a
Bug 990876 - Remove TextureClientSurface. r=mattwoodrow
2014-04-14 21:29:42 +02:00
Jonathan Watt
2ed7ee65dd
Bug 995454 - Kill off TextureClientSurface's GetAsSurface and UpdateSurface methods (Moz2D migration). r=mattwoodrow
2014-04-13 11:07:12 +01:00
Chris Lord
9790077578
Bug 993475 - Consolidate masking code in BasicCompositor and BasicLayersImpl. r=mattwoodrow
2014-04-11 13:23:09 +01:00
Chris Lord
24e6edcfaa
Bug 993475 - Support masks on color layers in BasicCompositor. r=mattwoodrow
2014-04-11 13:23:09 +01:00
Chris Lord
dbf4d65803
Bug 994548 - Fix masks being affected by partial updates in BasicCompositor. r=mattwoodrow
2014-04-11 13:23:08 +01:00
Nicolas Silva
7c497a9676
Bug 991032 - Cleanup X11 TextureClient/Host. r=mattwoodrow
2014-04-11 16:15:01 +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
Jonathan Watt
d88be3bc70
Bug 960524 - Get rid of Image::DeprecatedGetAsSurface (Moz2D migration). r=mattwoodrow
2014-04-10 09:49:53 +01:00
Matt Woodrow
fa494161c4
Bug 993784 - Part 4: Remove a bunch of dead thebes code in BasicLayers. r=roc
2014-04-09 21:15:19 +12:00
Matt Woodrow
0d1657de44
Bug 993784 - Part 3: Use Moz2D SourceSurfaces for masking with BasicLayers. r=roc
2014-04-09 21:15:19 +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
031f178fa9
Bug 992486 - Part 1: Add API to RotatedContentBuffer for drawing in multiple passes. r=roc
2014-04-09 21:15:17 +12:00
Matt Woodrow
d41959abb7
Bug 991067 - Null check mSurface in BasicCanvasLayer to match previous behaviour. r=roc
2014-04-07 20:57:27 +12:00
Matt Woodrow
d532a9c01b
Bug 991028 - Remove AutoOpenSurface. r=nical
2014-04-07 13:32:48 +12:00
Phil Ringnalda
fde12dd0a6
Backed out 4 changesets (bug 991028) for nonunified bustage
...
CLOSED TREE
Backed out changeset 147581a518c3 (bug 991028)
Backed out changeset e5bacc566e58 (bug 991028)
Backed out changeset 6dc852777a4d (bug 991028)
Backed out changeset 780bec5571b9 (bug 991028)
2014-04-06 21:21:38 -07:00
Matt Woodrow
75309237f6
Bug 991028 - Remove AutoOpenSurface. r=nical
2014-04-07 13:32:48 +12:00
Botond Ballo
530b8d2872
Bug 984490 - Make Compositor::GetCurrentRenderTarget() const. r=nical
2014-04-02 03:27:42 -04:00
Matt Woodrow
6488d62753
Bug 990338 - Remove FillWithMask since it's dead code. r=nical
2014-04-01 15:52:10 +08:00
Nicolas Silva
147875256f
Bug 989904 - Remove the deprecated basic textures. r=mattwoodrow
2014-04-01 14:28:27 +08:00
Matt Woodrow
b34afdaf89
Bug 989858 - Part 6: Rename DeprecatedPaint and stop passing a gfxContext in. r=roc
2014-04-01 12:02:10 +08:00
Matt Woodrow
a3b2c65ff3
Bug 989858 - Part 5: Remove partially implemented moz2d paint function. r=roc
2014-04-01 12:02:10 +08:00
Matt Woodrow
53b9294764
Bug 989858 - Part 4: Convert BasicColorLayer. r=roc
2014-04-01 12:02:10 +08:00
Matt Woodrow
ad062f6f9f
Bug 989858 - Part 3: Convert BasicImageLayer. r=roc
2014-04-01 12:02:09 +08:00
Matt Woodrow
ed9e153387
Bug 989858 - Part 2: Convert BasicCanvasLayer. r=roc
2014-04-01 12:02:09 +08:00
Matt Woodrow
47f6e3b181
Bug 989858 - Part 1: Add Moz2D helpers to BasicLayersImpl. r=roc
2014-04-01 12:02:09 +08:00
Bill McCloskey
e6076718ce
Bug 980122 - Recomposite entire screen in basic compositor (r=mattwoodrow)
2014-03-28 11:25:23 -07:00
Eric Rahm
4c96c88496
Bug 962154 - Use MallocSizeOf to report decoded-video memory. r=cpearce,njn
2014-03-19 14:33:12 -07:00
Jonathan Watt
e7ba4e35fb
Bug 985049 - Remove gfxPlatform::SupportsAzureContent() and kill of the resulting dead code. r=mattwoodrow
2014-03-19 10:36:58 +08:00
Kyle Huey
f7eafc09a9
Bug 967364: Rename already_AddRefed::get to take. r=bsmedberg
2014-03-15 12:00:15 -07:00
Matt Woodrow
5f6ac4ba39
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
23fcc345bc
Backing out bug 940455 (36e45a68452b) for numerous regressions. r=bustage-fix.
2014-03-07 16:50:30 -05:00
Bas Schouten
a0108bc8af
Bug 963073 - Merge tiling branch. r=Bas,jrmuizel,BenWa
...
http://hg.mozilla.org/users/bschouten_mozilla.com/tiling/summary
This work is mainly porting tiled layers to new textures, implementing
double-buffered tiles and implementing a texture client pool, to be used by
tiled content clients.
Any questions regarding this patch should go to:
Bas Schouten <bschouten@mozilla.com>
Chris Lord <clord@mozilla.com>
Nicolas Silva <nsilva@mozilla.com>
In their absence questions can be directed to:
Jeff Muizelaar <jmuizelaar@mozilla.com>
Benoit Girard <bgirard@mozilla.com>
2014-03-07 22:34:04 +01:00
Matt Woodrow
64f553ecba
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
L. David Baron
83913734c9
Bug 978495: Initialize mozilla::layers::TextureClientX11::mLocked. r=nical
2014-03-02 10:29:06 -08:00
Matt Woodrow
1916f43649
Bug 976877 - Don't simplify invalidation regions since it leads to poor results. r=roc
2014-03-01 08:49:05 +13:00