Chromium Code Reviews| Index: third_party/WebKit/Source/platform/graphics/ImageBuffer.cpp |
| diff --git a/third_party/WebKit/Source/platform/graphics/ImageBuffer.cpp b/third_party/WebKit/Source/platform/graphics/ImageBuffer.cpp |
| index 9727558b3f3eab4f11ee4869560fcce8d02381f6..f10a7040f7c2d50ffa17988fcfd6decdb88d2cd9 100644 |
| --- a/third_party/WebKit/Source/platform/graphics/ImageBuffer.cpp |
| +++ b/third_party/WebKit/Source/platform/graphics/ImageBuffer.cpp |
| @@ -254,6 +254,7 @@ bool ImageBuffer::copyToPlatformTexture(gpu::gles2::GLES2Interface* gl, GLuint t |
| GLbyte syncToken[24]; |
| gl->GenSyncTokenCHROMIUM(contextFenceSync, syncToken); |
| sharedGL->WaitSyncTokenCHROMIUM(syncToken); |
| + sharedGL->ProduceTextureDirectCHROMIUM(0, textureInfo->fTarget, mailbox->name); |
|
Ken Russell (switch to Gerrit)
2016/08/05 00:56:52
Please add a comment that this disassociates the t
|
| // Undo grContext texture binding changes introduced in this function |
| provider->grContext()->resetContext(kTextureBinding_GrGLBackendState); |