Sotaro Ikeda
34dd2a5f5b
Bug 1091777 - Add TextureClient recycling to CairoImag r=nical
2014-11-12 17:47:10 -08:00
Sotaro Ikeda
c82676630f
Bug 1095639 - Re-enable acquire fence delivery on gonk r=nical
2014-11-12 07:55:31 -08:00
Kartikaya Gupta
7f62901778
Bug 1091296 - When applying the APZ transform on a layer, make sure not to clobber any existing OMTA transform. r=mattwoodrow
...
--HG--
extra : rebase_source : 9662fbdea917d63a1205660979cbb5c6f861ba02
2014-11-11 10:54:02 -05:00
Kartikaya Gupta
5f8e28d976
Bug 1091296 - Remove the redundant code for clearing async transforms per frame of composition. r=mattwoodrow
...
We already reset the shadow transform to the layer transform in
SetShadowProperties() before compositing every frame, so this is redundant.
--HG--
extra : rebase_source : bef51e6a918ffaab134a4b53fb6f2ec6c45d9d6d
2014-11-11 10:53:57 -05:00
Kartikaya Gupta
59e09f0613
Bug 1091296 - Refactor the pre- and post-scale cancellation code into a helper method. r=mattwoodrow
...
--HG--
extra : rebase_source : c06309a16a13673eb59bb98c9dfd4d5c4846aad5
2014-11-11 10:53:44 -05:00
Brian Birtles
50be117679
Bug 1095315 - Fix the order of applying pending updates and getting the effective transform in BasicLayerManager; r=mattwoodrow
2014-11-11 11:01:28 +09:00
Kartikaya Gupta
985540ecef
Bug 1072093 - Support progressive-paint on OS X 10.7 or later. r=BenWa
2014-11-07 14:17:14 -05:00
Kartikaya Gupta
0d8a3614cc
Bug 1093686 - Add some debug logging code for PositionedEventTargeting.cpp. r=roc
2014-11-06 08:05:51 -05:00
Milan Sreckovic
2d3468d332
Bug 1092262 - Doxygen docs for APZ prefs. r=kats
2014-11-05 11:04:32 -05:00
Andrew Osmond
8e71e7800f
Bug 1077301 - Ensure EGL images are released when destroying the texture. r=nical
2014-11-05 08:17:00 +01:00
Sotaro Ikeda
b299248ef3
Bug 1093728 - Add AddTextureClient() to CanvasClientSharedSurface::Update() r=nical
2014-11-05 08:15:48 -08:00
Robert O'Callahan
628c45fc97
Bug 1080205. Part 2: Add test. r=tn
...
--HG--
extra : rebase_source : 9f8a41ae255e132e572fdb5012f851554fde69d9
2014-10-30 16:33:55 +13:00
Robert O'Callahan
bd30ce7c71
Bug 1083635. Part 5: ClientLayerManager::BeginTransactionWithTarget should assert if we're not going to take a snapshot. r=mattwoodrow
...
--HG--
extra : rebase_source : 07cea353735743670cc82031bcbe738932f56829
2014-10-21 10:32:10 +13:00
Benoit Girard
0470baff84
Bug 1089380 - Remove ClipRectInLayersCoordinates. r=mattwoodrow
...
--HG--
extra : rebase_source : d20c08c804f45f2a6baee9063d0e73bf755054ae
2014-10-31 16:34:30 -04:00
Phil Ringnalda
810325008f
Back out 293c48ec288c (bug 1086642) for Android and OS X 10.8 ONLY NOT SEEN ON 10.6 bustage
...
CLOSED TREE
2014-11-03 20:44:19 -08:00
Matt Woodrow
8b2961342c
Bug 1086642 - Simplify invalid reigon by area. r=jrmuizel
2014-11-04 15:12:06 +13: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
Jacek Caban
4129770618
Bug 1092130 - Fixed build errors found by mingw after bug 1076698 landed (-Werror=missing-braces errors). r=cpearce
2014-11-03 10:28:52 +01:00
Bas Schouten
9859be600a
Bug 1064864. Ensure the copying bounds are sane. r=jrmuizel
...
This prevents things from going really bad on some drivers.
--HG--
extra : rebase_source : c237cf3e6a6174696ebe6d41562a30c8cc0e564d
2014-11-01 14:02:20 -04:00
Kartikaya Gupta
0f7ac57254
Bug 1091283 - Ensure that pinch gesture events actually get processed. r=botond
...
Currently only pinch gesture events getting created in the GestureEventListener
code will make it to AsyncPanZoomController::HandleGestureEvent. Any pinch
gesture events that the widget code dispatches into the APZCTreeManager get
ignored, which shouldn't be happening. We don't have any production code that
exercises these code paths at the moment, but fixing it up also reduces the
APIs exposed into the testing code.
2014-10-31 15:29:36 -04:00
Botond Ballo
73e10e507a
Bug 1066888 - Documentation tweaks for overscroll physics improvements. r=kats. DONTBUILD for doc changes
...
--HG--
extra : rebase_source : 08df59b26c6ce334c96c5ec5b635c940c8548f08
extra : amend_source : 7c1c0799b0fcc747134cad8b56a202f830b50ae3
2014-10-31 14:10:36 -04:00
Botond Ballo
11bd5dec9f
Bug 1066888 - Overscroll physics improvements. r=kats
...
This patch unifies the physics governing the overscroll phase of a fling
with the snap-back animation. The unified physics are spring-based, like the
physics governing the snap-back animation before, except we allow for
oscillations.
2014-10-31 12:06:31 -04:00
Jeff Muizelaar
2666e4b426
Bug 1066312. Use IDXGIKeyedMutex for synchronization with D3D11 angle. r=jgilbert
...
This currently does nothing because the ANGLE we're using doesn't have keyed mutex
support.
--HG--
extra : rebase_source : 9ab74710c22c5330809206f1bb16677af5944bad
2014-10-31 10:57:32 -04:00
Nicolas Silva
a041b006fc
Bug 1074382 - Add some gfxCriticalError logging in the initialization of D3D9. r=milan
2014-10-30 18:20:23 +01:00
Robert O'Callahan
4acddf2632
Bug 1073252. Fix bustage in part 4, in a CLOSED TREE
2014-10-31 22:40:15 +13:00
Robert O'Callahan
cd94ff127c
Bug 1073252. Part 4: Flip hasAlpha to isOpaque for consistency. r=mattwoodrow
...
--HG--
extra : rebase_source : a553b4c36feb555b23cbe140a05df09f0dc2656d
2014-10-30 15:32:41 +13:00
Robert O'Callahan
09acbfb02f
Bug 1073252. Part 2: Store opaque flag in LayerRenderState. r=nical
...
--HG--
extra : rebase_source : a0fefe94dd52a6f365c34bffcd806e094c62d76e
2014-10-30 15:32:41 +13:00
Robert O'Callahan
6cb3441fdc
Bug 1073252. Part 1: Track opaqueness of gralloc TextureClient/Host. r=nical
...
--HG--
extra : rebase_source : de08e7a128bad27250cae94386e8ffea5fa26d6d
2014-10-30 15:32:40 +13:00
Mason Chang
fe2c3ae382
bug 1087048. Dispatch touch events after vsync aligned composites. r=benwa
2014-10-30 08:48:42 -07:00
Kartikaya Gupta
2ec9b16ffe
Bug 1091049 - Follow-up to fix non-unified build error. r=me
2014-10-30 11:48:54 -04:00
Carsten "Tomcat" Book
e91fd8b26b
Merge mozilla-central to b2g-inbound
2014-10-30 15:51:48 +01:00
Kartikaya Gupta
b514d384b4
Bug 1091049 - Add fling curving to accelerate fast flicks. r=botond
2014-10-30 10:38:10 -04:00
Kartikaya Gupta
5aedbae139
Bug 1091049 - Rename gComputedTimingFunction to gZoomAnimationFunction. r=botond
2014-10-30 10:38:09 -04:00
Carsten "Tomcat" Book
e057d3d8be
merge mozilla-inbound to mozilla-central a=merge
2014-10-30 14:45:37 +01:00
Ryan VanderMeulen
468811acb7
Merge m-c to b2g-inbound. a=merge
2014-10-29 16:53:59 -04:00
Kartikaya Gupta
1a2476dd91
Bug 1091128 - Ensure that large negative velocities are also clamped to the velocity cap. r=botond
2014-10-29 15:40:02 -04:00
Jeff Gilbert
c1a3729b1d
Bug 1088345 - Improve glGetError handling. - r=kamidphish
2014-10-24 16:52:35 -07:00
Mason Chang
28967f0369
Bug 1088898. Correctly set mLastCompose in force composites. r=benwa
2014-10-28 19:32:36 -07:00
Nicolas Silva
e4d260ddf2
Bug 1089364 - Add some missing D3D11 error checks. r=Bas
2014-10-27 13:52:17 +01:00
Nicolas Silva
c743c70d2e
Bug 1077301 - Simplify the gralloc texture code. r=sotaro
2014-10-16 19:08:32 +02:00
Jeff Gilbert
feca8e6253
Bug 1088417 - Make asserts fuzzy where they're failing. - r=nical
2014-10-24 13:36:01 -07:00
Jeff Gilbert
c529728676
Bug 1088417 - Switch from REPEAT to CLAMP for D3D11. - r=nical
2014-10-23 17:10:58 -07:00
Jeff Gilbert
3ca0b077db
Bug 1088417 - DecomposeIntoNoRepeatRects for D3D11. - r=nical
2014-10-23 17:08:06 -07:00
Ehsan Akhgari
8cfe8bd43c
Bug 1088838 - Don't export CompositorChild.h, CompositorParent.h and ShadowLayersManager.h twice; r=BenWa
2014-10-27 08:57:36 -04:00
Kartikaya Gupta
242eea3e31
Bug 1088954 - Cleanup print 64-bit integers and remove a stray printf. r=botond
2014-10-24 14:45:00 +02:00
Ryan VanderMeulen
c0f2ac2848
Backed out changeset 5ff4c7dded93 (bug 1077301) for making bug 1084118 return with a near perma-fail vengeance.
2014-10-24 14:25:25 -04:00
Kartikaya Gupta
32e4fa17bd
Bug 1083395 - Follow-up to fix non-unified bustage. r=me on a CLOSED TREE
2014-10-24 14:02:52 -04:00
Kartikaya Gupta
34433158b2
Bug 1083395 - Move some APZC functions that are no longer needed in production down to the test subclass. r=botond
2014-10-24 13:29:35 -04:00
Kartikaya Gupta
d9a2995ade
Bug 1083395 - Move to a single input queue owned by the APZCTM instead of many queues owned by APZC instances. r=botond
2014-10-24 13:29:34 -04:00
Kartikaya Gupta
47a070d91c
Bug 1083395 - Replace the touch block balance with an input block identifier. r=botond
2014-10-24 13:29:30 -04:00
Kartikaya Gupta
b0073e90ed
Bug 1083395 - Extract an InputQueue class from the APZC input code. r=botond
2014-10-24 13:29:03 -04:00
Kartikaya Gupta
3542bdb49a
Bug 1083395 - Extract helpers function from the input-handling codepath. r=botond
2014-10-24 13:29:03 -04:00
Mason Chang
9a77b25985
Bug 1048667. Small vsync framework. r=roc
2014-10-23 18:50:31 -07:00
Ryan VanderMeulen
d627d69d92
Merge m-c to inbound. a=merge
2014-10-23 14:11:40 -04:00
Ryan VanderMeulen
f433b6abf9
Merge inbound to m-c. a=merge
2014-10-23 13:54:47 -04:00
Nicolas Silva
dba3476740
Bug 1087270 - Check more D3D11 result codes and assert in debug builds. r=jrmuizel
2014-10-23 16:22:41 +02:00
Himanshu Singh
d737bbd9a1
BUG 1087478 - Transition mMayHaveTouchListener to be private. r=kats
2014-10-23 09:10:47 -04:00
Wes Kocher
09ba9b5177
Merge inbound to m-c a=merge CLOSED TREE
2014-10-22 18:46:27 -07:00
Himanshu Singh
bdb575409f
Bug 1058614 - Transition mMayHaveTouchCaret to be private. r=kats
2014-10-22 13:40:20 -04:00
Mason Chang
7ede915870
Bug 1048667. Skeleton vsync framework and vsync aligned compositor. r=benwa,roc
2014-10-21 15:40:54 -07:00
Daniel Holbert
31992e7bce
Backout fa9c6845338e (bug 1085223) for causing bug 1087257.
2014-10-22 13:03:18 -07:00
Nicolas Silva
930a0c6636
Bug 1077301 - Simplify the gralloc texture code. r=sotaro
2014-10-16 19:08:32 +02:00
Carsten "Tomcat" Book
8e3a6eb0cc
Backed out changeset 8a39622aa24a (bug 1087270) for bustage
2014-10-23 13:12:16 +02:00
Nicolas Silva
ac673f7fed
Bug 1087270 - Check more D3D11 result codes and assert in debug builds. r=jrmuizel
2014-10-23 12:06:14 +02:00
Carsten "Tomcat" Book
8c300b0dd1
Merge mozilla-central to mozilla-inbound
2014-10-21 15:55:25 +02:00
James Willcox
fad5efcaee
Bug 1014614 - Fix readback of SurfaceTextureImage r=jgilbert
...
--HG--
extra : rebase_source : 3e2e7f7d993b5561c5d1c2ae50c4a49718a66324
2014-10-21 08:53:02 -05:00
James Willcox
d55dd7470f
Bug 1014614 - Support attach/detach of GLContext to AndroidSurfaceTexture r=jgilbert
...
--HG--
extra : rebase_source : f8ac8c505b5f9a4f307044b932aef50b99d38d4f
2014-10-21 08:53:01 -05:00
James Willcox
71a4e58b26
Bug 1014614 - Do not try to use a temporary texture for SurfaceTexture r=jgilbert
...
--HG--
extra : rebase_source : 68e6f70fe1c1aa123c4a1e21b3d25b78bcff7ad1
2014-10-21 08:53:01 -05:00
James Willcox
4ccc75ddae
Bug 1014614 - Rename nsSurfaceTexture to AndroidSurfaceTexture r=jgilbert
...
--HG--
extra : rebase_source : 4f148d8a0c2f9ec2d939f9d9939dab897b435bef
2014-10-21 08:53:00 -05:00
Carsten "Tomcat" Book
860aaddaaf
merge fx-team to mozilla-central a=merge
2014-10-21 15:38:16 +02:00
Wes Kocher
9e6688bd5b
Merge m-c to fx-team a=merge
2014-10-20 19:01:55 -07:00
David Parks
cb1b328300
Bug 918634 - swapFrameLoader not implemented for e10s r=nical
...
Allow layers to change layermanager if using LayerManagerComposite.
--HG--
extra : rebase_source : f24fde110f91fff7e2ceb3ddcd4549077a15f3c6
2014-10-14 15:11:38 -07:00
L. David Baron
11fdb24683
Back out changeset 197317c196cf (bug 1077301) for apparently breaking component alpha on some Windows variants (perhaps those without accelerated layers backends).
2014-10-20 00:23:46 -04:00
Phil Ringnalda
97dd36eb4f
Back out 820188e039a0 (bug 1067748) for Android reftest-2 failures
2014-10-19 13:50:29 -07:00
Jonathan Watt
afb0c03d1c
Bug 1082530, part 4 - Make BasicColorLayer use the variant of Moz2D's UserToDevicePixelSnapped that honors disabling of pixel snapping and make it ignore scaling in the matrix (restore the pre-bug 989858 beharior). r=mattwoodrow
2014-10-19 10:22:47 +01:00
Jonathan Watt
11148b3ba7
Bug 1082530, part 3 - Get rid of gfxContext::FLAG_DISABLE_SNAPPING and use DrawTarget UserData to store information on whether to disable pixel snapping. r=mattwoodrow
2014-10-19 10:22:47 +01:00
Matt Woodrow
66004f2fe8
Bug 1085223 - Add an occlusion culling pass to compositor layers. r=BenWa
...
--HG--
extra : rebase_source : fc5e7007477a8d999fdd1380bf81dd4c205099df
2014-10-20 17:04:39 +13:00
Robert O'Callahan
e63ed307d0
Bug 1067748. When a solid-color display item covers everything else in its layer, make it a ColorLayer. r=tn
2014-09-16 16:27:14 +12:00
Robert O'Callahan
6d3bc4bb4c
Bug 1072528. Part 2: Remove layers code. r=bas
2014-09-24 16:35:06 -04:00
Matt Woodrow
790ca78aab
Bug 1085223 - Add an occlusion culling pass to compositor layers. r=BenWa
2014-10-20 17:04:39 +13:00
chiajung hung
ec4f90d64c
Bug 1062475 - [Camera] Camera button highlight appears as a square. r=sotaro
2014-10-20 02:49:00 -04:00
Sotaro Ikeda
5484397c74
Bug 1084570 - Add HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED r=nical
2014-10-20 06:43:42 -07:00
Benoit Girard
746681fb3d
Bug 737967 - Add simple platform GPU Profiling based on GL_TIME_ELAPSED_EXT. r=ehsan,jgilbert
2014-05-24 16:14:14 +00:00
Ryan VanderMeulen
ef48cdcf84
Merge m-c to inbound. a=merge
2014-10-22 16:38:48 -04:00
Ryan VanderMeulen
d8b7d3e023
Backed out changeset 157b1f4e4ed2 (bug 737967) for Windows B2G desktop bustage.
...
CLOSED TREE
2014-10-22 12:44:49 -04:00
Benoit Girard
005eb0f56e
Bug 737967 - Add simple platform GPU Profiling based on GL_TIME_ELAPSED_EXT. r=ehsan,jgilbert
2014-05-24 16:14:14 +00:00
Wes Kocher
7c26086f75
Backed out 9 changesets (bug 1014614) for Android mochitest bustage on a CLOSED TREE
...
Backed out changeset 40f99ba7f616 (bug 1014614)
Backed out changeset 8fbc3c85adfc (bug 1014614)
Backed out changeset 40dbd7c6ce65 (bug 1014614)
Backed out changeset f2b504bdd7c5 (bug 1014614)
Backed out changeset c878e29fbef9 (bug 1014614)
Backed out changeset 511dcc817f5d (bug 1014614)
Backed out changeset 2b72e71f1fdf (bug 1014614)
Backed out changeset 8b530a9a2f99 (bug 1014614)
Backed out changeset 7fa1b78de684 (bug 1014614)
2014-10-17 16:34:01 -07:00
Wes Kocher
90c12f504b
Backed out changeset e3fe86623065 (bug 1084607)
2014-10-17 16:32:27 -07:00
Ralph Giles
0a853765e0
Bug 1084607 - Add missing namespace references for GLImages.cpp. r=jgilbert CLOSED TREE
...
This fixes undeclared type errors on non-unified builds.
2014-10-17 15:03:00 -07:00
James Willcox
ca475bfea2
Bug 1014614 - Fix readback of SurfaceTextureImage r=jgilbert
...
--HG--
extra : rebase_source : 3580c219b47615d55bfa3d1c672d017dd67ef0a1
extra : histedit_source : 24c932ac4ebabad7d706fa5599d5f32762ce5a02
2014-10-17 10:35:13 -05:00
James Willcox
01348c1f39
Bug 1014614 - Support attach/detach of GLContext to AndroidSurfaceTexture r=jgilbert
...
--HG--
extra : rebase_source : b309ea1761abdb26261fe8f2eda03de66952c018
2014-10-17 10:35:11 -05:00
James Willcox
84e303ee7e
Bug 1014614 - Do not try to use a temporary texture for SurfaceTexture r=jgilbert
...
--HG--
extra : rebase_source : b2108d17ef5d87328d1dc0e9ff190d667bfeaa44
2014-10-17 10:35:11 -05:00
James Willcox
a531707288
Bug 1014614 - Rename nsSurfaceTexture to AndroidSurfaceTexture r=jgilbert
...
--HG--
extra : rebase_source : 70d12286eb15808a4a540bae0d6785e560e97b29
2014-10-17 10:35:10 -05:00
Jeff Muizelaar
2b46ce84e6
Bug 1070308. Add Acquire and Release semantics to SharedSurface. r=jgilbert
...
This is needed for D3D11 keyed mutex support. The added assertions
also ensure we're doing things at the right times.
--HG--
extra : rebase_source : 7af4dccca745ee62e4ae97972de8a8eb83f2e8d3
2014-10-09 16:33:22 -04:00
Nicolas Silva
16f5aa1217
Bug 1077301 - Simplify the gralloc texture code. r=sotaro
2014-10-16 19:08:32 +02:00
Ryan VanderMeulen
54ad5407df
Backed out changeset d16adf321576 (bug 1077301) for B2G bustage.
...
CLOSED TREE
2014-10-16 14:38:29 -04:00
Nicolas Silva
66ce852993
Bug 1077301 - Simplify the gralloc texture code. r=sotaro
2014-10-16 19:08:32 +02:00
David Parks
80cb5375d6
Bug 1065881 - [e10s] Crash on child process shutdown in ShadowLayerForwarder::InWorkerThread
...
Had caused a crash in the test_streams_element_capture mochitest on Windows. The issue was that the audio decoder thread was destroying stale media frames by releasing a reference to them. This was causing the release of an Image on that thread, but that thread does not process a MessageLoop so the current MessageLoop is null. This is not a problem. Obviously, any thread that has no MessageLoop can't be the worker thread.
2014-10-12 16:23:20 -07:00
Ryan VanderMeulen
f9d39c28db
Backed out changeset 96aefa302688 (bug 1065881) for breaking content process leak checking.
...
CLOSED TREE
2014-10-16 12:23:56 -04:00
Kartikaya Gupta
28010267be
Bug 1083398 - Check the entire handoff chain for fast-moving APZCs when disabling tapping during flings. r=botond
2014-10-16 10:14:38 -04:00
Kartikaya Gupta
a796db47c5
Bug 1083398 - Sprinkle some const keywords around. r=botond
2014-10-16 10:14:37 -04:00
Sotaro Ikeda
512b2fabb2
Bug 1082986 - Use RefPtr to hold Compositor r=nical
2014-10-16 06:48:29 -07:00
Chris Jones
1715538fe3
Bug 1082895 - Don't use gralloc surfaces when layers.gralloc.disable is set. r=mattwoodrow
2014-10-14 18:30:13 -07:00
Kartikaya Gupta
f5cd43f958
Bug 1013612 - Remove APZ-internal headers from being exported to non-layers code. r=botond
2014-10-16 09:23:52 -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
Jonathan Watt
efe6e3ef6a
Bug 1082477, part 1 - Convert Matrix4x4::TranslatePost/ScalePost callers to Matrix4x4::PostTranslate/PostScale. r=Bas
2014-10-16 10:51:12 +01:00
David Parks
cd0cce18a4
Bug 1065881 - [e10s] Crash on child process shutdown in ShadowLayerForwarder::InWorkerThread. r=nical
...
Had caused a crash in the test_streams_element_capture mochitest on Windows. The issue was that the audio decoder thread was destroying stale media frames by releasing a reference to them. This was causing the release of an Image on that thread, but that thread does not process a MessageLoop so the current MessageLoop is null. This is not a problem. Obviously, any thread that has no MessageLoop can't be the worker thread.
2014-10-12 16:23:20 -07:00
Jeff Gilbert
4b2b8c5999
Bug 1081363 - Don't do readback eagerly in ShSurf_Basic. - r=kamidphish
2014-10-10 14:36:17 -07:00
Nicolas Silva
5932850110
Bug 966284 - Fix the shutdown sequence of PLayerTransaction and PTexture. r=sotaro
2014-10-13 10:43:59 +02:00
jdashg
7818d91f9a
Bug 1066280 - Handle dirtying in BasicCanvasLayer. - r=mattwoodrow
2014-10-08 15:18:28 -07:00
jdashg
aca62a5311
Bug 1066280 - Review fixes. - r=kamidphish,mattwoodrow
2014-10-08 13:04:19 -07:00
jdashg
4edee9ac4c
Bug 1066280 - Fixes for SurfaceStream removal. - r=kamidphish,mattwoodrow
2014-10-07 21:16:14 -07:00
jdashg
a070a30c6a
Bug 1066280 - Remove SurfaceStream. - r=kamidphish,mattwoodrow
2014-10-07 21:15:39 -07:00
jdashg
5fb64748e4
Bug 1066280 - Fixes. - r=kamidphish,mattwoodrow
...
From 4e9f52ab105333e8b1120342e9583b2d833a4465 Mon Sep 17 00:00:00 2001
---
dom/canvas/WebGLContext.cpp | 10 +++++--
gfx/gl/GLContext.cpp | 20 --------------
gfx/gl/GLContext.h | 3 --
gfx/gl/GLReadTexImageHelper.cpp | 5 +++-
gfx/gl/GLScreenBuffer.cpp | 13 +++++++--
gfx/gl/GLUploadHelpers.cpp | 27 ++++++++++++++++++
gfx/gl/SharedSurfaceGralloc.cpp | 14 ++++------
gfx/gl/SharedSurfaceGralloc.h | 10 +++++--
gfx/gl/SurfaceTypes.cpp | 2 ++
gfx/gl/SurfaceTypes.h | 1 +
gfx/layers/client/CanvasClient.cpp | 44 ++++++++++++++++++------------
gfx/layers/client/CanvasClient.h | 8 +++---
gfx/layers/client/ClientCanvasLayer.cpp | 6 ++++
gfx/layers/client/ClientCanvasLayer.h | 2 +-
gfx/layers/client/TextureClient.cpp | 11 ++++----
gfx/layers/client/TextureClient.h | 6 ++--
gfx/layers/composite/TextureHost.cpp | 15 +++++-----
gfx/layers/composite/TextureHost.h | 10 +++----
gfx/layers/d3d10/CanvasLayerD3D10.cpp | 9 ++++--
gfx/layers/d3d9/CanvasLayerD3D9.cpp | 8 ++++--
gfx/layers/ipc/LayersSurfaces.ipdlh | 4 +--
gfx/layers/moz.build | 4 ++-
gfx/layers/opengl/GrallocTextureClient.cpp | 26 +++++++++++++++++-
gfx/layers/opengl/GrallocTextureClient.h | 3 ++
24 files changed, 171 insertions(+), 90 deletions(-)
2014-10-07 21:11:54 -07:00
jdashg
a8a4d97f00
Bug 1066280 - Add TexClient for ShSurf. - r=kamidphish,mattwoodrow
...
From a7c09c0f17e19fd2254cb1d7a8ddd07b327151ad Mon Sep 17 00:00:00 2001
---
gfx/2d/HelpersCairo.h | 2 +
gfx/gl/GLContext.cpp | 3 +-
gfx/gl/GLContext.h | 2 -
gfx/gl/GLReadTexImageHelper.cpp | 21 +--
gfx/gl/GLReadTexImageHelper.h | 6 +
gfx/gl/GLScreenBuffer.h | 6 +-
gfx/gl/ScopedGLHelpers.cpp | 40 +++++
gfx/gl/ScopedGLHelpers.h | 26 ++-
gfx/gl/SharedSurface.cpp | 94 +++++++++++
gfx/gl/SharedSurface.h | 19 +++
gfx/gl/SharedSurfaceIO.h | 4 +
gfx/layers/CopyableCanvasLayer.cpp | 3 +-
gfx/layers/client/CanvasClient.cpp | 276 +++++++++++++++++++++++++++++---
gfx/layers/client/CanvasClient.h | 34 ++++
gfx/layers/client/ClientCanvasLayer.cpp | 21 ++-
gfx/layers/client/ClientCanvasLayer.h | 9 +-
gfx/layers/client/TextureClient.cpp | 35 ++++
gfx/layers/client/TextureClient.h | 85 +++++++++-
gfx/layers/composite/TextureHost.cpp | 131 ++++++++++++++-
gfx/layers/composite/TextureHost.h | 64 ++++++++
gfx/layers/d3d10/CanvasLayerD3D10.cpp | 5 +-
gfx/layers/ipc/LayersSurfaces.ipdlh | 5 +
22 files changed, 828 insertions(+), 63 deletions(-)
2014-10-07 21:01:51 -07:00
Sotaro Ikeda
ad4f8e7e9c
Bug 1075077 - Update buffer's addresses r=nical
2014-10-10 06:21:43 -07:00
Nicolas Silva
06e416819b
Bug 1079250 - SharedDataGonkOGL::DeleteTextureIfPresent to assert mCompositor rather than gl(). r=sotaro
2014-10-09 16:00:17 +02:00
Sotaro Ikeda
824294ae69
Bug 1075136 - Initialize TileClient::mCompositableClient correctly r=nical
2014-10-08 20:47:17 -07:00
Kartikaya Gupta
f6a98016d2
Bug 1078316 - Tweaks for root-frame overlay scrollbars so they don't oscillate while panning around. r=botond,tn
2014-10-08 22:56:38 -04:00
Sotaro Ikeda
dc54e41224
Bug 1079251 - fix CbCr buffer address r=nical
2014-10-08 13:34:52 -07:00
Jonathan Watt
84e4023207
Bug 1077961, part 2 - Stop doing lots of unnecessary and expensive Matrix4x4 multiplication. r=Bas
2014-10-08 04:43:00 +01:00
Matt Woodrow
85fc18b3b0
Bug 1077842 - Simplify invalid regions for tiled painted layers to avoid complex region operations. r=jrmuizel
...
--HG--
extra : rebase_source : 13cbe5d47b5c79e576627a67b2a6b61b217f9acf
2014-10-08 13:12:25 +13:00
Sotaro Ikeda
91f068a12c
Bug 1076868 - Fix RemoveTextureFromCompositableAsync() call handling r=nical
2014-10-07 11:37:15 -07:00
Markus Stange
e2b955c9fe
Bug 1077358 - Clip BasicColorLayer drawing to the layer's bounds. r=Bas
2014-10-07 16:18:01 +02:00
Markus Stange
8306207e4e
Bug 1074280 - Use AsContainerLayer() in order to avoid a bad cast. r=roc
2014-10-07 16:18:00 +02:00
Nicolas Silva
d74e31effc
Bug 1077307 - Merge NewTextureSource and TextureSource. r=sotaro
2014-10-07 15:58:59 +02:00
Nicolas Silva
d0e870527f
Bug 1016540 - GrallocTextureSource::DeallocateDeviceData must assert that it has a compositor, rather than a gl context. r=sotaro
2014-10-07 10:45:04 +02:00
Sotaro Ikeda
d1f5d678d4
Bug 1067455 - Reduce Fence::merge() call on compositor thread r=nical
2014-10-06 15:45:03 -07:00
Botond Ballo
06a1e18dda
Bug 1073250 - Ignore subsequent touches if an any APZC along the handoff chain of the one targeted by the first touch is overscrolled. r=kats
2014-10-03 20:33:49 -04:00
Nicolas Silva
d804815b14
Bug 1044975 - Don't crash if mapping D3D11 shader constant buffers fails. r=Bas
2014-10-06 14:53:42 +02:00
Nicolas Silva
24d7de5353
Bug 1076825 - Don't crash release builds if allocating the buffer on white failed in RotatedBuffer.cpp. r=Bas
2014-10-06 14:37:57 +02:00
Andrew Osmond
2556a866b4
Bug 1077402 - Lock monitor when accessing overscrolling transform. r=kats
2014-10-03 06:38:00 +02:00
Mason Chang
e655e859d2
Bug 1075096 - Separate LayerTransactions in profiler. r=benwa
2014-10-01 11:38:00 +02:00
Mason Chang
98d9d46202
Bug 1073545 - Add Vsync Markers to SPS Profiler. r=benwa
2014-10-01 13:01:59 -07:00
Phil Ringnalda
5e348eaecc
Back out ef1cd14c8cac (bug 1067455) for Windows assertion failures
...
CLOSED TREE
2014-10-05 19:16:56 -07:00
Sotaro Ikeda
b5b8786cc4
Bug 1067455 - Reduce Fence::merge() call on compositor thread r=nical
2014-10-05 14:14:33 -07:00
Kartikaya Gupta
4dd414cdfc
Bug 1063168 - Fix some incorrect debug printf format specifiers. r=botond
2014-10-03 13:39:38 -04:00
Kartikaya Gupta
3e07d04276
Bug 1063138 - Don't forward move events from the GEL to the APZC when two fingers are down but the pinch hasn't been activated. r=botond
2014-10-03 13:39:37 -04:00
Kartikaya Gupta
67aa9a044a
Bug 1074401 - Ensure that the repaint request is always dispatched from the APZ on the main thread. r=botond
2014-10-03 13:39:37 -04:00
Nicolas Silva
fdbe68167e
Bug 1073113 - make D3D11 image layers double buffered. r=mattwoodrow
2014-10-03 11:25:07 +02:00
Ed Morley
1b548da245
Merge mozilla-central and inbound
2014-10-03 15:14:53 +01:00
Ed Morley
c933f54bad
Merge latest green b2g-inbound changeset and mozilla-central; a=merge
2014-10-03 14:29:24 +01:00
Sushil Chauhan
cbbdf4f1a5
Bug 1074099 - Use GetLocalTransform api in LayerTreeInvalidation class. r=mattwoodrow
...
--HG--
extra : rebase_source : 80970410b49552e61c0cf76d7953fdd825029bb4
2014-10-01 11:04:19 -07:00
Sotaro Ikeda
93503c5410
Bug 1075136 - backout the commit
2014-10-02 06:45:02 -07:00
Kartikaya Gupta
3b2421c388
Bug 1076915 - Ensure that PostDelayedTask is always called on the controller thread. r=botond
2014-10-03 09:29:49 -04:00
Nick Lebedev
eb08238087
Bug 947892. Add dispatching of the tap event when the tap is followed by multiple touches. r=botond
2014-10-03 09:24:56 -04:00
Kartikaya Gupta
0cfbaa97c5
Bug 1043859 - Fix the code to remove the async transform from scrollbar layers that are descendants of their content. r=botond
2014-10-01 17:49:31 -04:00
Kartikaya Gupta
77e82458f5
Bug 1043859 - Expose the APZC overscroll transform as a separate function. r=botond
2014-10-01 17:49:31 -04:00
Kartikaya Gupta
e9a17a651f
Bug 1068571 - Clear velocity on touch-end even if in the NOTHING state. r=botond
2014-10-01 17:49:30 -04:00
Botond Ballo
01c366bafc
Bug 1073618 - When starting a snap-back after a fling, only consider APZCs along the handoff chain from the flinging APZC onwards. r=kats
2014-10-01 13:26:37 -04:00
Kartikaya Gupta
937969f83c
Bug 1074944 - Update APZ code to use Matrix4x4::Inverse() where possible. r=nical
2014-10-01 13:13:05 -04:00
Sotaro Ikeda
3777979c62
Bug 1075136 - Initialize TileClient::mCompositableClient correctly r=nical
2014-10-01 07:16:32 -07:00
Jeff Muizelaar
05d4c288be
Bug 1074615. Remove DRAW_SNAPPED. r=mwoodrow
...
This doesn't seem to be necessary and doesn't really make sense to me. This
will help us moving region clipping into Moz2D
--HG--
extra : rebase_source : 4a5987ce2a95eaba44a69233d1b7f461f5ec16ea
2014-10-01 01:25:25 -04:00
Wes Kocher
39403ad7cb
Merge m-c to inbound a=merge
2014-09-30 17:10:24 -07:00
Wes Kocher
69e56bd2f8
Merge b2g-inbound to m-c a=merge
2014-09-30 16:42:03 -07:00
Jeff Muizelaar
6e8d0fadde
Bug 1066664. Fix screenshot rotation. r=mwoodrow
...
This moves the screenshot (now-nonexistent) unrotation code from the opengl
compositor into ClientLayerManager.cpp
2014-09-30 16:20:48 -04: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
Jeff Muizelaar
a21377d891
Bug 1073086. Remove broken snapping code. r=mwoodrow
...
We generate a Rect from integers and then round them to do the snapping.
- Rect rect(r->x, r->y, r->width, r->height);
-
- rect.Round();
This accomplishes nothing.
Just rip it out.
--HG--
extra : rebase_source : 3194652ca83f2e66ae1cbd02573ab86c444bd2fb
2014-09-25 14:01:10 -04:00
Jeff Muizelaar
52d76c7560
Bug 1071241. Call ComputeRotation before TransformShadowTree. r=mwoodrow
...
This is need so that the rotation transform is available at
transform time. Without this rotation is delayed a frame.
2014-09-30 10:07:05 -04:00
Markus Stange
a598fa8ed3
Bug 1073727 - Fix bustage.
2014-09-30 14:08:18 +02:00
Markus Stange
9582f8800c
Bug 1073727 - Make OverscrollHandoffState::mPanDistance non-negative during OS X APZ panning. r=botond
2014-09-30 13:51:37 +02:00
Chris Lord
90f77b66fd
Bug 1006797 - Only apply the window render offset when actually rendering to the window. r=nical
...
--HG--
extra : rebase_source : 24f2d8c50e5c0ddfa6683291040a78574d631678
2014-10-03 13:22:32 +13:00
Carsten "Tomcat" Book
50deec9dbd
Merge m-c to b2g-inbound
2014-09-30 15:42:26 +02:00
Ryan VanderMeulen
592c23fb6e
Merge m-c to b2g-inbound. a=merge
2014-09-29 16:02:35 -04:00
Kartikaya Gupta
c9ddb533f4
Bug 1070993 - Allow for sub-app-unit rounding error when deciding if an APZ is checkerboarding or not. r=botond
2014-09-29 13:33:15 -04:00
Ed Morley
a6cf46ecc9
Backed out changeset 318fa507832d (bug 1073086)
2014-09-29 17:42:34 +01:00
Jeff Muizelaar
91bc7be99d
Bug 1073086. Remove broken snapping code. r=mwoodrow
...
We generate a Rect from integers and then round them to do the snapping.
- Rect rect(r->x, r->y, r->width, r->height);
-
- rect.Round();
This accomplishes nothing.
Just rip it out.
--HG--
extra : rebase_source : 620d4c9b4e6951e42441db336de2badb69c4a39c
2014-09-25 14:01:10 -04:00
Sotaro Ikeda
982854387c
Bug 1073862 - Remove RemoveTextureFromCompositableTracker usage for back buffer removal r=nical
2014-09-29 07:18:25 -07:00
Nicolas Silva
71b5f35d99
Bug 1061713 - Don't crash release builds if a D3D TextureClient is unlocked without being locked. r=Bas
2014-09-29 11:24:54 +02:00
Nicolas Silva
e207fcc8fd
Bug 1054581 - Have all compositor backends behave consistently when creating a zero-sized intermediate render target. r=jrmuizel
2014-09-26 15:02:35 -04:00
Markus Stange
abdabfe784
Bug 1073103 - SReplace 'Thebes' with 'Painted' in some more places. r=roc
2014-09-26 13:07:06 -04: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
Nicolas Silva
44f409cd2d
Bug 1072491 - Make GrallocTextureHost more robust against some invalid states. r=sotaro
2014-09-26 10:32:59 -04:00
Sotaro Ikeda
cef74266f4
Bug 1017351 - Handle Sharing GrallocTextureHostOGL among ImageHosts r=nical
2014-09-26 04:30:11 -07:00
Kartikaya Gupta
8192a0dd8b
Bug 973105 - Force flushing of repaint requests before processing touchstart events. r=botond
2014-09-25 13:46:33 -04:00
Jeff Muizelaar
67573bc01e
Bug 1073039. Change uniform workaround to use raw gl. r=mstange
...
Bug 1073036 is changing the way we track shader state. Making
this use raw gl instead of Activate() allows CompositorOGL
to remain ignorant of it.
--HG--
extra : rebase_source : ed7e98b35b3fb7c7ea902ee921e09f9cf620b245
2014-09-24 15:06:09 -04:00
Kartikaya Gupta
6f0e19fa99
Bug 1030181 - Follow-up to fix typo. r=me DONTBUILD
2014-09-24 13:57:44 -04:00
Nicolas Silva
5dc44835f0
Bug 1072411 - Remove useless format convertion code in ImageClient. r=jrmuizel
2014-09-24 13:50:28 -04:00
Bas Schouten
e225e93649
Bug 1072404: Firefox may crash when the D3D device is removed while rendering. r=mattwoodrow
2014-09-24 17:12:10 +00:00
Sotaro Ikeda
8f29162a26
Bug 1061435 - Set timeout to fClientWaitSync() r=nical
2014-09-24 07:00:19 -07:00
Milan Sreckovic
d7d75e21f2
Bug 1068784 - Since the tiling is now not a simple pref choices, but it depends on some platform specific criteria, stop using the pref directly, and always use gfxPlatform::UseTiling instead. r=mwoodrow
2014-09-17 13:55:23 -04:00
Nicolas Silva
053427c423
Bug 1066139 - Put stereo video behind a pref (off by default). r=Bas
2014-09-23 17:57:14 -04:00
Markus Stange
5766e69173
Bug 1050493 - Invalidate ColorLayer bounds changes. r=roc
...
--HG--
extra : rebase_source : 2196e9cb32a41771b9078ec1e66dbb97ef430b71
2014-09-23 17:47:36 -04:00
Nicolas Silva
77c1fbd792
Bug 1066678 - Show the buffer rect rather than the visible region in thebes layer borders. r=BenWa
2014-09-23 17:48:17 -04:00
Nicolas Silva
d1b829ea88
Bug 1071825 - Remove simple tiling code. r=mattwoodrow
2014-09-23 17:44:48 -04:00
Botond Ballo
ef4b07cd7b
Bug 1062483 - Another bustage fix. r=bustage
2014-09-23 15:56:56 -04:00
Botond ballo
78ca441e90
Bug 1062483 - Follow-up to fix bustage on a CLOSED TREE. r=bustage
2014-09-23 15:47:59 -04:00
Botond Ballo
500737115d
Bug 1062483 - Make the overscroll effect harder to trigger accidentally. r=kats
...
--HG--
rename : gfx/layers/apz/src/OverscrollHandoffChain.cpp => gfx/layers/apz/src/OverscrollHandoffState.cpp
rename : gfx/layers/apz/src/OverscrollHandoffChain.h => gfx/layers/apz/src/OverscrollHandoffState.h
extra : rebase_source : 155c68fcd76c5f1e7a4e57818d238908bc8eb3c2
2014-09-23 11:38:05 -04:00
Nicolas Silva
ab23cc4fba
Bug 1070018 - Log HRESULT error codes as hexadecimal values rather than signed integers. r=Bas
2014-09-23 11:35:39 -04:00
Kartikaya Gupta
13d10fa7ac
Bug 1071256 - Fix OS X tiling codepath to deal with low-precision tiles. r=mattwoodrow
2014-09-22 17:52:21 -04:00
Benoit Girard
7ad2ef08e2
Bug 1063046 - Simplify format change for tiled layers. r=mstange
...
--HG--
extra : rebase_source : 82f26e690987c4c08e918eaf5783111922465194
2014-09-22 14:05:26 -04:00
Kartikaya Gupta
385074ab72
Bug 1023473 - Replace tabs with spaces. r=me and DONTBUILD
2014-09-22 11:52:21 -04:00
Kartikaya Gupta
709ee53472
Bug 1068268 - Remove redundant MOZ_COUNT_[CD]TOR macros in AsyncPanZoomController. r=botond
2014-09-20 22:27:17 -04:00
Kartikaya Gupta
ee087e7822
Bug 1068268 - Properly set the next-sibling pointer of an APZC when it is a child of a multi-layer APZ. r=botond
2014-09-20 22:27:16 -04:00
Kartikaya Gupta
03f5d1a956
Bug 1068802 - Some small logging tweaks. r=botond
2014-09-19 09:33:54 -04:00
Kartikaya Gupta
91c13896ef
Bug 1068802 - Clear the callback transform when the scroll update acknowledgement reaches the content side. r=botond
2014-09-19 09:33:53 -04:00
Kartikaya Gupta
fc14316d3d
Bug 1056423 - Follow-up to fix build bustage on a CLOSED TREE. r=me
2014-09-18 13:46:47 -04:00
Kartikaya Gupta
c4a696699f
Bug 1056423 - Adjust scrollbar clip rect also when accounting for async transform. r=botond
2014-09-18 13:19:20 -04:00
Tom Tromey
8b8e292385
Bug 1069371 - Fix typo in call to PROFILER_LABEL. r=BenWa
2014-09-18 08:05:00 -04:00