| Index: content/common/gpu/client/context_provider_command_buffer.cc
|
| diff --git a/content/common/gpu/client/context_provider_command_buffer.cc b/content/common/gpu/client/context_provider_command_buffer.cc
|
| index 59034e12071ae7b4405e4ebdf98d30ded496edb6..a6a3f4e180bdac5ec541ad643603091206f5169b 100644
|
| --- a/content/common/gpu/client/context_provider_command_buffer.cc
|
| +++ b/content/common/gpu/client/context_provider_command_buffer.cc
|
| @@ -165,6 +165,14 @@ ContextProviderCommandBuffer::ContextCapabilities() {
|
| return capabilities_;
|
| }
|
|
|
| +bool ContextProviderCommandBuffer::IsContextLost() {
|
| + DCHECK(context3d_);
|
| + DCHECK(lost_context_callback_proxy_); // Is bound to thread.
|
| + DCHECK(context_thread_checker_.CalledOnValidThread());
|
| +
|
| + return context3d_->isContextLost();
|
| +}
|
| +
|
| void ContextProviderCommandBuffer::VerifyContexts() {
|
| DCHECK(context3d_);
|
| DCHECK(lost_context_callback_proxy_); // Is bound to thread.
|
| @@ -212,7 +220,6 @@ bool ContextProviderCommandBuffer::InitializeCapabilities() {
|
| // TODO(jamesr): This information is duplicated with
|
| // gpu::gles2::FeatureInfo::AddFeatures().
|
| Capabilities caps;
|
| - caps.bind_uniform_location = true;
|
| caps.discard_backbuffer = true;
|
| caps.set_visibility = true;
|
|
|
|
|