author | Gregor Wagner <anygregor@gmail.com> |
Fri, 25 Oct 2013 09:25:11 -0700 | |
changeset 166101 | 96adbcb3ba6a050bf900982d69cf48ac327ae3a8 |
parent 166100 | 0a033a45ca4d6dfb9aa58e1014f2f461b30ca3be |
child 166102 | 2e77e215c7f3d4015e48fd8cfbaf5a3b7846f57a |
push id | 3066 |
push user | akeybl@mozilla.com |
push date | Mon, 09 Dec 2013 19:58:46 +0000 |
treeherder | mozilla-beta@a31a0dce83aa [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
bugs | 907463 |
milestone | 27.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
|
--- a/gfx/layers/client/ContentClient.cpp +++ b/gfx/layers/client/ContentClient.cpp @@ -569,20 +569,17 @@ ContentClientDoubleBuffered::UpdateDesti bool isClippingCheap = IsClippingCheap(destCtx, aUpdateRegion); if (isClippingCheap) { gfxUtils::ClipToRegion(destCtx, aUpdateRegion); } if (SupportsAzureContent()) { MOZ_ASSERT(!destCtx->IsCairo()); - if (destCtx->GetDrawTarget()->GetFormat() == FORMAT_B8G8R8A8) { - destCtx->GetDrawTarget()->ClearRect(Rect(0, 0, mFrontBufferRect.width, mFrontBufferRect.height)); - } - aSource.DrawBufferWithRotation(destCtx->GetDrawTarget(), BUFFER_BLACK); + aSource.DrawBufferWithRotation(destCtx->GetDrawTarget(), BUFFER_BLACK, 1.0, OP_SOURCE); } else { aSource.DrawBufferWithRotation(destCtx, BUFFER_BLACK); } if (aSource.HaveBufferOnWhite()) { MOZ_ASSERT(HaveBufferOnWhite()); nsRefPtr<gfxContext> destCtx = GetContextForQuadrantUpdate(aUpdateRegion.GetBounds(), BUFFER_WHITE); @@ -590,20 +587,17 @@ ContentClientDoubleBuffered::UpdateDesti bool isClippingCheap = IsClippingCheap(destCtx, aUpdateRegion); if (isClippingCheap) { gfxUtils::ClipToRegion(destCtx, aUpdateRegion); } if (SupportsAzureContent()) { MOZ_ASSERT(!destCtx->IsCairo()); - if (destCtx->GetDrawTarget()->GetFormat() == FORMAT_B8G8R8A8) { - destCtx->GetDrawTarget()->ClearRect(Rect(0, 0, mFrontBufferRect.width, mFrontBufferRect.height)); - } - aSource.DrawBufferWithRotation(destCtx->GetDrawTarget(), BUFFER_WHITE); + aSource.DrawBufferWithRotation(destCtx->GetDrawTarget(), BUFFER_WHITE, 1.0, OP_SOURCE); } else { aSource.DrawBufferWithRotation(destCtx, BUFFER_WHITE); } } } ContentClientSingleBuffered::~ContentClientSingleBuffered() {