Commit Graph

4016 Commits

Author SHA1 Message Date
Bas Schouten
4b872abb0d Bug 996745: Do not try to FinalizeFrame when there is no buffer. r=mattwoodrow 2014-04-29 22:33:11 +02:00
Bas Schouten
821065aa60 Bug 999579: Get the feature level in the D3D11 compositor. r=nical 2014-04-29 22:33:11 +02:00
Bas Schouten
dbb9271862 Bug 997517: Never try to use D2D for BufferTextureClients. r=nical 2014-04-29 22:33:10 +02:00
Kartikaya Gupta
30f07baab4 Bug 907123 - Implement fling acceleration on multiple consecutive flings. r=botond 2014-04-29 09:45:13 -04:00
Kartikaya Gupta
9138109b3f Bug 907123 - Move fling-related things into a new section in AsyncPanZoomController.h. r=botond 2014-04-29 09:45:09 -04:00
Carsten "Tomcat" Book
d7f30b5e72 Backed out changeset ffe32dd3b558 (bug 959089) for assertions 2014-04-29 12:22:07 +02:00
Carsten "Tomcat" Book
30e4791d39 Backed out changeset a89f08f4fd3e (bug 959089) 2014-04-29 12:21:52 +02:00
chiajung hung
bb39549da2 Bug 959089 - Separate GrallocBuffer allocations from Compositor thread(part2). r=nical 2014-04-28 20:46:00 +02:00
chiajung hung
e542a40aa5 Bug 959089 - Separate GrallocBuffer allocations from Compositor thread(part1), r=vlad,gal 2014-04-28 20:46:00 +02:00
Kartikaya Gupta
cff49f344a Bug 1002482 - Log mTransformScale as part of the FrameMetrics dump. r=botond 2014-04-28 08:18:00 +02:00
Kartikaya Gupta
8236d2a702 Bug 1002482 - Ensure the isDefault variable is computed before mFrameMetrics is modified. r=botond 2014-04-28 07:58:00 +02:00
Jonathan Watt
d7d9854e2c Bug 1001683 - Convert a bunch of ReadPixelsIntoImageSurface callers to ReadPixelsIntoDataSurface callers (Moz2D migration). r=mattwoodrow 2014-04-29 00:26:54 +01:00
Wes Kocher
57f239e7c7 Backed out changeset 1201268ce090 (bug 993019) for possibly making Android J3 tests flaky 2014-04-28 15:56:47 -07:00
Benoit Jacob
728509bae7 Bug 924622 - Remove an assertion to complete the backout on a CLOSED TREE 2014-04-28 14:34:46 -04:00
Nicolas Silva
e654487c2a Bug 924622 - Backout because of e10s mochitest regression on linux on a CLOSED TREE 2014-04-28 19:32:32 +02:00
Botond Ballo
692fbb02d3 Bug 1000633 - Avoid APZ data race in accessing mAnimation. r=kats 2014-04-25 13:38:09 -04:00
Ed Morley
15b9ce31ab Backed out changeset ab970e182f57 (bug 907123) for assertions from AsyncPanZoomControllerTester 2014-04-28 16:06:55 +01:00
Ed Morley
5c3ca3e502 Backed out changeset 729fb5ddc1b9 (bug 907123) 2014-04-28 16:06:32 +01:00
Kartikaya Gupta
b80c05cb2d Bug 907123 - Implement fling acceleration on multiple consecutive flings. r=botond 2014-04-28 10:19:25 -04:00
Kartikaya Gupta
033e11f564 Bug 907123 - Move fling-related things into a new section in AsyncPanZoomController.h. r=botond 2014-04-28 10:19:13 -04:00
Benoit Jacob
b2aed07c9a Bug 989144 - Convert EffectChain::mSecondaryEffects to be an EnumeratedArray - r=nical 2014-04-25 22:34:06 -04:00
Benoit Jacob
ccf1372bf3 Bug 987311 - Follow-up: Make CompositorD3D11 use EnumeratedArray to fix the build on MSVC 2012 (where typed enums are actually typed) - no review, bustage fix 2014-04-28 10:14:00 -04: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
4330f5e7fc Bug 987311 - 4/6 - Convert the rest of CompositorTypes.h to typed enums, initial manual changes - r=nical 2014-04-25 22:34:05 -04:00
Benoit Jacob
9df86991b2 Bug 989027 - 2/2 - Make LayerRenderStateFlags a typed enum, auto regex changes - r=nical
find gfx -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)LAYER_RENDER_STATE_\(Y_FLIPPED\|BUFFER_ROTATION\|FORMAT_RB_SWAP\)\($\|[^A-Za-z0-9_]\)/\1LayerRenderStateFlags::\2\3/g'
2014-04-25 22:34:05 -04:00
Benoit Jacob
8cd643902f Bug 989027 - 1/2 - Make LayerRenderStateFlags a typed enum, manual changes - r=nical 2014-04-25 22:34:05 -04:00
Benoit Jacob
01868df539 Bug 987311 - 3/6 - Make TextureFlags a typed enum, final manual changes - r=nical 2014-04-25 22:34:05 -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
Benoit Jacob
344610a9df Bug 987311 - 1/6 - Make TextureFlags a typed enum, initial manual changes - r=nical 2014-04-25 22:34:04 -04:00
Nicolas Silva
7547bdadd5 Bug 997121 - Mark CompsoitorOGL MOZ_FINAL to prevent future problems with the virtual call in its destructor. r=bjacob 2014-04-28 16:10:35 +02:00
Nicolas Silva
57653a79d1 Bug 924622 - Make sure gfx's ipc shutdown happens before shutting down xpcom threads. r=bsmedberg, sotaro 2014-04-28 16:03:12 +02:00
Jerry Shih
10b9bf0872 Bug 993019 - Handle scheduling rendering task for cross-process rotation. r=mattwoodrow, r=nical 2014-04-27 22:22:00 -04:00
Nicolas Silva
a3e5e131b2 Bug 997699 - fixup some #includes of ipdl actors in layers. r=bjacob 2014-04-28 13:29:13 +02:00
Nicolas Silva
1762a07762 Bug 1001458 - Rename TileIterator ino BigImageIterator. r=BenWa 2014-04-28 13:27:25 +02:00
John Schoenick
cd277d150b Bug 977963 - Fix and re-enable linux glX texture_from_pixmap support r=mattwoodrow 2014-04-27 21:52:55 -07:00
Birunthan Mohanathas
ff8ce9bd42 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -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
Timothy Nikkel
31c72ce0d1 Bug 1000350. Don't overwrite a layout set display port base with an APZC-guessed one. r=kats
APZC set ones are only meant to fill in the gaps, use them only if we have nothing else.
2014-04-26 00:13:36 -05:00
Benoit Jacob
90c1d6c82b Bug 989145 - Convert ImageContainer::mBackendData to be an EnumeratedArray - r=nical 2014-04-25 22:34:06 -04:00
Benoit Jacob
c4a910a1bd Bug 989144 - Convert EffectChain::mSecondaryEffects to be an EnumeratedArray - r=nical 2014-04-25 22:34:06 -04: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
8b0eada640 Bug 987311 - 4/6 - Convert the rest of CompositorTypes.h to typed enums, initial manual changes - r=nical 2014-04-25 22:34:05 -04:00
Benoit Jacob
b942b5da42 Bug 989027 - 2/2 - Make LayerRenderStateFlags a typed enum, auto regex changes - r=nical
find gfx -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)LAYER_RENDER_STATE_\(Y_FLIPPED\|BUFFER_ROTATION\|FORMAT_RB_SWAP\)\($\|[^A-Za-z0-9_]\)/\1LayerRenderStateFlags::\2\3/g'
2014-04-25 22:34:05 -04:00
Benoit Jacob
6b8477f27a Bug 989027 - 1/2 - Make LayerRenderStateFlags a typed enum, manual changes - r=nical 2014-04-25 22:34:05 -04:00
Benoit Jacob
f069a1b4e7 Bug 987311 - 3/6 - Make TextureFlags a typed enum, final manual changes - r=nical 2014-04-25 22:34:05 -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
Benoit Jacob
eca6b6dd13 Bug 987311 - 1/6 - Make TextureFlags a typed enum, initial manual changes - r=nical 2014-04-25 22:34:04 -04:00
Jeff Gilbert
ee5fd3c43d Bug 998742 - Switch to MOZ_LITTLE_ENDIAN, and assert correctness. - r=bjacob 2014-04-25 17:35:36 -07:00