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

21078 Коммитов

Автор SHA1 Сообщение Дата
Andrea Marchesini 83b88d383f Bug 1231378 - part 2 - Fix uninitialized members of classes in dom/*, r=smaug 2016-01-12 18:16:59 +00:00
Jim Mathies a849bcad46 Bug 1193055 - Follow up, remove extraneous methods noted in review comments. r=followup 2016-01-12 11:32:12 -06:00
Markus Stange ebf52b3a75 Bug 1238753 - Don't skip the call to StartRemoteDrawing in from BasicCompositor::BeginFrame if the invalid region is empty. r=mattwoodrow
Sometimes we need a composition even if nothing has changed, for example for window resizes on Mac.
LayerManagerComposite::UpdateAndRender() already has a check that skips the call to BasicCompositor
if it's not necessary.

--HG--
extra : commitid : EFN68WKwWyp
extra : rebase_source : 00d8b063d23500b72a7f0c5fb03f5b726a3d5ac9
2016-01-12 13:27:14 +01:00
Markus Stange c6fb172a65 Bug 1238753 - Make BasicCompositor respect changes to mInvalidRegion through StartRemoteDrawingWithRegion properly. r=mattwoodrow
--HG--
extra : commitid : 65tZtDLZZYx
extra : rebase_source : 8caf66555fee511daf0c336b9e8986da383f2704
2016-01-12 13:14:42 +01:00
Markus Stange e69314a2fd Bug 1236282 - Clip color layer drawing in BasicCompositor so that unbounded operators don't erase stuff outside the layer. r=Bas
The same as bug 1077358, but for BasicCompositor.

--HG--
extra : commitid : 2xE66rOGdFx
extra : rebase_source : 4a81bbee35ae342add1bfca742d99b2c6dd73dcc
2016-01-12 12:47:36 +01:00
Jim Mathies 1c7a623149 Bug 1193055 - Update windowed plugin visibility in response to apz scroll in the chrome process vs. relying on a full round trip through content. Reduces lag in windowed plugin updates. r=kats 2016-01-12 11:05:58 -06:00
Kartikaya Gupta e2bc5dfde1 Bug 1193055 - Only fire TransformBegin/TransformEnd notifications for actual wheel animations. r=botond 2016-01-12 11:05:53 -06:00
Carsten "Tomcat" Book 6692893d20 Backed out changeset 5f6a58676e87 (bug 1231378) 2016-01-12 15:48:57 +01:00
Andrea Marchesini 001e241382 Bug 1231378 - part 2 - Fix uninitialized members of classes in dom/*, r=smaug 2016-01-12 13:54:53 +00:00
Carsten "Tomcat" Book 5f958d7b4c Backed out changeset 7ace2c856aa9 (bug 1238015) for memory leaks 2016-01-12 11:44:07 +01:00
Nicolas Silva 3ae9e8ee03 Bug 1238015 - Make sure PTexture actors are destroyed after all messages referring to them are sent. r=sotaro 2016-01-12 10:38:14 +01:00
Milan Sreckovic 89f27f75cc Bug 1237404 - Part 2. Optimizing the main thread scenario. r=benwa 2016-01-08 13:44:00 +01:00
Milan Sreckovic b4b43e0615 Bug 1237404 - Part 1. Exposing some functionality in gfxCrashReporterUtils. r=benwa 2016-01-08 13:42:00 +01:00
Lee Salzman 9f8aa524ad Bug 1233858 - work around Skia __vectorcall bugs on Win32. r=jmuizelaar 2016-01-05 15:09:19 -05:00
Lee Salzman 707edbacbc Bug 1233858 -Part 2 - implement runtime-detected SSE2 optimizations for Skia. r=jmuizelaar 2015-12-29 12:22:57 -05:00
Lee Salzman 712393d629 Bug 1233858 - Part 1 - ensure Skia's SkGraphics::Init is called from gfxPlatform::Init. r=jmuizelaar 2015-12-29 12:22:51 -05:00
Bas Schouten b3027878ab Bug 1238328: Purge stored command lists by calling EndDraw/BeginDraw on a regular basis when they're used. r=jrmuizel
--HG--
extra : rebase_source : 5041fa82907837c50e657c87afeda85be40b25d7
2016-01-11 16:38:10 +01:00
Matt Woodrow 2bfff9fd80 Bug 1234047 - Always reuse an existing TextureClient in IMFYCbCrImage if one exist. r=Bas 2016-01-12 18:08:21 +13:00
Phil Ringnalda be425f27a9 Back out f137a421233f (bug 1234441) for build bustage
CLOSED TREE
2016-01-11 19:32:02 -08:00
Jeff Gilbert dfd883b2e9 Bug 1234441 - Allow malformed ESSL version string. - r=jrmuizel 2016-01-07 16:59:56 -08:00
Nicholas Nethercote 6eb3a99296 Bug 1231888 - Remove AutoCairoPixmanBugWorkaround. r=jrmuizel. 2016-01-11 16:11:57 -08:00
Randall Barker ed071f6c7e Bug 1229752 - When C++ APZ scroll offset diverges from the Gecko scroll offset, it is not being applied properly to the event position r=botond,tnikkel 2016-01-11 16:06:14 -08:00
Nicholas Nethercote 23b425f2f7 Bug 1238438 (part 3) - Inline both PathFromRegionInternal() functions. r=nical.
They both have a single call site, so aren't worth being in separate functions.

--HG--
extra : rebase_source : 09961affe0902cfd44448b75445438d9900a0942
2016-01-10 16:48:55 -08:00
Nicholas Nethercote c58fca74ef Bug 1238438 (part 2) - Inline both ClipToRegionInternal() functions. r=nical.
They both have a single call site, so aren't worth being in separate functions.

--HG--
extra : rebase_source : 08dcc7ef2b98bb6111c65a000ac0362c8594f952
2016-01-10 16:48:52 -08:00
Nicholas Nethercote cea9bf8509 Bug 1238438 (part 1) - Remove dead function gfxUtils::PathFromRegion(). r=nical.
--HG--
extra : rebase_source : b3757881f46b9b4902ce6c7c1071844c040c0e62
2016-01-10 16:22:52 -08:00
Bas Schouten 3edd8eed24 Bug 1237375: Add some more extensive debugging information. r=milan
--HG--
extra : rebase_source : 8e1bfbc2f58e053e143fcad258974c0c92adb73c
2016-01-08 00:59:06 +01:00
Bas Schouten b15000805a Bug 1238028: When D2D 1.0 is not allowed disable D2D completely when not using 1.1. r=jrmuizel
--HG--
extra : rebase_source : 2e49dcd71e2ebb61d201285123f677dd3e09f1d8
2016-01-11 00:41:39 +01:00
Nicolas Silva 9fe2c25285 Bug 1235796 - Allow allocating YCbCr textures with Cb/Cr planes bigger than the Y plane. r=jrmuizel 2016-01-08 15:10:27 +01:00
Nicholas Nethercote fd022a1ff9 Bug 1236802 (part 2) - Remove a dead CurrentSurface() call. r=mattwoodrow.
--HG--
extra : rebase_source : 73638b86f45432bfe400b145379c996480879390
2016-01-10 14:05:27 -08:00
Nicholas Nethercote f13b985259 Bug 1236802 (part 1) - Moz2Dify some blur code a little. r=mattwoodrow.
gfxAlphaBoxBlur::GetInsetBlur() can be trivially passed a DrawTarget instead of
a gfxContext.

The patch also removes the DrawTarget parameter from GetBlur() because it can
be obtained from the gfxContext parameter.

--HG--
extra : rebase_source : 52cdd685ed3ecdc11affb05fa5299b0a792231fb
2016-01-10 14:05:26 -08:00
Matt Woodrow 0728cd334f Bug 1231564 - Don't trigger new composites just to repaint debug overlays. r=BenWa 2016-01-11 15:12:05 +13:00
Matt Woodrow e767cc440a Bug 1231564 - Don't take the compositor side layer-tree snapshot until after compositing. r=dvander 2016-01-11 15:11:14 +13:00
Nicholas Nethercote 88696a303a Bug 1209812 (part 6) - Convert all gfxImageFormat values to SurfaceFormat equivalents. r=jrmuizel.
This patch:

- Makes the following substitutions (plus necessary namespace qualifiers:

    gfxImageFormat::ARGB32      --> SurfaceFormat::A8R8G8B8_UINT32
    gfxImageFormat::RGB24       --> SurfaceFormat::X8R8G8B8_UINT32
    gfxImageFormat::A8          --> SurfaceFormat::A8
    gfxImageFormat::RGB16_565   --> SurfaceFormat::R5G6B5_UINT16
    gfxImageFormat::Unknown     --> SurfaceFormat::UNKNOWN

- Changes gfxImageFormat to be a typedef to gfx::SurfaceFormat. This will be
  removed soon.

- Removes gfxCairoFormatToImageFormat() and gfxImageFormatToCairoFormat() and
  replace calls to them with CairoFormatToGfxFormat() and
  GfxFormatToCairoFormat().

- Removes ParamTraits<gfxImageFormat>.

- Add namespace qualifiers to SurfaceFormat instances where necessary.

--HG--
extra : rebase_source : f56e92b1593957a9e4e00171100bc7605816e696
2016-01-07 20:57:38 -08:00
Markus Stange 8ac683bf41 Bug 1199468 - Create prefs for the smooth scroll timing function shape. r=kats
--HG--
extra : commitid : 4ucTtILvlFF
extra : rebase_source : dcad143776a653dafccfa9be5633a354fcefced2
2016-01-07 21:09:18 +01:00
Alfredo Yang 869d8facd4 Bug 1224889 - OpenMax IL video decoding for PDM. r=sotaro, r=nical
--HG--
extra : rebase_source : 758864e83ac009581bea87b90ba1bc235934ffb7
2016-01-08 06:24:00 -05:00
Botond Ballo 1497a2fe7c Bug 1236750 - Use strongly-typed matrices to represent layer transforms in APZ code. r=kats
--HG--
extra : source : 20dccf6f7b3072e943f11573195559ab5f0c721c
2016-01-04 20:07:54 -05:00
Botond Ballo b22e5adb20 Bug 1236750 - Add typed getters for layer transform matrices. r=kats
--HG--
extra : source : bf19963d10d6cc021092662176845192764f9cf0
2016-01-06 18:56:58 -05:00
Botond Ballo 2a0650a2e9 Bug 1236750 - Add some specialized typedefs of Matrix4x4 to represent layer transform matrices. r=kats
Also add a related PixelCastJustification and a utility function.

--HG--
extra : source : 84848983c8f9a79a073fa419f50430212b91d7eb
2016-01-06 18:56:25 -05:00
Botond Ballo e388e00738 Bug 1236750 - Rename ViewTransform to AsyncTransform. r=kats
It's only used to represent async transforms, and making this clear
allows us to replace (in a subsequent change) its conversion operator
to Matrix4x4 with a conversion operator to a specific typed matrix.

--HG--
extra : source : 38b22004c06481c62eb4e7fead64e1ec52603225
2015-12-30 18:24:26 -05:00
Ethan Lin 3fac635eb8 Bug 1235299 - Fix WebGL assertions for copyTexImage2D. r=jgilbert 2016-01-07 18:50:00 +01:00
Chris Peterson d7f8317f74 Back out 400861eb8c62 (Bug 1236323 - Part 2) for unearthing Skia -Wunreachable-code warnings-as-errors 2016-01-08 00:32:01 -08:00
Chris Peterson a2a55a8086 Bug 1236323 - Part 2: Suppress -Wimplicit-fallthrough warnings in gfx/ from Skia header files. r=nical
gfx/skia/skia/include/gpu/GrTestUtils.h:94:9 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
gfx/skia/skia/include/gpu/GrTypesPriv.h:181:9 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
2015-11-24 09:39:04 -08:00
Chris Peterson b94d12b3b4 Bug 1236323 - Part 1: Annotate intentional switch fallthroughs to suppress -Wimplicit-fallthrough warnings in gfx/. r=nical
gfx/thebes/gfxFcPlatformFontList.cpp:706:9: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
gfx/thebes/gfxFontconfigFonts.cpp:2183:9: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
gfx/2d/DrawTargetCG.cpp:812:5: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
gfx/2d/DrawTargetCairo.cpp:636:5: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
2015-11-24 09:39:04 -08:00
Nicholas Nethercote ec89bbf7f2 Bug 1237151 (part 3) - Remove ignored qualifiers in all remaining code. r=froydnj. 2016-01-05 17:08:45 -08:00
Tooru Fujisawa 4fac62d240 Bug 382721 - Part 0: Add missing includes and namespaces. r=jrmuizel 2015-09-10 19:24:34 +09:00
Morris Tseng 1ae8baf23c Bug 917505 - Add WEBGL_compressed_texture_es3 support. r=jgilbert r=smaug
--HG--
extra : commitid : 96pBvjbX0be
2016-01-08 10:12:22 +08:00
Kartikaya Gupta 3263b5aa68 Bug 1235994 - For wheel events which may have momentum following them, handle scroll snapping in APZ. r=mstange
--HG--
extra : commitid : 1NLmL8uvOSV
2016-01-07 10:39:46 -05:00
Kartikaya Gupta 90c45d819d Bug 1235994 - Extract a helper function to request a snap to the predicted destination. r=botond
--HG--
extra : commitid : 8TlA8EfxbN1
2016-01-07 10:39:13 -05:00
Nicolas Silva f02f7a61e4 Bug 1221056 - Make the destroy messages for PTexture and PCompositable part of the current transaction when applicable. r=sotaro 2016-01-07 11:17:40 +01:00
Nicholas Nethercote 1c8aac359a Bug 1237448 - Moz2Dify two functions in gfxSurfaceDrawable. r=roc.
--HG--
extra : rebase_source : c8189d80a3b18580e967e0907c5ec95956ca3cd0
2016-01-06 18:26:33 -08:00