Commit Graph

10143 Commits

Author SHA1 Message Date
James Willcox
ea04c8594f Bug 985773 - Destroy SkiaGLGlue in gfxPlatform::Shutdown() instead of relying on destructor r=gwright 2014-03-26 09:12:19 -05:00
James Willcox
cc466ea568 Bug 985487 - Don't try to use GL_TEXTURE_RECTANGLE_ARB on ES2 r=mwoodrow 2014-03-26 09:11:42 -05:00
James Willcox
0fa0cf2fe2 Bug 981621 - Don't crash if we fail to create SkiaGL backing texture r=gwright 2014-03-26 09:10:12 -05:00
James Willcox
271514b1c6 Bug 987010 - Ignore alpha in Skia BGRX source surfaces r=gwright 2014-03-26 09:08:27 -05:00
Masatoshi Kimura
4eef367f14 Bug 986811 - Use the latest d3dcompiler dll if available. r=jgilbert 2014-03-26 22:41:57 +09:00
Carsten "Tomcat" Book
96f75654ad Backed out changeset 91a4c3026e8a (bug 986811) for bustage 2014-03-26 12:27:52 +01:00
Masatoshi Kimura
4c478b97ef Bug 986811 - Use the latest d3dcompiler dll if available. r=jgilbert 2014-03-26 20:14:45 +09:00
Rik Cabanier
8ce82a7204 Bug 987292 - drawImage does not resample outside source rect r=jmuizelaar 2014-03-24 14:10:00 +01:00
John Daggett
7490b6197a Bug 987408 - correct the default features space check pref name. r=mkato 2014-03-26 17:03:56 +09:00
George Wright
995dd2ee63 Bug 987054 - If we can't create a valid DrawTarget in GetThebesSurfaceForDrawTarget, error out r=mettwoodrow 2014-03-25 23:00:27 -04:00
Jonathan Watt
8bb6ca22c8 Bug 982697 - Make Moz2D's DataSourceSurfaceD2D ctor clear the texture memory before drawing to it so that the old content of recycled textures isn't displayed underneath the drawn content. r=Bas 2014-03-26 02:03:55 +00:00
Jukka Jylanki
bdf6364823 Bug 987845 - Avoid unconditionally calling eglGetError() after each EGL MakeCurrent operation - r=bjacob,vlad,jgilbert - anyone else? 2014-03-25 20:23:58 -04:00
George Wright
e6cff3bbe1 [PATCH 6/6] Bug 985217 - Ensure that our GLContext is current and working at GrGLInterface creation time as Skia now determines extensions at creation time r=snorp 2014-03-18 19:37:56 -04:00
George Wright
914f2bf9b3 [PATCH 5/6] Bug 985217 - Stub out CreateTypeface* for Mac r=snorp 2014-03-17 13:17:49 -04:00
George Wright
0331ef5ada [PATCH 4/6] Bug 985217 - Remove client side array functions as Skia no longer uses/wants them, and set the functions differently following refactoring in GrGLInterface r=snorp 2014-03-20 14:08:19 -04:00
George Wright
6752daacba [PATCH 3/6] Bug 985217 - Minor changes to gfx/2d for API changes in Skia r=snorp 2014-03-20 14:07:36 -04:00
George Wright
9e3f8f0360 [PATCH 2/6] Bug 985217 - Enable three legacy APIs in the new Skia r=snorp 2014-03-20 14:06:36 -04:00
George Wright
22af56b5fa [PATCH 1/6] Bug 985217 - Update Skia to r13827 r=upstream 2014-03-17 07:34:32 -04:00
Botond Ballo
73d572098c Bug 980493 - Update references to mScrollOffset and mZoom in APZC_LOG calls. r=kats
--HG--
extra : rebase_source : 73cac39c4c6f5900f834ce690fa447808d30e4ad
2014-03-20 14:36:40 -04:00
Carsten "Tomcat" Book
cc741791b5 Merge mozilla-central to mozilla-inbound 2014-03-20 14:18:00 +01:00
Carsten "Tomcat" Book
2b4e4f7edd merge mozilla-inbound to mozilla-central 2014-03-20 13:56:02 +01:00
Jonathan Kew
3feb60242e bug 931426 - fix up font-weight values for some problematic faces on OS X. r=jdaggett 2014-03-20 09:46:42 +00:00
John Daggett
5e38053edc Bug 921858 - whitelist font families to avoid space lookup check for default features. r=jfkthame 2014-03-20 14:43:31 +08:00
John Daggett
c4399bcfd7 Bug 921858 - check for spaces in textrun before skipping word cache. r=jfkthame 2014-03-20 14:43:30 +08:00
John Daggett
9209c56b9d Bug 921858 - distinguish space features in default features from those in non-default features. r=jfkthame 2014-03-20 14:43:30 +08:00
Markus Stange
c67ace01c9 Bug 984761 - IPDL serialization for FilterDescription. r=roc 2014-03-20 10:12:45 +08:00
Markus Stange
60649c0ff2 Bug 984761 - IPDL serialization for FilterPrimitiveDescription. r=roc 2014-03-20 10:12:45 +08:00
Markus Stange
f0d1ddd1ae Bug 984761 - Allow setting the primitive type of FilterPrimitiveDescriptions after construction. r=roc 2014-03-20 10:12:45 +08:00
Markus Stange
faf32621b2 Bug 984761 - IPDL serialization for AttributeMap. r=roc 2014-03-20 10:12:45 +08:00
Markus Stange
6590f53f35 Bug 984761 - Add AttributeMap::EnumerateRead. r=roc 2014-03-20 10:12:44 +08:00
Markus Stange
8eb48ae870 Bug 984761 - Add FilterPrimitiveDescription::operator==. r=roc 2014-03-20 10:12:44 +08:00
Markus Stange
e56ef54441 Bug 984761 - Add AttributeMap::operator==. r=roc 2014-03-20 10:12:44 +08:00
Markus Stange
26ae3d738f Bug 984761 - Add FilterAttribute::operator==. r=roc 2014-03-20 10:12:44 +08:00
Markus Stange
a845b1be54 Bug 984761 - IPDL serialization for the filter attribute name enum. r=bjacob 2014-03-20 10:12:44 +08:00
Markus Stange
bd19cf32f1 Bug 984761 - IPDL serialization for the ColorSpace enum. r=bjacob 2014-03-20 10:12:43 +08:00
Markus Stange
29f041c71a Bug 984761 - Use a typed enum for ColorSpace and AlphaModel. r=bjacob 2014-03-20 10:12:43 +08:00
Markus Stange
e9573b24c1 Bug 984761 - IPDL serialization for the PrimitiveType enum. r=bjacob 2014-03-20 10:12:43 +08:00
Markus Stange
f044aa244d Bug 984761 - Use a typed enum for filter primitive types. r=bjacob 2014-03-20 10:12:43 +08:00
Markus Stange
f6256aa2de Bug 984761 - IPDL serialization for the AttributeType enum. r=bjacob 2014-03-20 10:12:42 +08:00
Markus Stange
d133450feb Bug 984761 - Use a typed enum for attribute types. r=bjacob 2014-03-20 10:12:42 +08:00
Markus Stange
9864629aa4 Bug 984761 - IPDL serialization for gfx::Matrix5x4. r=bjacob 2014-03-20 10:12:42 +08:00
Markus Stange
4c64a7895f Bug 984761 - IPDL serialization for gfx::Point3D. r=bjacob 2014-03-20 10:12:42 +08:00
Markus Stange
04694c10c5 Bug 984761 - IPDL serialization for gfx::Color. r=bjacob 2014-03-20 10:12:41 +08:00
Markus Stange
fdc00b6fe2 Bug 983236 - Initialize FilterPrimitiveDescription::mOutputColorSpace. r=roc 2014-03-20 10:12:41 +08:00
Ehsan Akhgari
17c8d2bddd Bug 979118 - Add global MMX_FLAGS, SSE_FLAGS and SSE2_FLAGS variables; r=glandium 2014-03-19 21:55:00 -04:00
Wes Kocher
fd0079fbe5 Backed out changeset 8764e9f061d0 (bug 980679) for a smoketest regression 2014-03-19 16:14:42 -07:00
Wes Kocher
af4fab6d1c Backed out 3 changesets (bug 980027) for causing a serious race in hal with the pref service
Backed out changeset 5cd05df56f67 (bug 980027)
Backed out changeset 6344d6606517 (bug 980027)
Backed out changeset 098a43b537e9 (bug 980027)
2014-03-19 15:36:13 -07:00
Chris Lord
e8372daeaf Bug 950050 - Allow Gralloc surfaces on the Nexus S. r=nical,lissyx 2014-03-19 08:02:39 +00:00
Matt Woodrow
d17d6a7daf Bug 985302 - Make ISurfaceAllocator use AtomicRefCountedWithFinalize to avoid calling virtual functions from its destructor. r=Bas 2014-03-19 12:02:42 +08:00
Matt Woodrow
f397ed7052 Bug 982339 - Get rid of TextureClientPoolMember and use nsTArray so that we releases references when we shutdown. r=Bas 2014-03-18 12:06:25 +08:00
Matt Woodrow
6b13a12165 Bug 982318 - Add TransformBounds to Matrix4x4 so that we can stop assuming 2d matrices in TiledContentHost. r=Bas 2014-03-18 12:06:23 +08:00
Nicolas Silva
2dd050e551 Bug 984437 - Remove GrallocDeprecatedTextureHostOGL. r=sortaro 2014-03-19 18:21:44 +01:00
Ryan VanderMeulen
57ec1c2319 Backed out changeset 9394e6901453 (bug 958008) for causing bug 960224. 2014-03-19 13:19:02 -04:00
Jonathan Kew
8b71b1805b bug 645124 - mismatched font-style should not cause a specified font-family to be skipped altogether. r=karlt 2014-03-19 16:06:04 +00:00
Botond Ballo
bc8063690b Bug 985185 - Identify scroll info layers in the APZC tree log. r=tn
--HG--
extra : rebase_source : 2efbeeff51ea6d1dc0888c0e5f34e3c36168fd63
2014-03-18 16:15:11 -04:00
Eugen Sawin
0e7b987f1e Bug 940087 - Remove double reset of Cairo font data. r=jrmuizel 2014-03-17 15:06:51 +01:00
Chris Lord
648fc979d7 Bug 985322 - Return RGBA instead of BGRA for external gralloc textures. r=nical
Before bug 950050, we'd calculate a format of BGRA, then ignore it and return
RGBA in GetFormat. This just calculates RGBA and returns the format directly.
2014-03-19 13:24:06 +00:00
Jonathan Watt
59261d68d5 Bug 985320 - Add a static Matrix::Scaling method to Moz2D's Matrix. r=Bas 2014-03-19 22:33:38 +08:00
Jonathan Watt
f50a46f108 Bug 985049 - Remove gfxPlatform::SupportsAzureContent() and kill of the resulting dead code. r=mattwoodrow 2014-03-19 10:36:58 +08:00
Wes Kocher
01bb0237bc Merge inbound to m-c 2014-03-18 14:15:03 -07:00
Nicolas Silva
e454ee8ae8 Bug 984437 - Backout for build bustage on a CLOSED TREE 2014-03-18 17:18:07 +01:00
Nicolas Silva
adf3ac1906 Bug 984437 - Remove GrallocDeprecatedTextureHostOGL. r=sortaro 2014-03-18 16:29:07 +01:00
Nicolas Silva
85b1390416 Bug 980647 - Part 1 - Move the compositor's texture recycling startegy behind a pool interface. r=Cwiiis 2014-03-12 17:28:47 +01:00
Chris Lord
cc52f8edb5 Bug 950050 - Use EXTERNAL for gralloc texture targets on SGX. r=nical 2014-03-18 08:12:40 +00:00
Phil Ringnalda
ad1ba8b946 Back out f79690ca47fa:48828b35e4ce (bug 982318) for b2g mochitest bustage
CLOSED TREE
2014-03-18 00:02:24 -07:00
Jonathan Watt
4b6ece8a91 Bug 982884 - Make DrawTargetD2D::GetBitmapForSurface correctly handle fractional source rect for data surfaces. r=Bas 2014-03-13 09:58:22 +00:00
Jonathan Watt
390122b307 Bug 984263 - Add methods to Moz2D Matrix to help with translation and rotation matrices. r=Bas 2014-03-18 13:04:47 +08:00
Matt Woodrow
b87f55438e Bug 982339 - Get rid of TextureClientPoolMember and use nsTArray so that we releases references when we shutdown. r=Bas 2014-03-18 12:06:25 +08:00
Matt Woodrow
916cea91b0 Bug 982318 - Add TransformBounds to Matrix4x4 so that we can stop assuming 2d matrices in TiledContentHost. r=Bas 2014-03-18 12:06:23 +08:00
Phil Ringnalda
1b25d690d9 Merge m-c to b-i 2014-03-17 22:48:40 -07:00
George Wright
07f1dbc3cc Bug 716766 - Enable NEON Skia codepaths r=snorp 2014-03-07 17:27:10 -05:00
George Wright
6fba844de1 Bug 716766 - Only set USE_ANDROID_NDK_CPU_FEATURES if it's not already been explicitly set r=upstream,snorp 2014-03-07 17:01:17 -05:00
Neil Rashbrook
c3b2f90f39 Bug 514280 Stop using nsCOMPtr for concrete types r=bsmedberg
--HG--
extra : rebase_source : f8fb50de9292320eb7589dd28dc566d0f5044da6
2014-03-18 00:23:03 +00:00
Wes Kocher
c0dba87922 Backed out 2 changesets (bug 514280) for OSX build bustage on a CLOSED TREE
Backed out changeset 2a015b45d808 (bug 514280)
Backed out changeset a01f97c1ed02 (bug 514280)
2014-03-17 15:19:53 -07:00
Chris Peterson
539b553214 Bug 666656 - Suppress clang and gcc warnings in third-party gfx code: angle, cairo, and pixman. r=BenWa 2014-02-28 23:16:37 -08:00
Sotaro Ikeda
c50c5a7897 Bug 974152 - Use FrameBuffer's Acquire Fence as Layer buffer's ReleaseFence on gonk r=sushil,nical 2014-03-17 18:36:56 -07:00
Ryan VanderMeulen
63076e2d70 Merge inbound to m-c. 2014-03-17 13:16:53 -04:00
Ben Kelly
7f977c56ba Bug 980027: Part 2: Set compositor thread priority to platform-based value. r=benwa 2014-03-17 11:52:42 -04:00
Jeff Gilbert
c0214eb332 Bug 982960 - Use glDrawRangeElements in WebGL.drawElements. r=kamidphish 2014-03-17 10:52:56 -04:00
Jeff Gilbert
97918bfdb0 Bug 982960 - Add GLContext support for draw_range_elements. r=kamidphish 2014-03-17 10:50:15 -04:00
Tor Arvid Lund
7af55748fb Bug 973976 - Revert to Thebes path for CopyableCanvasLayer. r=jmuizelaar
The performance on the Mac platform degraded after porting the code to
Moz2D in Bug 948765. This patch chooses the old thebes path instead of the
Moz2D path, so that performance is unaffected. This way we can easily
revert this patch at a later time when the perf issue has been fixed.
2014-03-17 10:49:21 -04:00
Tor Arvid Lund
5c70ac4603 Bug 973976 - Remove redundant work in CopyableCanvasLayer. r=jrmuizel
This operator was already initialized to OP_SOURCE, so no need to do it again.
2014-03-17 10:49:04 -04:00
Chris Lord
22835fea85 Bug 983202 - Don't call Mutated more than necessary. r=mattwoodrow
We call Mutated when the invalid region isn't empty, but progressive updates
mean that we're calling this more frequently than is necessary as transactions
are repeated and the invalid region doesn't change between them.
2014-03-17 09:54:24 +00:00
Matt Woodrow
007105ff82 Bug 982812 - Use UpdateThemeGeometry for windows region clearing. r=mstange 2014-03-17 16:42:48 +08:00
Jeff Muizelaar
adc278f3d0 Bug 981856. Use an 888 config when creating a pbuffer. r=jgilbert
Old versions of llvmpipe (8.0.4) seem to give out 565 configs that it can't
actually make PBuffers for. Explicilty ask for 8,8,8 to avoid that problem.
2014-03-14 11:24:58 -04:00
Kyle Huey
df0e7828eb Bug 981150: Use nsTArrayForwardDeclare.h more. r=ehsan 2014-03-15 12:00:17 -07:00
Kyle Huey
84360900b0 Bug 967364: Pass already_AddRefed by reference instead of by value. r=bsmedberg 2014-03-15 12:00:17 -07:00
Kyle Huey
510a49016d Bug 967364: Rename already_AddRefed::get to take. r=bsmedberg 2014-03-15 12:00:15 -07:00
Wes Kocher
2fbdf29654 Backed out changeset 46d18be48bc4 (bug 981856) for b2g gl bustages
* * *
Backed out changeset a2ec4ab256e8 (bug 981856)
2014-03-14 17:33:54 -07:00
Wes Kocher
e54881f1d2 Backed out 2 changesets (bug 716766) for Android crashes on a CLOSED TREE
Backed out changeset 9bd9dcf4de29 (bug 716766)
Backed out changeset 25031a8b8b77 (bug 716766)
2014-03-14 14:03:11 -07:00
Kartikaya Gupta
0eaa48ec69 Bug 979720: Follow-up to fix stupid PTO-brain naming mistake. r=me 2014-03-14 15:55:07 -04:00
Kartikaya Gupta
7f5a497900 Bug 979720 - Convert max velocity from px/ms to inches/ms. r=bkelly 2014-03-14 15:49:00 -04:00
George Wright
b77610f381 Bug 716766 - Enable NEON Skia codepaths r=snorp 2014-03-07 17:27:10 -05:00
George Wright
d66cbd8601 Bug 716766 - Only set USE_ANDROID_NDK_CPU_FEATURES if it's not already been explicitly set r=upstream,snorp 2014-03-07 17:01:17 -05:00
Jeff Muizelaar
c460072f7e Bug 981856. Use an 888 config when creating a pbuffer. r=jgilbert
Old versions of llvmpipe (8.0.4) seem to give out 565 configs that it can't
actually make PBuffers for. Explicilty ask for 8,8,8 to avoid that problem.

