Commit Graph

10719 Commits

Author SHA1 Message Date
Matt Woodrow
eefb1ceff6 Bug 1011865 - Create optimized source surfaces when skia-gl is enabled since we want to cache the GPU texture. r=gw280 2014-05-23 17:09:34 +12:00
Andreas Gal
66c26a0d9a Bug 1012407 - Part 7: Use a single GL draw call to draw up to 4 texture quads (r=Bas) 2014-05-23 06:10:51 +02:00
Bas Schouten
6667f25c28 Bug 1012213: Let the BufferRect be managed and cleared by the callers like before. r=mattwoodrow 2014-05-23 06:01:05 +02:00
Wes Kocher
e594fbd022 Merge m-c to inbound 2014-05-22 17:55:00 -07:00
Nick Lebedev
42471cb297 Bug 1013378. Make GestureEventListener not to pass apzc status up for touchend event since it causes apzc stay in touching state after gestures completed. r=kats 2014-05-22 20:42:15 -04:00
Wes Kocher
4a7629e50a Merge inbound to m-c 2014-05-22 17:30:30 -07:00
Jeff Muizelaar
9f361e40d9 Bug 1014654. Handle empty regions in SimplifyOutwardByArea(). 2014-05-22 12:36:32 -04:00
Carsten "Tomcat" Book
5620cf6964 Merge mozilla-central to b2g-inbound 2014-05-22 15:48:40 +02:00
Sotaro Ikeda
4bcaf068d3 Bug 1012740 - Change as not to abort in GrallocTextureHostOGL::GrallocTextureHostOGL() r=nical 2014-05-22 06:23:12 -07:00
Sotaro Ikeda
3fb56d868c Bug 1012737 - Add erro check to GrallocTextureClientOGL::GetAsDrawTarget() r=nical 2014-05-22 06:17:03 -07:00
Wes Kocher
ae72230fb0 Backed out 4 changesets (bug 1012407) for b2g reftest5 orange on an otherwise CLOSED TREE
Backed out changeset 08e17f48aed1 (bug 1012407)
Backed out changeset b17b7b59cf88 (bug 1012407)
Backed out changeset 1c692df3f080 (bug 1012407)
Backed out changeset 560bd45d52de (bug 1012407)
2014-05-21 18:05:15 -07:00
Birunthan Mohanathas
6f68094e30 Bug 869836 - Part 9: Use AssignLiteral instead of Assign(NS_LITERAL_STRING(...)). r=ehsan 2014-05-22 06:48:52 +03:00
Birunthan Mohanathas
2deaba6d91 Bug 869836 - Part 8: Use Append('c') instead of Append("c"). r=ehsan 2014-05-22 06:48:52 +03:00
Birunthan Mohanathas
76ca8ec617 Bug 869836 - Part 7: Use AppendLiteral instead of Append where possible. r=ehsan 2014-05-22 06:48:51 +03:00
Birunthan Mohanathas
c4568a7085 Bug 869836 - Part 6: Use EqualsLiteral instead of Equals where possible. r=ehsan 2014-05-22 06:48:51 +03:00
Birunthan Mohanathas
411a8639b4 Bug 869836 - Part 3: Use Append('c') instead of AppendLiteral("c"). r=ehsan 2014-05-22 06:48:51 +03:00
Birunthan Mohanathas
62570a8716 Bug 869836 - Part 2: Use AppendLiteral instead of Append(NS_LITERAL_STRING(...)). r=ehsan 2014-05-22 06:48:50 +03:00
Matt Woodrow
37b1f0f705 Bug 1013784 - Implement ClearRect for BasicCompositor. r=Cwiiis 2014-05-22 14:36:26 +12:00
Benoit Girard
9945822fd2 Bug 1014042 - Add compositor benchmark. r=jrmuizel 2014-05-21 17:29:49 +00:00
Vladimir Vukicevic
3591fee224 Bug 1009958 - UnlockProd if we fail during attachment. - r=jgilbert 2014-05-13 17:14:33 -07:00
Andreas Gal
e68467ac54 Bug 1012407 - Part 8: Remove VBOArena which is now dead code (r=Bas) 2014-05-22 00:47:02 +02:00
Andreas Gal
72438d4f4b Bug 1012407 - Part 7: Use a single GL draw call to draw up to 4 texture quads (r=Bas) 2014-05-22 00:44:40 +02:00
Andreas Gal
a0ea043946 Bug 1012407 - Part 6: Eliminate VBO use and DrawQuads and manually draw no-repeat quads (r=Bas) 2014-05-22 00:23:21 +02:00
Andreas Gal
c18a94ef0b Bug 1012407 - Part 5: Allow passing a texture rectangle to BindAndDrawQuad (r=Bas) 2014-05-22 00:23:18 +02:00
Matt Woodrow
902dd8f926 Bug 1013759 - Simplify invalid region for Direct2D when using OMTC to avoid hitting expensive drawing paths for complex regions. r=jrmuizel 2014-05-23 09:08:21 +12:00
Jeff Gilbert
ad8f5d5410 Bug 1014961 - IOSurfs are always RGB not BGR. - r=mattwoodrow 2014-05-22 16:44:15 -07:00
Jeff Gilbert
4209f16695 Bug 1004309 - Add func to assert shadowed state is correct. - r=kamidphish
* * *
Bug 980178 - Dither default is true. - r=kamidphish
2014-05-21 19:03:09 -07:00
Andreas Gal
d7dac146b2 Bug 1012407 - Part 6: Eliminate VBO use and DrawQuads and manually draw no-repeat quads (r=Bas) 2014-05-22 12:29:56 +02:00
Andreas Gal
64df6c108f Bug 1012407 - Part 5: Allow passing a texture rectangle to BindAndDrawQuad (r=Bas) 2014-05-22 12:29:54 +02:00
Nicolas Silva
2f4369ee5e Bug 1013292 - Fix some using namespace + unified build issues in gfx code. r=kats 2014-05-22 12:11:45 +02:00
Andreas Gal
ac89dda07d Bug 1012407 - Part 4: Always pass the layer rect to BindAndDrawQuad (r=Bas) 2014-05-21 23:36:56 +02:00
Andreas Gal
7eaf561a66 Bug 1012407 - Part 3: Eliminate DrawQuadInternal since we no longer need it (r=Bas) 2014-05-21 23:26:38 +02:00
Andreas Gal
299af06a65 Bug 1012407 - Part 2: Use Moz2D to draw velocity graph and elminiate use of GL_LINE_STRIP (r=Bas) 2014-05-21 23:24:16 +02:00
Andreas Gal
59bccf7c82 Bug 1012407 - Part 1: Reduce amount of data uploaded to GPU (layer quad rect instead of transform) r=Bas 2014-05-21 23:03:49 +02:00
Kartikaya Gupta
36b70927ca Bug 1001438 - Change layers.low-precision-resolution to be a float pref instead of a divide-by-1000 int pref. r=Cwiiis 2014-05-21 12:06:02 -04:00
Carsten "Tomcat" Book
3189a1798c merge b2g-inbound to mozilla-central 2014-05-21 14:08:03 +02:00
Matt Woodrow
a116f0d15b Bug 1012386 - Release the CGImage we addref'd in DrawTargetCG::CopySurface. r=jrmuizel 2014-05-21 18:43:16 +12:00
Sotaro Ikeda
2d84e3da26 Bug 1011327 - Add checks around SharedBufferManagerParent 2014-05-20 13:50:25 -07:00
Chris Peterson
ec65ec7ebc Bug 1012218 - Cherrypick clang warning fixes from upstream harfbuzz. r=jfkthame 2014-05-17 16:44:39 -07:00
Wes Kocher
1121ed930b Merge m-c to inbound 2014-05-19 15:43:47 -07:00
Wes Kocher
3f0b020546 Merge b2g-inbound to m-c 2014-05-19 15:38:17 -07:00
Carsten "Tomcat" Book
82294cdc89 Backed out changeset a6f85ff386c1 (bug 1011569) for m5 test failures on OS X 2014-05-19 13:46:02 +02:00
Michael Wu
7b1b8fab91 Bug 999694 - Use fence objects in SharedSurfaceGralloc, r=jgilbert 2014-04-21 19:59:30 -04:00
Ryan VanderMeulen
96ed00e142 Revert to revision 63dfac3c9c87 due to mass bustage pile-ups that landed after it on a CLOSED TREE. 2014-05-16 12:29:37 -04:00
Nicolas Silva
e25319e5bd Bug 1010969 - Fix WError bustage on a CLOSED TREE 2014-05-16 17:50:42 +02:00
Kartikaya Gupta
718ea608fd Bug 1011389 - Don't fire a long-tap-up if the user moves after long-tap. r=dmitry.rojkov 2014-05-16 11:26:00 -04:00
Nicolas Silva
536f633e1d Bug 1010969 - Call RemoveTextureFromCompositable at the end of updates. r=sotaro 2014-05-16 17:25:23 +02:00
Nicolas Silva
42a451f0bb Bug 924622 - Make sure gfx's ipc shutdown happens before shutting down xpcom threads. r=bsmedberg, sotaro 2014-05-07 11:06:19 +02:00
Jeff Muizelaar
6f22334bbf Bug 1011011. DrawTargetSkia: Round alpha properly when creating Paint. r=mattwoodrow
This fixes some off by one errors in content reftests

