Chris Peterson
8b72ea8324
Bug 949360 - Check for Image AllocateBuffer() failures. r=nical
2013-12-10 22:58:51 -08:00
Ed Morley
6c3a904be0
Merge mozilla-central and inbound
2013-11-20 12:44:07 +00:00
Botond Ballo
774451c530
Bug 900092 - Remove FrameMetrics::ROOT_SCROLL_ID. r=kats,tn
2013-11-08 19:07:00 -05:00
Chris Lord
31635f47cf
Bug 869696 - Enable Gralloc on the Geeksphone Peak again. r=bjacob
...
The issues that caused it to be disabled initially have now been resolved.
2013-11-19 13:29:29 +00:00
Nicholas Cameron
b6196ef8b0
Bug 939598. Always call BeginTransaction before EndTransaction. r=mattwoodrow
2013-11-20 20:27:23 +13:00
Nicholas Cameron
fcc7cf881b
merge
2013-11-19 17:39:24 +13:00
Anthony Jones
8a491da0a2
Bug 899154 - Disable dropping resolution during fling; r=kats
2013-11-15 11:12:03 +13:00
Benoit Jacob
41b487f47a
Bug 938970 - 5/5. Switch gfx/layers to UNIFIED_SOURCES - r=ehsan,mattwoodrow
2013-11-17 21:07:08 -05:00
Benoit Jacob
07abcd7359
Bug 938970 - 2/5. Add more namespace qualifiers in gfx/layers code to avoid ambiguous namespace resolution - r=mattwoodrow
2013-11-17 21:06:21 -05:00
Ehsan Akhgari
96c519ebd6
Bug 938134 - Build widget/xpwidgets in unified mode; r=roc
...
--HG--
rename : widget/shared/WidgetUtils.cpp => widget/shared/SharedWidgetUtils.cpp
2013-11-17 14:03:55 -05:00
Nicholas Cameron
9928f8e67c
Bug 907463. Dealloc shmem on ActorDestroy. r=nical
2013-09-27 21:48:42 +12:00
Phil Ringnalda
74b2dea823
Backed out 7 changesets (bug 946958, bug 865033)
...
Backed out changeset 6dd0a6cb9ab3 (bug 946958)
Backed out changeset 498152aec5b1 (bug 946958)
Backed out changeset 7d035322f51d (bug 946958)
Backed out changeset 99f8ad7561ef (bug 946958)
Backed out changeset 4639c5abea80 (bug 946958)
Backed out changeset 9d1a4d83eccf (bug 865033)
Backed out changeset 41839e4026bc (bug 865033)
2013-12-08 18:43:45 -08:00
Nicholas Cameron
93ca5b4477
Bug 946958 part 4. Tidy up interaction with widgets. r=kats
2013-12-09 14:40:59 +13:00
Nicholas Cameron
8996a6fb5c
Bug 946958 part 2. Remove methods which just forward to compositor. r=mattwoodrow
2013-12-09 14:40:59 +13:00
Nicholas Cameron
5c64631c6e
Bug 865033 part 2. Add mCompositor to CompositorParent. r=mattwoodrow
2013-12-09 14:40:58 +13:00
Nicholas Cameron
9fbe01b722
Bug 865033 part 1. Remove GetLayerManager from CompositorParent. r=mattwoodrow
2013-12-09 14:40:58 +13:00
Ryan VanderMeulen
98ea4dada0
Merge m-c to inbound on a CLOSED TREE.
2013-11-14 20:58:52 -05:00
Ryan VanderMeulen
3af5f0a28a
Merge b2g-inbound to m-c on a CLOSED TREE.
2013-11-14 20:57:32 -05:00
Nicholas Cameron
d77b6af4c9
Fix bustage from bug 915940 on a CLOSED TREE. r=me
2013-11-15 11:13:53 +13:00
Nicholas Cameron
69478b80a7
Bug 915940. Memory reporter for memory image surfaces. r=njn,mattwoodrow This might even help diagnose the problems causing a CLOSED TREE.
2013-11-15 10:54:25 +13:00
Botond Ballo
23f855d951
Bug 937274 - Fix a crash in GestureEventListener::HandlePinchGestureEvent(). r=kats
2013-10-18 17:13:26 -04:00
Kartikaya Gupta
82b3084a27
Bug 934420 - Try to preserve the right APZC in the face of layer tree changes. r=botond
2013-11-14 15:35:30 -05:00
Botond Ballo
e60812cf66
Bug 937896 - Fix a compiler error. r=bustage. CLOSED TREE
2013-11-14 15:11:53 -05:00
Botond Ballo
493777b207
Bug 937896 - Remove unwanted zoom in APZC::NotifyLayersUpdated(). r=kats
2013-11-13 14:13:40 -05:00
Kartikaya Gupta
9e421b8c64
Bug 937688 - Make UpdateZoomConstraints take a full ScrollableLayerGuid. r=botond
2013-11-14 12:35:41 -05:00
Kartikaya Gupta
f7fb4fa710
Bug 937688 - Make APZCTM::UpdateCompositionBounds explicitly operate on the root APZC for a layer tree. r=botond
2013-11-13 13:20:31 -05:00
Jim Mathies
2974de401e
Bug 918273 - Pass back the target scrollable layer id from apzc event methods. r=kats
2013-11-10 10:43:17 -06:00
Kartikaya Gupta
29923bcace
Bug 902505 - Adjust the hit-test and input transformations in APZCTreeManager to be more correct. r=botond
2013-11-08 13:56:31 -05:00
Kartikaya Gupta
4be7ac01fb
Bug 935624 - Update various properties on the FrameMetrics on a layers update. r=botond
...
In particular, in the case with nested APZCs, the parent APZC might request
a repaint at a different resolution, and the child APZC might only find out
about it when the call to NotifyLayersUpdated comes in. At this point the
child APZC must pick up the new values of various properties in order to
remain consistent with the state in gecko and the parent APZC
2013-11-08 11:23:47 -05:00
Kartikaya Gupta
c1a833fb30
Bug 935624 - Kill SetZoomAndResolution because the APZC should not touch the mResolution or mCumulativeResolution. r=botond
2013-11-08 11:23:46 -05:00
Kartikaya Gupta
0790196f1e
Bug 927954 - Adding rendertrace logging to the APZ code. r=botond
...
To use this logging, enable the #define at the top of
AsyncPanZoomController.cpp, run through the scenario you wish
to trace and collect the logs, and then paste them into the
textarea on the page at github.com/staktrace/rendertrace/.
2013-11-12 19:03:27 -05:00
Botond Ballo
acc75156c8
Bug 937129 - Fix some concurrency issues in APZCTM::HandleOverscroll. r=kats
2013-11-11 12:06:33 -05:00
Matt Brubeck
dc8d2c3cd9
Bug 927033 - Don't reset mApzcForInputBlock until all touches are gone [r=kats]
2013-11-07 13:10:29 -08:00
Matt Brubeck
ee433d829f
Bug 934750 - Don't cancel content touch events unless APZC consumes them [r=jimm,kats]
...
This is necessary for our "cross-slide" hack to work. We need to send
input to both content and APZC until the input passes the pan threshold, so
that the start page can use touch events without disabling async panning.
In the long run we hope to use "touch-action: pan-x" for this and no longer
rely on this hack.
2013-11-06 12:06:46 -08:00
Wes Kocher
ce4f00fcbd
Merge m-c to inbound
2013-11-04 21:22:23 -08:00
Wes Kocher
e400a12724
Merge inbound to m-c
2013-11-04 21:09:17 -08:00
Wes Kocher
df1cca0f0f
Backed out changeset bad6c063b01f (bug 932274) for build bustage
2013-11-04 14:40:50 -08:00
Benoit Girard
559ab26c5e
Bug 930476 - Show paint markers for async frames. r=ehsan
2013-11-04 17:04:51 -05:00
David Zbarsky
ec2becadee
Bug 932274: Use Moz2D size classes in ipdl r=nical
2013-11-04 16:43:10 -05:00
Kartikaya Gupta
d865cd8f90
Bug 934439 - Add an APZC_LOG line for UpdateScrollOffset. r=botond
2013-11-04 21:30:10 -05:00
Ryan VanderMeulen
56251f8b65
Merge m-c to b2g-inbound.
2013-11-04 16:32:13 -05:00
Botond Ballo
7c0017a83e
Bug 932525 - Do APZC hit testing using the layer's screen coordinates rather than layer coordinates. r=kats
2013-10-30 15:58:25 -04:00
Nathan Froyd
61378e49b8
Bug 918651 - part 9 - remove useless includes from IPDL files; r=ehsan
...
These includes are no longer needed. It's much easier to locate these
includes when they're not obscured by a bunch of other stuff.
2013-10-18 14:47:04 -04:00
Nathan Froyd
ec839c62b4
Bug 918651 - part 8 - remove redundant includes from IPDL files; r=ehsan
...
These include statements have been made redundant by all the qualifications
to the using statements.
2013-10-18 13:34:08 -04:00
Nathan Froyd
91725bfec2
Bug 918651 - part 7b - fix Layers{Surfaces,Messages}.ipdlh header bootlegging; rs=ehsan
...
LayersSurfaces.ipdlh declares itself as |using| a bunch of types that only
get used in LayersMessages.ipdlh. Since intelligent include-placing
recognizes that these types are not used in LayersSurfaces.h, the necessary
header lines get left out of the generated LayersSurfaces.h, leading to
compilation problems on some platforms. Fix this by moving the appropriate
lines to LayersMessages.ipdlh.
2013-10-19 12:09:59 -04:00
Nathan Froyd
ebcc1e1abf
Bug 918651 - part 5 - qualify all IPDL using statements with required header; r=ehsan
2013-10-01 15:25:07 -04:00
Nathan Froyd
c41a24510b
Bug 918651 - part 1 - remove unnecessary using statements from IPDL files; r=ehsan
2013-10-18 14:48:13 -04:00
Ed Morley
6122e59c73
Merge mozilla-central and inbound
2013-11-01 13:18:19 +00:00
Ed Morley
23e525166f
Merge latest green b2g-inbound changeset and mozilla-central
2013-11-01 13:14:45 +00:00
Benoit Jacob
1f5b706ef5
Bug 886219 - Avoid introducing a global constructor with the ImageBridgeParent singleton - r=nical
2013-11-01 07:34:40 -04:00
Fabrice Desré
bd9859e505
Bug 914843 - fix gfx issue on oop b2g linux. r=nrc
2013-10-31 23:36:02 -07:00
Kartikaya Gupta
e08ba777b1
Bug 906877 - Remove code obsoleted by multi-apzc. r=BenWa, vingtetun
...
Now that we have multi-APZC landed, we don't need BrowserElementPanning
to detect when it's about to scroll a subframe and let APZC know. So
the two messages involved in this can be completely removed.
2013-10-30 17:06:15 -04:00
Chris Peterson
15fea8501b
Bug 931669 - Fix -Wsign-compare warning in Axis.cpp. r=botond
2013-10-27 01:11:18 -07:00
Dale Harvey
9c58b66f63
Bug 915645 - Allow single taps to occur longer than MAX_TAP_TIME. r=kats
2013-10-28 15:46:40 +00:00
Phil Ringnalda
780e2a2c5f
Back out f872d288480b:9b86b4e60b29 (bug 929513) for failing to build on Windows
...
CLOSED TREE
2013-10-27 15:38:40 -07:00
David Zbarsky
94ea6c0df6
Bug 929513 Part 11: Convert ImageLayer's mScaleToSize to use LayerIntSize r=nical
2013-10-27 17:53:29 -04:00
David Zbarsky
031da49889
Bug 929513 Part 10: Convert ScreenSizeChanged to use gfx::IntSize r=nical
2013-10-27 17:53:28 -04:00
David Zbarsky
31ff66f73b
Bug 929513 Part 9: Convert AllocPGrallocBufferActor to use gfx::IntSize r=nical
2013-10-27 17:53:28 -04:00
David Zbarsky
4c129e947e
Bug 929513 Part 3: Use some LayerIntSize in gfx/layers r=nical
2013-10-27 17:53:27 -04:00
David Zbarsky
b3c48c54a3
Bug 929513 Part 1: Use gfx::IntSize for image layer sizes r=nical
2013-10-27 17:53:26 -04:00
Gregor Wagner
54baf977db
Backout Bug 907463 for causing bug 930575
2013-10-25 14:44:03 -07:00
Ed Morley
ae834488ea
Merge mozilla-central and b2g-inbound
2013-10-25 12:12:23 +01:00
Kartikaya Gupta
2ba8a111d7
Bug 923482 - Fix an edge case where we might try to re-use a destroyed APZC instance. r=botond
2013-10-25 11:30:17 +02:00
Carsten "Tomcat" Book
0e4e01758c
Merge mozilla-inbound to Mozilla-Central
2013-10-24 07:05:29 +02:00
Kartikaya Gupta
f0af958413
Bug 929367 - Rename all the prefs for the async pan/zoom code to be consistent. r=botond,mbrubeck
2013-10-24 00:07:50 +02:00
David Anderson
fc34a69277
Fix resize jank on Linux with OMTC (bug 926618, r=mattwoodrow).
2013-10-21 13:14:47 -07:00
Nicholas Cameron
6d24fd2a5a
Bug 925317. Check shmems are tracked whenever we send them across IPC. r=BenWa,bent
2013-10-21 16:23:42 +02:00
Chris Peterson
0a49e094bd
Bug 925195 - Fix -Wsign-compare warning about GetProtocolId() enum return value. r=bent
2013-10-17 20:42:59 -07:00
Sotaro Ikeda
49db7bff2e
Bug 925381 - Fix mpeg4 video seek failure. r=nical, r=doublec
2013-10-17 11:09:15 -04:00
Kartikaya Gupta
279d848121
Bug 925902 - Add a macro to APZC_LOG a FrameMetrics object as well. r=botond
2013-10-15 17:07:58 -04:00
Nicholas Cameron
e59c5a9ee9
Bug 907463. Dealloc shmem on ActorDestroy. r=nical
2013-09-27 21:48:42 +12:00
Matt Woodrow
858f960ea3
Bug 887791 - Add a TextureClient implementation for MacIOSurface. r=nical
2013-11-01 14:54:14 +13:00
Dale Harvey
33b0cd9459
Bug 922866 - Follow up: Fix error introduced in rebase. r=trivial
2013-10-14 18:56:04 +02:00
Dale Harvey
cc05a08fc0
Bug 922896 - Fire tap immediately if content is not zoomable. r=kats
2013-10-14 05:29:47 +01:00
Wes Kocher
6313f43c69
Merge inbound to m-c
2013-10-10 18:59:58 -07:00
Kartikaya Gupta
f346cf8889
Bug 915831 - Roll ScaleWillOverscroll into ScaleWillOverscrollAmount since it's simpler that way. r=botond
2013-10-10 17:02:25 -04:00
Kartikaya Gupta
b4efe2cba1
Bug 915831 - Remove some unnecessary rounding that allowed minor amounts of overzoom. r=botond
2013-10-10 17:00:30 -04:00
Kartikaya Gupta
368d1ced96
Bug 915831 - When clamping the async zoom amount, take into account the overzoom boundary. r=botond
2013-10-10 17:00:29 -04:00
Nicholas Cameron
574e1a5848
Bug 925324. For abnormal shutdowns, only abort on b2g. r=sotaro
2013-10-11 05:44:03 +13:00
Kartikaya Gupta
754d332a1a
Bug 923431 - Kill ScreenToScreenScale. r=botond
2013-10-10 12:21:55 -04:00
Kartikaya Gupta
798021577b
Bug 923431 - Fix the code that adjusts scroll offset while pinching; add tests to go with. r=botond
2013-10-10 12:21:50 -04:00
Nicolas Silva
546040be85
Bug 923917 - Make CompositableClient not crash when texture serialization fails. r=nrc
2013-10-09 16:18:29 -07:00
Benoit Girard
3696e2adc6
Bug 918825 - Add frame duration marker. r=ehsan
...
--HG--
extra : rebase_source : 25f51e88ee75f47eea51bcc94a7b60f31b9605af
2013-09-27 12:08:45 -04:00
Benoit Jacob
fc3178b1f8
Bug 914823 - Use a WeakPtr to the SurfaceAllocator - r=jgilbert,nical
2013-10-09 08:47:32 -04:00
Kartikaya Gupta
c8822d5aa7
Bug 924394 - Add some useful but default-disabled logging for APZC code. r=botond
2013-10-08 17:13:04 -04:00
Phil Ringnalda
e55ebbb920
Merge m-i to m-c
2013-10-03 07:58:59 -07:00
Matt Brubeck
d0f97c46f6
Merge fx-team to mozilla-central
2013-10-03 07:38:41 -07:00
Matt Brubeck
64a77f6a3f
Bug 915328 - Add support for cross-slide gesture to APZC [r=kats]
2013-10-02 18:03:04 -07:00
Matt Brubeck
1403178461
Bug 892684 - Implement axis locking in AsyncPanZoomController [r=kats,botond]
2013-10-02 18:03:04 -07:00
Matt Brubeck
f58ece2dd9
Bug 892684 - Clean up some code in AsyncPanZoomController [r=kats]
2013-10-02 18:03:04 -07:00
Phil Ringnalda
a92d1ffb9b
Backed out changeset 2eb7e93512b1 (bug 918825) for browser-chrome crashes
2013-10-01 22:46:48 -07:00
Masayuki Nakano
a4221a463f
Bug 920377 part.30 Get rid of nsGUIEvent r=roc
2013-10-02 12:46:03 +09:00
Benoit Girard
43d7d6f444
Bug 918825 - Add frame duration marker. r=ehsan
2013-09-27 12:08:45 -04:00
Ed Morley
25e60eaf8c
Merge latest green b2g-inbound changeset and mozilla-central
2013-10-01 10:56:53 +01:00
Kartikaya Gupta
20ceccd6f3
Bug 916379 - Remove a content repaint request that was clobbering the right frame metrics with the wrong one. r=BenWa
2013-09-30 20:58:36 -04:00
Ryan VanderMeulen
ad7d17c453
Merge m-c to b2g-inbound.
2013-09-30 16:30:26 -04:00
David Anderson
437f6053a9
Rename IPDL's RPC to Interrupt (bug 910020, r=bent).
...
--HG--
rename : ipc/ipdl/test/cxx/PTestRPCErrorCleanup.ipdl => ipc/ipdl/test/cxx/PTestInterruptErrorCleanup.ipdl
rename : ipc/ipdl/test/cxx/PTestRPCRaces.ipdl => ipc/ipdl/test/cxx/PTestInterruptRaces.ipdl
rename : ipc/ipdl/test/cxx/PTestRPCShutdownRace.ipdl => ipc/ipdl/test/cxx/PTestInterruptShutdownRace.ipdl
rename : ipc/ipdl/test/cxx/PTestRacyRPCReplies.ipdl => ipc/ipdl/test/cxx/PTestRacyInterruptReplies.ipdl
rename : ipc/ipdl/test/cxx/TestRPCErrorCleanup.cpp => ipc/ipdl/test/cxx/TestInterruptErrorCleanup.cpp
rename : ipc/ipdl/test/cxx/TestRPCErrorCleanup.h => ipc/ipdl/test/cxx/TestInterruptErrorCleanup.h
rename : ipc/ipdl/test/cxx/TestRPCRaces.cpp => ipc/ipdl/test/cxx/TestInterruptRaces.cpp
rename : ipc/ipdl/test/cxx/TestRPCRaces.h => ipc/ipdl/test/cxx/TestInterruptRaces.h
rename : ipc/ipdl/test/cxx/TestRPCShutdownRace.cpp => ipc/ipdl/test/cxx/TestInterruptShutdownRace.cpp
rename : ipc/ipdl/test/cxx/TestRPCShutdownRace.h => ipc/ipdl/test/cxx/TestInterruptShutdownRace.h
rename : ipc/ipdl/test/cxx/TestRacyRPCReplies.cpp => ipc/ipdl/test/cxx/TestRacyInterruptReplies.cpp
rename : ipc/ipdl/test/cxx/TestRacyRPCReplies.h => ipc/ipdl/test/cxx/TestRacyInterruptReplies.h
rename : ipc/ipdl/test/ipdl/error/rpcMessageCompress.ipdl => ipc/ipdl/test/ipdl/error/intrMessageCompress.ipdl
rename : ipc/ipdl/test/ipdl/error/tooWeakRPCAsync.ipdl => ipc/ipdl/test/ipdl/error/tooWeakInterruptAsync.ipdl
rename : ipc/ipdl/test/ipdl/ok/rpcProtocol.ipdl => ipc/ipdl/test/ipdl/ok/intrProtocol.ipdl
2013-09-30 17:27:45 -07:00
Cervantes Yu
0a6a25b7c4
Bug 771765 - Support template content process, part 9: allocating a toplevel protocol should return itself. r=dzbarsky
...
Reverse the effect in bug 879475 part 14 since we need to keep track of open protocols in the Nuwa process.
2013-09-26 12:19:09 +08:00
Nicolas Silva
302198d77d
Bug 916116 - Rename CompositableQuirks. r=bjacob
2013-09-30 14:14:38 +02:00
Nicolas Silva
fb7278e4bc
Bug 916118 - Simplify the TextureClient deallocation protocol. r=nrc
2013-10-02 13:52:04 -07:00
Ehsan Akhgari
8b1e734ef4
Backed out changeset a73ffb0d0c97 because of build bustage
2013-09-29 17:20:07 -04:00
Ehsan Akhgari
f3d364af5a
Remove a number of unused variables, no bug
2013-09-29 16:42:12 -04:00
David Anderson
fd2cf49aa1
Combine AsyncChannel, SyncChannel, and RPCChannel into one class (bug 901789, r=cjones,bent).
...
--HG--
rename : ipc/glue/RPCChannel.cpp => ipc/glue/MessageChannel.cpp
rename : ipc/glue/RPCChannel.h => ipc/glue/MessageChannel.h
2013-09-27 18:42:08 -07:00
Nicholas Cameron
009454da8e
Bug 882113. Azurification of compositor classes. r=mattwoodrow
2013-09-27 12:37:19 +12:00
Nicolas Silva
e3ef6e63f3
Bug 916118 - Backed out changeset bafb8bf3b279 on a CLOSED TREE
2013-09-26 19:06:12 +02:00
Nicolas Silva
bc11135ff0
Bug 916118 - Simplify the deallocation flags in TextureClient/Host. r=nrc
2013-09-26 18:00:23 +02:00
Masayuki Nakano
743fbc6e59
Bug 912956 part.13 mozilla/TouchEvents.h should be included directly r=roc
2013-09-25 20:21:16 +09:00
Benoit Jacob
c566455dd4
Bug 919219 - fix the b2g build - no review, bustage, CLOSED TREE
2013-09-24 18:09:20 -04:00
Benoit Jacob
eb8b1d73bb
Bug 913872 - Take nested enums out of gfxASurface - 3/3 : remove the now-useless inclusions of gfxASurface.h - r=jrmuizel
2013-09-24 16:45:14 -04:00
Benoit Jacob
42848d261c
Bug 913872 - Take nested enums out of gfxASurface - 2/3 : manual changes - r=jrmuizel
2013-09-24 16:45:14 -04:00
Benoit Jacob
55d6cf1e20
Bug 913872 - Take nested enums out of gfxASurface - 1/3 : automatic changes - r=jrmuizel
...
Generated by these regexes:
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(ImageFormat\|SurfaceType\|ContentType\|MemoryLocation\)[0-9A-Za-z_]*\)/gfx\1/g'
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(CONTENT_\|MEMORY_\)[0-9A-Za-z_]*\)/GFX_\1/g'
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(CONTENT_COLOR\|CONTENT_ALPHA\|CONTENT_COLOR_ALPHA\|CONTENT_SENTINEL\|MEMORY_IN_PROCESS_HEAP\|MEMORY_IN_PROCESS_NONHEAP\|MEMORY_OUT_OF_PROCESS\)\($\|[^A-Za-z0-9_]\)/\1GFX_\2\3/g'
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(ImageFormatARGB32\|ImageFormatRGB24\|ImageFormatA8\|ImageFormatA1\|ImageFormatRGB16_565\|ImageFormatUnknown\|SurfaceTypeImage\|SurfaceTypePDF\|SurfaceTypePS\|SurfaceTypeXlib\|SurfaceTypeXcb\|SurfaceTypeGlitz\|SurfaceTypeQuartz\|SurfaceTypeWin32\|SurfaceTypeBeOS\|SurfaceTypeDirectFB\|SurfaceTypeSVG\|SurfaceTypeOS2\|SurfaceTypeWin32Printing\|SurfaceTypeQuartzImage\|SurfaceTypeScript\|SurfaceTypeQPainter\|SurfaceTypeRecording\|SurfaceTypeVG\|SurfaceTypeGL\|SurfaceTypeDRM\|SurfaceTypeTee\|SurfaceTypeXML\|SurfaceTypeSkia\|SurfaceTypeSubsurface\|SurfaceTypeD2D\|SurfaceTypeMax\)\($\|[^A-Za-z0-9_]\)/\1gfx\2\3/g'
2013-09-24 16:45:13 -04:00
Ed Morley
f1a11dfd16
Backed out changeset 505fe9841b16 (bug 915940) on suspicion of Windows PGO-only compilation failures
2013-09-24 16:49:11 +01:00
Masayuki Nakano
0fbfe07d7e
Bug 912956 part.2 Rename nsEvent.h to mozilla/EventForwards.h and sort out it r=roc
...
--HG--
rename : widget/nsEvent.h => widget/EventForwards.h
2013-09-24 19:04:14 +09:00
Nicholas Cameron
d6482934be
Bug 912766. DIB texture client/host. r=mattwoodrow,jrmuizel
2013-09-24 13:14:11 +12:00
Nicholas Cameron
abd5b28be1
Bug 915940. Memory reporter for memory image surfaces. r=njn,mattwoodrow
2013-09-24 10:59:26 +12:00
David Zbarsky
9eca84e4d8
Bug 879475: Allocing an actor for a bridged or opened protocol should return bool r=jlebar
...
Conflicts:
dom/ipc/ContentChild.cpp
dom/ipc/ContentChild.h
2013-09-23 17:54:25 -04:00
Benoit Jacob
2dcf3bf15d
Bug 915869 - Let the GrallocBufferActor keep an _array_ of backrefs to TextureHosts referencing it - r=nical
2013-09-17 14:48:08 -04:00
Benoit Jacob
c37a134542
Bug 915869 - Let the GrallocBufferActor inform its old TextureHost when it's switching to another TextureHost - r=jrmuizel
2013-09-17 14:47:27 -04:00
Botond Ballo
394397cc79
Bug 898478 - Have AsyncPanZoomControllers pass overscroll caused by panning on to their parents. r=kats
2013-08-20 19:00:57 -04:00
Botond Ballo
0d500136ea
Bug 898478 - Have AsyncPanZoomController keep a pointer to the APZCTreeManager. r=kats
2013-08-20 18:10:47 -04:00
Nicolas Silva
5105ebac1e
Bug 916116 - Move SetCompositableQuirks to AddTextureHost. r=sotaro
2013-09-17 15:28:35 +02:00
Thinker Lee ext:(%2C%20Cervantes%20Yu%20%3Ccyu%40mozilla.com%3E)
f5213d3e66
Bug 771765 - Support template content process, part 6: support re-creation of the threads created in the template process. r=khuey, r=jorendorff
...
The threads that are frozen/recreated include:
* ImageBridgeChildThread.
* Image decoding thread pool.
* IPC thread (checkpointed, but not frozen).
* GC Helper thread.
* XPC runtime watchdog thread.
* Socket transport service thread/thread pool.
* Memory pressure watcher.
* Timer thread.
* DOM promise worker.
2013-06-03 18:14:42 +08:00
Thinker Lee ext:(%2C%20Cervantes%20Yu%20%3Ccyu%40mozilla.com%3E)
32bdb371af
Bug 771765 - Support template content process, part 4: Clone IPC protocol objects that will be up when the template process is ready. r=khuey, r=bent
2013-06-03 18:14:37 +08:00
Matt Woodrow
fe6c3e297b
Bug 921910 - Don't build TextureHosts for async video frames when there's no compositor. r=nical
2013-10-02 16:05:35 +13:00
Matt Woodrow
c00e35e764
Bug 886219 - Make sure we release ImageBridge compositables and textures from the ImageBridge thread. r=nical
2013-10-02 16:05:35 +13:00
Matt Woodrow
37ee84f25f
Bug 886219 - Don't leak the static ImageBridgeParent. r=nical
2013-10-02 16:05:34 +13:00
Nicolas Silva
e422a66147
Bug 922202 - Make PlanarYCbCrImage::Data forward-declarable and remove some header includes. r=bjacob
2013-10-01 17:57:50 -07:00
Wes Kocher
4218f48b71
Backed out changeset ac77b26ec1ee (bug 915940) for PGO build bustage
2013-10-01 14:30:13 -07:00
Nicholas Cameron
a6633f8396
Bug 915940. Memory reporter for memory image surfaces. r=njn,mattwoodrow
2013-09-24 10:59:26 +12:00
Ryan VanderMeulen
fd45cb64f6
Merge m-c to b2g-inbound.
2013-09-13 16:11:28 -04:00
Kartikaya Gupta
0f52824527
Bug 909881 - Save the zoom constraints in RenderFrameParent so that TabChild can send them before the APZC is created and they don't get lost. r=botond
2013-09-13 10:18:33 -04:00
Corey Ford
69aaac73df
Bug 897105 - Part 2: Add layer fields for sticky positioning. r=roc
2013-09-11 21:17:58 -07:00
Sotaro Ikeda
59015a6eb6
Bug 912134 - allocate texture per CompositableHost. r=jmuizelaar,bjacob
...
The fundamental change of approach in this patch is that now the temporary
texture is per-compositable.
Originally, the temporary texture was per-TextureHost. That was too many
temporary textures. With Nical's work in bug 875211, that switched to having a
temporary texture per compositor only. That's what turned out to be too few.
Now we have one per compositable which is fewer than one per TextureHost,
because e.g. a ContentHost, which is a single Compositable, may have 2
TextureHosts to implement double-buffering.
2013-09-12 22:39:26 -04:00
Ryan VanderMeulen
e4754304bc
Merge inbound to m-c.
2013-09-12 20:37:35 -04:00
Jim Mathies
1241a6a4cc
Bug 915385 - Add a hidden pref for disabling apz zoom. r=kats
2013-09-12 12:30:05 -05:00
Nicolas Silva
1393f32821
Bug 913821 - Conservatively ensure that TextureClients/Hosts are removed at the end of a video. r=sotaro
2013-09-12 16:50:35 +02:00
Nicolas Silva
f8616ba377
Bug 901224 - Postpone deallocation of shared data to the end of the next transaction. r=sotaro
2013-09-12 16:50:28 +02:00
Ryan VanderMeulen
a352effd6a
Merge b2g-inbound to m-c.
2013-09-11 20:58:14 -04:00
Botond Ballo
0f2c4e94ea
Bug 912806 - Store both cumulative and non-cumulative resolutions in FrameMetrics and use whichever is appropriate. r=kats
2013-09-05 18:26:59 -04:00
Benoit Girard
f11fc41386
Bug 914656 - Annotate the compositor thread for profiling. r=jrmuizel
2013-09-10 15:56:49 -04:00
Nicolas Silva
d5fc397967
Bug 913821 - TextureID should be uint64 in the ipdl code. r=sotaro
2013-09-10 10:53:58 +02:00
Nicholas Nethercote
7983bb2a7f
Bug 910517 (3rd attempt) - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
...
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 2b2a1b2667d6562fcf803ec48b4a8c10fdd519a3
2013-08-27 16:24:51 -07:00
Ed Morley
f7bce95a91
Backed out changeset 5c9f3fb14995 (bug 910517) for Android talos failures
...
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryMultiReporterWrapper.h
2013-09-09 16:07:48 +01:00
Nicholas Nethercote
cc604f4854
Bug 910517 - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
...
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 76bf96ce8d6e16c8573584d9e8e70c80371f66eb
2013-08-27 16:24:51 -07:00
Nicholas Cameron
6bb0b5ed84
Don't include mozilla-config.h in gfx.layers. No bug. r=me
2013-09-09 08:55:48 +12:00
Nicolas Silva
0b5271b13d
Bug 912939 - Rename LayerTransaction.ipdlh into LayersMessages.ipdlh. r=kanru
...
--HG--
rename : gfx/layers/ipc/LayerTransaction.ipdlh => gfx/layers/ipc/LayersMessages.ipdlh
2013-09-06 17:41:00 +02:00
Nicolas Silva
afe16b3948
Bug 912040 - Make sure deallocating shared texture data doesn't race with TextureClient access. r=sotaro
2013-09-06 11:04:50 +02:00
Benoit Jacob
8ec75b058c
Bug 912042 - Avoid including GLContext.h in headers that don't need it - r=jrmuizel
2013-09-04 08:14:52 -04:00
Bill McCloskey
b37a2fa1ba
Bug 910488 - XSync can hang indefinitely with OMTC enabled (r=bjacob)
2013-08-30 14:30:10 -07:00
Doug Turner
3de9e6a0cf
Bug 906072 - Remove Maemo port. r=romaxa, r=ted, r=johns
2013-08-25 16:56:53 -07:00
Nicolas Silva
a9764d8417
Bug 907745 - Gralloc implementaion of the new texture client/host. r=pchang, bjacob
2013-08-09 17:23:46 +02:00
Nicholas Nethercote
23e35ad8e1
Bug 831193 (part 10) - Don't use NS_MEMORY_REPORTER_IMPLEMENT in parts of gfx/. r=bjacob.
...
--HG--
extra : rebase_source : 433b12748c8562b384a02fbee6d98e3bc991802d
2013-01-17 16:45:11 -08:00
Kartikaya Gupta
fd30fdc1ca
Bug 885023 - Convert mFrameMetrics.mZoom to a CSSToScreenScale. r=BenWa,k17e
...
The mFrameMetrics.mZoom was previously a "resolution-independent" zoom,
which meant it had to always be multiplied by the CalculateIntrinsicScale()
value to be useful. This patch converts it to a "resolution-dependent" zoom,
and includes the intrinsic scale multiplier already. This means it needs
to be updated if either the viewport or composition bounds (which determine
the intrinsic scale) change, but there are only a few places where this
happens and it makes the rest of the code cleaner.
2013-08-26 09:50:30 -04:00
Gabriele Svelto
91c1a25d52
Bug 907798 - Remove TimeStamp.h includes from source files that do not need it; r=ehsan
2013-08-24 08:12:51 +02:00
Ms2ger
47f9af7214
Revert this CLOSED TREE to changeset 4d3e221584a0.
2013-08-24 13:31:48 +02:00
Gabriele Svelto
795d28ed67
Bug 907798 - Remove TimeStamp.h includes from source files that do not need it; r=ehsan
2013-08-24 08:12:51 +02:00
Jim Mathies
7e9f44a455
Bug 907243 - Move SetDPI to APZCTreeManager. r=kats
2013-08-22 19:28:02 -05:00
Ryan VanderMeulen
8dfeba9208
Merge inbound to m-c.
2013-08-22 15:42:18 -04:00
Nicholas Cameron
ac95649e48
Bug 902929. Be explicit about re-attaching async video compositable hosts. r=nical
2013-08-21 13:28:53 +12:00
Jan Beich
21390e1de4
Bug 907837 - Don't include SPS headers directly. r=nrc
2013-08-22 19:11:51 +12:00
Jan Beich
58aa335563
Bug 907837 - Fix IWYU false positive to unbreak non-SPS build. r=nrc
2013-08-22 19:11:47 +12:00
Ryan VanderMeulen
78bcb8af18
Merge inbound to m-c.
2013-08-21 17:14:32 -04:00
Kartikaya Gupta
9a113e1a19
Bug 898443 - Add a parent pointer to the AsyncPanZoomController class. r=BenWa
2013-08-21 12:03:02 -04:00
Wes Kocher
5f8374e407
Backed out changeset 315c9f0af9bb (bug 902929)
2013-08-20 20:50:20 -07:00
Nicholas Cameron
01348ed72b
Bug 902929. Be explicit about re-attaching async video compositable hosts. r=nical
2013-08-21 13:28:53 +12:00
Botond Ballo
0e5f86037c
Bug 898580 - Remove updating of scroll offset in AsyncPanZoomController::NotifyLayersUpdated. It is now no longer needed by any platform. r=bbondy, r=kats
2013-08-15 11:30:27 -04:00
Nicholas Cameron
73aeda1397
Bug 903816. Include-what-you-use for gfx/layers. r=roc
2013-08-12 11:17:23 +12:00
Kartikaya Gupta
e20eec1804
Bug 906427 - When a touch event has multiple touch points, send it to the root APZC for the layer subtree. r=BenWa
2013-08-22 10:40:44 -04:00
David Zbarsky
9841925526
Bug 903819 - Don't include Layers.h everywhere, part 4 r=nrc
2013-08-20 15:45:30 -04:00
Matt Woodrow
38ae2bdff7
Bug 900133 - Make sure we always set TEXTURE_DEALLOCATE_HOST when required. r=nical
2013-08-20 11:39:56 +12:00
Ryan VanderMeulen
bb87caf4be
Merge m-c to inbound on a CLOSED TREE.
2013-08-19 17:05:12 -04:00
Kartikaya Gupta
eeceed6abc
Bug 906109 - Make the GestureEventListener realize when a touch point disappears. r=k17e
...
When receiving a touch event arrives that is missing previously-known
touch points, remove them from the list. This makes the GestureEventListener
more robust so that it doesn't keeping doing pinches when there should
be pans.
2013-08-19 09:38:43 -04:00
Chris Lord
b1c2b07b0e
Bug 747811 - Add gfxReusableImageSurfaceWrapper. r=BenWa
...
Add an implementation of gfxReusableSurfaceWrapper based on gfxImageSurface
and use it on Android to avoid the overhead of shared memory.
2013-08-19 14:59:27 +01:00
Benoit Girard ext:(%2C%20Chris%20Lord%20%3Cchrislord.net%40gmail.com%3E)
9bdf6932e4
Bug 747811 - Make the tiles backend safe across processes. r=nrc,BenWa
...
The tiles backend passes raw pointers to transfer tiled buffers between the
main thread and the compositor. This patch changes that to use shared
memory and tile descriptors instead, as well as changing the memory management
slightly to facilitate that.
2013-08-19 14:59:22 +01:00
Nicholas Cameron
d54a23dd47
Bug 903893. Backend fallback for OMTC. r=mattwoodrow
2013-08-18 18:46:16 +12:00
Jeff Muizelaar
5bfbf126a7
Bug 898525. Separate out Gfx helpers into GfxMessageUtils.h. r=bent
...
This helps us include less.
--HG--
extra : rebase_source : bb9ca934a9dade9ef21cecfee7ae8e860f9c60c1
2013-07-26 15:28:31 -04:00
Wes Kocher
a62c3344f1
merge b2g-inbound to central
2013-08-16 15:30:59 -07:00
Arnaud Sourioux
25dd048448
Bug 903112 - Replace this with MOZ_THIS_IN_INITIALIZER_LIST() in gfx/. r=jfkthame
2013-08-16 09:18:36 -04:00
Botond Ballo
f3c2ea43d5
Bug 895905 - B2G mechanism for content to inform APZC about scroll events. Handles multi-APZC. r=kats
2013-08-08 15:56:08 -04:00
Kartikaya Gupta
9dd2faacc5
Bug 890280 - Apply proper transformations when sending inputs to the APZC and back to the DOM. r=BenWa
2013-08-14 10:15:54 -04:00
Nicolas Silva
510cee9244
Bug 858914 - Various TextureClient/Host cleanups. r=nrc.
2013-08-08 14:53:12 +02:00
Kartikaya Gupta
61f8f7022b
Bug 903460 - Back out cset 9813b854b713 because it regresses panning behaviour on Android. r=me
2013-08-12 08:32:11 -04:00
Phil Ringnalda
d2099e030b
Back out d393cfeb5dbf:9f82224bb8a3 (bug 903816) for Android reftest failures
...
CLOSED TREE
2013-08-11 19:21:17 -07:00
Nicholas Cameron
5cd4425728
Bug 903816. Include-what-you-use for gfx/layers. r=roc
2013-08-12 11:17:23 +12:00
Kartikaya Gupta
9a898e566b
Bug 903460 - Apply the async transform after the CSS transform for a given layer. r=BenWa
...
Since the CSS transform includes a 1/resolution scaling factor, the translation
amount in the async transform is now in LayoutDevicePixels instead of LayerPixels.
The shadow tree transform is now effectively:
(1/resolution * rest of CSS transform * async translation * async resolution)
Whereas before it was
(async translation * async resolution * 1/resolution * rest of CSS transform)
2013-08-10 11:19:47 -04:00
Po-Chun Chang
11df259b10
Bug 897258 - Avoid wasted work in GestureEventListener::HandleInputEvent(). r=kentuckyfriedtakahe
2013-08-09 15:01:56 -04:00
Ed Morley
e4bcd96d08
Merge mozilla-central and inbound
2013-08-07 16:19:03 -07:00
Edwin Flores
803c0fbe47
Bug 892934 - Pass RGB image format into CreateTextureImage r=mattwoodrow
2013-08-08 10:38:21 +12:00
Kartikaya Gupta
66fff2ca46
Bug 900742 - Fix APZC hit testing problem introduced by bug 866232. r=BenWa
2013-08-06 16:20:14 -04:00
Ryan VanderMeulen
d3e2486217
Backed out changeset aada9eac6fd3 (bug 900742) for checktest failures.
2013-08-06 12:50:36 -04:00
Kartikaya Gupta
405d81dc18
Bug 900742 - Fix APZC hit testing problem introduced by bug 866232. r=BenWa
2013-08-06 10:39:19 -04:00
Kartikaya Gupta
4fe9002ec0
Bug 901339 - Fix the focal point when zooming in and out. r=BenWa
2013-08-07 12:34:16 -04:00
Nicolas Silva
8f66891960
Bug 900393 - Implement missing method in DeprecatedSharedRGBImage. r=eflores
2013-08-06 18:47:44 +02:00
Nicolas Silva
8d92d2210c
Bug 899667 - Make layer borders more readable. r=BenWa
2013-08-03 00:50:17 +02:00
Kartikaya Gupta
6228032f7b
Bug 899810 - Ensure that mFrameMetrics is updated properly in NotifyLayersUpdated. r=bbondy
...
In some cases the mScrollOffset was getting updated on the mFrameMetrics
before the IsDefault() check, so the IsDefault() check would return false
when it should have returned true. Calling IsDefault() on the
mFrameMetrics before writing stuff into it fixes this.
2013-08-04 12:26:54 -04:00
Nicholas Cameron
f742a26a6e
Bug 874721, bug 899435. D3D9 compositor and windows OMTC window resizing. r=Bas, mattwoodrow
2013-08-04 19:46:17 +12:00
Matt Woodrow
c297e37460
Bug 900133 - Add TEXTURE_IMMEDIATE_UPLOAD to avoid racing when single buffered. r=nical
2013-08-03 13:30:28 -04:00
Wes Kocher
67614e96b8
Backed out 6 changesets (bug 900133, bug 881634, bug 893302) for build bustage
...
Backed out changeset 49632bc14e27 (bug 900133)
Backed out changeset 036780fccc89 (bug 900133)
Backed out changeset b8db58f5e209 (bug 893302)
Backed out changeset 67c3e4204e44 (bug 893302)
Backed out changeset a857a4246dd9 (bug 900133)
Backed out changeset e0e2e27af6c1 (bug 881634)
2013-08-02 20:35:39 -07:00
Matt Woodrow
49169f83fb
Bug 900133 - Add TEXTURE_IMMEDIATE_UPLOAD to avoid racing when single buffered. r=nical
2013-08-02 23:00:02 -04:00
Matt Woodrow
341fd56ab3
Bug 900133 - Remove unnecessary printf when adding textures. r=nical
...
--HG--
extra : rebase_source : 78b76ede5e23d445833a65fd18c7eb336709c1b4
2013-08-01 21:12:15 -04:00
Ms2ger
bf6618a13c
Bug 900096 - Cleanup Touch some; r=dzbarsky
2013-08-02 09:06:35 +02:00
Ms2ger
1571fe39c1
Bug 896251 - Make nsEvent::{refPoint, lastRefPoint} LayoutDeviceIntPoints; r=smaug+kats
2013-08-02 09:05:16 +02:00
Nicholas Cameron
b4b5c9799b
back out bug 874721, bug 899435
2013-08-01 18:30:46 +12:00
Nicholas Cameron
d427917d12
Bug 874721; don't OOM with large canvases. r=Bas
2013-08-01 16:52:53 +12:00
Nicholas Cameron
401f8b2e08
Bug 874721; identify multi-process OMTC and use shmem. r=Bas
2013-08-01 16:52:46 +12:00
Nicholas Cameron
e571990a03
Bug 874721. Fallback for EnsureAllocated and compositor, and some more sanity checks. r=mattwoodrow
2013-08-01 16:52:36 +12:00
Nicholas Cameron
e86327c405
Bug 874721. CompositorD3D9, r=Bas
2013-08-01 16:50:52 +12:00
Nicholas Cameron
cdae41c345
Bug 897839. Use OMTC for invisible windows and initialise LayerTreeState::mParent. r=mattwoodrow
2013-08-01 10:20:24 +12:00
Kartikaya Gupta
3c0ed4577b
Bug 890932 - Add a missing lock in AsyncPanZoomController::SendAsyncScrollEvent. r=BenWa
2013-07-31 08:53:17 -04:00
Kartikaya Gupta
41d5cda7fd
Bug 890932 - Remove unnecessary internal method now that the monitor re-entrant. r=BenWa
2013-07-31 08:53:16 -04:00
Kartikaya Gupta
2e04b7fa14
Bug 890932 - Make AsyncPanZoomController::mMonitor re-entrant to reduce code madness. r=BenWa
2013-07-31 08:53:16 -04:00
Ryan VanderMeulen
fd758076bd
Merge m-c to inbound.
2013-07-30 18:08:18 -04:00
Nicholas Cameron
c95487f8eb
Bug 897839. Add some null checks for the compositor map. r=mattwoodrow
2013-07-31 09:45:42 +12:00
Kartikaya Gupta
215476e2eb
Bug 866232 - Break assumption of a single global root layer tree. r=BenWa, mattwoodrow
2013-07-30 14:03:43 -04:00
Kartikaya Gupta
6762cc18a8
Bug 866232 - Only fire mozbrowserasyncscroll events on the top-level scrollable for backwards compatibility. r=BenWa
2013-07-30 14:03:42 -04:00
Kartikaya Gupta
a62d23f5c0
Bug 866232 - Update and re-enable the test for hit detection in the APZC tree. r=BenWa
2013-07-30 14:03:41 -04:00
Kartikaya Gupta
c40b9b29dd
Bug 866232 - Add visible region tracking and hit-testing code for APZCTreeManager. r=BenWa, mattwoodrow
2013-07-30 14:03:41 -04:00
Kartikaya Gupta
be119cfa6c
Bug 866232 - Extract a GetCurrentAsyncTransform method in APZC. r=BenWa
2013-07-30 14:03:41 -04:00
Kartikaya Gupta
eac8d9c0d3
Bug 866232 - Some documentation/variable renaming cleanup. r=BenWa
2013-07-30 14:03:40 -04:00
Kartikaya Gupta
8423701852
Bug 866232 - Add code to build the APZC tree on layer updates. r=BenWa, mattwoodrow
2013-07-30 14:03:40 -04:00
Kartikaya Gupta
2c0ffd470e
Bug 866232 - Add an APZCTreeManager to encapsulate the multiple APZCs corresponding to a given layer tree. r=BenWa, mattwoodrow
2013-07-30 14:03:40 -04:00
Kartikaya Gupta
9816363ba9
Bug 866232 - Add support for delaying APZC creation until the layer update. r=BenWa
2013-07-30 14:03:40 -04:00
Kartikaya Gupta
e7c5eaf641
Bug 866232 - Guard some APZC fields by a lock so they can be nulled out from the compositor thread. r=BenWa
2013-07-30 14:03:39 -04:00
Kartikaya Gupta
8da8ce85f7
Bug 866232 - Move around code in APZC to more easily allow creating it on the compositor thread. r=BenWa
2013-07-30 14:03:39 -04:00
Kartikaya Gupta
d8a4ad4023
Bug 866232 - Reserve a layer tree id for the root layer tree. r=BenWa
2013-07-30 14:03:38 -04:00
Nicolas Silva
8592c4c12d
Bug 858914 - New texture classes + OGL backend (preffed off). r=bas, nrc
2013-07-30 11:59:51 +02:00
David Zbarsky
67334df0d5
Backout 40683014a638 for causing mochitest orange
2013-07-29 21:11:01 -07:00
David Zbarsky
d057bf162a
Bug 898105 - Remove nsIDOMTouch r=reuben
2013-07-29 16:04:09 -07:00
Ehsan Akhgari
2824b29025
Bug 895322 - Part 1: Replace the usages of MOZ_STATIC_ASSERT with C++11 static_assert; r=Waldo
...
This patch was mostly generated by running the following scripts on the codebase, with some
manual changes made afterwards:
# static_assert.sh
#!/bin/bash
# Command to convert an NSPR integer type to the equivalent standard integer type
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.cc" \
-o -iname "*.mm" \) | \
xargs -n 1 `dirname $0`/assert_replacer.py #sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_STATIC_ASSERT static_assert
hg rev --no-backup mfbt/Assertions.h \
media/webrtc/signaling/src/sipcc/core/includes/ccapi.h \
modules/libmar/src/mar_private.h \
modules/libmar/src/mar.h
# assert_replacer.py
#!/usr/bin/python
import sys
import re
pattern = re.compile(r"\bMOZ_STATIC_ASSERT\b")
def replaceInPlace(fname):
print fname
f = open(fname, "rw+")
lines = f.readlines()
for i in range(0, len(lines)):
while True:
index = re.search(pattern, lines[i])
if index != None:
index = index.start()
lines[i] = lines[i][0:index] + "static_assert" + lines[i][index+len("MOZ_STATIC_ASSERT"):]
for j in range(i + 1, len(lines)):
if lines[j].find(" ", index) == index:
lines[j] = lines[j][0:index] + lines[j][index+4:]
else:
break
else:
break
f.seek(0, 0)
f.truncate()
f.write("".join(lines))
f.close()
argc = len(sys.argv)
for i in range(1, argc):
replaceInPlace(sys.argv[i])
--HG--
extra : rebase_source : 4b4a4047d82f2c205b9fad8d56dfc3f1afc0b045
2013-07-18 13:59:53 -04:00
Ehsan Akhgari
ef4b479714
Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted
2013-07-30 10:25:31 -04:00
Ryan VanderMeulen
8670499913
Merge m-c to inbound.
2013-07-25 21:59:02 -04:00
Michael Wu
e5dc8423b0
Bug 895417 - Fix refpoint coordinates sent to child processes, r=kats
2013-07-24 21:49:49 -04:00
Ryan VanderMeulen
2cd9d5dae5
Merge m-c to inbound.
2013-07-24 18:27:51 -04:00
Ryan VanderMeulen
93a07bee4f
Backed out changeset d264bdb8b400 (bug 884188).
2013-07-24 11:15:47 -04:00
Nicolas Silva
19ac9f0ab4
Bug 858914 - Mark some Image related classes deprecated. r=jrmuizel DONTBUILD
2013-07-24 18:08:35 +02:00
Nicolas Silva
ae2b42277d
Backed out changeset 9089fe288899
2013-07-24 18:01:39 +02:00
Nicolas Silva
216a92b99c
Bug 868914 - Mark some Image related classes deprecated. r=jrmuizel
2013-07-24 17:43:35 +02:00
Bill McCloskey
54cb4cc404
Bug 896651 - Need to clean up resources for out-of-process layer trees when shutting down (r=mattwoodrow)
2013-07-23 14:53:22 -07:00
Botond Ballo
d689c3581c
Bug 895904 - Hook up NativePanZoomController.abortAnimation(). r=kats
2013-07-23 16:41:22 -04:00
Brian R. Bondy
cd27c23ef8
Bug 869940 - Fix scaling issue with high dpi devices. r=kats
2013-07-25 13:15:10 -04:00
Brian R. Bondy
9d6c1c0076
Bug 869940 - Implement pan start/end notifications from APZC. r=kats
2013-07-25 13:15:06 -04:00
Botond Ballo
1cdb67fea9
Bug 859929 - Make AsyncPanZoomController work with progressive tile painting on Fennec. r=kats
2013-07-22 22:33:05 -04:00
Birunthan Mohanathas
48209b8e5e
Bug 784739 - Switch from NULL to nullptr in gfx/layers/ipc/; r=ehsan
...
--HG--
extra : rebase_source : 36cb1b9738de269a10cea871242b0b51588d0f3b
2013-07-20 11:48:55 +03:00
Chris Lord
10605e0e62
Bug 886298 - Convert Layers fixed position margins to typed units. r=kats
2013-07-22 09:50:13 +01:00
Chris Lord
baaed043f6
Bug 886298 - Convert Layers fixed position anchor to typed units. r=kats
2013-07-22 09:50:09 +01:00
Jed Davis
b01846fcf0
Bug 895722 - Don't remove elements from mDurations if it's empty. r=BenWa
2013-07-19 21:20:11 -04:00
Matt Woodrow
ddd78fd1a5
Bug 889515 - Get rid of static sCompositorParent. r=nical
2013-07-11 22:32:09 -04:00
Ryan VanderMeulen
76ce8020e7
Merge m-c to inbound on a CLOSED TREE.
2013-07-18 14:53:05 -04:00
Gabriele Svelto
4af4c99ef2
Bug 884188 - Resize small gralloc'd surfaces to work around issues when drawing small canvases on certain devices. r=nrc
2013-07-17 17:04:33 +02:00
Botond Ballo
910920e31e
Bug 891544 - Remove unneeded FromUnknownPoint and FromUnknownRect calls. r=kats
2013-07-11 10:43:35 -04:00
Botond Ballo
e1a8133ba6
Bug 890938 - Convert AsyncPanZoomController::ZoomToRect to take a CSSRect instead of a gfxRect. r=kats
2013-07-11 10:43:35 -04:00
Ryan VanderMeulen
d806e1e244
Merge m-c to inbound.
2013-07-10 09:45:16 -04:00
Wes Kocher
e2c5c07610
Backout b61b7f2e0d0b for potentially causing leaks
2013-07-09 18:12:23 -07:00
Matt Woodrow
c1727d7810
Bug 889953 - Add a bounds property to ColorLayer to restrict the drawing region instead of using a clip. This stops our accelerated layer backends from requiring a temporary surface to render transformed ColorLayers. r=roc
2013-07-09 10:11:00 -04:00
Anthony Jones
0d86c0c984
Bug 864447 - Move timing tracking out of APZC; r=BenWa
2013-07-10 11:26:08 +12:00
Andreas Gal ext:(%2C%20Matt%20Woodrow%20%3Cmwoodrow%40mozilla.com%3E)
a24aaaa555
Bug 888562 - Recycle MemoryImage surfaces when possible. r=mattwoodrow,jrmuizel
2013-07-09 17:52:31 -04:00
Andreas Gal
17fdd35ffd
Bug 888530 - Remove unnecessary memset in ISurfaceAllocator::AllocSurfaceDescriptor. r=mattwoodrow,jrmuizel
2013-07-09 17:52:30 -04:00
Benoit Girard
f152264ea8
Bug 890279 - Create ScrollInfoLayers for frames we want APZC support. r=kats
2013-07-02 11:16:05 -04:00
Matt Woodrow
577c983863
Backout a17b6115cdd7 for causing reftest failures
2013-07-09 12:05:04 -04:00
Markus Stange
d4e021d74c
Bug 894925 - Hold a strong ref to the ImageContainer between DispatchImageClientUpdate and UpdateImageClientNow. r=nical
2013-07-18 08:33:28 +02:00
Chris Lord
dbafdacc87
Bug 869696 - Disable gralloc surfaces on the Geeksphone Peak. r=jrmuizel
...
Geeksphone distribute a known bad driver that has issues when using
gralloc-backed surfaces. Performance is much better just falling back to
shared memory.
2013-07-17 15:34:52 +01:00
Ms2ger
f8554f1603
Bug 884748 - Make nsTouchEvent::touches store Touch instead of nsIDOMTouch; r=dzbarsky
2013-07-10 11:53:09 +02:00
David Zbarsky
db1c02da4a
Bug 885804: Renaming in gfx r=nical
2013-07-08 11:48:39 -04:00
Kartikaya Gupta
99fb32edc1
Bug 866265 - Use the resolution from the metrics object instead of inferring it from the layer transform. r=kentuckyfriedtakahe
2013-07-04 09:13:52 -04:00
Benoit Girard
a210b5dede
Bug 775459 - Implement hit testing on layer tree + tests. r=kats
...
--HG--
extra : rebase_source : c596cc4c4dd9810319830ec8105a5e251e9b0ddb
2013-07-02 12:27:17 -04:00
Benoit Girard
83a15c3414
Bug 775459 - Make APZC attachable only to container layers. r=kats
...
--HG--
extra : rebase_source : 5a94d9958013f92e64db4781e09bdc9db4b66c9a
2013-07-02 12:01:46 -04:00
Mike Shal
d5df6bb361
Bug 868536 - Move ipdl.mk files to moz.build; r=gps
...
Author: Mike Shal <mshal@mozilla.com>
2013-07-01 09:56:28 -04:00
Matt Woodrow
57402f402c
Bug 889953 - Add a bounds property to ColorLayer to restrict the drawing region instead of using a clip. This stops our accelerated layer backends from requiring a temporary surface to render transformed ColorLayers. r=roc
2013-07-09 10:11:00 -04:00
Nicolas Silva
4b3fbac3da
Bug 858914 - Mark all TextureHost and TextureClient classes deprecated. r=mattwoodrow
2013-07-08 23:30:44 +02:00
Ed Morley
258bb235ff
Backed out changeset e6430ac52054 (bug 864447) for OS X make check crashes
2013-07-09 08:41:49 +01:00
Anthony Jones
a63939d1dc
Bug 864447 - Move timing tracking out of APZC; r=BenWa
2013-07-09 17:53:16 +12:00
Markus Stange
b474b910a6
Bug 888288 - Fix some typos in GFX header comments. r=nrc
2013-07-08 21:21:06 -07:00
Benoit Girard
9270c725b9
Bug 888622 - Root layer isn't always ContainerLayer, remove incorrect cast. r=kats
...
--HG--
extra : rebase_source : c3948e30b6fd05c896e1a773e520b8eecfdd05af
2013-07-02 00:17:23 -04:00
Justin Lebar
051c5b560a
Bug 802686 - s/MOZ_NOT_REACHED/MOZ_CRASH/ in Gecko. r=(see below)
...
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
This is a mechanical change made with sed. Later patches in this queue
clean up the whitespace errors and so on.
2013-06-28 18:38:30 -07:00
Kartikaya Gupta
e00fd765eb
Bug 885030 - Move CalculateCompositedRectInCssPixels from APZC to FrameMetrics. r=kentuckyfriedtakahe
2013-06-26 09:54:49 -04:00
Kartikaya Gupta
3445b06407
Bug 885030 - Move CalculateResolution from APZC to FrameMetrics. r=kentuckyfriedtakahe
2013-06-26 09:54:14 -04:00
Kartikaya Gupta
75b7aa0a24
Bug 885030 - Move CalculateIntrinsicScale to FrameMetrics. r=kentuckyfriedtakahe
2013-06-26 09:53:51 -04:00
Benoit Girard
05cdcb0787
Bug 864441 - Add APZC tests. r=kats
2013-06-24 15:24:42 -04:00
Matt Woodrow
58a83c3cf9
Bug 871150 - Call IdentifyTextureHost on ImageBridgeChild so that we create appropriate textures for the compositor. r=nical
2013-06-24 17:28:22 +12:00
Kartikaya Gupta
1ec7f38b9a
Bug 883646 - Update the ViewTransform class to have a LayoutToScreen scale factor. r=kentuckyfriedtakahe, BenWa
2013-06-21 17:03:57 -04:00
Kartikaya Gupta
1de2b15435
Bug 883646 - Propagate the ScaleFactor classes far and wide. r=kentuckyfriedtakahe
2013-06-21 17:03:56 -04:00
Kartikaya Gupta
17a2c46f83
Bug 883646 - Fix zoom-to-rect code in APZC to use a proper definition of zoom. r=kentuckyfriedtakahe
2013-06-21 17:03:56 -04:00
Kartikaya Gupta
716ff653f1
Bug 883646 - Fix the zoom clamping in APZC and the resolution calculation. r=kentuckyfriedtakahe
2013-06-21 17:03:55 -04:00
Kartikaya Gupta
38b709e375
Bug 883646 - Apply the mDevPixelsPerCSSPixel scaling factor in a few places. r=kentuckyfriedtakahe
2013-06-21 17:03:55 -04:00
Kyle Machulis
4e0cbd87b6
Bug 885266: Fix wrong ifdef in ShadowLayersUtilsGralloc; r=kanru
2013-06-21 12:33:12 -07:00
Ryan VanderMeulen
d2b6c8631b
Backed out 7 changesets (bug 883646) for reftest-ipc failures.
...
Backed out changeset 2272804a8e71 (bug 883646)
Backed out changeset e39d3bdf847a (bug 883646)
Backed out changeset bf46fc332efe (bug 883646)
Backed out changeset 6bb558c3136f (bug 883646)
Backed out changeset d7d5d16e27e0 (bug 883646)
Backed out changeset 14c73096a132 (bug 883646)
Backed out changeset 89f6185a271b (bug 883646)
2013-06-20 17:36:39 -04:00
Kartikaya Gupta
2b579f7d23
Bug 883646 - Update the ViewTransform class to have a LayoutToScreen scale factor. r=kentuckyfriedtakahe, BenWa
2013-06-20 16:10:58 -04:00
Kartikaya Gupta
603cf626d1
Bug 883646 - Propagate the ScaleFactor classes far and wide. r=kentuckyfriedtakahe
2013-06-20 16:10:58 -04:00
Kartikaya Gupta
dbc8ab025e
Bug 883646 - Fix zoom-to-rect code in APZC to use a proper definition of zoom. r=kentuckyfriedtakahe
2013-06-20 16:10:57 -04:00
Kartikaya Gupta
59806913c0
Bug 883646 - Fix the zoom clamping in APZC and the resolution calculation. r=kentuckyfriedtakahe
2013-06-20 16:10:57 -04:00
Kartikaya Gupta
7f7a209a09
Bug 883646 - Apply the mDevPixelsPerCSSPixel scaling factor in a few places. r=kentuckyfriedtakahe
2013-06-20 16:10:57 -04:00
Markus Stange
68b100868a
Bug 875335 - When using OMTC, always recomposite when viewWillDraw is called because our WindowOverlay may have changed. r=mattwoodrow
2013-06-20 15:01:20 +02:00
Kan-Ru Chen (陳侃如)
488a090746
Bug 783451 - Remove outdated FIXME comment. r=nrc,bent DONTBUILD
...
--HG--
extra : rebase_source : 374ea9d0259081dc532c1c64f168fbf95f6fe9eb
2013-06-19 17:11:25 +08:00
Matt Woodrow
6c5bb2cc06
Bug 873944 - Add FlushRendering API to the compositor interface. r=nrc
2013-06-18 19:58:43 +12:00
Kartikaya Gupta
2a3c35c773
Bug 880676 - Remove ToCSSIntRectRoundIn and convert APZC::CalculateResolution to return a ScaleFactor. r=kentuckyfriedtakahe
2013-06-14 16:11:44 -04:00
Kartikaya Gupta
e5cc885ca0
Bug 880676 - Convert WidgetSpaceToCompensatedViewportSpace to the new gfx types. r=kentuckyfriedtakahe
2013-06-14 16:11:32 -04:00
Kartikaya Gupta
fbe003e9c9
Bug 880676 - Introduce a ScaleFactor struct and use it to type conversions between units. r=BenWa,kentuckyfriedtakahe
2013-06-14 16:11:31 -04:00
Kartikaya Gupta
ddc341ee0a
Bug 880676 - Move the RoundToInt functions to be standalone in the gfx headers. r=BenWa
2013-06-14 16:11:31 -04:00
Kartikaya Gupta
fc81d59e50
Bug 880676 - Make the ViewTransform classes store the unscaled layer translation. r=BenWa
2013-06-14 16:11:30 -04:00
Kartikaya Gupta
f4dccbf777
Bug 880676 - Convert some things in APZC::SampleContentTransformForFrame. r=kentuckyfriedtakahe
2013-06-14 16:11:29 -04:00
Kartikaya Gupta
62bbfb2e68
Bug 880676 - Convert another gfx::Point to a ScreenPoint. r=BenWa
2013-06-14 16:11:29 -04:00
Kartikaya Gupta
fa6e557e9e
Bug 880676 - Correct the composition bounds to be in screen coordinates rather than layer coordinates. r=kentuckyfriedtakahe
2013-06-14 16:11:29 -04:00
Anthony Jones
33b41fc292
Bug 880932 - Fixed lack of response to APZC paint requests; r=BenWa
...
All paint requests get tagged with the current nsPresShellId. TabChild will
always trigger a response so APZC doesn't get left hanging.
2013-06-14 12:33:16 +12:00
Anthony Jones
0262c47fe5
Bug 880578 - Fix updating of scroll position; r=BenWa
2013-06-14 12:33:13 +12:00
Kartikaya Gupta
713f19e922
Bug 879011 - Convert AsyncPanZoomController::ScrollBy to use templated gfx classes. r=kentuckyfriedtakahe
2013-06-11 18:13:11 -04:00
Kartikaya Gupta
3bec9e603d
Bug 879011 - Convert nsIntPoint instances in InputData.h to types with units. r=kentuckyfriedtakahe
2013-06-11 18:13:11 -04:00
Kartikaya Gupta
72ed97fb7b
Bug 879011 - Turn some ints into floats to avoid rounding error. r=kentuckyfriendtakahe
2013-06-11 18:13:11 -04:00
Ryan VanderMeulen
5f5bfa8616
Merge m-c to inbound.
2013-06-11 10:41:06 -04:00
Kartikaya Gupta
dc77049db1
Bug 785929 - Kill FrameMetrics.mContentRect. r=kentuckyfriedtakahe
2013-06-11 09:46:51 -04:00
Kyle Machulis
992e1ec338
Bug 871624 - gralloc in b2g doesn't work on the Nexus S [r=bjacob r=mwu]
2013-06-05 13:42:00 -07:00
Kartikaya Gupta
cf143c6315
Bug 879004 - Add types to the remaining methods in GeckoContentController. r=kentuckyfriedtakahe
2013-06-10 09:05:44 -04:00
Kartikaya Gupta
6b80984b82
Bug 879004 - Convert the async scroll offset fields in APZC.h to CSSPoints. r=kentuckyfriedtakahe
2013-06-10 09:05:44 -04:00
Kartikaya Gupta
2e046cb0db
Bug 879004 - Cleanups for consistency; no functional changes. r=BenWa, ketuckyfriedtakahe
2013-06-10 09:05:43 -04:00
Kartikaya Gupta
39f7cc7f7b
Bug 879004 - Convert mDisplayport and mCriticalDisplayport in FrameMetrics to CSSRects. r=BenWa
2013-06-10 09:05:42 -04:00
Sotaro Ikeda
67679f943a
Bug 880268 - Handle default pixel format in BytesPerPixelForPixelFormat(). r=vlad
2013-06-07 12:05:03 -04:00
Michael Wu
e8cca668a4
Bug 880095 - ShadowLayerUtilsGralloc.cpp uses pixel formats removed on gonk-JB, r=vlad
2013-06-06 14:01:30 -04:00
Nicholas Cameron
97b2dcf59b
Bug 862952, Re-enable Composer2D after layers refactoring. r=bjacob,f=diego
...
--HG--
extra : rebase_source : eb394b6a7157b399d2e67baf695e9684835bbfcf
2013-06-06 10:14:51 +12:00
Vladimir Vukicevic
020a93e885
b=843599; use gralloc buffers for WebGL streaming on B2G; r=nical,jgilbert,jrmuizel
2013-05-27 10:12:13 -04:00
David Zbarsky
092fea3383
Bug 788549 Part 13: Sample animations on shadow layers update in testing mode r=roc
2013-06-04 20:11:56 -07:00
David Zbarsky
01bf8c6778
Bug 779395 - Add support for skew transforms to compositor-driven animations r=dbaron
2013-05-21 18:22:44 +08:00
Kartikaya Gupta
1fa7c9cb13
Bug 877728 - Convert the page rect passed to SetFirstPaintViewport to LayerIntRect. r=BenWa
2013-06-03 09:58:34 -04:00
Kartikaya Gupta
e39010ba23
Bug 877728 - Convert the scroll offset out-param to SyncViewportInfo from nsIntPoint to ScreenPoint. r=BenWa
...
Also deletes a bunch of dead code, and makes some variables local
variables instead of member variables since they are only used in
a single function and don't need to be persisted.
2013-06-03 09:53:32 -04:00
Kartikaya Gupta
46a7789a65
Bug 877728 - Convert some CSS rects passed to Java from gfx::Rect to CSSRect. r=BenWa
2013-06-03 09:52:44 -04:00
Nicholas Cameron
5862fad936
Bug 876661. Fix function hidden warnings. r=mattwoodrow
...
--HG--
extra : rebase_source : d008e636467c573723bc7de9cd0e13262d4ee9c1
2013-05-31 16:36:19 +12:00
David Zbarsky
96a9e57beb
Bug 788549 Part 10: Fix RecvGetTransform to handle scale animations correctly r=roc
2013-05-31 11:06:57 -07:00
Kartikaya Gupta
1e3b912be9
Bug 877726 - Convert FrameMetrics.mScrollOffset to be a CSSPoint. r=kentuckyfriedtakahe
2013-05-30 21:30:13 -04:00
David Zbarsky
59d3f26cc4
Bug 788549 Part 7: Make RecvGetTransform() return the untranslated transform since that is what getComputedStyle returns r=roc
2013-05-30 17:45:17 -07:00
Anthony Jones
b7c0e66763
Bug 831237 - Reduce APZC buffer churn; r=BenWa
...
Prevents the display port from getting smaller as the visible region
approaches the edges of the scrollable rect.
2013-05-28 16:17:09 +12:00
Chiajung Hung
c45c440206
Bug 875246 - Ensure that UpdateTexture DispatchImageClientUpdate only dispatches if not in the ImageBridge thread. r=kchen
...
DispatchImageClientUpdate is a helper function to dispatch IPC message, only dispatch when not in the ImageBridge thread can improve responsibility.
2013-05-30 08:10:02 -04:00
Matt Woodrow
5eae1f66f2
Bug 877034 - Initialize MemoryImage to 0 to match the behaviour of Shmem. r=nical
2013-05-30 14:44:08 +12:00
David Zbarsky
43653e7af5
Bug 788549 Part 5: Add a function to get opacity and transform property values from layers r=roc
2013-05-29 17:38:27 -07:00
David Zbarsky
3b94c9b291
Bug 788549 Part 4: Add the ability to pause and sample animations on compositors at a specified time r=roc
2013-05-27 16:47:45 -07:00
David Zbarsky
426d89524a
Backed out changeset 6c1cf4694a13 for not building on windows and android
2013-05-27 17:14:33 -07:00
David Zbarsky
47b801fa22
Bug 788549 Part 4: Add the ability to pause and sample animations on compositors at a specified time r=roc
2013-05-27 16:47:45 -07:00
Vladimir Vukicevic
99cf91d665
Backed out changeset fd25fb9e951e and 0f0c080ed1ba (bug 843599) for mac debug assertion failures on a CLOSED TREE
2013-05-27 11:45:59 -04:00
Vladimir Vukicevic
8969f99b17
b=843599; use gralloc buffers for WebGL streaming on B2G; r=nical,jgilbert,jrmuizel
2013-05-27 10:12:13 -04:00
Chris Lord
742ab29f38
Bug 870055 - Fix AsynPanZoomController continuing movement when touch point doesn't move. r=kats
2013-05-24 15:53:58 +01:00
Nicolas Silva
9b4532e327
Bug 874726 -split ShmemYCbCrImage into YCbCrImageDataSerializer and YCbCrImageDataDeserializer. r=jrmuizel
...
--HG--
rename : gfx/layers/ipc/ShmemYCbCrImage.cpp => gfx/layers/YCbCrImageDataSerializer.cpp
rename : gfx/layers/ipc/ShmemYCbCrImage.h => gfx/layers/YCbCrImageDataSerializer.h
2013-05-23 09:17:10 +02:00
Matt Woodrow
e32f79e41c
Bug 874369 - Use normal memory instead of Shmem when only sharing between processes. r=Bas
2013-05-22 15:04:12 +08:00
Matt Woodrow
153f37adaa
Backout 85d108f0b422 (bug 874369) for causing b2g reftest failures.
2013-05-22 13:18:19 +08:00
Matt Woodrow
d840fcc9ca
Bug 874369 - Use normal memory instead of Shmem when only sharing between processes. r=Bas
2013-05-22 11:36:39 +08:00
Matt Woodrow
2593e3ff92
Bug 874370 - Make ContentClientIncremental use a no-swap transaction. r=nical
2013-05-22 11:36:38 +08:00
Ed Morley
fa097e6aaa
Backed out changeset 1d056bb94292 (bug 779395) for reftest failures on Tegras
2013-05-21 14:03:43 +01:00
David Zbarsky
61aaee48f7
Fix an incorrect comment, no bug, r=me
2013-05-21 18:22:45 +08:00
David Zbarsky
f4fefe3c41
Bug 779395 - Add support for skew transforms to compositor-driven animations r=dbaron
2013-05-21 18:22:44 +08:00
Robert O'Callahan
0eaf9dc67a
Bug 868082. Allow SetIsFixedPosition to be used on layers with transforms. In CompositorParent, use the animated transform value as the base transform in CompositorParent::TransformFixedLayers when it has been set by the animation sampler. r=cwiis
...
--HG--
extra : rebase_source : 3b809428bf8740753a98defc30ad7b7d96339442
2013-05-17 00:34:24 +12:00
Matt Woodrow
125967cb7d
Bug 870211 - Add ContentClientIncremental. r=nical
2013-05-16 15:45:43 +12:00
Matt Woodrow
f0fe705373
Bug 870211 - Add new IPC messages to LayersTransaction for doing incremental updates to textures. r=Bas
2013-05-16 15:45:43 +12:00
Matt Woodrow
ced7f215ab
Bug 870211 - Expose details about possible texture upload limitations in TextureFactoryIdentifier. r=nical
2013-05-16 15:45:43 +12:00
Matt Woodrow
bf2a751e54
Bug 756601 - Send the values of mScaleToSize/mScaleMode across IPC. r=roc
2013-05-10 09:02:50 +12:00
Bas Schouten
a999d47355
Bug 830347 - Part 2: Add the code for CompositorD3D11. r=jrmuizel
2013-05-03 19:34:29 +02:00
Kyle Huey
de21211adf
Back out bug 830347.
2013-05-08 12:04:11 -07:00
Bas Schouten
745964b1cd
Bug 830347 - Part 2: Add the code for CompositorD3D11. r=jrmuizel
2013-05-03 19:34:29 +02:00
Benoit Jacob
009f164aa1
Bug 868556 - We are not using gralloc on b2g anymore - r=vladv
2013-05-03 22:57:18 -04:00
Nicolas Silva
11c6d3c7eb
Bug 860146 - Add layers.draw-borders pref to see how a page is layered. r=jrmuizel
2013-03-21 18:08:01 +01:00
Kartikaya Gupta
50eb862251
Bug 867582 - Make the Axis overscroll correction use floats for more correctness. r=ajones
2013-05-02 09:24:16 -04:00
James Willcox
ff9fc3204f
Bug 863223 - Make canvas updates asynchronous once again r=nrc
2013-05-01 19:24:27 -04:00
L. David Baron
340c09d983
Bug 929673 Patch 1: Rename mozOrigin to transformOrigin to avoid use of deprecated CSS prefixes in variable names. r=dzbarsky
2013-10-24 14:46:00 +02:00
Kartikaya Gupta
3a5f787572
Bug 867269 - Fix breakage in SyncFrameMetrics override. r=nrc
2013-05-01 10:49:27 -04:00
Matt Woodrow
b00d0c2090
Bug 865104 - Implement a BasicCompositor. r=nrc
2013-05-01 12:42:05 +12:00
Bas Schouten
b985c54147
Bug 866952: Unregister from old GrallocBufferActor when switching buffers. r=bjacob
2013-04-30 12:14:21 +02:00
Nicholas Cameron
8bca207e89
Bug 788319. Rename RenderToEGLSurface. r=kats
2013-04-30 15:16:04 +12:00
Nicholas Cameron
5e9cff53e2
Bug 861727. Refactor CompositorParent a bit. r=BenWa
...
--HG--
rename : gfx/layers/ipc/CompositorParent.cpp => gfx/layers/composite/AsyncCompositionManager.cpp
rename : gfx/layers/ipc/CompositorParent.h => gfx/layers/composite/AsyncCompositionManager.h
2013-04-28 18:46:30 +12:00
Benoit Jacob
634314d956
Bug 862324 - Let the PGrallocBufferParent inform the TextureHost when it's going away - r=nrc
2013-04-26 23:31:53 -04:00
Jeff Muizelaar
670b423305
Bug 863392 - Disconnect layer during abnormal shutdown - r=nical
2013-04-26 15:18:16 -04:00
Kartikaya Gupta
5d262f9292
Bug 839641 - Add a syncFrameMetrics code path to push viewport changes from APZC to Java. r=Cwiiis, BenWa
2013-04-26 13:26:39 -04:00
Chris Lord
cb9c55afb6
Bug 858969 - Refactor dynamic toolbar so page is offset and not overlapped. r=kats,nrc
...
Refactor the dynamic toolbar code so that the ownership of various properties
is clearer, and the page is offset by the toolbar instead of being overlapped.
This fixes problems with the scroll origin of the page not corresponding to
the visible origin on the screen.
2013-04-25 18:47:08 +01:00
Nicolas Silva
f2669ce1ed
Bug 856079 - Merge ShadowLayer and LayerComposite (keeping the later). r=nrc
2013-04-25 18:25:33 -04:00
Benjamin Chen
cc0744c9bf
Bug 862240 - Add null checking and reset the runnable member pointer when entering runnable method. r=drs
2013-04-25 03:58:10 +08:00
Ryan VanderMeulen
4b7c54d033
Backed out changeset 684a5ca2efb7 (bug 858969) for Android M3 failures.
...
CLOSED TREE
2013-04-25 10:56:54 -04:00
Nicholas Cameron
02768f4b6a
Bug 861636. Add some null checking to the ensure texture path and make EnsureTextureHost return void. r=nical
2013-04-25 02:32:43 +12:00
Chris Lord
5671b1d883
Bug 858969 - Refactor dynamic toolbar so page is offset and not overlapped. r=kats,nrc
...
Refactor the dynamic toolbar code so that the ownership of various properties
is clearer, and the page is offset by the toolbar instead of being overlapped.
This fixes problems with the scroll origin of the page not corresponding to
the visible origin on the screen.
2013-04-24 17:06:23 +01:00
Ryan VanderMeulen
ea8d3fdd0b
Backed out changeset 4b7de1f2b4a0 (bug 856079) for various test failures.
...
CLOSED TREE
2013-04-24 11:28:05 -04:00
Nicolas Silva
5be0bb6011
Bug 856079 - Merge ShadowLayer and LayerComposite (keeping the later). r=nrc
2013-04-24 15:40:26 -04:00
Nicolas Silva
a1ee3bf807
Bug 863324 - Rename PLayers into PLayerTransaction, r=jrmuizel
...
--HG--
rename : gfx/layers/ipc/ShadowLayersChild.cpp => gfx/layers/ipc/LayerTransactionChild.cpp
rename : gfx/layers/ipc/ShadowLayersChild.h => gfx/layers/ipc/LayerTransactionChild.h
rename : gfx/layers/ipc/ShadowLayersParent.cpp => gfx/layers/ipc/LayerTransactionParent.cpp
rename : gfx/layers/ipc/ShadowLayersParent.h => gfx/layers/ipc/LayerTransactionParent.h
rename : gfx/layers/ipc/PLayers.ipdl => gfx/layers/ipc/PLayerTransaction.ipdl
2013-04-24 14:42:40 -04:00
Ehsan Akhgari
93b18e529b
Backed out changeset fdaa0659fe13 (bug 863324) because of build bustage on a CLOSED TREE
...
--HG--
rename : gfx/layers/ipc/PLayerTransaction.ipdl => gfx/layers/ipc/PLayers.ipdl
rename : gfx/layers/ipc/LayerTransactionChild.cpp => gfx/layers/ipc/ShadowLayersChild.cpp
rename : gfx/layers/ipc/LayerTransactionChild.h => gfx/layers/ipc/ShadowLayersChild.h
rename : gfx/layers/ipc/LayerTransactionParent.cpp => gfx/layers/ipc/ShadowLayersParent.cpp
rename : gfx/layers/ipc/LayerTransactionParent.h => gfx/layers/ipc/ShadowLayersParent.h
2013-04-22 18:12:15 -04:00
Ehsan Akhgari
d4f13dfcf1
Backed out changeset 86959499a5b8 (bug 856079) because of build bustage
2013-04-22 17:44:12 -04:00
Nicolas Silva
3a758b73a0
Bug 856079 - Merge ShadowLayer and LayerComposite (keeping the later). r=nrc
2013-04-22 18:41:29 -04:00
Nicolas Silva
faf423d4c4
Bug 863324 - Rename PLayers into PLayerTransaction, r=jrmuizel
...
--HG--
rename : gfx/layers/ipc/ShadowLayersChild.cpp => gfx/layers/ipc/LayerTransactionChild.cpp
rename : gfx/layers/ipc/ShadowLayersChild.h => gfx/layers/ipc/LayerTransactionChild.h
rename : gfx/layers/ipc/ShadowLayersParent.cpp => gfx/layers/ipc/LayerTransactionParent.cpp
rename : gfx/layers/ipc/ShadowLayersParent.h => gfx/layers/ipc/LayerTransactionParent.h
rename : gfx/layers/ipc/PLayers.ipdl => gfx/layers/ipc/PLayerTransaction.ipdl
2013-04-22 22:51:11 -04:00
Ryan VanderMeulen
42cef9be70
Backed out changeset ddf944cc292d (bug 863324) for Android bustage on a CLOSED TREE.
...
--HG--
rename : gfx/layers/ipc/PLayerTransaction.ipdl => gfx/layers/ipc/PLayers.ipdl
rename : gfx/layers/ipc/LayerTransactionChild.cpp => gfx/layers/ipc/ShadowLayersChild.cpp
rename : gfx/layers/ipc/LayerTransactionChild.h => gfx/layers/ipc/ShadowLayersChild.h
rename : gfx/layers/ipc/LayerTransactionParent.cpp => gfx/layers/ipc/ShadowLayersParent.cpp
rename : gfx/layers/ipc/LayerTransactionParent.h => gfx/layers/ipc/ShadowLayersParent.h
2013-04-22 14:47:16 -04:00
Nicolas Silva
bb0bda95b2
Bug 863324 - Rename PLayers into PLayerTransaction, r=jrmuizel
...
--HG--
rename : gfx/layers/ipc/ShadowLayersChild.cpp => gfx/layers/ipc/LayerTransactionChild.cpp
rename : gfx/layers/ipc/ShadowLayersChild.h => gfx/layers/ipc/LayerTransactionChild.h
rename : gfx/layers/ipc/ShadowLayersParent.cpp => gfx/layers/ipc/LayerTransactionParent.cpp
rename : gfx/layers/ipc/ShadowLayersParent.h => gfx/layers/ipc/LayerTransactionParent.h
rename : gfx/layers/ipc/PLayers.ipdl => gfx/layers/ipc/PLayerTransaction.ipdl
2013-04-22 18:07:48 -04:00
Matt Woodrow
fbeb0e7f79
Bug 809273 - Add code handling dual buffers in ThebesLayerBuffer. r=roc
2013-04-22 14:40:52 +12:00
Ed Morley
cab1779932
Backed out changeset faf24511d2c6 (bug 861636) for Android mochitest-2 failures
2013-04-19 11:57:48 +01:00
Nicholas Cameron
585d4dca7f
Bug 861636. Add some null checking to the ensure texture path. r=nical
2013-04-19 19:33:02 +12:00
Kartikaya Gupta
fa611df2be
Bug 833964 - Don't keep a dangling pointer to a task that is about to get deleted. r=drs
2013-04-18 15:43:17 -04:00
Kartikaya Gupta
df9cf426fc
Bug 860613 - Add an API to bind an APZC instance to a Layer. r=BenWa
2013-04-17 17:39:13 -04:00
Kartikaya Gupta
07c6f3a6d8
Bug 860613 - Remove CompositorParent::GetDefaultPanZoomController (patch from romaxa/tatiana). r=BenWa
2013-04-17 17:39:12 -04:00
Daniel Holbert
3bec57eee8
Bug 862621: Remove unused variable 'shmType' from SharedPlanarYCbCrImage::Allocate. r=Bas
2013-04-17 10:08:39 -07:00
Nicholas Cameron
9a37c9d3fd
Bug 862106. Use Create*Client directly. r=nical
...
--HG--
extra : rebase_source : d903db2fcb68bbccff9548dfbcd215d9a25ba41c
2013-04-17 09:36:06 +12:00
Nicholas Cameron
ec2b053649
Bug 862064; use PCompositable for tiled layers and add TiledContentClient. r=nical
...
--HG--
extra : rebase_source : b0055e13b661f78bc0e7168c0df8c6082cfdb34e
2013-04-17 09:36:06 +12:00
Chris Lord
d3109edb44
Bug 856932 - Fix async scrolling of auto-positioned fixed position elements. r=nrc
...
Layers representing auto-positioned fixed position elements should not be
offset by the fixed layer margins.
2013-04-15 09:31:48 +01:00
Chris Lord
f38f1c6f87
Bug 861246 - Fix async scrolling of fixed layer margins. r=nrc
...
Make sure the fixed margins are sent over IPC to shadow layers.
--HG--
extra : rebase_source : ab26359f1ebf2ea130ee65d37249d43d1fd82aec
2013-04-13 10:41:18 +12:00
Sotaro Ikeda
330d68f9f0
Bug 860892 - IPC failure handling in CompositorChild and ShadowLayers. r=jmuizelaar
2013-04-12 16:25:04 -04:00
Nicholas Cameron
acce520504
Bug 844928, smarten up content client/host texture creation. r=nical
...
--HG--
extra : rebase_source : 2b15c0d233c45fc13b2bdfb155255e480fb3a947
2013-04-12 19:29:08 +12:00
Nicholas Cameron
fdc9d01061
Bug 844928, remove PTexture. r=nical
...
--HG--
extra : rebase_source : c6588d7381fc468068eb7e393f52afafb9586253
2013-04-12 19:28:55 +12:00
Joshua Cranmer
1c80dfa2a7
Bug 856108 - Port static analyses to clang, part 2d: use MOZ_STACK_CLASS in gfx. r=roc
2013-04-11 22:20:37 -05:00
Jeff Muizelaar
b9a50c4374
Bug 860442. Delete the gralloc buffer even when we don't have a PBufferParent. r=nical
...
We can allocate surfaces on the child and the parent so we should be able to
delete them both.
--HG--
extra : rebase_source : 6af5316f44905360d83e871a0e0f92c526fed0ec
2013-04-11 19:57:28 -04:00
Nicholas Cameron
7b3fdd386a
No bug, removed commented code, r=nical, DONTBUILD
...
--HG--
extra : rebase_source : 62b59cd127bec362a9564b2a445006c145a24e2f
2013-04-11 14:33:44 +12:00
Nicolas Silva
bae6f65df1
Bug 860463 - Ensure that we propagate Destroy() in the shadow layer tree on CompositorParent::ActorDestroy. r=nrc
2013-04-11 06:14:29 -04:00
Sotaro Ikeda
9ae548a888
Bug 851667 - Handle SendPGrallocBufferConstructor() failure. r=jmuizelaar
2013-04-11 07:48:09 -04:00