Граф коммитов

2771 Коммитов

Автор SHA1 Сообщение Дата
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
Matt Woodrow c8d82e8dcd Bug 922942 - Add a Validate() pass to BasicLayers to avoid needing to create a dummy destination context. r=roc 2013-10-15 16:23:21 +13:00
Matt Woodrow 762844a6e0 Bug 922942 - Clean up some no longer used ShadowLayers code from BasicLayers. r=roc 2013-10-15 16:23:21 +13:00
Matt Woodrow 8660947862 Bug 740598 - Add CopyRect API to Moz2D. r=Bas 2013-10-15 14:55:15 +13:00
Ehsan Akhgari f1786e2c35 Bug 928053 - Remove some prtypes.h inclusions from gfx/; rs=bsmedberg
--HG--
extra : rebase_source : 229c47dfa11d1b1d36663daf87285ccd40bcc856
2013-10-18 20:34:58 -04:00
Dale Harvey 33b0cd9459 Bug 922866 - Follow up: Fix error introduced in rebase. r=trivial 2013-10-14 18:56:04 +02:00
Nicolas Silva a36c06d0a7 Bug 919022 - Fix warning by not overloading CreateBufferTextureClient. r=nrc 2013-10-13 17:24:12 -07:00
Dale Harvey cc05a08fc0 Bug 922896 - Fire tap immediately if content is not zoomable. r=kats 2013-10-14 05:29:47 +01:00
Andreas Gal 1929e75948 Bug 923409 - Draw FPS counter with a single GL call and eliminate last use of Copy2D program (r=BenWa). 2013-10-13 09:10:13 -07:00
Nicholas Cameron e59c5a9ee9 Bug 907463. Dealloc shmem on ActorDestroy. r=nical 2013-09-27 21:48:42 +12:00
Nicholas Cameron 0a1164583f Bug 907463. Backout OP_SOURCE optimisation from bug 907926. r=mattwoodrow 2013-09-18 15:39:34 +12:00
Matt Woodrow c3b05bed48 Bug 887791 - Remove a bunch of now-unused SharedTextureHandle code. r=roc 2013-11-01 14:54:15 +13:00
Matt Woodrow ec7aaa7f24 Bug 887791 - Implement ISharedImage for MacIOSurfaceImage. r=nical 2013-11-01 14:54:14 +13:00
Matt Woodrow 19adca2566 Bug 887791 - Add a TextureHost implementation for MacIOSurface. r=nical 2013-11-01 14:54:14 +13:00
Matt Woodrow 858f960ea3 Bug 887791 - Add a TextureClient implementation for MacIOSurface. r=nical 2013-11-01 14:54:14 +13:00
Matt Woodrow feef731f13 Bug 887791 - Add MacIOSurfaceImage. r=roc 2013-11-01 14:54:14 +13:00
Markus Stange 4670e7ef81 Bug 923650 - Restore scissor rects in CompositorOGL more diligently. r=mattwoodrow
--HG--
extra : rebase_source : 5a3cccbd38b18aaa8536382ff744a871646ee786
2013-10-11 10:29:35 -04: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 507b4a388b Bug 923351. Make layers borders more visible. r=nical 2013-10-11 06:36:24 +13: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
Daniel Holbert c87cf7ee4d Bug 925142: Remove unnecessary includes from ContainerLayerD3D9.cpp and ContainerLayerD3D10.cpp. r=nical 2013-10-10 09:17:08 -07:00
Nicolas Silva 354c5a6223 Bug 923917 - Properly set the y-flip flag in SharedTextureClientOGL. r=Bas 2013-10-09 18:20:57 -07: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
Carsten "Tomcat" Book 6fb588efa7 merge b2g-inbound to mozilla-central 2013-10-09 10:13:52 +02:00
Kartikaya Gupta c7fbacefb1 Bug 924407 - Update FrameMetrics::mCompositionBounds documentation. r=botond 2013-10-08 17:13:11 -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
Nicholas Cameron cfa81cf3d7 Bug 854873. Keep scissor rect enabled. r=kats,nical 2013-10-05 01:03:09 +13: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
Ms2ger 4c35b806f8 Merge m-c to inbound. 2013-10-03 11:09:17 +02:00
Ms2ger d93050c82b Bug 912099 - Part d: Make sure CPP_SOURCES only points to existing files in gfx/layers; r=mshal 2013-10-03 09:10:01 +02: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
Masayuki Nakano 9aaf116c1c Bug 920377 part.32 Get rid of nsMouseEvent r=roc 2013-10-02 15:38:27 +09: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
Nicolas Silva fb7278e4bc Bug 916118 - Simplify the TextureClient deallocation protocol. r=nrc 2013-10-02 13:52:04 -07:00
Wes Kocher 4218f48b71 Backed out changeset ac77b26ec1ee (bug 915940) for PGO build bustage 2013-10-01 14:30:13 -07:00
Ehsan Akhgari b155782d0a Bug 921753 - Part 2: Move GraphicsFilters outside of gfxPattern.h so that we won't need to #include that header everywhere GraphicsFilter is needed; r=roc
This patch reduces the number of files that transitively #include
gfx/2d.h from 1582 to 1362.
2013-10-01 17:01:19 -04:00
Nicholas Cameron a6633f8396 Bug 915940. Memory reporter for memory image surfaces. r=njn,mattwoodrow 2013-09-24 10:59:26 +12:00
Ed Morley 169446466e Merge mozilla-central and inbound 2013-10-01 12:01:45 +01:00
Ed Morley 25e60eaf8c Merge latest green b2g-inbound changeset and mozilla-central 2013-10-01 10:56:53 +01:00
Masayuki Nakano 84078f9904 Bug 920377 part.26 Get rid of nsInputEvent r=roc 2013-10-01 16:23:02 +09: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
Ed Morley ef3d82be61 Merge mozilla-central and b2g-inbound 2013-09-30 17:20:26 +01:00
Matt Woodrow e7f55966e0 Bug 886999 - Backout c3a044164b5f for causing deadlocks (Bug 920979) 2013-09-30 14:31:50 +13: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 37cac00b5e Bug 921512 - Add a bit of documentation to layers. r=bjacob 2013-09-30 14:42:47 +02:00
Nicolas Silva 302198d77d Bug 916116 - Rename CompositableQuirks. r=bjacob 2013-09-30 14:14:38 +02:00
Ehsan Akhgari eff9a278ad Bug 924221 - Minimize the #includes in gfx/thebes; r=bjacob
--HG--
extra : rebase_source : af198eb9b9739ce718ba0d16c385624a722cde51
2013-10-07 19:15:59 -04:00
Matt Woodrow f3fe15f33a Bug 921233 - Enabled azure for main-thread drawing on OSX. r=jrmuizel 2013-09-30 12:17:35 +13: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
Ehsan Akhgari cef422f307 Forward declare gfxMatrix as a struct, no bug 2013-09-28 18:20:45 -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
Ryan VanderMeulen a0f5674202 Backed out changeset a77f7d610829 (bug 821474) for leaks.
CLOSED TREE
2013-09-27 16:12:28 -04:00
Nicolas Silva 70bd57c168 Bug 821474 - Add memory reporting for Shmem and Memory texture clients. r=BenWa 2013-09-27 20:17:15 +02:00
Ed Morley afcd2640f5 Backed out changeset e28ae87bbc03 (bug 907463) 2013-09-27 11:37:03 +01:00
Ed Morley 0e5b0cebbd Backed out changeset 08d9bbb1044f (bug 907463) 2013-09-27 11:37:00 +01:00
Nicholas Cameron 99372e1e41 Bug 907463. Dealloc shmem on ActorDestroy. r=nical 2013-09-27 21:48:42 +12:00
Nicholas Cameron f75e9a84ab Bug 907463. Backout OP_SOURCE optimisation from bug 907926. r=mattwoodrow 2013-09-18 15:39:34 +12:00
Masayuki Nakano d3aa0d67cf Bug 920377 part.13 Get rid of nsTouchEvent r=roc 2013-09-27 15:20:57 +09:00
Nicholas Cameron 80eac24ba3 No bug. Fix windows build bustage on a CLOSED TREE. r=bustage 2013-09-27 13:19:36 +12: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
Matt Woodrow 741531f1fc Bug 886999 - Avoid touching the GL context from the main thread on mac, and lock the context when touching it from other threads. r=mstange 2013-09-26 15:49:59 +12:00
Masayuki Nakano f90a5b1125 Bug 912956 part.18 Remove nsGUIEvent.h r=roc 2013-09-25 20:21:22 +09:00
Masayuki Nakano 4983de6d4c Bug 912956 part.14 mozilla/MouseEvents.h should be included directly r=roc 2013-09-25 20:21:18 +09: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
Robert O'Callahan c67503e67b Bug 920429. Fix busted boolean expression. r=mattwoodrow
--HG--
extra : rebase_source : fe144360e5f7b3399219d15cabc93c07a547c814
2013-09-25 23:11:23 +12:00
Robert O'Callahan fe273715cd Bug 914426. Don't try to dump DeprecatedTextureHost contents unless HTML tree dumping is enabled. Also, be lenient about null values and unknown formats. r=nrc
--HG--
extra : rebase_source : bc7aff0dacdea4a7c71bdb659774fd96a25fa529
2013-09-09 17:08:42 -07:00
Benoit Jacob c566455dd4 Bug 919219 - fix the b2g build - no review, bustage, CLOSED TREE 2013-09-24 18:09:20 -04:00
Jim Mathies 42bb5727c7 Bug 915213 - Add a apzc hit test helper for metrofx. r=kats 2013-09-24 16:17:26 -05:00
Jim Mathies 7dbdca5904 Bug 915213 - Add a new apzc ReceiveInput method that transforms gecko events inline. r=kats 2013-09-24 16:17:26 -05:00
Jim Mathies 4c3d3b4205 Bug 915213 - Break up apzc ReceiveInput method so the logic can be shared. r=kats 2013-09-24 16:17:26 -05: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
Benoit Jacob e5f7d1d148 Bug 919219 - Split nsMainThreadSurfaceRef out of gfxASurface.h, into ImageContainer.h - r=jrmuizel 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
Benoit Girard c6760a62f1 Bug 919712 - Add labels in IPC message wait. r=benjamin 2013-09-24 11:40:01 -04:00
Benoit Jacob 57f2bcf3fa Bug 900020 - fix compilation - no review, bustage 2013-09-24 08:21:55 -04:00
Benoit Jacob fa992cb104 Bug 900020 - Renew the surface when we hit an incomplete default framebuffer in the compositor - r=nrc 2013-09-24 07:54:07 -04: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 5488ca9bd9 No bug. Fixbuild bustage in CanvasClient.cpp. r=bustage 2013-09-24 13:59:59 +12:00
Nicholas Cameron 6b9eb7d024 Bug 912766. Funky refcounting to keep the gfxWindowsSurface alive during transport. r=mattwoodrow 2013-09-24 13:14:12 +12:00
Nicholas Cameron f9ecccbcc4 Bug 912766. Use the DIB texture client/host. r=mattwoodrow 2013-09-24 13:14:12 +12:00
Nicholas Cameron d6482934be Bug 912766. DIB texture client/host. r=mattwoodrow,jrmuizel 2013-09-24 13:14:11 +12:00