|
|
Chromium Code Reviews|
Created:
6 years, 6 months ago by penghu Modified:
6 years, 6 months ago CC:
blink-reviews, jamesr, krit, jbroman, danakj, Rik, Stephen Chennney, pdr., rwlbuis Base URL:
https://chromium.googlesource.com/chromium/blink.git@master Visibility:
Public. |
DescriptionThese assert should be moved forward. they do not work here.
R=junov@chromium.org
BUG=
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175452
Patch Set 1 #Patch Set 2 : rebase #Messages
Total messages: 15 (0 generated)
On 2014/05/29 07:46:24, penghu wrote: lgtm
The CQ bit was checked by penghu@tencent.com
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/penghu@tencent.com/301133002/1
The CQ bit was unchecked by commit-bot@chromium.org
Failed to apply patch for Source/platform/graphics/Canvas2DLayerBridge.cpp:
While running patch -p1 --forward --force --no-backup-if-mismatch;
patching file Source/platform/graphics/Canvas2DLayerBridge.cpp
Hunk #1 FAILED at 414.
1 out of 1 hunk FAILED -- saving rejects to file
Source/platform/graphics/Canvas2DLayerBridge.cpp.rej
Patch: Source/platform/graphics/Canvas2DLayerBridge.cpp
Index: Source/platform/graphics/Canvas2DLayerBridge.cpp
diff --git a/Source/platform/graphics/Canvas2DLayerBridge.cpp
b/Source/platform/graphics/Canvas2DLayerBridge.cpp
index
a188a2644acbaba7f9a5bd1ee2acf6b27bfc6ebc..b6f40d4e0dcd27f763565d8b27084dece92c522c
100644
--- a/Source/platform/graphics/Canvas2DLayerBridge.cpp
+++ b/Source/platform/graphics/Canvas2DLayerBridge.cpp
@@ -414,15 +414,15 @@ bool
Canvas2DLayerBridge::prepareMailbox(blink::WebExternalTextureMailbox* outMa
mailboxInfo->m_status = MailboxInUse;
mailboxInfo->m_image = image;
+ ASSERT(mailboxInfo->m_mailbox.syncPoint == 0);
+ ASSERT(mailboxInfo->m_image.get());
+ ASSERT(mailboxInfo->m_image->getTexture());
+
// Because of texture sharing with the compositor, we must invalidate
// the state cached in skia so that the deferred copy on write
// in SkSurface_Gpu does not make any false assumptions.
mailboxInfo->m_image->getTexture()->invalidateCachedState();
- ASSERT(mailboxInfo->m_mailbox.syncPoint == 0);
- ASSERT(mailboxInfo->m_image.get());
- ASSERT(mailboxInfo->m_image->getTexture());
-
webContext->bindTexture(GL_TEXTURE_2D,
mailboxInfo->m_image->getTexture()->getTextureHandle());
webContext->texParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR);
webContext->texParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
The CQ bit was unchecked by penghu@tencent.com
The CQ bit was checked by wistoch@chromium.org
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/penghu@tencent.com/301133002/20001
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/win_blink_rel/builds/10521) win_gpu_triggered_tests on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/win_gpu_triggered...)
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: win_gpu_triggered_tests on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/win_gpu_triggered...)
The CQ bit was checked by penghu@tencent.com
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/penghu@tencent.com/301133002/20001
Message was sent while issue was closed.
Change committed as 175452 |