--HG--
extra : rebase_source : 38a7aaed5600431f2c75005e1b71b8e572c3685d
2014-05-15 22:12:42 -04:00
Nicolas Silva
c140d86de1 Bug 1008211 - Backed out changeset 4e1e052624c2 because of a regression on B2G 2014-05-16 14:22:46 +02:00
Kartikaya Gupta
0e1e9827ac Bug 1010979 - Remove the non-margins codepaths from APZCCallbackHelper. r=botond 2014-05-16 08:08:21 -04:00
Kartikaya Gupta
b8a20579ab Bug 1010119 - Roll back part of bug 978248 as it causes a regression and is not needed any more. r=botond 2014-05-16 08:08:21 -04:00
Chris Lord
bc051da249 Bug 994088 - Only redraw everything on every frame with e10s in BasicCompositor. r=mattwoodrow
This was a work-around for an X compositor bug.
2014-05-16 12:44:04 +01:00
Chris Peterson
143832c938 Bug 1010706 - Fix uninitialized variable warnings in gfx/layers/opengl/CompositorOGL.cpp. r=mwoodrow 2014-05-16 00:35:13 -07:00
Chris Peterson
398a6f5a8d Backed out changeset 9c586b1649d7 for wrong bug number: s/1007708/1010706/ 2014-05-16 00:33:16 -07:00
Chris Peterson
1c759c64ad Bug 1007708 - Fix uninitialized variable warnings in gfx/layers/opengl/CompositorOGL.cpp. r=mwoodrow 2014-05-14 20:15:36 -07:00
Wes Kocher
202d548b78 Merge inbound to m-c 2014-05-15 15:59:45 -07:00
Sotaro Ikeda
12f85ecb9a Bug 950079 - Add release Fence handling to SurfaceStream on gonk 2014-05-14 15:40:15 -07:00
Sotaro Ikeda
8a83f98375 Bug 1005908 - Avoid unnecessary fEGLImageTargetTexture2D'ing r=nical 2014-05-14 09:59:25 -07:00
Sotaro Ikeda
cb8417b839 Bug 971946 - Remove TextureClientData r=nical 2014-05-14 06:29:52 -07:00
Matt Woodrow
f705ad907d Bug 1001853 - Don't loop waiting on the monitor, and acccount for the fact that timeouts are treated as success. r=jgilbert 2014-05-14 16:10:00 +12:00
Rafael Vieira
fd736a92cc Bug 1009228 - Replace use of RefPtr with nsRefPtr. r=kats 2014-05-14 15:45:00 -04:00
Vincent Chen
489d95e542 Bug 983489 - Delay destroying mCompositor to prevent crash. r=nical 2014-05-04 19:52:00 -04:00
Chris Lord
e6e08ba548 Bug 1011569 - Remove PreferMemoryOverShmem in favour of IsSameProcess. r=nical 2014-05-19 10:45:12 +01:00
Nicolas Silva
7de3712fc0 Bug 1010969 - Call RemoveTextureFromCompositable at the end of updates. r=sotaro 2014-05-16 17:25:23 +02:00
Milan Sreckovic
30f2e2be5f Bug 1007856: Update 2D.h to doxygen friendly comment format. r=bas,trivial 2014-05-19 13:54:41 -04:00
Wes Kocher
7b1d2c5343 Merge m-c to inbound 2014-05-14 16:32:53 -07:00
Bas Schouten
9c8b5ef1e8 Bug 1008729: Use Cairo DrawTargets when reading back from GL. r=nical 2014-05-15 00:31:23 +02:00
Bas Schouten
3e247921b5 Bug 1009600: Use a content DT for reference in BasicCompositor. r=nical 2014-05-15 00:31:23 +02:00
Bas Schouten
c71f2edecf Bug 1002300: Only lazily create the backbuffer for ContentClientDoubleBuffered. r=nical 2014-05-15 00:31:22 +02:00
Botond Ballo
1c80d859ff Bug 961289 - Add an initial mochitest (for bug 982141) that exercises the APZ testing framework. r=ehsan,kats,BenWa,ted
--HG--
extra : source : 3e395bacbf393aaa022675c9a3f97a3c603bb67d
2014-05-12 12:24:57 -04:00
Botond Ballo
8859e2bfc9 Bug 961289 - Expose client- and compositor-side APZ test data from nsIDOMWindowUtils. r=ehsan,kats,bholley
--HG--
extra : source : 41f87f2add7d1fafab2749eb08539cd78644fbbe
2014-05-09 17:16:03 -04:00
Botond Ballo
8b6eb070aa Bug 961289 - API to request compositor-side test data from client. r=BenWa,kats
--HG--
extra : source : a475bb542682486ffac8dc91a039f75ec41091b6
2014-05-07 19:56:48 -04:00
Botond Ballo
2ef90e819f Bug 961289 - Log APZC tree parent links on compositor side for APZ testing. r=kats
--HG--
extra : source : e39af36df0d1d79a039bdd0f79a1fd3f61a544d0
2014-04-21 17:47:33 -04:00
Botond Ballo
3e6a4c8180 Bug 961289 - Compositor-side instances of APZ test data and utilities for writing to them r=BenWa,kats
--HG--
extra : source : 35f0767449046b88581ada14b9ea7fb0fdd819ac
2014-04-21 17:46:50 -04:00
Botond Ballo
6e03af65aa Bug 961289 - Client-side instance of APZ test data and utilities for writing to it. r=tn,kats
--HG--
extra : source : 1462852a44bee091ebf42d48d87e9c0e4acfac0b
2014-04-21 19:48:54 -04:00
Botond Ballo
229a7a632a Bug 961289 - Add support for writing a BaseRect to an output stream. r=Bas
--HG--
extra : source : 2f5a1727bfe5c95c99aced1221c816fefcb95b0c
2014-05-07 16:29:44 -04:00
Botond Ballo
d9c607e5af Bug 961289 - Introduce a data structure for storing data for APZ testing. r=kats
--HG--
extra : source : b37d73c22eae03fe00c800cb102ae61fbdbcb30a
2014-05-07 20:39:35 -04:00
Botond Ballo
d2b6591c54 Bug 961289 - Assign sequence numbers to paints on the client side and forward them to the compositor. r=BenWa,kats
--HG--
extra : source : d5331eaed1c789ac0248e8710a7b4a167ae349b6
2014-05-06 17:26:13 -04:00
Botond Ballo
fe4ebd4aaa Bug 961289 - Improve const-correctness in AsyncPanZoomController. r=kats
--HG--
extra : source : 757446fc0001be834e96572d5b4b26238b1bcf58
2014-05-07 15:21:26 -04:00
Benoit Jacob
45441f8724 Bug 987010 - Fix the way that the presence of an alpha channel on a canvas drawing buffer is propagated - r=jrmuizel 2014-05-14 12:26:13 -04:00
Kartikaya Gupta
0a15196a06 Bug 1009184 - Explicitly clear the valid region instead of attempting to paint an empty region. r=BenWa 2014-05-13 14:36:33 -04:00
Botond Ballo
e7ee666942 Bug 1009634 - Clearly document the units of APZ prefs. r=kats. DONTBUILD comment-only
--HG--
extra : amend_source : b2cc80184098c864c1fd3e00d31296c58175a31e
2014-05-13 12:42:50 -04:00
Jonathan Kew
c9f0cdc5a3 bug 1007524 - remove unused gfxFontGroup::Equals method. r=jdaggett 2014-05-13 18:08:26 +01:00
Jonathan Kew
6ac57ac9a0 bug 1006475 - remove unused method gfxPlatformFontList::SetFixedPitch. r=jdaggett 2014-05-13 18:08:09 +01:00
Nicolas Silva
7c7646b01b Bug 1008211 - Don't use BufferTextureClient in CanvasClient2D. r=Bas 2014-05-13 14:05:30 +02:00
Markus Stange
dd96395b7f Fix two typos in the MozSurface documentation. No bug, r=typo 2014-05-13 13:37:56 +02:00
Markus Stange
5a0c83aa45 Bug 1009020 - Use a fixed epsilon when nudging the transform to integers in ChooseScaleAndSetTransform. r=roc 2014-05-12 21:37:21 +02:00
Markus Stange
a354d3d78a Bug 1008301 - Invalidate when a layer's pre or post scale changes. r=roc 2014-05-12 21:37:20 +02:00
Markus Stange
a1411b1a1d Bug 1008301 - Don't invalidate when the visible region of a layer changes. r=roc 2014-05-12 21:37:20 +02:00
Carsten "Tomcat" Book
36cdcd4fc1 Merge mozilla-central to mozilla-inbound 2014-05-13 12:45:41 +02:00
Carsten "Tomcat" Book
64b3aebe1a merge b2g-inbound to mozilla-central 2014-05-13 12:41:43 +02:00
Wes Kocher
8b513c2e26 Backed out 6 changesets (bug 1006198) for webgl assertions on a CLOSED TREE
Backed out changeset 5be3c8c44eed (bug 1006198)
Backed out changeset 4b15abd14f28 (bug 1006198)
Backed out changeset bd11a10e7028 (bug 1006198)
Backed out changeset e1044a8ab189 (bug 1006198)
Backed out changeset 558abe22ab30 (bug 1006198)
Backed out changeset 5462b9babaed (bug 1006198)
2014-05-12 20:47:52 -07:00
Matt Woodrow
041026a477 Bug 1008610 - Convert right xlib surface into a SourceSurface. r=Bas 2014-05-13 14:58:54 +12:00
Matt Woodrow
1c404aa8b4 Bug 1006198 - Use 8byte aligned surface for CopyableCanvasLayer since that's the max WebGL supports for readback. r=nical 2014-05-13 14:20:27 +12:00
Matt Woodrow
ebdc59155b Bug 1006198 - Remove a bunch of dead Thebes code. r=jgilbert 2014-05-13 14:20:27 +12:00
Matt Woodrow
98d17e0b56 Bug 1006198 - Use a temporary surface if alignment is wrong during WebGL readback. r=jgilbert 2014-05-13 14:20:27 +12:00
Matt Woodrow
3e52ca3b8e Bug 1006198 - Add PremultiplyDataSurface. r=nical 2014-05-13 14:20:26 +12:00
Matt Woodrow
24b5fc6c5a Bug 1006198 - Apply Y flip if necessary to tiled Textures in ImageHost. r=nical 2014-05-13 14:20:26 +12:00
Wes Kocher
67ccf7dfd6 Backed out changeset 350f36f463d5 (bug 980178) to fix webgl bustage on a CLOSED TREE 2014-05-12 19:11:08 -07:00