Commit Graph

90 Commits

Author SHA1 Message Date
Benoit Girard
d1169f5e7f Bug 1105834 - Part 2: Add layers.dump-texture feature. r=mstange 2014-11-28 17:41:47 -05:00
Wes Kocher
ab0d0ffd2b Backed out 3 changesets (bug 1105834) for non-unified bustage
Backed out changeset 33592fd41f1f (bug 1105834)
Backed out changeset c3e505887e9f (bug 1105834)
Backed out changeset 6aad17f431d1 (bug 1105834)
2014-12-08 17:15:46 -08:00
Benoit Girard
6515991e7a Bug 1105834 - Part 2: Add layers.dump-texture feature. r=mstange 2014-11-28 17:41:47 -05:00
Benoit Girard
a4449eed3b Bug 1097941 - Properly disable paint-will-resample on b2g. r=jmuizel 2014-11-28 18:42:20 -05:00
Benoit Girard
0470baff84 Bug 1089380 - Remove ClipRectInLayersCoordinates. r=mattwoodrow
--HG--
extra : rebase_source : d20c08c804f45f2a6baee9063d0e73bf755054ae
2014-10-31 16:34:30 -04:00
Benoit Girard
4cb4693be0 Backout 60fe2b1ab1ba for split-opacity-layers-1.html reftest failure.
--HG--
extra : rebase_source : 83a753f924f85b90e2d5ad07877dc3ebdbc1b8df
2014-11-03 13:37:54 -05:00
Benoit Girard
16fdd79d33 Bug 1089380 - Remove ClipRectInLayersCoordinates. r=mattwoodrow
--HG--
extra : rebase_source : 6793ed284fa8190c0d4e43e189ca4eb2d020d4f0
2014-10-31 16:34:30 -04:00
Jonathan Watt
f440265515 Bug 1082483, part 2 - Convert Mozilla code to use the new Matrix4x4::PreTranslate/PreScale method names. r=Bas 2014-10-16 10:51:12 +01:00
Nicolas Silva
d74e31effc Bug 1077307 - Merge NewTextureSource and TextureSource. r=sotaro 2014-10-07 15:58:59 +02:00
Nicolas Silva
04226da85c Bug 1072877 - Ensure OOP transactions can't use memory backed tile locks. r=bjacob 2014-09-30 18:30:23 +02:00
Markus Stange
131bfce4c5 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
Robert O'Callahan
f25942deec Bug 967844. Part 1: Move mBackgroundColor from Layer to FrameMetrics. r=kats
--HG--
extra : rebase_source : d7cf8756678cc342e1d648638dd867c5479b74ba
2014-08-30 00:23:25 +12:00
Phil Ringnalda
609fe6b9c4 Backed out 3 changesets (bug 967844) for robopan bustage
Backed out changeset 6b53305f1c42 (bug 967844)
Backed out changeset dff3eb181f33 (bug 967844)
Backed out changeset 4d4b03442eaf (bug 967844)
2014-09-01 15:20:13 -07:00
Robert O'Callahan
349231bac5 Bug 967844. Part 1: Move mBackgroundColor from Layer to FrameMetrics. r=kats
--HG--
extra : rebase_source : b5fd1fd1b0b1f55990e72d205cc871a46d5f4f8c
2014-08-30 00:23:25 +12:00
Carsten "Tomcat" Book
aef0b33b55 merge mozilla-inbound to mozilla-central a=merge 2014-08-28 13:07:10 +02:00
Kartikaya Gupta
dd86fa4d26 Bug 1055760 - Update some more bits of compositor layer code to deal with multiple FrameMetrics. r=BenWa,botond 2014-08-27 22:13:42 -04:00
Matt Woodrow
fb5f228c2c Bug 1057222 - Do partial tile uploads on desktop. r=BenWa
--HG--
extra : rebase_source : 47ef135eeb5a2f1c9b97594fa7bc7bcd90360cd2
2014-08-27 18:51:37 +12:00
Matt Woodrow
1107842200 Bug 1051134 - Revert changes to padding out textures that will be resampled for mobile. r=Bas
--HG--
extra : rebase_source : 62ed83806bdba1ac95dc08e47bb17157e7d6c05a
2014-08-28 15:36:07 +12:00
Benoit Girard
f43d2177c0 Bug 1010584 - Cull in ContainerLayerComposite. r=mwoodrow
--HG--
extra : rebase_source : ed9457906ac6d69bf563ddadff1599aea8964849
2014-08-27 18:46:55 -04:00
Benoit Girard
dd68564fab Bug 1010584 - Part 1: Introduce RenderTargetPixel. r=mwoodrow 2014-07-30 14:36:15 -04:00
Kartikaya Gupta
9370d1374f Bug 1051985 - Move the background color and content description from ContainerLayer to Layer. r=mattwoodrow 2014-08-11 20:00:37 -04:00
Matt Woodrow
a4fa815cab Bug 1048110 - Expand complex visible regions if we're going to be resampling when using tiling. r=Bas 2014-08-04 15:29:55 +12:00
Wes Kocher
7128337cab Backed out 2 changesets (bug 1048110) for various Android mochitest failures on a CLOSED TREE
Backed out changeset 1cf6f4f27811 (bug 1048110)
Backed out changeset b89f54e21c0b (bug 1048110)
2014-08-06 18:32:52 -07:00
Matt Woodrow
4a5cbd7c21 Bug 1048110 - Expand complex visible regions if we're going to be resampling when using tiling. r=Bas 2014-08-04 15:29:55 +12:00
Matt Woodrow
fae9993fd9 Bug 1046025 - Add component alpha support to TiledContentClient/Host. r=nical 2014-07-29 17:21:02 +12:00
Kartikaya Gupta
c1ada21d96 Bug 1043663 - Remove incorrect assertion. r=botond 2014-07-24 18:47:02 -04:00
Kartikaya Gupta
cde070ddb8 Bug 1038416 - Draw the background color under reduce-opacity low-res content. r=botond 2014-07-22 17:44:15 -04:00
Kartikaya Gupta
d6ffaa500c Bug 1038416 - Don't apply opacity-reduction to low-res content that is not fully opaque. r=BenWa 2014-07-22 17:44:15 -04:00
Sotaro Ikeda
24ef28834a Bug 1039883 - release Tiled layer's gralloc when an application is background r=nical 2014-07-19 05:33:12 -07:00
Wes Kocher
8ddcd2a26d Backed out changeset 9b764e12796d (bug 1039883) for b2g m7 failures 2014-07-18 14:21:44 -07:00
Sotaro Ikeda
b7cddab42f Bug 1039883 - release Tiled layer's gralloc when an application is background r=nical 2014-07-18 12:40:35 -07:00
Carsten "Tomcat" Book
273ec53f14 Backed out changeset 79d65a1bbb01 (bug 1039883) for assertion failures on a CLOSED TREE 2014-07-18 16:09:15 +02:00
Sotaro Ikeda
7af2d14a42 Bug 1039883 - release Tiled layer's gralloc when an application is background r=nical 2014-07-18 06:21:24 -07:00
Kartikaya Gupta
4aba255ad5 Bug 1020778 - Reduce opacity of low-res buffer on B2G by half when compositing it to the screen. r=jrmuizel 2014-06-23 12:00:18 -04:00
Sotaro Ikeda
0e32a771bf Bug 1027088 - Ensure fence delivery for TiledContentClient on gonk r=nical 2014-06-19 19:41:36 -07:00
Benoit Girard
c1e4a09735 Bug 1027496 - Stream display list and layers dump. r=mattwoodrow 2014-06-19 18:36:25 -04:00
Jeff Gilbert
bde621b73d Bug 1000640 - Use new StreamTextureClient/Host with OMTC. - r=mattwoodrow 2014-06-18 17:04:06 -07:00
Wes Kocher
4fe99a4e72 Backed out changeset 3a764e34c366 (bug 1000640) 2014-06-04 18:27:22 -07:00
Jeff Gilbert
1379df57d8 Bug 1000640 - Use new StreamTextureClient/Host with OMTC. - r=mattwoodrow 2014-06-04 15:20:26 -07:00
Benoit Jacob
d6cc951507 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
dd92d414d0 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
a7d77dbf30 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
3b0373f215 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
9a5c85f26f 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
1eb595b102 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
b7bee0617e Bug 987311 - 2/6 - Make TextureFlags a typed enum, auto regex changes - r=nical 2014-04-25 22:34:05 -04:00
Chris Lord
4b3c68d60c Bug 990608 - Make tile size configurable. r=tn,nical,bgirard 2014-04-04 18:42:44 +01:00
Chris Lord
4e165082f4 Bug 983169 - Fix up TiledLayerHost rendering method. r=BenWa
A few parts of this function weren't quite right. The major change is to use
the TiledLayerBuffer's valid region instead of the layer's valid region.
These are the same, except when progressive rendering is enabled, where the
former may differ from the layyer (and will represent what has actually been
updated).
2014-03-27 18:52:08 +00:00
Sotaro Ikeda
f0adcd4de5 Bug 977880 - Handle ReleaseFence on tiled thebes layer r=cwiiis,nical,BenWa 2014-03-26 18:01:15 -07:00
Nicolas Silva
57a2a68d6e Bug 984338 - Add a pref to flash layer borders when they are created. r=jrmuizel 2014-03-25 17:54:39 +01:00