Dan Glastonbury
c31338cb36
Bug 942502 - Move EGLImage/GraphicBuffer-specific helpers out of GLContext - r=bjacob
...
Extracted methods CreateEGLImageForNativeBuffer and DestroyEGLImage from
GLContext and moved to EGLImageHelpers.[h|cpp]. Renamed to
EGLImageCreateFromNativeBuffer and EGLImageDestroy.
2013-12-10 15:47:19 +10:00
Dan Glastonbury
699b5b1669
Bug 942502 - Remove dead GLContext code - r=bjacob
2013-12-06 14:19:15 +10:00
Benoit Jacob
feae46d599
Bug 897452 - Part 15 - Introduce a AtomicRefCountedWithFinalize class to factor our custom-refcounting needs - r=nical
2013-12-11 20:45:11 -05:00
Benoit Jacob
308e353ac4
Bug 897452 - Part 14 - Implement CompositableChild::ActorDestroy clearing the back-reference to it - r=nical
2013-12-11 20:45:09 -05:00
Benoit Jacob
74487acc2d
Bug 897452 - Part 13 - Host-side cleanup: remove OnActorDestroy and DestroyTextureHost* - r=nrc
2013-12-11 20:45:07 -05:00
Benoit Jacob
81c944e909
Bug 897452 - Part 12 - remove CompositableClient::OnActorDestroy - r=nrc
2013-12-11 20:45:05 -05:00
Benoit Jacob
c9c5a7012c
Bug 897452 - Part 11 - remove TextureClient::OnActorDestroy - r=nrc
2013-12-11 20:45:03 -05:00
Benoit Jacob
e395fa1e58
Bug 897452 - Part 10 - adapt post landing of bug 893301 - r=nical,nrc
2013-12-11 20:45:01 -05:00
Benoit Jacob
2f4d3655f4
Bug 897452 - Part 9 - Check for null buffer in BufferTextureHost::Upload - r=nical
2013-12-11 20:44:59 -05:00
Benoit Jacob
4fccd4cb43
Bug 897452 - Part 8 - fix TextureParent::ActorDestroy - r=nical
2013-12-11 20:44:57 -05:00
Benoit Jacob
7f6d92ec4c
Bug 897452 - Part 7 - Implement TextureChild::ActorDestroy to notify its TextureClient - r=nical
2013-12-11 20:44:55 -05:00
Benoit Jacob
62d30b6844
Bug 897452 - Part 6 - assert that the forwarder we're initializing our TextureChild with is non null - r=nical
2013-12-11 20:44:53 -05:00
Nicolas Silva
97b38370cc
Bug 897452 - Part 5 - Fix a TextureClient gtest crash - r=BenWa
2013-12-11 20:44:51 -05:00
Nicolas Silva
b2259dbfa7
Bug 897452 - Part 4 - Make sure we release all GL resources asap when shutting down the communication channel - r=bjacob
2013-12-11 20:44:49 -05:00
Nicolas Silva
f8d884874b
Bug 897452 - Part 3 - Clean up some unused code after PTexture change - r=mattwoodrow
2013-12-11 20:44:47 -05:00
Nicolas Silva
0f1647175e
Bug 897452 - Part 2 - PTexture deallocation logic - r=sotaro,bjacob
2013-12-11 20:44:45 -05:00
Nicolas Silva
2c99be0508
Bug 897452 - Part 1 - Implement the PTexture protocol - r=mattwoodrow
2013-12-11 20:44:44 -05:00
Nicolas Silva
6372f3cc1c
Bug 897452 - Part 0.2 - Make sure the texture host has a compositor - r=mattwoodrow
2013-12-11 20:44:41 -05:00
Nicolas Silva
f94900f3dd
Bug 897452 - Part 0.1 - Make it possible for TextureClient to call virtual methods just before its destructor. r=bjacob
2013-12-11 20:44:40 -05:00
Nicholas Nethercote
bdfbbf7bcd
Bug 947798 (part 2) - Remove MemoryMultiReporter, because it's no longer helpful. r=mccr8.
...
--HG--
extra : rebase_source : f6f74de69d8c1d79d38b84b19dff5439efc41075
2013-12-07 21:39:47 -08:00
Nicholas Nethercote
0b9a804eb0
Bug 947798 (part 1) - Rename NS_MEMORY_REPORTER_MALLOC_SIZEOF_FUN as MOZ_DEFINE_MALLOC_SIZE_OF. r=mccr8.
...
--HG--
extra : rebase_source : ec09d4c31264c15befb020375bf001a1ad1df6b8
2013-12-07 21:38:32 -08:00
Jeff Muizelaar
c497846462
Bug 947847. Avoid reseting to empty rects. r=BenWa
...
pixman_region32_reset will give an error if the rectangle you pass to it is
empty. We can just check before hand if the rect is empty and in that case just
call pixman_region32_clear instead of pixman_region32_reset.
--HG--
extra : rebase_source : dbdde170f391b6e5c8808717039677b026adb701
2013-12-09 18:22:45 -05:00
Matt Woodrow
0cfc75c3ec
Bug 948221 - Part 4: Add a gfxSurfaceDrawable constructor that takes a SourceSurface. r=roc
2013-11-27 14:05:03 +13:00
Matt Woodrow
6133167fe4
Bug 948221 - Part 3: Fix a bug where a SurfacePattern created by gfxPattern didn't respect the requested filter mode. r=Bas
2013-12-12 10:05:26 +13:00
Kartikaya Gupta
7582e1a784
Bug 814435 - Prevent scrollbars from fading out while user is scrolling. r=botond
2013-12-09 22:14:55 -05:00
Kartikaya Gupta
0612b4fc6d
Bug 814435 - Apply a shadow transform to scrollbar layers to keep them in sync with async transforms. r=BenWa
2013-12-09 22:14:54 -05:00
Kartikaya Gupta
1af8763544
Bug 814435 - Annotate layers for scrollbars as such. r=tn, BenWa
2013-12-09 22:14:53 -05:00
Nicholas Cameron
a96fda05ae
Bug 945088. Use the correct device offset in gfxContext. r=mattwoodrow
2013-12-09 21:04:44 +13:00
Birunthan Mohanathas
4fc8d6dc86
Bug 798033 - Remove 'using namespace' from gfx/ headers. r=jrmuizel
2013-12-08 21:53:26 -05:00
Birunthan Mohanathas
759ab69b0a
Bug 713082 - Part 2: Rename Util.h to ArrayUtils.h. r=Waldo
...
--HG--
rename : mfbt/Util.h => mfbt/ArrayUtils.h
2013-12-08 21:52:54 -05:00
Birunthan Mohanathas
2a97f4dc0d
Bug 713082 - Part 1: Remove unnecessary Util.h includes. r=Waldo
2013-12-08 21:52:33 -05:00
Phil Ringnalda
617e2b2636
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
db15917f8c
Bug 946958 part 5. Misc tidy ups. r=mattwoodrow
2013-12-09 14:41:00 +13:00
Nicholas Cameron
ebb90c9836
Bug 946958 part 4. Tidy up interaction with widgets. r=kats
2013-12-09 14:40:59 +13:00
Nicholas Cameron
89b7990640
Bug 946958 part 3. Remove thebes callbacks. r=mattwoodrow
2013-12-09 14:40:59 +13:00
Nicholas Cameron
d8b85a8d7f
Bug 946958 part 2. Remove methods which just forward to compositor. r=mattwoodrow
2013-12-09 14:40:59 +13:00
Nicholas Cameron
feeffb08cf
Bug 946958 part 1. Remove GetWidgetSize. r=mattwoodrow
2013-12-09 14:40:59 +13:00
Nicholas Cameron
bd97008ccc
Bug 865033 part 2. Add mCompositor to CompositorParent. r=mattwoodrow
2013-12-09 14:40:58 +13:00
Nicholas Cameron
31581c859c
Bug 865033 part 1. Remove GetLayerManager from CompositorParent. r=mattwoodrow
2013-12-09 14:40:58 +13:00
Jonathan Watt
83950e2b2e
Bug 947728 part 1 - Introduce a new 'number-input' value for -moz-appearance that behaves exactly as 'textfield' does. r=roc
2013-12-08 23:23:28 +00:00
Martin Stransky
2b7ca13346
Bug 941595 - Build with system-cairo is broken. r=glandium
2013-12-10 10:37:03 -05:00
Markus Stange
ffb9ed6d76
Bug 945655 - Don't let transparent flood filter primitives contribute to the filter extents. r=roc
2013-12-10 14:50:42 +01:00
Markus Stange
95f6837928
Bug 945655 - When the arithmetic composite factors make us ignore one of the input images, don't let its size contribute to the filter extents. r=roc
2013-12-10 14:50:42 +01:00
Markus Stange
6e536f8699
Bug 945655 - Composite filters with operator IN have a result that is the intersection of the input rects, not the union. r=roc
2013-12-10 14:50:42 +01:00
Markus Stange
83a4f259a6
Bug 945655 - Improve FilterNodeSoftware debug logging. r=roc
2013-12-10 14:50:41 +01:00
Markus Stange
66065bfa75
Bug 945655 - Reduce arithmetic combine filter output rect depending on the coefficients. r=roc
2013-12-10 14:50:41 +01:00
Markus Stange
bbfebead46
Bug 945655 - Composite filters with operator IN have a result that is the intersection of the input rects, not the union. FilterNodeSoftware part. r=roc
2013-12-10 14:50:41 +01:00
Markus Stange
5582cfa361
Bug 945655 - Make transparent flood filters report an empty output rect. r=roc
2013-12-10 14:50:41 +01:00
Markus Stange
271d80d1b3
Bug 945655 - Simplify the crop FilterNodeSoftware filter. r=roc
2013-12-10 14:50:40 +01:00
Markus Stange
e6512a0aae
Bug 945655 - Don't add transparency around the filter output before sending it to DrawSurface. r=roc
2013-12-10 14:50:40 +01:00
Markus Stange
80876b8581
Bug 945655 - Make all filters deal with null inputs and empty output rects consistently: treat them as transparent. r=roc
2013-12-10 14:50:40 +01:00
Benoit Girard
c89f1d8081
Bug 904227 - Expect any number of calls to SendAsyncScrollDOMEvent. r=kats
2013-12-07 12:45:19 -05:00
Ryan VanderMeulen
f9166936cb
Backed out 17 changesets (bug 897452) for OSX crashes on a CLOSED TREE.
...
Backed out changeset 11ad8608bc27 (bug 897452)
Backed out changeset 6bcc629e76f9 (bug 897452)
Backed out changeset b91c858a43f5 (bug 897452)
Backed out changeset 38ba49ee3e97 (bug 897452)
Backed out changeset ea184ef84762 (bug 897452)
Backed out changeset 686cc5122149 (bug 897452)
Backed out changeset 3685a8018e49 (bug 897452)
Backed out changeset be7ef6240068 (bug 897452)
Backed out changeset f95c20e70947 (bug 897452)
Backed out changeset 4a370d2a1c62 (bug 897452)
Backed out changeset 1222f6ab66d2 (bug 897452)
Backed out changeset 5e9d3c681ee9 (bug 897452)
Backed out changeset 3b9ddce12b7a (bug 897452)
Backed out changeset 7aec6387f3e9 (bug 897452)
Backed out changeset eb1fe464fdaf (bug 897452)
Backed out changeset 07deaa53b6fd (bug 897452)
Backed out changeset ddab7d071d69 (bug 897452)
2013-12-11 14:52:50 -05:00
Phil Ringnalda
3a6df5c9dc
Back out b6f9dbc91dc4 (bug 947038) for Cipc crashes
2013-12-12 23:33:50 -08:00
David Anderson
5596e857e9
Ensure that the software compositor never uses deprecated textures (bug 947038, r=mattwoodrow).
2013-12-12 20:29:14 -08:00
Ryan VanderMeulen
832ea94fdc
Merge m-c to inbound.
2013-12-13 16:16:46 -05:00
Benoit Jacob
0e72ab2dd3
Bug 948406 - Append some zeros to EGL attrib lists to work around a bug in Android/B2G emulator - r=vladv
2013-12-13 15:15:07 -05:00
Chris Lord
55e846c259
Bug 936500 - Don't copy Axis when creating a FlingAnimation. r=kats
...
FlingAnimation was, likely accidentally, creating copies of the axes it was
animating and operating on those, which lead to problems when displayports
were calculated based on the original copies which housed old values.
2013-12-13 19:37:42 +00:00
Benoit Girard
ecabcc60cf
Bug 941095 - Part 2: Disable subpixelaa + component alpha. r=mattwoodrow
...
--HG--
extra : rebase_source : 7e3a0d3710fb29b47615cc0254135d3b44637ed8
2013-12-13 13:53:18 -05:00
Benoit Girard
63dbe4cee0
Bug 941095 - Part 1: Support SetPermitSubpixelAA with Quartz. r=bas
...
--HG--
extra : rebase_source : 69171a8a17a34c822b34f48babecf18ffa08bf56
2013-12-11 23:16:03 -05:00
Bill McCloskey
c4c1d8233a
Bug 948238 - Read browser.tabs.remote once at startup and never again (r=bsmedberg)
2013-12-12 14:13:20 -08:00
Benoit Jacob
07a1eb244b
Bug 897452 - Part 15 - Introduce a AtomicRefCountedWithFinalize class to factor our custom-refcounting needs - r=nical
2013-12-11 13:05:37 -05:00
Benoit Jacob
38e6536ca0
Bug 897452 - Part 14 - Implement CompositableChild::ActorDestroy clearing the back-reference to it - r=nical
2013-12-11 13:05:35 -05:00
Benoit Jacob
9164df4c7d
Bug 897452 - Part 13 - Host-side cleanup: remove OnActorDestroy and DestroyTextureHost* - r=nrc
2013-12-11 13:05:34 -05:00
Benoit Jacob
505b29e412
Bug 897452 - Part 12 - remove CompositableClient::OnActorDestroy - r=nrc
2013-12-11 13:05:32 -05:00
Benoit Jacob
ea86bd47f3
Bug 897452 - Part 11 - remove TextureClient::OnActorDestroy - r=nrc
2013-12-11 13:05:29 -05:00
Benoit Jacob
bf03c56f47
Bug 897452 - Part 10 - adapt post landing of bug 893301 - r=nical,nrc
2013-12-11 13:05:27 -05:00
Benoit Jacob
a4c5513490
Bug 897452 - Part 9 - Check for null buffer in BufferTextureHost::Upload - r=nical
2013-12-11 13:05:25 -05:00
Benoit Jacob
87e113c26b
Bug 897452 - Part 8 - fix TextureParent::ActorDestroy - r=nical
2013-12-11 13:05:23 -05:00
Benoit Jacob
52f4a53dc6
Bug 897452 - Part 7 - Implement TextureChild::ActorDestroy to notify its TextureClient - r=nical
2013-12-11 13:05:21 -05:00
Benoit Jacob
46728d2e06
Bug 897452 - Part 6 - assert that the forwarder we're initializing our TextureChild with is non null - r=nical
2013-12-11 13:05:19 -05:00
Nicolas Silva
0174584ce6
Bug 897452 - Part 5 - Fix a TextureClient gtest crash - r=BenWa
2013-12-11 13:05:17 -05:00
Nicolas Silva
436eecd578
Bug 897452 - Part 4 - Make sure we release all GL resources asap when shutting down the communication channel - r=bjacob
2013-12-11 13:05:15 -05:00
Nicolas Silva
82e5ac3f48
Bug 897452 - Part 3 - Clean up some unused code after PTexture change - r=mattwoodrow
2013-12-11 13:05:13 -05:00
Nicolas Silva
5a8009c28f
Bug 897452 - Part 2 - PTexture deallocation logic - r=sotaro,bjacob
2013-12-11 13:05:11 -05:00
Nicolas Silva
7924a5e832
Bug 897452 - Part 1 - Implement the PTexture protocol - r=mattwoodrow
2013-12-11 13:05:09 -05:00
Nicolas Silva
7cc0a23243
Bug 897452 - Part 0.2 - Make sure the texture host has a compositor - r=mattwoodrow
2013-12-11 13:05:07 -05:00
Nicolas Silva
4f1be1a2e8
Bug 897452 - Part 0.1 - Make it possible for TextureClient to call virtual methods just before its destructor. r=bjacob
2013-12-11 13:05:05 -05:00
Nicolas Silva
d49d2e5193
Bug 948955 - AddMaskEffect handles locking failure. r=bjacob
2013-12-11 18:32:41 +01:00
Vivien Nicolas
3df93cb033
Bug 946999 - [Homescreen] With APZ turned on the homescreen is not rendered until you touch the screen in certain conditions. r=kats
2013-12-12 11:41:47 +01:00
Wes Kocher
8f849d9d65
Backed out 6 changesets (bug 877115) for mochitest-1 and reftest orange on this CLOSED TREE
...
Backed out changeset 65ad9d8860d6 (bug 877115)
Backed out changeset bf8095c168fb (bug 877115)
Backed out changeset 290ad5863615 (bug 877115)
Backed out changeset 4488ec28910e (bug 877115)
Backed out changeset 45f8859c6fd6 (bug 877115)
Backed out changeset 111cc426fa9e (bug 877115)
2013-12-16 16:33:07 -08:00
Andreas Pehrson
02c94cf332
Bug 877115 - [Moz2Dify] Part 6. Moz2Dify SharedSurface_EGLImage::GetPixels. r=nical
2013-12-16 15:50:53 -05:00
Andreas Pehrson
ffb194632e
Bug 877115 - [Moz2Dify] Part 5. Minimize gfxIntSize usage in GLContext. r=nical
2013-12-10 17:12:42 +01:00
Andreas Pehrson
93a0fb835c
Bug 877115 - [Moz2Dify] Part 4. Change gfxIntSize to gfx::IntSize in GLScreenBuffer and friends. (carries r=nical)
2013-12-10 17:12:18 +01:00
Andreas Pehrson
9c37200b9a
Bug 877115 - [Moz2Dify] Part 3. Change gfxIntSize to gfx::IntSize in GLContext::OffscreenSize and dependendent classes. r=nical
2013-12-10 17:11:58 +01:00
Andreas Pehrson
38010d4e7c
Bug 877115 - [Moz2Dify] Part 2. Moz2Dify GLContext::ResizeOffscreen signature. (carries r=nical)
2013-12-10 17:11:11 +01:00
Andreas Pehrson
c23b8e94f5
Bug 877115 - [Moz2Dify] Part 1. Remove ImageFormat typedef from GLContext. (r=nical)
2013-12-10 17:10:41 +01:00
Ryan VanderMeulen
5240acab16
Merge m-c to inbound.
2013-12-16 16:59:33 -05:00
Jeff Muizelaar
4ea3cbe8c9
Bug 948128. Add StackArray helper. r=Bas
...
This is helpful for when we want to convert between
different types and we need a short lived piece of memory.
--HG--
extra : rebase_source : b841a535cb1ddd837df4b34949bd34054c438c67
2013-12-09 17:07:13 -05:00
Geoff Brown
4437beef7c
Bug 936226 - (4) Adjust crashtest manifest for Android x86; r=dminor
2013-12-06 16:02:48 -07:00
Trevor Saunders
907dfc4528
bug 949821 - use MOZ_UTF16 more and NS_LITERAL_STRING less r=froydnj
2013-12-12 20:50:01 -05:00
Chris Peterson
62250d86bc
Bug 949360 - Check for Image AllocateBuffer() failures. r=nical
...
Relanded on a CLOSED TREE
2013-12-10 22:58:51 -08:00
Ehsan Akhgari
6efed042db
Backed out changeset 6d9cf51a012a (bug 949360) because of mochitest-3 timeouts on a CLOSED TREE
2013-12-12 11:26:24 -05:00
Chris Peterson
c40f4c705a
Bug 949360 - Check for Image AllocateBuffer() failures. r=nical
2013-12-10 22:58:51 -08:00
Robert O'Callahan
c19c09f778
Bug 945634. The fixed-pos anchor point should be in the layer's coordinate system, whose 0,0 is the top-left of the fixed-pos frame. r=mattwoodrow
2013-12-13 01:33:02 +13:00
Ryan VanderMeulen
ae7c01efb4
Merge m-c to inbound.
2013-12-06 16:13:37 -05:00
Ryan VanderMeulen
1d91fde607
Merge b2g-inbound to m-c.
2013-12-06 15:56:46 -05:00
David Keeler
991e77275b
bug 946791 - remove unused GLContextGLX::mLibType (leaving GLXLibrary::mLibType alone) r=bjacob
2013-12-06 11:59:26 -08:00
Vivien Nicolas
c58a36a291
Bug 946955 - Set the default friction of Axis.cpp to 0.002. r=kats
2013-12-06 18:51:10 +01:00
Dan Glastonbury
7fdecb4012
Bug 945023 - Extract CreateTextureXXX and CreateRenderbufferXXX from GLContext. r=bjacob
2013-12-06 10:36:13 -05:00
Nicolas Silva
8ff5233dae
Bug 943392 - Let MemoryTextureClient use a fallible allocation. r=BenWa
2013-12-06 16:30:50 +01:00
Dan Glastonbury
e794173f4c
Bug 942507 - GLContext doesn't need to have userdata. r=bjacob
2013-12-06 10:23:16 -05:00
Chris Lord
36be5576b3
Bug 943846 - Make APZC's generated display port contain the composition bounds. r=kats
...
A bug in layout means that setting a displayport on an element that doesn't
contain its scroll frame may cause the display item to be optimised away
(bug 936500).
2013-12-06 13:15:58 +00:00
Carsten "Tomcat" Book
98f8ce0778
Merge m-c to mozilla-inbound
2013-12-06 07:38:31 +01:00
John Daggett
9e57c63a3a
Bug 947025 - Limit the time spent in RunLoader to avoid chrome hang. r=roc
2013-12-06 12:47:46 +09:00
Anthony Jones
582919bf02
Bug 839911 - Separate animation out from layer code; r=kats
2013-12-06 16:21:39 +13:00
Benoit Girard
388fd461c3
Bug 940706 - Fix gesture detection transformation with APZC. r=kats,botond
2013-12-05 18:17:37 -05:00
Ryan VanderMeulen
f006eb0ddb
Merge m-c to inbound.
2013-12-05 17:56:44 -05:00
Ryan VanderMeulen
b2f54fc850
Merge b2g-inbound to m-c.
2013-12-05 17:53:41 -05:00
Ryan VanderMeulen
ad71ecfc91
Merge inbound to m-c.
2013-12-05 17:29:03 -05:00
Carsten "Tomcat" Book
94c2c4b9cf
merge b2g-inbound to m-c
2013-12-05 12:57:24 +01:00
Andreas Gal
e6549702a5
Bug 946541 - Fix Skia cache purging. r=gw280
2013-12-04 23:52:03 -05:00
Nicholas Nethercote
803d8a5bcc
Bug 943660 (part 2) - Remove remnants of Remove nsIMemoryReporter::name.
...
--HG--
extra : rebase_source : 900bd1c641b26623cccf14d952b5387223b489eb
2013-12-03 20:01:24 -08:00
Ryan VanderMeulen
d72c6b7d7e
Backed out changeset 8b33af450fc6 (bug 945632) for OSX asserts.
...
CLOSED TREE
2013-12-04 22:03:29 -05:00
Jim Chen
456545fdc7
Bug 940737 - Monitor Compositor thread hangs using BackgroundHangMonitor; r=bsmedberg r=BenWa
2013-12-04 21:24:28 -05:00
Ryan VanderMeulen
fee893bac3
Backed out changeset 9d673e562fa6 (bug 945023) for OSX bustage.
2013-12-04 20:42:55 -05:00
Botond Ballo
8614da3080
Bug 942754 - Propagate zoom constraints from parent to child APZCs. r=kats
...
--HG--
extra : rebase_source : 92c3dcac3db2cd457d650ec08abfbab03c9517ce
2013-12-02 18:01:19 -05:00
Benoit Girard
fd07b9c161
Bug 904227 - Disable gfxWordCacheTest.cpp to see if it helps with gtest crashes. r=bjacob
2013-12-05 11:36:04 -05:00
Vivien Nicolas
8f4d132bf3
Bug 938312 - Wrong orientation when starting browser in landscape mode. r=kats
2013-12-05 16:15:39 +01:00
Sotaro Ikeda
2dc517fbca
Bug 944420 - Create TextureHostOGL when Compositor is not present on gonk. r=nical
...
--HG--
extra : rebase_source : 289bb433a863d22c16ad8aacb727f2f52f7a81f3
2013-12-04 17:46:03 -05:00
Mike Hommey
31150400fd
Bug 946579 - Fix non-unified build in gfx/gl after bug 942505. r=bjacob
2013-12-06 08:45:29 +09:00
Kyle Huey
ce237a40df
Bug 910878 - Remove gl.blit-draw-not-copy preference. r=gal
2013-12-05 09:37:37 -05:00
Nicholas Cameron
a7d0b9b31c
Bug 945632. Assert we don't leak on the host side. r=nical
2013-12-05 14:21:15 +13:00
Dan Glastonbury
782b9f8480
Bug 945023 - Extract CreateTextureXXX and friends from GLContext. r=bjacob
2013-12-04 15:41:22 +10:00
Morris
19a48551b0
Bug 938528 - Check if data in the layer is still valid. r=gw280, r=snorp
2013-12-04 17:46:20 -05:00
Ryan VanderMeulen
2ec48f94e7
Merge inbound to m-c on a CLOSED TREE.
2013-12-04 17:35:44 -05:00
Benoit Jacob
a08afe9077
Back out bug 893301 for accidentally disabling gralloc for thebes layers on B2G - no review, bustage fix on a CLOSED TREE
2013-12-04 12:19:50 -05:00
Jacek Caban
9dcf4d0cbd
Bug 848491 - Fixed cross compilation with mingw.
2013-12-04 13:25:41 +01:00
Jonathan Kew
6f34dffe1b
bug 941470 - update harfbuzz to latest upstream commit (205bf834...), to pick up plan-caching for user features and misc fixes. r=jdaggett
2013-12-04 07:07:44 +00:00
Nicholas Cameron
9a21440632
Bug 946031. Fix a warning in DeprecatedContentClientSingleBuffered::SyncFrontBufferToBackBuffer. r=mattwoodrow
2013-12-04 17:33:16 +13:00
David Anderson
86f4f5d832
Support MacIOSurface textures in the basic compositor (bug 942358, r=mattwoodrow).
2013-12-03 16:20:04 -08:00
Andreas Pehrson
6f58615918
Bug 944679 - Do not return nullptr in DeprecatedTextureHostBasic::GetAsSurface. r=nical
2013-11-29 13:39:52 +01:00
Nicholas Cameron
b63cc40f42
Bug 893301. Don't use new textures content on b2g. r=bjacob,nical
2013-12-06 07:39:22 +13:00
Nicholas Cameron
91014467fd
Bug 893301. Rollup patch - new textures content. r=nical,nrc
2013-12-06 07:39:22 +13:00
Nicholas Cameron
56d52732da
No bug. Remove an erroneous comment. r=me. DONTBUILD
2013-12-04 12:28:36 +13:00
Benoit Girard
341b0576d4
Bug 944866 - Bustage Intermittent failure. r=bustage on a CLOSED TREE
2013-12-03 15:04:47 -05:00
Benoit Girard
59595b7d0e
Bug 944866 - Bustage fix for gfx::pint. r=bustage on a CLOSED TREE
2013-12-03 14:07:26 -05:00
Benoit Jacob
5222a33e5b
Bug 942499 - Part 3: Move CanReadSRGBFromFBOTexture out of GLContext - r=gal,jgilbert
2013-12-03 13:44:38 -05:00
Benoit Jacob
b253073c22
Bug 942499 - Part 2: Move CanUploadNonPowerOfTwo out of GLContext; remove the gfx.textures.poweroftwo.force-enabled preference - r=gal,BenWa
2013-12-03 13:44:38 -05:00
Benoit Jacob
1dea809c09
Bug 942499 - Part 1: Move CanUploadSubTextures and WantsSmallTiles out of GLContext - r=BenWa
2013-12-03 13:44:38 -05:00
Benoit Jacob
b21184fe54
Bug 942500 - Move GLContext::TexImage2D and friends out of GLContext - r=jgilbert
2013-12-03 13:44:38 -05:00
Benoit Jacob
aeba86a7b1
Bug 942509 - Move Upload* functions to new GLUploadHelpers files - r=gal,jgilbert
2013-12-03 13:44:38 -05:00
Benoit Jacob
ccea62e706
Bug 942501 - Part 3: move CreateTextureImage and TileGenFunc out of GLContext - r=BenWa
2013-12-03 13:44:38 -05:00
Benoit Jacob
e5428485e0
Bug 942501 - Part 2: move TextureImageCGL to separate files - r=BenWa
2013-12-03 13:44:38 -05:00
Benoit Jacob
38f49f84a9
Bug 942501 - Part 1: remove some dead code around TextureImage functions - r=BenWa
2013-12-03 13:44:38 -05:00
Benoit Jacob
c8701f007b
Bug 944703 - Part 8: make ShmemTextureClient hold a strong reference to its ISurfaceAllocator - r=nical
2013-12-03 13:44:38 -05:00
Benoit Jacob
2846ebe4db
Bug 944703 - Part 7: make DeprecatedSharedRGBImage hold a strong reference to its ISurfaceAllocator - r=nical
2013-12-03 13:44:38 -05:00
Benoit Jacob
40b5ca0bf5
Bug 944703 - Part 6: make DeprecatedSharedPlanarYCbCrImage hold a strong reference to its ISurfaceAllocator - r=nical
2013-12-03 13:44:38 -05:00
Benoit Jacob
42131b06dc
Bug 944703 - Part 5: make AllocShmemParams hold a strong reference to its ISurfaceAllocator - r=nical
2013-12-03 13:44:38 -05:00
Benoit Jacob
aab9c0f7a9
Bug 944703 - Part 4: make ContentHost hold a strong reference to its ISurfaceAllocator - r=nical
2013-12-03 13:44:38 -05:00
Benoit Jacob
487aee246b
Bug 944703 - Part 3: make TextureHost hold a strong reference to its ISurfaceAllocator - r=nical
2013-12-03 13:44:38 -05:00
Benoit Jacob
521560ae0f
Bug 944703 - Part 2: make gfxReusableSharedImageSurfaceWrapper hold a strong reference to its ISurfaceAllocator - r=BenWa
2013-12-03 13:44:38 -05:00
Benoit Jacob
51b9f31c46
Bug 944703 - Part 1: make SurfaceCaps hold a strong reference to its ISurfaceAllocator - r=jgilbert
2013-12-03 13:44:38 -05:00
Benoit Jacob
f197bdfbfe
Bug 942505 - Move everything SharedHandle-related out of GLContext - r=jgilbert
2013-12-03 13:44:38 -05:00
Benoit Girard
b0230895bb
Bug 944866 - Part 2: Add layers.scroll-graph. r=gal
...
--HG--
extra : rebase_source : b517f110b09056b3037f9bfae609ff14e6af3859
2013-12-03 10:49:46 -05:00
Stephen Pohl
acd47107c8
Bug 934811 - Ensure that no scrollbars are displayed for touch input. r=jimm,tn
2013-12-03 13:21:09 -05:00
Benoit Girard
b21fdbc0d6
Bug 904227 - Ignore gmock warnings from MockContentController. r=kats
2013-11-18 20:54:22 -05:00
Ehsan Akhgari
5ee5d30ac3
Bug 945588 - Add include guards to SkConfig8888.h
2013-12-03 11:09:56 -05:00
Kevin Simons
c8d26f9326
Bug 945314 - Workaround crash with Cairo surfaces in Skia backend. r=mstange
...
A patch for bug 924102 introduced a MOZ_CRASH assertion for surfaces
of type other than SURFACE_SKIA or SURFACE_DATA being passed to
DrawSurface. Previously surfaces of other types were simply ignored.
On Linux, there are still several hardcoded surfaces of type Cairo
(found in gfxXlibNativeRenderer and friends) and as a result, the
Skia backend crashes always on Linux currently.
This workaround ignores Cairo surfaces passed to DrawSurface.
2013-12-03 08:52:06 -05:00
Dan Glastonbury
8fcf8f2e03
Bug 921215 - Handle being passed NULL ptr for either surface or gl to SharedSurface_IOSurface::Create by returning NULL. r=mattwoodrow
2013-12-03 13:11:27 +10:00
Nicolas Silva
16948fa98a
Bug 929506 - fix context bug in BasicTextureImage. r=bjacob
2013-12-03 11:44:49 +01:00
Nicolas Silva
aec70a903e
Bug 929506 - Check that gl->MakeCurrent returns true when using OpenGL on the Compositor side. r=bjacob
2013-12-03 11:44:46 +01:00
Nicolas Silva
095eb9bbc7
Bug 929506 - Check that the GLContext is not destroyed in MakeCurrent. r=bjacob
2013-12-03 11:44:37 +01:00
Nicholas Cameron
fb1e90c4bd
Bug 893301. Some rebasing fixes. r=nical
2013-11-28 10:16:35 +13:00
Nicholas Cameron
62fede7c92
Bug 893301. Remove AccessMode use in ContentClient. r=nical
2013-11-28 10:16:35 +13:00
Nicolas Silva
975b86e508
Bug 893301. Fix alpha corruptions. r=nrc
2013-11-08 18:53:16 +01:00
Nicholas Cameron
a50ae237a1
Bug 893301. Rename BufferProviders. r=mattwoodrow
2013-11-28 10:16:35 +13:00
Nicholas Cameron
974cd956fd
Bug 893301. Renaming and indentation fixes. r=nical
2013-11-28 10:16:35 +13:00
Nicholas Cameron
1a6c71ed69
Bug 893301. Tweeks to TextureHost. r=nical
2013-11-28 10:16:34 +13:00
Nicholas Cameron
d9b5aecd4e
Bug 893301. Reviewer changes. r=nical
2013-11-28 10:16:34 +13:00
Nicholas Cameron
0eb6974cda
Bug 893301. Content hosts. r=nical
2013-11-28 10:16:34 +13:00
Nicholas Cameron
935f34f2c1
Bug 893301. Content clients. r=nical
2013-11-28 10:16:34 +13:00
Nicholas Cameron
ea3911e01c
Bug 893301. Changes to texture clients. r=nical
2013-11-28 10:16:34 +13:00
Nicholas Cameron
66d79fc49e
Bug 893301. Add a path to RotatedContentBuffer for new textures. r=mattwoodrow
2013-11-28 10:16:33 +13:00
Nicholas Cameron
7a01b19a9b
Bug 893301. Rename GetTextureHost to GetAsTextureHost. r=nical
2013-11-28 10:16:33 +13:00
Ehsan Akhgari
44f80d0787
Bug 945509 - Include 2D.h in gfxFont.h because it uses ScaledFont; r=glandium
2013-12-02 18:53:14 -05:00
Ryan VanderMeulen
e57afbe1f2
Merge m-c to inbound.
2013-12-02 16:58:15 -05:00
Ryan VanderMeulen
9e82f773a2
Merge inbound to m-c.
2013-12-02 16:39:00 -05:00
Mike Hommey
bf60896454
Bug 943728 - Replace double quotes with single quotes in Makefiles (or remove them when it makes sense). r=mshal
2013-12-03 06:34:21 +09:00
Edwin Flores
499b236543
Bug 934412 - Add header offset in SharedRGBImage::GetBuffer r=nical
2013-12-03 10:25:27 +13:00
Benoit Girard
e4183dfbd6
Bug 944866 - Pat 1: Add DrawLines to Compositor.h and implement for OGL. r=gal
2013-12-01 15:54:46 -05:00
Botond Ballo
cc2d1d28c8
Bug 944521 - Scroll-grabbing elements shouldn't grab tap gestures. r=Cwiiis
2013-11-29 16:40:21 -05:00
Kevin Simons
685f495c6f
Bug 944412 - Fix an issue with the stride in SourceSurfaceSkia::InitFromData. r=gal
...
After calling SkBitmap::copyTo, the InitFromData method assumed
that the stride of the destination SkBitmap was now the same as the
stride of the source bitmap. This was, however, not the case. Now
the stride is read back out of the destination bitmap.
This was causing a crash due to memory corruption for FORMAT_B8G8R8X8
surfaces.
2013-12-02 11:03:13 -05:00
Dan Glastonbury
1d20a3aa09
Bug 830881 - Port layerscope GL changes to new layers. r=vlad
2013-11-29 14:11:49 +10:00
Dan Glastonbury
90aac9e9c4
Bug 830881 - Wrap debug functions in MOZ_ENABLE_GL_TRACKING define. r=vlad
2013-11-29 14:16:40 +10:00
Robert O'Callahan
8cdc635912
Bug 942672. When a gfxContext has a DrawTarget there's an extra device transform that we need to take account of here. r=mattwoodrow
...
--HG--
extra : rebase_source : 0b4c182ea6b1934b3136623539e4b8482de1481f
2013-12-02 10:10:50 +13:00
Benoit Jacob
fdc0726361
Bug 944571 - Fix the non-unified build of gfxBlur.cpp - no review, trivial compilation fix
2013-11-30 21:21:03 -05:00
Mike Hommey
19da4ce8f2
Bug 944830 - Fix non-unified build in gfx after bug 942492, bug 943293 and bug 944172. r=bjacob
2013-12-01 07:20:57 +09:00
Mats Palmgren
02a8a7b105
Bug 943448 - Remove useless warnings about nscoord overflow in clamping functions. r=roc
2013-11-30 21:45:20 +00:00
Chris Peterson
fd2b11af1f
Bug 944257 - Fix warning by removing unused ContentClientBasic member variable mManager. r=gal
2013-11-27 19:19:56 -08:00
Matt Woodrow
527be3cbdd
Bug 944571 - Part 1: Convert gfxAlphaBoxBlur to use Moz2D surfaces instead of Thebes. r=Bas
2013-10-02 17:20:47 +13:00
Benoit Jacob
741ffb414e
Bug 942492 - Add a missing #include to a header that really needs it - no review, trivial compilation fix
2013-11-29 11:31:46 -05:00
Ms2ger
a129edb4cb
Merge mozilla-inbound to mozilla-central.
2013-11-29 09:54:12 +01:00
Ms2ger
0830a3df32
Bug 937258 - Part b: Remove gfx/tests/gtest/Makefile.in; r=gps
...
CXXFLAGS is only taken into account when set *after* the rules.mk inclusion,
so it is useless here.
2013-11-28 15:25:41 +01:00
Ms2ger
a88cf8354a
Bug 937224 - Part a: Move LOCAL_INCLUDES to moz.build in gfx/; r=mshal
2013-11-28 15:10:38 +01:00
Ms2ger
d0fc57fd83
Bug 939271 - Part g: move mochitests to manifests in gfx/tests; r=roc
2013-11-28 15:03:17 +01:00
Mike Hommey
9245936f8b
Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal
2013-11-27 22:55:07 +09:00
Dan Glastonbury
0cc0720b2e
Bug 942492 - Move ScopedGL* RAII helpers out of GLContext.* - r=bjacob
2013-11-26 13:25:25 +10:00
Benoit Jacob
fad9e41e04
Bug 942503 - Move BlitTextureImage out of GLContext - r=jgilbert
2013-11-28 15:57:19 -05:00
Benoit Jacob
d656998a18
Bug 942503 - Move Blit* functions out of GLContext, except for BlitTextureImage - r=jgilbert
2013-11-28 15:57:19 -05:00
Benoit Jacob
7fd983a4b5
Bug 944172 - Move DecomposeIntoNoRepeatTriangles out of GLContext - r=BenWa
2013-11-28 15:57:19 -05:00
Ehsan Akhgari
6265857bfe
Bug 943983 - Build gfx/tests/gtest in unified mode; r=BenWa
2013-11-28 14:10:33 -05:00
Mike Hommey
2b828323f2
Backout changeset 3fd4b546eed4 (bug 874266) and changeset a35d2e3a872f (bug 942043) for ASAN build bustage and Windows test bustage
...
--HG--
extra : amend_source : f20d09aeff1c8b5cbd0f1d24c7ce04e86f3aed1d
2013-11-28 14:24:05 +09:00
Markus Stange
8d0cd3b135
Bug 944383 - Pass around SourceSurfaces instead of gfxASurfaces for feImage input images. r=jwatt
2013-11-28 15:38:43 +01:00
Ehsan Akhgari
d23b277586
Bug 944209 - Build gfx/src in unified mode; r=BenWa
2013-11-27 21:11:07 -05:00
Andreas Pehrson
801b8841c8
Bug 907292 - Change gfxImageSurface to gfx::DataSourceSurface in TextureHost et al
2013-11-27 10:59:01 +01:00
Andreas Pehrson
02706dbc0a
Bug 943293 - Add ReadBackSurface helper in GLContextUtils
2013-11-27 15:04:33 +01:00
Andreas Pehrson
a23a0b64b6
Bug 943293 - Add CopyTo in gfxImageSurface to copy to a DataSourceSurface
2013-11-27 11:03:36 +01:00
Mike Hommey
fc98abb416
Bug 942043 - Straighten up zlib linkage wrt shared js and system zlib. r=gps,r=ted
2013-11-22 23:03:21 +09:00
Nicholas Nethercote
77419f6a47
Bug 936964 (part 7, attempt 2) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz.
...
* * *
Bug 936964 (part 7b) - Fix a use-after-free found by ASan.
--HG--
extra : rebase_source : d38ab6b63e9d576773baf8e55fa4f7182c33915e
2013-11-07 16:35:30 +11:00
Mike Hommey
d210f8ff00
Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal
2013-11-28 13:08:16 +09:00
Mike Hommey
1b90f90106
Bug 942043 - Straighten up zlib linkage wrt shared js and system zlib. r=gps,r=ted
2013-11-28 12:49:43 +09:00
Ehsan Akhgari
c3970a73fb
Backed out 9 changesets (bug 943660, bug 936964) because of ASAN use-after-free crashes on browser-chrome and mochitest-other
...
Backed out changeset 85486c4aa3d8 (bug 936964)
Backed out changeset 25312eb71998 (bug 936964)
Backed out changeset 6dbb8333960c (bug 936964)
Backed out changeset da6465ad476f (bug 936964)
Backed out changeset a87ffc992f38 (bug 936964)
Backed out changeset 4ae3a61182db (bug 936964)
Backed out changeset 34e9c3137804 (bug 936964)
Backed out changeset fd1459e71585 (bug 936964)
Backed out changeset 3e8a701d8bdc (bug 943660)
Landed on a CLOSED TREE
--HG--
rename : content/canvas/src/WebGLMemoryTracker.h => content/canvas/src/WebGLMemoryReporterWrapper.h
2013-11-27 20:05:00 -05:00
Nicholas Cameron
1bcc68168a
merge backout
2013-11-28 12:32:24 +13:00
Nicholas Cameron
219e9da952
Backout bug 893301 for b2g bustage r=me
2013-11-28 12:31:31 +13:00
Nicholas Cameron
22bfe7130d
Bug 893301. Some rebasing fixes. r=nical
2013-11-28 10:16:35 +13:00
Nicholas Cameron
ca64c4c883
Bug 893301. Remove AccessMode use in ContentClient. r=nical
2013-11-28 10:16:35 +13:00
Nicholas Cameron
4d7d27aa4c
Bug 893301. Rename BufferProviders. r=mattwoodrow
2013-11-28 10:16:35 +13:00
Nicholas Cameron
16c6b58eb5
Bug 893301. Renaming and indentation fixes. r=nical
2013-11-28 10:16:35 +13:00
Nicholas Cameron
1dc4b3068e
Bug 893301. Tweeks to TextureHost. r=nical
2013-11-28 10:16:34 +13:00
Nicholas Cameron
8805ee0f2a
Bug 893301. Reviewer changes. r=nical
2013-11-28 10:16:34 +13:00
Nicholas Cameron
c6c0992ff8
Bug 893301. Content hosts. r=nical
2013-11-28 10:16:34 +13:00
Nicholas Cameron
0c1a756507
Bug 893301. Content clients. r=nical
2013-11-28 10:16:34 +13:00
Nicholas Cameron
cf077d310e
Bug 893301. Changes to texture clients. r=nical
2013-11-28 10:16:34 +13:00
Nicholas Cameron
57c33f768f
Bug 893301. Add a path to RotatedContentBuffer for new textures. r=mattwoodrow
2013-11-28 10:16:33 +13:00
Nicholas Cameron
fca47643ea
Bug 893301. Rename GetTextureHost to GetAsTextureHost. r=nical
2013-11-28 10:16:33 +13:00
Nicholas Nethercote
78e4d6490d
Bug 936964 (part 7) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz.
...
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryTracker.h
extra : rebase_source : 611e8d35907959b163aeced1c4ffe1d265048fe6
2013-11-07 16:35:30 +11:00
Anthony Jones
a6c5fd96ab
Bug 888084 - Use RollingMean to calculate mean; r=BenWa
2013-09-25 12:13:33 +12:00
Chris Lord
62fe777b60
Bug 931823 - Fix calculation of tiled update data and convert to typed units. r=kats,botond
...
Various changes to FrameMetrics and such have causes the tile coherency checks
to end up with nonsense values, meaning updates are always happening a tile at
a time.
This fixes the calculation of those values, adds some documentation and
converts a large part of it to using typed units, to make it easier to
understand what's happening.
2013-11-27 17:33:27 +00:00
Benoit Jacob
5f4cdeaa93
Bug 933082 - Part 4: let ClientLayerManager hold a ShadowLayerForwarder instead of inheriting from ShadowLayerForwarder. Make ISurfaceAllocator refcounted. Make SharedSurface_Gralloc keep its mAllocator alive - r=nical
2013-11-27 10:19:34 -05:00
Benoit Jacob
f5c4a871c3
Bug 933082 - Part 3: let ShadowLayerForwarder hold a strong ref to its LayerTransactionChild - r=nical
2013-11-27 10:18:38 -05:00
Benoit Jacob
aca470946c
Bug 933082 - Part 2: propagate the mIPCOpen flag, avoid crashing in DestroySharedSurface on a dead channel - r=nical
2013-11-27 10:18:38 -05:00
Benoit Jacob
fe8d9d9b24
Bug 933082 - Part 1: make LayerTransactionChild reference-counted - r=nical
2013-11-27 10:18:38 -05:00
Brad Lassey
f30a2db1ea
Bug 915673 - Only use tiled layers for scrollable layers on b2g. r=tn,bgirard
...
Introduce a constructor for thebes layers that can take a hint about what the
layer will be used for, and use that hint to only create tiled layers when
the layer represents scrollable content.
2013-09-17 13:55:09 -04:00
Chris Lord
cd2dacabe9
Bug 907743 - Align display port to tile boundaries when tiles are enabled. r=botond,kats
...
This aligns display ports to tile boundaries, taking care to compensate for
the difference between the requested scroll position and the actual scroll
position.
2013-09-10 18:21:04 -04:00
Ehsan Akhgari
02adcaf06e
Bug 939585 - Build gfx/thebes in unified mode; r=BenWa
2013-11-27 08:03:04 -05:00
Markus Stange
f0c633ccf9
Bug 924103 - Add a FilterDescription data structure and code that can create FilterNodes from it. r=roc
2013-11-27 12:25:28 +01:00
Bas Schouten
88c097d283
Bug 924102 - Add support for filters to DrawTargetRecording. r=mstange
2013-11-27 12:25:28 +01:00
Bas Schouten
1eada597e4
Bug 924102 - Use FilterNodeSoftware for filter drawing in DrawTargetSkia. r=mstange
2013-11-27 12:25:28 +01:00
Bas Schouten
a6010e3f33
Bug 924102 - Make DrawTargetSkia::DrawSurface support non-Skia DataSourceSurfaces. r=mstange
2013-11-27 12:25:27 +01:00
Markus Stange
217a24a67f
Bug 924102 - Add transform filter and remove offset filter. r=Bas
2013-11-27 12:25:27 +01:00
Markus Stange
f96cfc66b0
Bug 924102 - Add a FilterNode implementation that uses Direct2D 1.1 effects. Most of this patch was written by Bas. r=mstange, r=Bas
2013-11-27 12:25:16 +01:00
Markus Stange
3b8525bea8
Bug 924102 - Implement DrawTarget filter APIs with FilterNodeSoftware for Cairo, CG, D2D, D2D1 and Dual. r=Bas
2013-11-27 12:22:56 +01:00
Markus Stange
33b335d52c
Bug 924102 - Add a software FilterNode implementation. r=Bas
2013-11-27 12:22:46 +01:00
Markus Stange
73ad1884c7
Bug 924102 - Let AlphaBoxBlur take separate blur radius parameters for X and Y. r=Bas
2013-11-27 12:22:36 +01:00
Markus Stange
189b8ecb59
Bug 924102 - Add filter processing code for many SVG filters. r=Bas
2013-11-27 12:22:27 +01:00
Markus Stange
4d87c8a4dc
Bug 924102 - Add a class that renders turbulence as specified for SVG filters. r=Bas
2013-11-27 12:22:21 +01:00
Markus Stange
573590e3f2
Bug 924102 - Add a SIMD.h header that implements some SIMD functions with SSE2 and scalar code. r=Bas
2013-11-27 12:22:13 +01:00
Markus Stange
94888352a2
Bug 924102 - Add filter API to Moz2D. r=Bas, r=mattwoodrow
2013-11-27 12:22:07 +01:00
Markus Stange
3587fa2bcf
Bug 924102 - Add the types Point3D and Matrix5x4. r=Bas
2013-11-27 12:22:02 +01:00
Bas Schouten
1e2183726f
Bug 937145 - Allow Moz2D recordings to grab the existing content of a DrawTarget. r=BenWa
2013-11-27 12:21:57 +01:00
Bas Schouten
7cbc0c4e6f
Bug 942268 - Add RecordedEvent::GetEventName. r=mstange
2013-11-27 12:21:49 +01:00
Markus Stange
294abc7618
Bug 930956 - Make DrawTargetCG::DrawSurface support painting a DataSourceSurface that is not a DataSourceSurfaceCG. r=jrmuizel, r=Bas
2013-11-27 12:21:43 +01:00
Markus Stange
1043a4fcd9
Bug 943614 - Make sure that SourceSurfaceCG::GetDataSurface always returns a surface that has GetType() == SURFACE_DATA. r=Bas
2013-11-27 12:21:34 +01:00
Markus Stange
3a26d173d3
Bug 943614 - Make sure that SourceSurfaceCairo::GetDataSurface always returns a surface that has GetType() == SURFACE_DATA. r=Bas
2013-11-27 12:21:27 +01:00
Markus Stange
41793bc45b
Bug 943614 - Make sure that DataSourceSurface::GetDataSurface always returns a surface that has GetType() == SURFACE_DATA. r=Bas
2013-11-27 12:21:21 +01:00
Jonathan Kew
5b3c0d8453
bug 943319 - use our standard ArrayLength() instead of a custom macro. r=jdaggett
2013-11-27 11:03:43 +00:00
Jonathan Kew
b5f670b8dd
bug 943270 - use EncodingUtils::DecoderForEncoding instead of nsICharsetConverterManager::GetUnicodeDecoderRaw when decoding font names. r=jdaggett
2013-11-27 11:03:02 +00:00
Markus Stange
dd94318c9b
Bug 943041 - Don't delay compositing on the compositor thread in ASAP mode (layout.frame_rate == 0). r=BenWa
2013-11-27 08:33:39 +01:00
Markus Stange
724b3c2649
Bug 920123 - Make Start/Stop FrameTimeRecording work with OMTC and remove paint time recording. r=mattwoodrow
2013-11-27 08:32:19 +01:00
Wes Kocher
ef237316f2
Merge m-c to inbound
2013-11-26 20:05:18 -06:00
Wes Kocher
92d4fbf239
Merge fx-team to m-c
2013-11-26 19:51:52 -06:00
Nicholas Cameron
e09d3edf71
Bug 932888. Rename ThebesLayerBuffer. r=mattwoodrow
...
--HG--
rename : gfx/layers/ThebesLayerBuffer.cpp => gfx/layers/RotatedBuffer.cpp
rename : gfx/layers/ThebesLayerBuffer.h => gfx/layers/RotatedBuffer.h
2013-11-27 13:29:46 +13:00
Nicholas Cameron
c16c657321
Bug 932888. Remove some now unnecessary includes. r=mattwoodrow
2013-11-27 13:29:46 +13:00
Nicholas Cameron
714efc30e2
Bug 932888. Azurify some intermediate surfaces in BasicLayerManager. r=mattwoodrow
2013-11-27 13:29:45 +13:00
Nicholas Cameron
04e34b0ee6
Bug 932888. Remove thebes paths from ThebesLayerBuffer (part 1). r=mattwoodrow
2013-11-27 13:29:45 +13:00
Jim Mathies
1c2433a824
Bug 940952 - Replace apzc GeckoContentController pan notifications with more general purpose transform notifications. r=botond
2013-11-26 14:14:39 -06:00
Ryan VanderMeulen
bc4870bf0a
Backed out changesets 7caa8e80b06a, 1509f8be5df3, a249bd79e71a, and 9cc4a77561e8 (bug 933082) for mochitest asserts on a CLOSED TREE.
2013-11-26 14:58:09 -05:00
Carsten "Tomcat" Book
d088654a68
merge b2g-inbound to mozilla-central
2013-11-26 12:40:07 +01:00
Botond Ballo
b1dc5bb9d8
Bug 942535 - Fix a compiler warning about signed/unsigned comparison in APZ. r=dholbert
...
--HG--
extra : rebase_source : 816fc31c43178e1b5841c3a49cd71d2c08751331
2013-11-25 14:29:41 -05:00
Ryan VanderMeulen
77a5ac1aba
Backed out changeset de63b66f3d12 (bug 907743) for Windows bustage.
...
CLOSED TREE
2013-11-26 14:12:05 -05:00
Benoit Jacob
7031739d99
Bug 933082 - Part 4: let ClientLayerManager hold a ShadowLayerForwarder instead of inheriting from ShadowLayerForwarder. Make ISurfaceAllocator refcounted. Make SharedSurface_Gralloc keep its mAllocator alive - r=nical
2013-11-26 14:00:29 -05:00
Benoit Jacob
88e510bc64
Bug 933082 - Part 3: let ShadowLayerForwarder hold a strong ref to its LayerTransactionChild - r=nical
2013-11-26 14:00:07 -05:00
Benoit Jacob
6da01b7c61
Bug 933082 - Part 2: propagate the mIPCOpen flag, avoid crashing in DestroySharedSurface on a dead channel - r=nical
2013-11-26 13:59:48 -05:00
Benoit Jacob
b61b39b9da
Bug 933082 - Part 1: make LayerTransactionChild reference-counted - r=nical
2013-11-26 13:59:28 -05:00
Steven Michaud
0b4c3ee74e
Bug 925448 - Stop CGImageRef external data being deleted prematurely. r=bgirard,bas
2013-11-26 12:41:32 -06:00
Matt Brubeck
72385391d3
Bug 942689 - Include modifer info in tap gesture events [r=roc,jimm,botond]
2013-11-25 20:30:26 -08:00
Mike Hommey
62cde4eed8
Bug 940407 - Kill GTEST_SOURCES. r=gps
2013-11-26 11:48:58 +09:00
Benoit Jacob
3625a1df43
Bug 834243 - Add fatal assertions in CreateForWindow to get better crash reports - r=BenWa
2013-11-25 21:48:27 -05:00
Nicholas Cameron
7009d02c24
Bug 943122. Don't repeat 'Mask layer:' in layer dumps. r=BenWa
2013-11-26 15:07:44 +13:00
Nicholas Cameron
792ecf9509
Bug 943110. Don't use fputc in display list/layers dumps. r=BenWa
2013-11-26 15:07:41 +13:00
Matt Woodrow
b602f68120
Bug 940845 - Follow-up to add comments that got missed when rebasing.
2013-11-26 12:29:20 +13:00
David Anderson
13e235e641
Remove unnecessary Lock() calls from BasicCompositor (bug 942318, r=mattwoodrow).
2013-11-25 15:15:03 -08:00
Matt Woodrow
80fd92fefb
Bug 940845 - Part 5: Propogate the blur standard deviation up instead of the blur radius. r=roc
2013-11-26 12:09:04 +13:00
Matt Woodrow
c49de95f30
Bug 940845 - Part 4: Add BlurRectangle to gfxAlphaBoxBlur and use it. r=roc
2013-11-26 12:08:29 +13:00
Matt Woodrow
f5a56ec574
Bug 940845 - Part 1: Remove unused offset parameter from gfxAlphaBoxBlur. r=roc
2013-11-26 12:05:36 +13:00
Nicholas Cameron
66a02fcd19
Bug 942819. Check the return value of GetD3D9DeviceManager. r=mattwoodrow
2013-11-26 10:54:13 +13:00
Birunthan Mohanathas
0816e609ee
Bug 784739 - Switch from NULL to nullptr in miscellaneous directories; r=ehsan
...
--HG--
extra : rebase_source : 8ace754e117a12e2599f5a90030f13a3a7064fed
2013-11-25 14:02:47 -05:00
Andreas Gal
922244102f
Bug 933567 - Clean up Mask implementation a bit. r=mattwoodrow
2013-11-25 09:22:33 -05:00
Kevin Simons
f17db69985
Bug 933567 - Implement MaskSurface for Skia. r=mattwoodrow
2013-11-25 09:20:56 -05:00
John Daggett
d1eb2f6076
Bug 934710 - add various text performance metrics and a log to handle these. r=jfkthame
2013-11-25 13:59:56 +09:00
Phil Ringnalda
62cb41d82e
Back out d280a1c64f76 (bug 939585) for Mac build bustage
...
CLOSED TREE
2013-11-24 18:02:14 -08:00
Benoit Girard
f5ea9b323a
Bug 939585 - Build gfx/thebes in unified mode. r=ehsan,bjacob
2013-11-21 14:22:45 -05:00
Benoit Girard
f8fd653be7
Bug 942483 - Port paint-dumping to android/b2g. r=gal
2013-11-23 17:44:18 -05:00
Mike Hommey
b39418250a
Bug 941450 - Add some GENERATED_FILES to moz.build. r=gps
2013-11-22 08:16:18 +09:00
Jonathan Kew
464d663376
bug 941940 - don't render stray <CR> characters ( entities) in the DOM as hexboxes, just leave them invisible. r=roc
2013-11-22 21:43:36 +00:00
Ryan VanderMeulen
2ab6caa2dc
Merge m-c to inbound.
2013-11-22 15:37:03 -05:00
Ryan VanderMeulen
d7e49cc136
Merge b-i to m-c.
2013-11-22 15:35:31 -05:00
Ed Morley
0e1036028c
Backed out changeset c30371a66429 (bug 941450)
2013-11-22 15:59:22 +00:00
Botond Ballo
ce9e6a29fd
Bug 912666 - Implement scroll grabbing in APZ. r=kats,Cwiiis
2013-11-21 17:38:00 -05:00
Trevor Saunders
280dc2e3ce
bug 938025 - part 1 - get rid of some static constructors r=bz r=bjacob
2013-11-22 14:45:50 -05:00
Bas Schouten
9b3b991e36
Bug 943351: Make sure to clear any existing paths before getting the glyph path off a context. r=BenWa
2013-11-26 23:27:05 +01:00
Nicholas Cameron
beebee9b09
Bug 924403. Linux users who had previously opted in to OpenGL get OMTC OpenGL. r=mattwoodrow
2013-11-27 11:15:17 +13:00
Nicholas Cameron
f1b0c4184f
Bug 924403. Rename OGL shaders files. r=mattwoodrow
...
--HG--
rename : gfx/layers/opengl/LayerManagerOGLProgram.cpp => gfx/layers/opengl/OGLShaderProgram.cpp
rename : gfx/layers/opengl/LayerManagerOGLProgram.h => gfx/layers/opengl/OGLShaderProgram.h
rename : gfx/layers/opengl/LayerManagerOGLShaders.h => gfx/layers/opengl/OGLShaders.h
rename : gfx/layers/opengl/LayerManagerOGLShaders.txt => gfx/layers/opengl/OGLShaders.txt
2013-11-27 11:15:17 +13:00
Nicolas Silva
532313927f
Bug 924403 - Send non-OMTC GL layers into oblivion. r=nrc
2013-11-27 11:15:17 +13:00
Botond Ballo
a04c592e61
Bug 912666 - Propagate the 'scrollgrab' attribute to FrameMetrics. r=kats,Cwiiis
2013-09-23 14:09:48 -05:00
Wes Kocher
2db30ae116
Merge fx-team to m-c
2013-11-21 19:16:50 -08:00
Wes Kocher
48c985dd95
Merge inbound to m-c
2013-11-21 19:14:06 -08:00
Ryan VanderMeulen
5caaa48f5b
Merge b2g-inbound to m-c.
2013-11-21 15:22:03 -05:00
David Anderson
c06bd5c0fb
Only composite changed areas in the software compositor (bug 882447, r=mattwoodrow,nrc).
2013-11-21 11:25:16 -08:00
Jan Beich
92b48f6804
Bug 940854 - Unbreak unified gfx/harfbuzz on FreeBSD. r=BenWa
...
--HG--
extra : rebase_source : 793e44b6f3470213b7eaeb99825fe9320c5dd2fe
2013-11-21 11:45:58 -05:00
Markus Stange
d74cea0c78
Bug 921495 - Speed up blurring by processing and packing 16 pixels at a time. r=Bas
2013-11-21 17:44:52 +01:00
Markus Stange
71bf8a9d4d
Bug 921495 - Make AlphaBoxBlur round correctly s. r=Bas
2013-11-21 17:44:41 +01:00
Nicolas Silva
0efbe40a7d
Bug 940959 - Compiled shaders. r=generated code
2013-11-21 17:42:10 +01:00
Nicolas Silva
f1816cfd25
Bug 940959 - Use alpha textures for YCbCr planes with D3D11. r=nrc
2013-11-21 17:42:05 +01:00
Nicolas Silva
c8a1b87893
Bug 940959 - Use alpha textures for YCbCr planes with D3D10. r=nrc
2013-11-21 17:41:58 +01:00
Nicolas Silva
a98016bf5f
Bug 940959 - Use alpha textures for YCbCr planes with D3D9. r=nrc
2013-11-21 17:40:55 +01:00
Botond Ballo
d1cce81fc7
Bug 941210 - APZCTreeManager builds a wrong APZC tree for some layer trees. r=kats
2013-11-20 15:27:40 -05:00
Phil Ringnalda
68d38376ad
Bug 939638 - 611498-1.html needs some fuzz on Windows
2013-11-20 20:52:48 -08:00
Ryan VanderMeulen
bef0cc03d8
Merge m-c to fx-team.
2013-11-21 15:55:03 -05:00
Jonathan Kew
35912ab648
bug 941090 - build most of gfx/ots in unified mode. r=ehsan
2013-11-20 20:40:14 +00:00
Nicolas Silva
ae28771d9f
Bug 926558 - Remove a warning that is not used correctly. r=BenWa
2013-11-13 13:25:50 +01:00
Chris Kitching
7144e8c767
Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats
2013-11-12 10:41:01 -08:00
Michael Shuen
9ff83a97c5
Bug 940799 - Build gfx/ycbcr in unified mode. r=bjacob
2013-11-21 09:22:25 -05:00
Markus Stange
e064a30af7
Bug 936459 - Move Tools.h include into the right file. r=Bas
...
--HG--
extra : rebase_source : 9c976b595a2dd22511184f1341a4d4192e375b50
2013-11-20 17:20:51 +01:00
Markus Stange
a2f88a73a5
Bug 936458 - Use MOZ_ASSERT instead of NS_ABORT_IF_FALSE in BasePoint3D.h and BasePoint4D.h because NS_ABORT_IF_FALSE is not in mfbt and can't be used in standalone moz2d. r=Bas
...
--HG--
extra : rebase_source : 6ce1149a1c99feb0892a858851350b0e5119fc1a
2013-11-20 17:20:50 +01:00
Markus Stange
8e374e30b3
Bug 935923 - Rename AlphaMode helper function to D2DAlphaModeForFormat and replace most of its uses with D2DPixelFormat. r=Bas
...
--HG--
extra : rebase_source : c01334a631fae221d474c89502057892c9f540fd
2013-11-20 17:20:50 +01:00
Jonathan Kew
225e4e8a0c
bug 940934 - build gfx/graphite2 in unified mode. r=ehsan
2013-11-20 16:03:38 +00:00
Benoit Girard
495c58d0d8
Bug 936566 - Print mask layers in layers dump. r=nrc
2013-11-19 23:55:27 -05:00
Chris Lord
bc95d9ddc6
Bug 907743 - Align display port to tile boundaries when tiles are enabled. r=botond,kats
...
This aligns display ports to tile boundaries, taking care to compensate for
the difference between the requested scroll position and the actual scroll
position.
2013-09-10 18:21:04 -04:00
George Wright
6f59021f75
Bug 904483 - Fix out of order destruction problem when destroying GrContext r=mattwoodrow
2013-11-25 20:37:50 -05:00
Jacek Caban
9368b13878
Bug 900248 - Removed extra qualification of IsInTextureHostList.
...
--HG--
extra : rebase_source : 8e0cdc445810aad2f3f4332462df69b07a6eac02
2013-12-02 12:25:51 +01:00
Ed Morley
2ac7edcee1
Merge mozilla-central and inbound
2013-11-20 12:44:07 +00:00
Ryan VanderMeulen
73463a4880
Merge inbound to m-c.
2013-11-19 20:43:15 -05:00
Benoit Girard
39d062ad55
Bug 940416 - Build gfx/harfbuzz in unified mode. r=ehsan
...
--HG--
extra : rebase_source : 2d656203217681d0d1518dbb6e0f680f63d3dd92
2013-11-19 11:08:19 -05:00
Benoit Girard
2b9e6ffb65
Bug 940178 - Build cairo in unified mode. r=ehsan
...
--HG--
extra : rebase_source : b24a1e1f1384c78f0d09d84c573d11e57024b43a
2013-11-19 10:55:02 -05:00
Ben Kelly
984f0e8486
Bug 940488 - Initalize RotatedBuffer::mDidSelfCopy. r=BenWa
2013-11-19 14:56:57 -05:00
Ehsan Akhgari
58f5585ce3
Add some comments about angle-build-unified.patch, no bug
...
DONTBUILD
--HG--
extra : rebase_source : 983dd29d0b8c254aeaa9dd8367accd34d0bd695d
2013-11-19 14:18:00 -05:00
Botond Ballo
b75d9dd1de
Bug 900092 - Remove FrameMetrics::ROOT_SCROLL_ID. r=kats,tn
2013-11-08 19:07:00 -05:00
James Willcox
bd9fd5c2da
Bug 928804 - Always use an up-to-date texture transform when compositing SharedTextureSourceOGL r=nical
2013-11-19 08:41:57 -06:00
Chris Lord
75cb9a11ee
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
90ba9aaf83
Bug 939598. Always call BeginTransaction before EndTransaction. r=mattwoodrow
2013-11-20 20:27:23 +13:00
Benoit Jacob
e028c8e7a4
Bug 939758 - Build gfx/gl in unified mode - r=ehsan
2013-11-19 16:54:09 -05:00
Phil Ringnalda
50639dcbe8
Back out 4d8015a52178 (bug 936566) for build bustage
2013-11-18 21:34:23 -08:00
Jeff Muizelaar
8a2b69cc87
Bug 845874. Switch to Y-X banded regions. r=roc
...
Previously our region code was just a simple y,x sorted list of
non-intersecting rectangles. This can cause us to have simple regions
represented in a complex unoptimizable way.
Switching to pixman regions gives us a canonical region implementation.
There are some cases when this can cause performance regressions.
For example, with the old region code we end up with this region:
http://people.mozilla.org/~jmuizelaar/region-pre.html
which is represented like this:
http://people.mozilla.org/~jmuizelaar/region-post.html
with the new code.
We call SimplifyOutward(4) on this. With old regions we can't simplify it so we
end up taking the bounds and get 1 rect. With the new regions we have only 3
rects to start and so we do nothing. The difference between 3 rects and 1 rect
cause D2D to do a PushLayer() instead of a ClipRect() and that seems to be the
causes for the regression.
--HG--
extra : rebase_source : 65e0d29d67b51a3780448eaecfde33dbcb6b99b1
2013-11-18 13:01:54 -05:00
Benoit Girard
491b501b80
Bug 939950 - Build gfx/2d in unified mode. r=bjacob,ehsan,bas
...
--HG--
extra : rebase_source : 4776cc15a2de124149624b8297ae0c4953621eae
2013-11-18 16:45:14 -05:00
Benoit Girard
046d0f0c46
Bug 936566 - Print mask layers in layers dump. r=nrc
...
--HG--
extra : rebase_source : cb960d4f8880f9c3fd39fafc8a4c8a21f6a19596
2013-11-18 20:22:41 -05:00
Nicholas Cameron
3ca376851d
merge
2013-11-19 17:39:24 +13:00
John Daggett
dfda06fba9
Bug 913264 - add none value to font-variant-ligatures. r=dbaron
2013-11-19 13:30:25 +09:00
Mike Hommey
a65383e1e9
Bug 939632 - Remove LIBRARY_NAME for leaf libraries. r=gps
...
Landing on a CLOSED TREE.
2013-11-19 11:50:54 +09:00