Commit Graph

4036 Commits

Author SHA1 Message Date
Markus Stange
53a78142c8 Bug 1000875 - Add invalidation debugging annotations for layer content type changes. r=roc 2014-05-05 10:24:56 +02:00
Vincent Chen
d497f40f3d Bug 983489 - "Crash on nsIAppStartup.quit() - application crashed [@ mozilla::gl::GLContext::MakeCurrent(bool)]" r=nical 2014-04-29 23:49:00 +02:00
Botond Ballo
a2c66ecde0 Bug 1004620 - Purge ImageBridgeChild.cpp of 'using namespace base'. r=bjacob 2014-05-01 14:51:00 -04:00
Benoit Girard
1b80ad5825 Bug 1005328 - Layers.dump output should be consistent with newlines. r=bottond 2014-05-02 17:29:29 -04:00
Josh Aas
23e8d13927 Bug 960774: Add ActorDestroy impl for all parent-side actors that don't have one. It will be required soon. r=bent 2014-05-02 13:44:13 -05:00
Kartikaya Gupta
d996ede072 Bug 1002754 - Don't store a pointer to the cross-process compositor parent as it may go bad; pull it on demand instead. r=rbarker, r=botond 2014-05-02 11:12:48 -04:00
Kartikaya Gupta
2269ea4195 Bug 1002754 - Add a more comprehensive mechanism to disable thread assertions in APZ gtests. r=botond 2014-05-02 11:12:47 -04:00
Kartikaya Gupta
bcf5a8a20a Bug 1004516 - Add some default-disabled file logging to ActiveElementManager. r=botond 2014-05-02 08:21:57 -04:00
Kartikaya Gupta
81128c14cd Bug 1004516 - Ensure state is properly cleared in the ActiveElementManager. r=botond 2014-05-02 08:21:57 -04:00
Matt Woodrow
73b28ad5c7 Bug 952721 - Don't crash if our surface allocation fails in TiledContentClient. r=Bas 2014-05-02 14:28:52 +12:00
chiajung hung
098a829ab1 Bug 959089 - Part 2: Use the new protocol to do buffer allocation. r=nical 2014-04-30 21:52:00 -04:00
chiajung hung
81e92dcc54 Bug 959089 - Part 1: Implement a new protocol for manage shared buffers' allocation. r=vlad, r=gal 2014-04-30 21:50:00 -04:00
Ryan VanderMeulen
7fdf15b4dd Backed out changeset 01dd7c0d8f8d (bug 1002754) for gtest failures. 2014-05-01 12:55:02 -04:00
Kartikaya Gupta
22bf56948c Bug 1004459 - Log critical displayport values to rendertrace output as well. r=botond 2014-05-01 06:21:00 -04:00
Kartikaya Gupta
f39aac5071 Bug 1002754 - Don't store a pointer to the cross-process compositor parent as it may go bad; pull it on demand instead. r=rbarker, r=botond 2014-04-30 12:17:00 -04:00
Robert O'Callahan
31c20a20db Bug 995745 - Use LockPixels for WebGL readback directly into a DrawTarget instead of writing to an immutable snapshot. r=mattwoodrow 2014-05-01 11:12:41 +12:00
Ryan VanderMeulen
f95958fce0 Backed out changesets 74ef5120ae2f and d26dfd37031a (bug 924622) for frequent Android and OSX crashes.
CLOSED TREE
2014-04-30 13:21:07 -04:00
Jerry Shih
8eb89f85f6 Bug 993019 - Handle scheduling rendering task for cross-process rotation. r=mattwoodrow, r=nical 2014-04-27 22:22:00 -04:00
Nicolas Silva
2e2e95a471 Bug 924622 - Make sure gfx's ipc shutdown happens before shutting down xpcom threads. r=bsmedberg, sotaro 2014-04-30 17:39:59 +02:00
Bas Schouten
126524c822 Bug 999584: Do not try to invalidate a null layermanager. r=nical 2014-04-29 22:33:12 +02:00
Bas Schouten
ab81497596 Bug 996745: Do not try to FinalizeFrame when there is no buffer. r=mattwoodrow 2014-04-29 22:33:11 +02:00
Bas Schouten
3d161b8148 Bug 999579: Get the feature level in the D3D11 compositor. r=nical 2014-04-29 22:33:11 +02:00
Bas Schouten
62876585d7 Bug 997517: Never try to use D2D for BufferTextureClients. r=nical 2014-04-29 22:33:10 +02:00
Kartikaya Gupta
a52f3f95dd Bug 907123 - Implement fling acceleration on multiple consecutive flings. r=botond 2014-04-29 09:45:13 -04:00
Kartikaya Gupta
36cf99e744 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
7ab12f0740 Backed out changeset ffe32dd3b558 (bug 959089) for assertions 2014-04-29 12:22:07 +02:00
Carsten "Tomcat" Book
201692bdbe Backed out changeset a89f08f4fd3e (bug 959089) 2014-04-29 12:21:52 +02:00
chiajung hung
01c16a7afc Bug 959089 - Separate GrallocBuffer allocations from Compositor thread(part2). r=nical 2014-04-28 20:46:00 +02:00
chiajung hung
e3f80bb4ff Bug 959089 - Separate GrallocBuffer allocations from Compositor thread(part1), r=vlad,gal 2014-04-28 20:46:00 +02:00
Kartikaya Gupta
c4f40dc0a4 Bug 1002482 - Log mTransformScale as part of the FrameMetrics dump. r=botond 2014-04-28 08:18:00 +02:00
Kartikaya Gupta
3d7ca49fed Bug 1002482 - Ensure the isDefault variable is computed before mFrameMetrics is modified. r=botond 2014-04-28 07:58:00 +02:00
Jonathan Watt
2a54bb27d4 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
ebf5e47361 Backed out changeset 1201268ce090 (bug 993019) for possibly making Android J3 tests flaky 2014-04-28 15:56:47 -07:00
Benoit Jacob
f7e1422d92 Bug 924622 - Remove an assertion to complete the backout on a CLOSED TREE 2014-04-28 14:34:46 -04:00
Nicolas Silva
264f4d9481 Bug 924622 - Backout because of e10s mochitest regression on linux on a CLOSED TREE 2014-04-28 19:32:32 +02:00
Botond Ballo
6c9512555d Bug 1000633 - Avoid APZ data race in accessing mAnimation. r=kats 2014-04-25 13:38:09 -04:00
Ed Morley
fd0c43adba Backed out changeset ab970e182f57 (bug 907123) for assertions from AsyncPanZoomControllerTester 2014-04-28 16:06:55 +01:00
Ed Morley
0db6682830 Backed out changeset 729fb5ddc1b9 (bug 907123) 2014-04-28 16:06:32 +01:00
Kartikaya Gupta
eee6784ecd Bug 907123 - Implement fling acceleration on multiple consecutive flings. r=botond 2014-04-28 10:19:25 -04:00
Kartikaya Gupta
94728595ed 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
d8c1730c9a Bug 989144 - Convert EffectChain::mSecondaryEffects to be an EnumeratedArray - r=nical 2014-04-25 22:34:06 -04:00
Benoit Jacob
0aa3e9e8d9 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
5004258047 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
2cf9a19eef 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
76ce5328c2 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
c712e9ddfd 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
8c2ef6b4fe Bug 989027 - 1/2 - Make LayerRenderStateFlags a typed enum, manual changes - r=nical 2014-04-25 22:34:05 -04:00
Benoit Jacob
3b123f8333 Bug 987311 - 3/6 - Make TextureFlags a typed enum, final manual changes - r=nical 2014-04-25 22:34:05 -04:00
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
Benoit Jacob
b9598bb113 Bug 987311 - 1/6 - Make TextureFlags a typed enum, initial manual changes - r=nical 2014-04-25 22:34:04 -04:00