Bug 1278780: Use |TexturedEffect::mSamplingFilter| on b2g, r=bas
authorThomas Zimmermann <tdz@users.sourceforge.net>
Fri, 10 Jun 2016 09:19:37 +0200
changeset 301490 37ff60848e833a5f120126d8bf5b98dba83b05a9
parent 301489 a7b96471dd304f7bf3e8df1642009ddbd31c846c
child 301491 e9b2e7b412b9e78d43330e65d7151419f1b1f994
push id30336
push usercbook@mozilla.com
push dateSun, 12 Jun 2016 09:26:58 +0000
treeherdermozilla-central@016e0f47e8ad [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbas
bugs1278780
milestone50.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1278780: Use |TexturedEffect::mSamplingFilter| on b2g, r=bas MozReview-Commit-ID: CEmY1zsBaRG
gfx/layers/LayerScope.cpp
--- a/gfx/layers/LayerScope.cpp
+++ b/gfx/layers/LayerScope.cpp
@@ -1124,17 +1124,17 @@ SenderHelper::SendGraphicBuffer(GLContex
     if (!aEffect->mState.mSurface.get()) {
         return false;
     }
 
     // Expose packet creation here, so we could dump primary texture effect attributes.
     auto packet = MakeUnique<layerscope::Packet>();
     layerscope::TexturePacket* texturePacket = packet->mutable_texture();
     texturePacket->set_mpremultiplied(aEffect->mPremultiplied);
-    DumpFilter(texturePacket, aEffect->mFilter);
+    DumpFilter(texturePacket, aEffect->mSamplingFilter);
     DumpRect(texturePacket->mutable_mtexturecoords(), aEffect->mTextureCoords);
 
     GLenum target = aSource->GetTextureTarget();
     mozilla::UniquePtr<DebugGLGraphicBuffer> package =
         MakeUnique<DebugGLGraphicBuffer>(aLayerRef, target, texID, aEffect->mState, aIsMask, Move(packet));
 
     // The texure content in this TexureHost is not altered,
     // we don't need to send it again.