--HG--
extra : rebase_source : 2a667cc002b5ff4ad279e9483701eaf7952aeda8
2014-03-14 11:24:58 -04:00
Mats Palmgren
8b196029ae Bug 983019 - Fix a typo in the aMetrics->maxDescent initialization when we failed to create the Cairo font. Also fix a typo so that aSpaceGlyph out-param is assigned as intended. And make the code easier to read. r=jfkthame 2014-03-14 10:37:41 -04:00
Chris Lord
fdd8a5aa56 Bug 982651 - Make sure to retain the frame resolution of tiled buffers. r=nical
Make sure the frame resolution of tiled buffers isn't discarded when they're
sent from client-side to host-side. This fixes drawing of low precision tiles
when the zoom has changed since they were last drawn.
2014-03-14 13:36:33 +00:00
Jacek Caban
002b30fc84 Bug 981607 - Ensure that Log may handle both long and long long. r=botond 2014-03-14 14:05:47 +01:00
Bill McCloskey
aa5f40a77e Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted) 2014-03-13 21:38:19 -07:00
Wes Kocher
a3277d291d Backed out changeset 88425ad0f06a (bug 982828) for introducing various mochitest-5 failures on a CLOSED TREE
* * *
Backed out changeset 94f9ebdc6662 (bug 982828)
2014-03-13 19:41:21 -07:00
Bill McCloskey
f4f6bf8e4d Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted) 2014-03-13 15:41:41 -07:00
Ehsan Akhgari
4e69f36cf8 Bug 983014 - Move the rest of the -I build flags that stayed in Makefiles because of ANDROID_SOURCE to moz.build; r=mshal 2014-03-13 19:31:18 -04:00
Bill McCloskey
7193069fa0 Backed out changeset d6261f65070a 2014-03-13 15:52:27 -07:00
Bill McCloskey
69a746922b Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted) 2014-03-13 15:41:41 -07:00
Kartikaya Gupta
1e690b76d0 Bug 930903 - Remove obsolete bit of comment. r=me and DONTBUILD because NPOTB 2014-03-13 18:09:27 -04:00
Benoit Girard
340bbfafb6 Bug 894933 - Cancel dangling compositor tasks. r=jrmuizel 2014-03-13 16:56:51 -04:00
Kartikaya Gupta
f1fd719ac3 Bug 980679 - Filter redundant scroll offset updates by scroll generation value. r=botond 2014-03-13 15:48:38 -04:00
Bas Schouten
71aa8e63c2 Bug 983157: Backout bug 980647 (31844306c2f1, dcd632ee9a3e). r=backout 2014-03-13 18:55:52 +01:00
George Wright
1c935ca879 Bug 910754 - Use SkMemory_mozalloc instead r=snorp 2014-03-13 09:50:51 -04:00
Vaibhav Agarwal
74d0d984a3 Bug 971132 - B2G mochitests should use the new manifest format for runtests; r=jmaher 2014-03-13 10:40:10 -04:00
Botond Ballo
81f6add29a Bug 980493 - Transition FrameMetrics::mZoom to use a getter/setter. r=kats 2014-03-12 12:46:57 -04:00
Botond Ballo
c169aeed9c Bug 980493 - Transition FrameMetrics::mScrollOffset to use a getter/setter. r=kats 2014-03-13 02:34:34 -04:00
Bas Schouten
ed39ed7014 Bug 981315 - Followup: Readd accidentally removed macro - for real this time on a CLOSED TREE. r=bustage 2014-03-13 06:44:41 +01:00
Bas Schouten
b9b7914cfe Bug 981315: Add ShmemSection and use it for gfxShmSharedReacLock. r=gal 2014-03-13 06:17:05 +01:00
Jeff Gilbert
a3db614cf1 Bug 982973 - Add angle-d3dcc47.patch to our ANGLE patch list. - r=vlad 2014-03-12 19:47:08 -07:00
Jeff Gilbert
6df46d76b0 Bug 982973 - Tell ANGLE about d3dcompiler_47.dll. - r=vlad 2014-03-12 19:47:07 -07:00
Matt Woodrow
2dffa5241b Bug 971914 - Make TextureSourceOGL responsible for tracking filter state. r=nical 2014-03-13 13:37:17 +13:00
Matt Woodrow
3c5f73d2c4 Bug 971914 - Don't set and restore state constantly inside CompositorOGL. r=nical 2014-03-13 13:37:17 +13:00
Kartikaya Gupta
28de6e2a6c Bug 981029 - Fix the LD transform so that the translation component is in layer pixels. r=botond 2014-03-12 15:27:45 -04:00
Kartikaya Gupta
f3c8ac7c3e Bug 981029 - Change the GeckoContentController interface to take CSSPoint instead of CSSIntPoint. r=botond 2014-03-12 15:27:45 -04:00
Oleg Romashin
23525da941 Bug 982118 - Move ui.click_hold_context_menus.delay to gfxPrefs. r=kats
--HG--
extra : rebase_source : 18b7d36e512c8c1a6c0bc042a054aad5e7ee9801
2014-03-11 09:10:50 -07:00
Nicolas Silva
17461a2657 Bug 980647 - Part 2 - Use the PerFrame pool with all layer types on b2g. r=Cwiiis 2014-03-12 17:29:36 +01:00
Nicolas Silva
a8433b2959 Bug 980647 - Part 1 - Move the compositor's texture recycling startegy behind a pool interface. r=Cwiiis 2014-03-12 17:28:47 +01:00
Nicolas Silva
ea78bfb3fd Bug 982128 - Check that shmem based locks are allocated properly. r=cwiiis 2014-03-12 17:09:37 +01:00
Chris Lord
936dd8f9a0 Bug 962629 - Respect max texture size when creating Gralloc textures. r=nical
Add a size hint parameter to CreateTextureClientForDrawing, and use said
parameter to not create Gralloc surfaces that are bigger than the maximum
texture size.
2014-03-12 12:16:37 +00:00
Bas Schouten
048bec3c9f Bug 982275 - Followup: Fix some compiler warnings that were errors on gcc. r=bustage 2014-03-12 03:55:07 +01:00
Bas Schouten
8f4898dace Bug 982275 - Part 2: Add a pref for drawing layer-info inside layers. r=jrmuizel 2014-03-12 03:27:33 +01:00
Bas Schouten
0a2a30af07 Bug 982275 - Part 1: Add the ability to render text inside layers. r=jrmuizel 2014-03-12 03:27:30 +01:00
Jonathan Watt
4ff79704b9 Bug 982395 - Remove ImageContainer::DeprecatedLockCurrentAsSurface. r=mattwoodrow 2014-03-11 23:50:59 +00:00
Nicolas Silva
3a04e42f86 Bug 981794 - Fix incorrect clipping of tiles. r=Bas 2014-03-11 23:19:01 +01:00
Botond Ballo
ff7c37b52e Bug 965871 - Implement overscroll handoff for flings. r=kats 2014-03-10 20:04:44 -04:00
Botond Ballo
17c73ca346 Bug 965871 - Introduce a mechanism for AsyncPanZoomAnimation::Sample() to schedule tasks to be performed after the APZC lock is released in SampleContentTransformForFrame(). r=kats 2014-03-10 15:52:09 -04:00
Botond Ballo
ed721375c9 Bug 965871 - Document lock ordering in APZ. r=kats 2014-03-10 15:55:44 -04:00
Botond Ballo
066636cb79 Bug 965871 - Minor cleanup and refactoring. r=kats 2014-03-10 19:17:23 -04:00
Neil Rashbrook
b07eaa1644 Bug 514280 Stop using nsCOMPtr for concrete types r=bsmedberg
--HG--
extra : rebase_source : eaca8b2925eaffb49e29a617cd72c0d6686e6d9e
2014-03-17 19:07:09 +00:00
Nicolas Silva
7af3bc6aad Bug 973892 - Make TextureClient::GetAsDrawTarget work with canvas. r=bas 2014-03-17 22:35:20 +01:00
Ryan VanderMeulen
278d650fe0 Backed out changeset 3697a043583b (bug 982118) for bustage.
CLOSED TREE
2014-03-11 11:48:30 -04:00
Oleg Romashin
cb9ace90ec Bug 982118 - Move ui.click_hold_context_menus.delay to gfxPrefs. r=kgupta 2014-03-11 08:24:12 -07:00
Morris Tseng
eecfb9e542 Bug 975930 - [LayerScope] All textured buffers show RB swapped which is incorrect. r=jgilbert, r=kamidphish 2014-03-11 11:14:50 -04:00
Dmitry Rozhkov
b18080737d Bug 975336 - Some skia headers have got exec bit set on. r=gwright 2014-03-11 07:50:00 -07:00
Jonathan Watt
7887504abd Bug 981857 - Make DrawTargetCG::CopySurface() support data surfaces. r=jrmuizel 2014-03-11 07:24:43 +00:00
Vladimir Vukicevic
4a91df6014 b=979489; Implement SimpleTiledContentClient and friends; r=jrmuizel 2014-03-10 14:34:57 -04:00
Jeff Gilbert
3ba237c70c Bug 980684 - Actually use IOSurfaces on Mac. - r=snorp 2014-03-10 19:08:50 -07:00
Jeff Gilbert
7cf50c98a3 Bug 976813 - Separate ShSurf::Texture for Prod and Cons. - r=snorp 2014-03-10 19:08:49 -07:00
Vladimir Vukicevic
4646ced960 backout of rev 1a52e0063440 b=979489 2014-03-10 21:03:02 -04:00
Vladimir Vukicevic
6a1c3e6135 b=979489; Implement SimpleTiledContentClient and friends; r=jrmuizel 2014-03-10 14:34:57 -04:00
Jeff Gilbert
91352f644c Bug 943190 - Implement WEBGL_compressed_texture_et1. - r=kamidphish 2014-03-10 15:42:58 -07:00
Matt Woodrow
e638200a0e Bug 940455 - Add LayerManager functonality to clear out a portion of the window for the OS to paint. r=roc,Bas 2014-02-13 13:20:41 +13:00
Matt Woodrow
b14644234b Bug 981393 - Crash the child process if we get invalid Compositable updates. r=nical 2014-03-11 11:12:49 +13:00
Matt Woodrow
0a14fe22dd Bug 981393 - Check against correct compositable types for old-textures. r=nical 2014-03-11 11:12:48 +13:00
George Wright
308f5abef3 Bug 976184 - Apply a drop shadow image filter to our SkPaint when drawing a surface with a shadow r=mattwoodrow 2014-03-06 16:33:39 -05:00
Kartikaya Gupta
a83d646cfb Bug 981800 - Kill the three-parameter version of ReceiveInputEvent since it is redundant. r=botond 2014-03-10 17:59:46 -04:00
Botond Ballo
70dfe7ab91 Bug 935219 - Fix composition bounds calculation and APZC hit testing (again). r=kats,tn
--HG--
extra : amend_source : 06c6bb658dfead6907250831bbe73fae6c20b45c
2014-03-10 17:56:59 -04:00
Jeff Muizelaar
7f48f279b5 Bug 979894. Add unwind information for pixman arm functions. r=jseward
This isn't technically correct because these functions will never call
functions that throw exceptions, however it lets the profiler unwind them.
The unwinding will also probably be wrong during prologue/epilogue. The right
solution is probably to use cfi.
2014-03-10 12:31:58 -04:00
Ryan VanderMeulen
c990503a46 Merge m-c to inbound. 2014-03-10 11:29:15 -04:00
Morris Tseng
1bd061dc20 Bug 980821 - [LayerScope] mLayerRef doesn't output correct data. r=kamidphish 2014-03-10 08:36:31 -04:00
Tom Schuster
d51745dfb0 Bug 977963 - Disable x11 texture_from_pixmap until the black layer problem is fixed. r=mattwoodrow 2014-03-10 12:13:54 +01:00
Robert O'Callahan
5f352be6e0 Bug 975931. Part 8: When we reduce a layer's shadow-visible-region due to opaque covering content, restore it after compositing to ensure it's correct if the opaque content isn't there next time. r=mattwoodrow
--HG--
extra : rebase_source : 72119bd17b0606af70b4f6dbf05cea631aa71e9a
2014-02-24 21:57:27 +13:00
Brian Birtles
ffb19fb875 Bug 980207 - When the refresh driver is under test control, make compositor thread only update when a composite is scheduled; r=dzbarsky
In order to make test behavior better match real-world sampling behavior, this
patch updates the test code in CompositorParent so that it only updates the
layer when a composite is scheduled. This enables creating mochitests that
reproduce bugs observed in regular usage.
2014-03-10 13:47:12 +09:00
Brian Birtles
138adeb229 Bug 979658 part 4 - Rename PLayerTransaction.GetTransform to GetAnimationTransform; r=dzbarsky
PLayerTransaction.GetTransform doesn't actually return the same kind of value
when the transform on the layer is not set by animation. This is because it uses
information stored with the animation to undo various transforms. We shouldn't
pretend to return something useful/similar when we don't have that information
available.

