Benoit Jacob
dd9a0850b3
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
24b74a2af7
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
a53edd3151
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
dc0b0c8367
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
49dd7d0c3f
Bug 987311 - 3/6 - Make TextureFlags a typed enum, final manual changes - r=nical
2014-04-25 22:34:05 -04:00
Benoit Jacob
45875b18ee
Bug 987311 - 2/6 - Make TextureFlags a typed enum, auto regex changes - r=nical
2014-04-25 22:34:05 -04:00
Nicolas Silva
2f082d5876
Bug 990871 - Move TextureClientDrawTarget into TextureClient. r=mattwoodrow
2014-04-10 10:14:28 +02:00
Carsten "Tomcat" Book
e135bfb80b
Backed out changeset 3747c80a1cde (bug 990871) for bustage on a CLOSED TREE
2014-04-10 13:15:47 +02:00
Nicolas Silva
8e5bb9bcd2
Bug 990871 - Move TextureClientDrawTarget into TextureClient. r=mattwoodrow
2014-04-10 10:14:28 +02:00
Matt Woodrow
58ba18a382
Bug 992486 - Part 5: Fix copying the front buffer to back buffer. r=roc
2014-04-10 20:42:29 +12:00
Matt Woodrow
52194b51bf
Bug 991513 - Part 3: Combine BeginPaint/PrepareFrame and EndPaint/OnTransaction. r=nrc
2014-04-09 21:15:19 +12:00
Matt Woodrow
7ed3d0095b
Bug 991513 - Part 2: Don't lock ContentClientSingleBuffered's textures until we need the buffers. r=nrc
2014-04-09 21:15:18 +12:00
Matt Woodrow
2b85e9dc18
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
2d862e153f
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
c7beeace87
Bug 991028 - Get rid of OpenDescriptor/CloseDescriptor. r=nical
2014-04-07 13:32:49 +12:00
Matt Woodrow
8557eb8a03
Bug 991028 - Stop using OpenDescriptor in ContentClientIncremental. r=nical
2014-04-07 13:32:49 +12:00
Phil Ringnalda
c213611c51
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
b9ca218121
Bug 991028 - Get rid of OpenDescriptor/CloseDescriptor. r=nical
2014-04-07 13:32:49 +12:00
Matt Woodrow
8b3fd32955
Bug 991028 - Stop using OpenDescriptor in ContentClientIncremental. r=nical
2014-04-07 13:32:49 +12:00
Nicolas Silva
24e2f3dd3b
Bug 989883 - Remove deprecated ContentClient/Host. r=mattwoodrow
2014-04-01 14:28:05 +08:00
Ryan VanderMeulen
ad5d64b8b9
Backed out changesets 0b596070fe54 and ed6969e4fb6f (bug 957560) for causing bug 990027 on a CLOSED TREE.
2014-03-31 14:31:52 -04:00
Benoit Jacob
ef7edb462d
Bug 987311 - Fix a bad enum conversion bug found by converting TextureFlags to typed enums - r=nical
2014-03-31 05:10:49 -04:00
Nicolas Silva
4e568f39b1
Bug 957560 - Fix new textures on windows (OMTC). r=mattwoodrow
2014-03-31 11:07:40 +08: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
Nicolas Silva
2592474737
Bug 973892 - Make TextureClient::GetAsDrawTarget work with canvas. r=bas
2014-03-17 22:35:20 +01:00
Chris Lord
440300f900
Bug 962629 - Respect max texture size when creating Gralloc textures. r=nical
...
Add a size hint parameter to CreateTextureClientForDrawing, and use said
parameter to not create Gralloc surfaces that are bigger than the maximum
texture size.
2014-03-12 12:16:37 +00:00
Milan Sreckovic
710bd9d8f9
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
Sotaro Ikeda
67d2d9419d
Bug 946720 - Enable new textures at ContentClient/ContentHost classes on gonk. r=nical
2014-02-13 09:46:59 -05:00
Sotaro Ikeda
1ad150972f
Bug 968872 - Remove TEXTURE_DEALLOCATE_DEFERRED flag. r=nical
2014-02-12 09:54:23 -05:00
Nicolas Silva
496d6c9188
Bug 965096 - Use image surfaces for ARGB content with non-deprecated textures. r=BenWa
2014-02-07 14:30:01 +01:00
Nicolas Silva
34d846a77f
Bug 965096 - Backed out changeset 224e15123ae0 because of wrong bug number. r=me
2014-02-07 14:24:30 +01:00
Nicolas Silva
6dccb58af5
Bug 955096 - Use image surfaces for ARGB content with non-deprecated textures. r=BenWa
2014-02-07 14:20:19 +01:00
Nicolas Silva
84a35dc66a
Bug 966528 - Use a specific IPDL message for component alpha. r=mattwoodrow
2014-02-06 12:28:29 +01:00
Nicolas Silva
b02c28b821
Bug 952507 - Flush the back buffer after syncing with the front buffer in the buffered ContentClient. r=Bas
2014-02-04 21:35:22 +01:00
Nicolas Silva
30b89fa3e5
Bug 952507 - Fix locking in double buffered ContentClient. r=nrc
2014-01-24 15:25:04 +01:00
Nicholas Cameron
e5e5cd46b9
Bug 959842. Rename ContentClient::ReturnDrawTarget. r=mattwoodrow
2014-01-24 19:58:33 +13: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
Carsten "Tomcat" Book
9fbf4b116f
Backed out changeset 24668220c9a4 (bug 952507) for OS X Build Bustage on a CLOSED TREE
2014-01-23 15:50:14 +01:00
Nicolas Silva
d2a76c0550
Bug 952507 - Fix locking in double buffered ContentClient. r=nrc
2014-01-23 15:27:06 +01:00
Nicolas Silva
1065d37c2e
Bug 952507 - Fix locking in ContentClient. r=nrc
2014-01-23 15:26:59 +01:00
Nicolas Silva
70e0cc5d0d
Bug 962041 - Fix component apha with the new ContentClient/Host. r=mattwoodrow
2014-01-23 15:14:58 +01:00
Nick Lebedev
5566df66a2
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
a40bda6b8c
Bug 959842. Add null checks whenever we borrow a draw target from RotatedBuffer. r=kats
2014-01-17 09:52:52 +13:00
Nicholas Cameron
a62864d887
Bug 951554. Changes to ContentClient. r=nical
...
--HG--
extra : rebase_source : 1d64aaf91b3cbea0e4dff9066dd609a5edd06f5c
2014-01-13 09:06:45 +13:00
Nicholas Cameron
b11194a08a
Bug 951554. Replace SyncFrontBufferToBackBuffer with PrepareFrame and FinalizeFrame. r=nical
...
--HG--
extra : rebase_source : 129796a77c5777dac89930907d1f257657115ae3
2014-01-13 08:54:40 +13:00
Nicholas Cameron
f5c0f52452
Bug 951554. Add SurfaceMode::SURFACE_NONE. r=nical
...
--HG--
extra : rebase_source : 5854c7994dd861f36860756d10ef5b7ea35d863c
2014-01-13 08:54:36 +13:00
Benoit Jacob
f447d87c57
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
Nicholas Cameron
311fe4a473
Bug 951556. Don't do multiple flushes due to DrawBufferWithRotation. r=mattwoodrow
2014-01-09 13:57:52 +13:00
Nicholas Cameron
b59a3ba405
Fix bustage from bug 933549 because I am an idiot who forgot to qref, on a CLOSED TREE
2014-01-08 14:21:56 +13:00
Nicholas Cameron
c5e2b53f69
Bug 933549. Change PaintState to use a DrawTarget instead of a gfxContext. r=mattwoodrow
2014-01-08 10:09:34 +13:00
Nicholas Cameron
630c694b39
backed out bug 933549 on a CLOSED TREE
2014-01-08 10:27:14 +13:00
Nicholas Cameron
a0dbb3261d
Bug 933549. Change PaintState to use a DrawTarget instead of a gfxContext. r=mattwoodrow
2014-01-08 10:09:34 +13:00
Ms2ger
fc0c5d7215
Bug 950143 - Remove the implicit conversion operator from nsIntSize to IntSize; r=roc
2013-12-31 10:06:12 +01:00
Phil Ringnalda
ef063fb0d4
Back out b6f9dbc91dc4 (bug 947038) for Cipc crashes
2013-12-12 23:33:50 -08:00
David Anderson
f853c97cb8
Ensure that the software compositor never uses deprecated textures (bug 947038, r=mattwoodrow).
2013-12-12 20:29:14 -08:00
Benoit Jacob
bffd04bbcc
Bug 897452 - Part 12 - remove CompositableClient::OnActorDestroy - r=nrc
2013-12-11 20:45:05 -05:00
Benoit Jacob
ddd558c190
Bug 897452 - Part 11 - remove TextureClient::OnActorDestroy - r=nrc
2013-12-11 20:45:03 -05:00
Benoit Jacob
94263041e6
Bug 897452 - Part 10 - adapt post landing of bug 893301 - r=nical,nrc
2013-12-11 20:45:01 -05:00
Ryan VanderMeulen
c269bf8ea6
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
Benoit Jacob
ad578d9a57
Bug 897452 - Part 12 - remove CompositableClient::OnActorDestroy - r=nrc
2013-12-11 13:05:32 -05:00
Benoit Jacob
448c42bafe
Bug 897452 - Part 11 - remove TextureClient::OnActorDestroy - r=nrc
2013-12-11 13:05:29 -05:00
Benoit Jacob
2c56c71b5c
Bug 897452 - Part 10 - adapt post landing of bug 893301 - r=nical,nrc
2013-12-11 13:05:27 -05:00
Birunthan Mohanathas
3440613a39
Bug 713082 - Part 2: Rename Util.h to ArrayUtils.h. r=Waldo
...
--HG--
rename : mfbt/Util.h => mfbt/ArrayUtils.h
2013-12-08 21:52:54 -05:00
Nicholas Cameron
252dc1e208
Bug 893301. Don't use new textures content on b2g. r=bjacob,nical
2013-12-06 07:39:22 +13:00
Nicholas Cameron
6083fff067
Bug 893301. Rollup patch - new textures content. r=nical,nrc
2013-12-06 07:39:22 +13:00
Benoit Jacob
12ae30d582
Back out bug 893301 for accidentally disabling gralloc for thebes layers on B2G - no review, bustage fix on a CLOSED TREE
2013-12-04 12:19:50 -05:00
Nicholas Cameron
7579d5e3ae
Bug 946031. Fix a warning in DeprecatedContentClientSingleBuffered::SyncFrontBufferToBackBuffer. r=mattwoodrow
2013-12-04 17:33:16 +13:00
Nicholas Cameron
6b5c57b8c4
Bug 893301. Some rebasing fixes. r=nical
2013-11-28 10:16:35 +13:00
Nicholas Cameron
ee46d57bdc
Bug 893301. Remove AccessMode use in ContentClient. r=nical
2013-11-28 10:16:35 +13:00
Nicolas Silva
961a970469
Bug 893301. Fix alpha corruptions. r=nrc
2013-11-08 18:53:16 +01:00
Nicholas Cameron
302a5f0e82
Bug 893301. Rename BufferProviders. r=mattwoodrow
2013-11-28 10:16:35 +13:00
Nicholas Cameron
e310d54bf8
Bug 893301. Renaming and indentation fixes. r=nical
2013-11-28 10:16:35 +13:00
Nicholas Cameron
598ae4efa7
Bug 893301. Content clients. r=nical
2013-11-28 10:16:34 +13:00
Chris Peterson
c94a0e8c44
Bug 944257 - Fix warning by removing unused ContentClientBasic member variable mManager. r=gal
2013-11-27 19:19:56 -08:00
Nicholas Cameron
0a2a18e774
Backout bug 893301 for b2g bustage r=me
2013-11-28 12:31:31 +13:00
Nicholas Cameron
8c5eb6d31b
Bug 893301. Some rebasing fixes. r=nical
2013-11-28 10:16:35 +13:00
Nicholas Cameron
c85dfc76bf
Bug 893301. Remove AccessMode use in ContentClient. r=nical
2013-11-28 10:16:35 +13:00
Nicholas Cameron
3880d465ad
Bug 893301. Rename BufferProviders. r=mattwoodrow
2013-11-28 10:16:35 +13:00
Nicholas Cameron
5e6740776c
Bug 893301. Renaming and indentation fixes. r=nical
2013-11-28 10:16:35 +13:00
Nicholas Cameron
097d6fd331
Bug 893301. Content clients. r=nical
2013-11-28 10:16:34 +13:00
Nicholas Cameron
d265676d31
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
176a56a656
Bug 932888. Remove thebes paths from ThebesLayerBuffer (part 1). r=mattwoodrow
2013-11-27 13:29:45 +13:00
Nicholas Cameron
aea4f9337a
Bug 900248. Don't assume ThebesLayerBufer will get the buffers it wants. r=mattwoodrow
2013-11-22 11:07:55 +13:00
Nicholas Cameron
9928f8e67c
Bug 907463. Dealloc shmem on ActorDestroy. r=nical
2013-09-27 21:48:42 +12:00
Matt Woodrow
43199694b8
Bug 934860 - Move paint region clipping into DrawThebesLayer. r=roc
2013-11-07 08:10:50 +13:00
Gregor Wagner
9e82d05232
Backout Bug 907463 for causing bug 930575
2013-10-25 09:25:17 -07:00
Gregor Wagner
3a43659abc
Backout Bug 907463
2013-10-25 09:25:11 -07:00
Nicholas Cameron
e59c5a9ee9
Bug 907463. Dealloc shmem on ActorDestroy. r=nical
2013-09-27 21:48:42 +12:00
Nicholas Cameron
0a1164583f
Bug 907463. Backout OP_SOURCE optimisation from bug 907926. r=mattwoodrow
2013-09-18 15:39:34 +12:00
Benoit Girard
282410c103
Bug 921212 - Rotate buffer in place to avoid gralloc surface allocation. r=Bas
2013-10-11 16:47:47 -04:00
Ryan VanderMeulen
41a335c516
Backed out changeset 6150269410b2 (bug 921212) for bustage on a CLOSED TREE.
2013-10-18 10:21:38 -04:00
Benoit Girard
b48817b2a7
Bug 921212 - Rotate buffer in place to avoid gralloc surface allocation. r=Bas
2013-10-11 16:47:47 -04:00
Ehsan Akhgari
eff9a278ad
Bug 924221 - Minimize the #includes in gfx/thebes; r=bjacob
...
--HG--
extra : rebase_source : af198eb9b9739ce718ba0d16c385624a722cde51
2013-10-07 19:15:59 -04:00
Nicolas Silva
fb7278e4bc
Bug 916118 - Simplify the TextureClient deallocation protocol. r=nrc
2013-10-02 13:52:04 -07:00
Ed Morley
afcd2640f5
Backed out changeset e28ae87bbc03 (bug 907463)
2013-09-27 11:37:03 +01:00
Ed Morley
0e5b0cebbd
Backed out changeset 08d9bbb1044f (bug 907463)
2013-09-27 11:37:00 +01:00
Nicholas Cameron
99372e1e41
Bug 907463. Dealloc shmem on ActorDestroy. r=nical
2013-09-27 21:48:42 +12:00
Nicholas Cameron
f75e9a84ab
Bug 907463. Backout OP_SOURCE optimisation from bug 907926. r=mattwoodrow
2013-09-18 15:39:34 +12:00
Nicolas Silva
e3ef6e63f3
Bug 916118 - Backed out changeset bafb8bf3b279 on a CLOSED TREE
2013-09-26 19:06:12 +02:00