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
Bas Schouten
2e768633ad
Bug 1068613 - Addendum: Fix bustage in ASAN builds. r=bustage on a CLOSED TREE
2014-09-18 00:25:23 +02:00
Ehsan Akhgari
28bba4a48e
Bug 1068022 - Fix more bad implicit constructors in gfx; r=jrmuizel
2014-09-17 17:54:13 -04:00
Jonathan Watt
08f4247393
Bug 1074128, part 3 - Update the Mozilla code to use AutoSaveTransform's new name. r=Bas
2014-09-29 18:32:36 +01:00
Milan Sreckovic
2f8e56cd28
Bug 868046 - Fix the wrong assert. r=nical
2014-11-19 10:36:24 -05:00
Nicolas Silva
1d405a8655
Bug 1068613 - Part 3: Log failures in D2D, D2D 1.1 and the D3D11 TextureClient. r=bas
2014-09-17 23:23:09 +02:00
Jeff Gilbert
39ac1c0389
Bug 1037147 - Remove SharedTextureHandle and friends r=mattwoodrow,snorp
...
--HG--
extra : rebase_source : 13101216d6e5eccfb0a19c14b783b3878644b665
2014-09-17 08:13:29 -05:00
Wes Kocher
48ee047035
Merge inbound to m-c a=merge
2014-09-16 17:06:43 -07:00
Milan Sreckovic
e69d88af19
Bug 1048984.2: mOutstandingClients could have been temporarily incorrect in GetTextureClient() call. Call ShrinkToMaximumSize() instead of ShrinkToMinimumSize() in ReturnDeferredClients(). Also add comments and more asserts around outstanding clients. r=nsilva
2014-09-16 10:13:52 -04:00
Milan Sreckovic
61e6103054
Bug 1048984.1: Utility methods for managing texture pool returns. Make sure tiles go back to the correct pool. r=nsilva
2014-09-16 10:07:46 -04:00
Carsten "Tomcat" Book
65f0797937
Merge m-c to b2g-inbound
2014-09-16 07:10:24 +02:00
Wes Kocher
6e013e9ba9
Merge m-c to b-i a=merge
2014-09-15 16:47:02 -07:00
Sotaro Ikeda
c42f61231c
Bug 1065492 - Fix a stride when using android::ColorConverter r=nical
2014-09-15 06:30:40 -07:00
Botond Ballo
68155808a8
Bug 1066259 - Change Axis to operate in Screen pixels where possible. r=kats
...
--HG--
extra : rebase_source : c31c5a16e46eb79c64fd6e6d42c1d84f4718c2fe
2014-09-12 17:46:31 -04:00
Bas Schouten
124a96d56c
Bug 1066138: Disable using TextureClientD3D11 for A8 surfaces and fix various TextureClientD3D11 A8 bugs. r=jrmuizel
2014-09-14 23:51:31 +02:00
Bas Schouten
31b49b05ab
Bug 1066417: Add Direct2D 1.1 to the list op backends that don't like OP_SOURCE. r=mattwoodrow
2014-09-14 23:51:28 +02:00
Matt Woodrow
b14244ee9a
Bug 1046550 - Part 3: Use Direct2D 1.1 when preffed on. r=bas
2014-09-14 23:51:27 +02:00
James Willcox
fe19d22a4b
Back out a84f9edfe968 for bustage
2014-09-12 14:01:26 -05:00
Jeff Gilbert
a399ede263
Bug 1037147 - Replace SharedTextureHandle with a TextureClient variant r=mattwoodrow,snorp
2014-09-12 13:39:20 -05:00
Botond Ballo
b17bdef021
Bug 1065008 - Consider the shadow transform when computing the opaque rect to use for culling. r=roc
...
--HG--
extra : rebase_source : 2b162f272016193e2af3316c9f18d37125050863
2014-09-11 13:49:38 -04:00
Kartikaya Gupta
25d9a7f6d6
Bug 1053766 - Use the statechange notification blocker to avoid some transient notifications. r=botond
2014-09-12 11:40:21 -04:00
Kartikaya Gupta
e4ff72a0ff
Bug 1053766 - Add a StateChange notification blocker to APZC. r=botond
2014-09-12 11:39:56 -04:00
Kartikaya Gupta
3fca49c8e2
Bug 1066421 - Make APZStateChange a regular enum instead of a fake enum class. r=botond
2014-09-12 11:39:32 -04:00
Nicolas Silva
10493eef5e
Bug 1060703 - Use XPCOM's event loop instead of chromium's in NS_INLINE_DECL_THREADSAFE_REFCOUNTING_WITH_MAIN_THREAD_DESTRUCTION. r=bjacob
2014-09-12 12:00:18 +02:00
Jim Mathies
4231d23dd7
Bug 1066242 - Use a 'ui' chromium message loop/pump for the Windows compositor thread so that it can process native windowing events. r=Bas
2014-09-11 17:55:59 -05:00
Kartikaya Gupta
6ff9bb5a5b
Bug 1066262 - Add some more thread assertions in AsyncPanZoomController. r=botond
2014-09-11 17:26:14 -04:00
Nicolas Silva
61aef5d8c8
Bug 1061699 - Only crash debug builds if BorrowDrawTarget is called on an unlocked TextureClient. r=Bas
2014-09-16 14:32:24 +02:00
Milan Sreckovic
ed630c6a86
Bug 1000634 - Only ask for the composer if we have a compositable host, when doing fencing. r=sikeda,nsilva
2014-09-08 14:05:41 -04:00
Kartikaya Gupta
6b0862f4b0
Bug 1013385 - Add the layer bounds to the layers API and use it for checkerboarding. r=mattwoodrow,BenWa
2014-09-15 16:09:52 -04:00
Jeff Muizelaar
876ec2d266
Bug 1064479. Redo how screen rotation is implemented on B2G/Layers. r=nical,mwoodrow
...
Currently we use a world transform on the LayerManager. This gets passed to the
screen render target which adjusts the gl transform to accomplish the rotation.
This causes a lot of the system to have to know about the transform.
Instead we can just bake the transform into the root layer's shadow transform.
Everything now mostly just works.
--HG--
extra : rebase_source : e0e170d191eef5887a2e6b17f71ac79037033006
2014-09-10 15:59:00 -04:00
Nicolas Silva
8851364126
Bug 1041744 - Don't crash if tile allocation fails. r=Bas
2014-09-11 13:52:17 +02:00
Jonathan Watt
9bc0f0cdf3
Bug 1064084, part 4 - Convert all consumers of gfxContext::IdentityMatrix() to use gfxContext::SetMatrix(). r=Bas
2014-09-11 07:57:39 +01:00
Jonathan Watt
fa8c7ec8a5
Bug 1064084, part 1 - Convert all consumers of gfxContext::Translate() to use gfxContext::SetMatrix()/Multiply(). r=Bas
2014-09-11 07:57:38 +01:00
Jan Beich
6d6d609ffd
Bug 1065241 - Unbreak build on non-SPS platforms after bug 1049258. r=mchang
2014-09-09 23:41:00 +02:00
Nick Lebedev
5c22d1ab49
Bug 949008 - Rework accessing the treeManager to use private method which ensures that lock isn't held. r=kats
2014-09-10 09:49:00 +02:00