This patch renames GetTransform to GetAnimationTransform and makes it return
a union that has type void_t if the layer is not transformed by animation.
2014-03-10 13:47:12 +09:00
Brian Birtles
5de0a15099 Bug 979658 part 3 - Make LayerTransactionParent::RecvGetTransform convert to CSS pixels; r=dzbarsky
LayerTransactionParent::RecvGetTransform takes care to reverse all the
transformations applied by AsyncCompositionManager::SampleValue to the CSS
values calculated so that it can return CSS values for testing. However, it
fails to revert the conversion from CSS pixels to device pixels applied to the
translation components of the transform by
nsStyleTransformMatrix::ProcessTranslatePart as called by
nsDisplayTransform::GetResultingTransformMatrix.

This patch converts the resulting transform's translation components from device
pixels back to CSS pixels. It also adds documentation for the other operations
in LayerTransactionParent::RecvGetTransform.
2014-03-10 13:47:12 +09:00
Ehsan Akhgari
158ac51adc Bug 978472 - Add support for leak checking in GenericRefCounted classes; r=bjacob 2014-03-09 14:40:49 -04:00
Ehsan Akhgari
b965cde2f2 Bug 935778 - Part 0.8: Spray some more MOZ_DECLARE_REFCOUNTED_TYPENAME across the tree 2014-03-08 12:14:32 -05:00
Wes Kocher
83398347ef Merge m-c to inbound 2014-03-07 17:39:52 -08:00
Wes Kocher
ffa3b0216a Merge inbound to m-c 2014-03-07 17:07:37 -08:00
George Wright
3ed5c9afc2 Bug 921670 - Trivial fixup to generate_mozbuild.py to cater for SkFontHost_android_old DONTBUILD 2014-03-07 17:11:57 -05:00
Mike Conley
4611b5bdb4 Backing out bug 940455 (36e45a68452b) for numerous regressions. r=bustage-fix. 2014-03-07 16:50:30 -05:00
Bas Schouten
bde06b3dca Bug 963073 - Merge tiling branch. r=Bas,jrmuizel,BenWa
http://hg.mozilla.org/users/bschouten_mozilla.com/tiling/summary

