Chromium Code Reviews| Index: content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc |
| diff --git a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc |
| index ed105b4fe93c19225e424538c4ebfe528e8657c7..69f0947ac6aca6cfd4484347a436ec722e9b2cdd 100644 |
| --- a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc |
| +++ b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc |
| @@ -1599,6 +1599,13 @@ void WebGraphicsContext3DCommandBufferImpl::signalSyncPoint( |
| base::Bind(&SignalSyncPointCallback, base::Passed(&own_callback))); |
| } |
| +void WebGraphicsContext3DCommandBufferImpl::loseContextCHROMIUM( |
| + WGC3Denum current, WGC3Denum other) { |
| + gl_->LoseContextCHROMIUM(current, other); |
| + gl_->Finish(); |
|
piman
2013/06/21 19:05:05
Actually, doing a Finish() here makes it less inte
|
| + DCHECK(IsCommandBufferContextLost()); |
| +} |
| + |
| void WebGraphicsContext3DCommandBufferImpl::genMailboxCHROMIUM( |
| WGC3Dbyte* name) { |
| std::vector<gpu::Mailbox> names(1); |