Commit Graph

10574 Commits

Author SHA1 Message Date
Benoit Jacob
2e1ef0025a Bug 1004098 - Make nsTArray use size_t in its interface (32bitness is fine as an internal detail) - r=froydnj, sr=bsmedberg 2014-05-08 21:03:35 -04:00
Shashank Sabniveesu
202dd3b43b Bug 692922 - Fix use of posix_memalign() avoiding typecasts. r=BenWa 2014-05-08 20:43:37 -04:00
Nick Lebedev
f7d113e6a4 Bug 964750 - Make GestureEventListener rely on the EventStatus returned from the apzc. Add a check to apzc if touch-action allows zooming. Update apzc tests accordingly. r=drs 2014-05-05 11:23:00 -04:00
Vladimir Vukicevic
be9da7ed31 b=874781; add color bars to layer diagnostics, for vsync checking; r=benwa 2014-05-08 16:49:01 -04:00
Chris Lord
3d407681ab 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
John Daggett
5c292798a3 Bug 1007013 - remove gfxFT2FontGroup from header. r=mkato 2014-05-08 15:42:54 +09:00
Matt Woodrow
d54248516a Bug 938395 - Enable single rect painting for d3d10. r=Bas 2014-05-08 14:56:48 +12:00
Jeff Muizelaar
213d4b6525 Bug 945079 - Add a way to simplify regions based on the change in volume. r=mattwoodrow 2014-05-06 16:39:34 -04:00
John Daggett
d2eabfb3b5 Bug 1007013 - remove gfxFT2FontGroup. r=mkato 2014-05-08 11:33:29 +09:00
Wes Kocher
acbc9e91fe Merge m-c to inbound 2014-05-07 17:38:29 -07:00
Sotaro Ikeda
939762d4da Bug 1004191 - Destroy LayerTransactionChild r=nical,bjacob 2014-05-07 06:23:14 -07:00
Matt Woodrow
b4ecb7164e 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
Ryan VanderMeulen
446c9509db Backed out changeset 86f9003c1251 (bug 924622) for causing bug 1007284 (frequent mochitest-e10s-2 shutdown hangs). 2014-05-07 17:03:03 -04:00
Nicolas Silva
a6863f0e23 Bug 924622 - Make sure gfx's ipc shutdown happens before shutting down xpcom threads. r=bsmedberg, sotaro 2014-05-07 11:06:19 +02:00
Ryan VanderMeulen
d4400ed747 Backed out changeset d7d7cc47bcc6 (bug 924622) for bustage.
CLOSED TREE
2014-05-07 10:22:21 -04:00
Nicolas Silva
204e86d14e Bug 924622 - Make sure gfx's ipc shutdown happens before shutting down xpcom threads. r=bsmedberg, r=sotaro 2014-05-07 11:06:19 +02:00
Peter Chang
254d3e5865 Bug 1006336 - Change OwningThreadId in GLContext to PlatformThread::CurrentId(). r=bjacob 2014-05-09 00:18:00 -04:00
Peter Chang
c01083a3bc Bug 997367 - fix crash at CrossProcessCompositorParent::GetCompositionManager, r=roc 2014-05-11 23:03:00 +02:00
Carsten "Tomcat" Book
8e48d8e0dd Backed out changeset a170dabfd12b (bug 997365) for wrong bug nummer in commit message on a CLOSED TREE 2014-05-12 14:10:31 +02:00
Peter Chang
2bb43c2e02 Bug 997365 fix crash at CrossProcessCompositorParent::GetCompositionManager, r=roc 2014-05-11 23:03:00 +02:00
Henri Sivonen
ac85960251 Bug 995922 - Remove JOHAB support. r=emk. 2014-05-12 11:56:58 +03:00
Jeff Gilbert
55e03c9b4c Bug 1004702 - Use KHR_debug in DebugMode(). - r=bjacob 2014-05-06 13:59:18 -07:00
Kartikaya Gupta
e5e1f8729d Bug 1006579 - Fix the AboutToCheckerboard implementation to actually work. r=Cwiiis 2014-05-06 14:29:47 -04:00
Kartikaya Gupta
8b53b702d4 Bug 1006579 - Extract a helper method to compute the min of the composition bounds and root composition size. r=botond 2014-05-06 14:29:44 -04:00
Botond Ballo
98bebf3b13 Bug 1005378 - Have TabChild create a view ID for the document element if one doesn't already exist. r=kats 2014-05-05 15:06:28 -04:00
Carsten "Tomcat" Book
d666673c23 Merge m-c to mozilla-inbound 2014-05-06 14:40:37 +02:00
Nicolas Silva
3530e449fd Bug 998130 - Add null checks in CairoImage::GetTextureClient. r=bjacob 2014-05-06 14:34:19 +02:00
Carsten "Tomcat" Book
742abc7f74 Backed out changeset 6efbbdf09c63 (bug 1001845) for refest failures 2014-05-06 14:09:56 +02:00
Wes Kocher
51b4f13fac Merge m-c to b2g-inbound 2014-05-05 21:19:59 -07:00
Sotaro Ikeda
56320456e0 Bug 1000525 - Defer Fence release until IPC delivery complete r=nical 2014-05-05 18:56:40 -07:00
Eric Rahm
9b5d3eccc6 Bug 1003479 - Fix incorrect usage of SizeOfIncludingThis and SizeOfExcludingThis functions. r=njn
--HG--
extra : rebase_source : 2d51e1fc1b642b0efa60cb4e25e8b142577e93d3
2014-05-01 10:37:54 -07:00
Mason Chang
99cdffe1b5 Bug 980027 - Part 2: Set compositor thread priority to platform value. r=gsvelto, benwa 2014-05-05 11:38:00 -04:00
Carsten "Tomcat" Book
b4aeef9ecb Backed out changeset 290f4be587a1 (bug 983489) for suspicion that this caused the m8 and m10 on ics debug on a CLOSED TREE 2014-05-05 16:19:22 +02:00
Markus Stange
b5d699db21 Bug 1000875 - Add invalidation debugging annotations for layer content type changes. r=roc 2014-05-05 10:24:56 +02:00
Vincent Chen
3eb4c922fc 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
bc3500d3af Bug 1004620 - Purge ImageBridgeChild.cpp of 'using namespace base'. r=bjacob 2014-05-01 14:51:00 -04:00
Benoit Girard
04f32cf039 Bug 1005328 - Layers.dump output should be consistent with newlines. r=bottond 2014-05-02 17:29:29 -04:00
Benoit Girard
52eac6846d Bug 1005298 - Add layout.display-list.dump Preference. r=mattwoodrow 2014-05-03 20:35:47 -04:00
Jeff Gilbert
dbc5d236e7 Bug 999260 - Ship both d3dcompiler_43 and _46+. - r=mshal 2014-05-02 15:31:05 -07:00
Jeff Gilbert
7569e676d7 Bug 1003027 - Use temp surface for bad strides. - r=mattwoodrow 2014-05-02 13:22:07 -07:00
Josh Aas
f00583cc36 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
Doug Sherk
ae9f140b2b Bug 1002289 - Allow adding/subtracting of BaseSize on BaseRect. r=botond, Bas 2014-05-02 11:22:54 -04:00
Kartikaya Gupta
fd2e8a618b 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
e2d65692a2 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
3ac891d9ab Bug 1004516 - Add some default-disabled file logging to ActiveElementManager. r=botond 2014-05-02 08:21:57 -04:00
Kartikaya Gupta
19bb9f870e Bug 1004516 - Ensure state is properly cleared in the ActiveElementManager. r=botond 2014-05-02 08:21:57 -04:00
Benoit Girard
57af5b5070 Bug 1004898 - WriteAsPNG should use fprintf_stderr. r=mattwoodrow 2014-05-02 01:33:02 -04:00
Matt Woodrow
0948d077e1 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
Matt Woodrow
68f995d0ca Bug 952721 - Don't crash if our surface allocation fails in TiledContentClient. r=Bas 2014-05-02 14:28:52 +12:00
Benoit Jacob
f26f1201a9 Bug 999445 - Do not fail GLContext initialization if the GL_VERSION is too low. We may get what we need as extensions. - r=jrmuizel 2014-05-05 15:40:51 -04:00
Jonathan Kew
c1bc1993a3 bug 992100 - mask out complex-script codepoints in fonts that lack the necessary layout tables. r=roc 2014-05-05 19:59:55 +01:00
Mats Palmgren
484a098dbf Bug 613659 - Add a Restore() method to Restore the current gfxContext if any. r=roc 2014-05-05 17:55:55 +00:00
Mats Palmgren
1cb8248fa4 Bug 613659 - Implement box-decoration-break layout for backgrounds. r=cam,jmuizelaar
--HG--
rename : layout/reftests/backgrounds/background-size-each-box.html => layout/reftests/backgrounds/background-size-clone.html
rename : layout/reftests/backgrounds/background-size-cover-each-box.html => layout/reftests/backgrounds/background-size-cover-clone.html
rename : layout/reftests/backgrounds/background-size-cover-continuous.html => layout/reftests/backgrounds/background-size-cover-slice.html
rename : layout/reftests/backgrounds/background-size-continuous.html => layout/reftests/backgrounds/background-size-slice.html
2014-05-05 17:55:54 +00:00
chiajung hung
e92efaa365 Bug 959089 - Part 2: Use the new protocol to do buffer allocation. r=nical 2014-04-30 21:52:00 -04:00
chiajung hung
fb2a19d0d1 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
07fde4d1bb Backed out changeset 01dd7c0d8f8d (bug 1002754) for gtest failures. 2014-05-01 12:55:02 -04:00
Kartikaya Gupta
5d35adf5f4 Bug 1004459 - Log critical displayport values to rendertrace output as well. r=botond 2014-05-01 06:21:00 -04:00
Kartikaya Gupta
57614b5dab 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
Jonathan Kew
a084f00e15 bug 752394 followup - no need to use an nsString for a single character. r=jdaggett 2014-05-01 08:53:08 +01:00
Robert O'Callahan
959601c675 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
Jeff Gilbert
5e80fdd74a Bug 978407 - Use glClear to clear deferred-init textures. - r=kamidphish 2014-04-30 14:30:21 -07:00
Ryan VanderMeulen
568d01e29e 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
f16d9a19fd Bug 993019 - Handle scheduling rendering task for cross-process rotation. r=mattwoodrow, r=nical 2014-04-27 22:22:00 -04:00
Nicolas Silva
79c0192464 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
Jon Coppeard
bed7fc43d9 Bug 959787 - Handlify remaining JS APIs r=terrence r=bz r=bholley 2014-04-30 10:10:33 +01:00
Rodrigo Rodriguez Jr.
bc17528767 Bug 952650 (part 11) - Remove JSVAL_TO_INT. r=njn.
--HG--
extra : rebase_source : 41923458bbf8fd957c9a57685df4969f1190bd9f
2014-04-27 19:55:08 -07:00
Rodrigo Rodriguez Jr.
1b9dfa0db1 Bug 952650 (part 9) - Remove JSVAL_IS_INT. r=njn.
--HG--
extra : rebase_source : dc0c170914c2370c218cdbbe671d2a68628f5a87
2014-04-27 19:47:02 -07:00
Rodrigo Rodriguez Jr.
0a5bccece7 Bug 952650 (part 8) - Remove JSVAL_TO_STRING. r=njn.
--HG--
extra : rebase_source : 61ab9459c00849027498904863647e65453a1a43
2014-04-27 19:45:46 -07:00
Rodrigo Rodriguez Jr.
8c9ffb503e Bug 952650 (part 6) - Remove JSVAL_IS_STRING. r=njn.
--HG--
extra : rebase_source : ebd55749447f9feea04a78ff7cc17ba2dd2c5cd0
2014-04-27 19:41:01 -07:00
Rodrigo Rodriguez Jr.
d4df43e7c2 Bug 952650 (part 5) - Remove JSVAL_TO_DOUBLE. r=njn.
--HG--
extra : rebase_source : b1d9ba218fd1126f486f686ec5754dfaedac8b3c
2014-04-27 19:38:31 -07:00
Rodrigo Rodriguez Jr.
7b7c484d7f Bug 952650 (part 4) - Remove JSVAL_IS_DOUBLE. r=njn.
--HG--
extra : rebase_source : 3c7065d9e487db70a1afed0a4143ae7b0cd23af9
2014-04-27 19:35:40 -07:00
Rodrigo Rodriguez Jr.
2898f2d2f9 Bug 952650 (part 3) - Remove JSVAL_TO_BOOLEAN. r=njn.
--HG--
extra : rebase_source : fbe97c23a4893b8c4c5641f41947f3a96f7111d3
2014-04-27 19:34:12 -07:00
Bas Schouten
012997419b Bug 999584: Do not try to invalidate a null layermanager. r=nical 2014-04-29 22:33:12 +02:00
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
Jeff Gilbert
8ad125e2ec Bug 997374 - Check FB status in GLScreenBuffer. - r=bjacob 2014-04-28 18:11:14 -07: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
Jonathan Watt
3f5a57736a Bug 1001682 - Don't reverse the R and B components in the GL CopyDataSourceSurface code for SurfaceFormat::R5G6B5. r=mattwoodrow 2014-04-29 00:26:53 +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