This work is mainly porting tiled layers to new textures, implementing
double-buffered tiles and implementing a texture client pool, to be used by
tiled content clients.

Any questions regarding this patch should go to:
Bas Schouten <bschouten@mozilla.com>
Chris Lord <clord@mozilla.com>
Nicolas Silva <nsilva@mozilla.com>

In their absence questions can be directed to:
Jeff Muizelaar <jmuizelaar@mozilla.com>
Benoit Girard <bgirard@mozilla.com>
2014-03-07 22:34:04 +01:00
Jeff Gilbert
bdd584a1f9 Bug 843666 - Implement color-buffer-(half-)float for WebGL. - r=kamidphish 2014-03-07 13:26:17 -08:00
Ryan VanderMeulen
add6a567df Merge m-c to inbound. 2014-03-07 15:45:57 -05:00
Ryan VanderMeulen
d76583a0fc Merge inbound to m-c. 2014-03-07 15:38:19 -05:00
Sotaro Ikeda
3e0a19a183 Bug 979394 - fix calling Unmap() in GrallocImage r=nical 2014-03-07 10:16:35 -08:00
Michael Wu
7111cc628d Bug 962670 - Store decoded images in VolatileBuffers, r=seth,jrmuizel 2014-02-24 22:37:51 -05:00
Ed Morley
0ddf702725 Backed out changeset f94ee00aa4d6 (bug 974197) for causing gaia-ui-test failures 2014-03-07 15:45:59 +00:00
Carsten "Tomcat" Book
c346b6e437 merge b2g-inbound to mozilla-central 2014-03-07 12:49:50 +01:00
Phil Ringnalda
5319ebeaed Back out 965fe5b195ab (bug 962670) for leaking 2014-03-06 20:36:28 -08:00
Matt Woodrow
e1320c476a Bug 974197 - Fire MozAfterPaint after the compositor has composited the frame. r=roc 2014-03-07 16:24:32 +13:00
Jonathan Watt
4d39320987 Bug 980472 - Make SurfaceToPackedBGRA take a DataSourceSurface to avoid unnecessary surface conversion. r=Bas
--HG--
extra : rebase_source : c11c7ead8897255b3012495cc66beed27142275a
2014-03-06 23:31:33 +00:00
Jonathan Watt
e4b90901be Bug 979853 - Convert the Windows widget consumers of imgIContainer::GetFrame to act on a Moz2D SourceSurface instead of a Thebes gfxASurface. r=mattwoodrow
--HG--
extra : rebase_source : 12e05d7d6b80669e38b959d3fe9986a179f60cb6
2014-03-06 23:31:22 +00:00
Jonathan Watt
396719ba1e Bug 980272 - Make DataSourceSurfaceD2D::Map set mIsMapped. r=Bas
--HG--
extra : rebase_source : cb485b1cf09dc570fed1e495ce7bfd83b03788c8
2014-03-06 23:29:57 +00:00
James Willcox
77dd9269db Bug 956993 - Fix typo with GL_TEXTURE_EXTERNAL textures r=jgilbert 2014-03-06 14:50:42 -06:00
Michael Wu
7e9891b6d8 Bug 962670 - Store decoded images in VolatileBuffers, r=seth,jrmuizel 2014-02-24 22:37:51 -05:00
Sotaro Ikeda
42a7667012 Bug 979394 - Fix YV12 color conversion at GrallocImage r=nical 2014-03-06 13:58:02 -08:00
Ed Morley
bd22dac370 Merge backout; CLOSED TREE 2014-03-07 15:53:02 +00:00
Jonathan Watt
0fa06ee7c7 Bug 980885 - Fix more Moz2D D2D mapping code that fails to set/reset mIsMapped. r=Bas CLOSED TREE to fix orange 2014-03-07 14:55:16 +00:00
Kartikaya Gupta
277719146d Bug 975962 - Remove plumbing that is no longer needed. r=botond 2014-03-07 08:41:23 -05:00
Jonathan Watt
8c488b46e3 Bug 980885 - Fix more Moz2D D2D mapping code that fails to set/reset mIsMapped. r=Bas 2014-03-07 13:24:47 +00:00
Jonathan Watt
bf9f55c3a7 Bug 980603 - Move the implementation of SurfaceToPackedBGRA and ConvertBGRXToBGRA to a source file (un-inline them). r=gal 2014-03-07 13:24:42 +00:00
Jonathan Watt
ef8705a2a7 Bug 980428 - Add a DEBUG-only DataSourceSurface dtor to assert that the surface has not been left mapped. r=Bas 2014-03-07 13:21:46 +00:00
Jonathan Watt
518619e344 Bug 980415 - Fix multiple points in the codebase where we fail to call DataSourceSurface::Unmap(). r=Bas 2014-03-07 13:21:38 +00:00
Carsten "Tomcat" Book
67b964e295 Merge mozilla-central to mozilla-inbound on a CLOSED TREE
--HG--
extra : amend_source : 42c86ef1edf2141b6ac81506dd8a31cd68818292
2014-03-07 13:55:46 +01:00
Chris Lord
e5459e9133 Bug 979084 - Enlarge displayport along one axis when the other is clipped. r=ajones
If a generated displayport expands beyond the scrollable rect on one axis,
redistribute that extra area to the other axis. Enabled by pref
apz.enlarge_displayport_when_clipped.
2014-03-07 09:26:23 +00:00
Robert O'Callahan
6a2a74cd42 Bug 975931. Part 1: Add nsDOMWindowUtils API to add an extra scroll offset in the AsyncPanZoomController when compositing. r=kats
--HG--
extra : rebase_source : fcadb5137cc906c97b230d1f2cf134fd24db10d6
2014-02-14 21:59:23 +13:00
Matt Woodrow
cf2d089996 Bug 940455 - Add LayerManager functonality to clear out a portion of the window for the OS to paint. r=roc,Bas 2014-02-13 13:20:41 +13:00
Jeff Gilbert
ee766ae9ab Bug 980108 - GLContext.h should not use GLAPIENTRY decls. - r=kamidphish 2014-03-05 17:35:40 -08:00
Ehsan Akhgari
eae8a4d804 Bug 979685 - Rewrite the qcms Makefile.in in moz.build; r=mshal 2014-03-05 17:00:17 -05:00
Ehsan Akhgari
4b6d7d135c Bug 979684 - Port the per-source flags for skia to moz.build; r=mshal 2014-03-05 16:59:42 -05:00
James Willcox
d7b777bc05 Bug 980048 - Don't use EGL fences on Pandaboard r=jgilbert 2014-03-05 15:49:55 -06:00
James Willcox
15d30be7c6 Bug 939276 - Use a single GLContext for all SkiaGL canvases r=jgilbert,vlad,gwright,bjacob
--HG--
rename : gfx/gl/GLContextSkia.cpp => gfx/gl/SkiaGLGlue.cpp
2014-03-05 15:49:37 -06:00
James Willcox
af36ac34fa Bug 956993 - Rely on OES_EGL_image_external for SharedSurface_EGLImage r=jgilbert 2014-03-05 15:48:58 -06:00