| Index: content/renderer/gpu/webgraphicscontext3d_command_buffer_impl.cc
|
| diff --git a/content/renderer/gpu/webgraphicscontext3d_command_buffer_impl.cc b/content/renderer/gpu/webgraphicscontext3d_command_buffer_impl.cc
|
| index 46e74d7b17276ae59ba5039ab7101cd95e40bf43..4c96beb3ce9c27e3ab01bf70257165188b9c4759 100644
|
| --- a/content/renderer/gpu/webgraphicscontext3d_command_buffer_impl.cc
|
| +++ b/content/renderer/gpu/webgraphicscontext3d_command_buffer_impl.cc
|
| @@ -272,6 +272,12 @@ void WebGraphicsContext3DCommandBufferImpl::reshape(int width, int height) {
|
| #endif // FLIP_FRAMEBUFFER_VERTICALLY
|
| }
|
|
|
| +void WebGraphicsContext3DCommandBufferImpl::setVisibility(bool visible) {
|
| + gl_->SetSurfaceVisibleCHROMIUM(visible);
|
| + if (!visible)
|
| + gl_->helper()->CommandBufferHelper::Flush();
|
| +}
|
| +
|
| #ifdef FLIP_FRAMEBUFFER_VERTICALLY
|
| void WebGraphicsContext3DCommandBufferImpl::FlipVertically(
|
| uint8* framebuffer,
|
|
|