Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "content/renderer/webgraphicscontext3d_provider_impl.h" | 5 #include "content/renderer/webgraphicscontext3d_provider_impl.h" |
| 6 | 6 |
| 7 #include "content/common/gpu/client/context_provider_command_buffer.h" | 7 #include "content/common/gpu/client/context_provider_command_buffer.h" |
| 8 #include "gpu/command_buffer/client/context_support.h" | 8 #include "gpu/command_buffer/client/context_support.h" |
| 9 | 9 |
| 10 namespace content { | 10 namespace content { |
| (...skipping 28 matching lines...) Expand all Loading... | |
| 39 void WebGraphicsContext3DProviderImpl::setLostContextCallback( | 39 void WebGraphicsContext3DProviderImpl::setLostContextCallback( |
| 40 const base::Closure& c) { | 40 const base::Closure& c) { |
| 41 provider_->SetLostContextCallback(c); | 41 provider_->SetLostContextCallback(c); |
| 42 } | 42 } |
| 43 | 43 |
| 44 void WebGraphicsContext3DProviderImpl::setErrorMessageCallback( | 44 void WebGraphicsContext3DProviderImpl::setErrorMessageCallback( |
| 45 const base::Callback<void(const char*, int32_t)>& c) { | 45 const base::Callback<void(const char*, int32_t)>& c) { |
| 46 provider_->ContextSupport()->SetErrorMessageCallback(c); | 46 provider_->ContextSupport()->SetErrorMessageCallback(c); |
| 47 } | 47 } |
| 48 | 48 |
| 49 void WebGraphicsContext3DProviderImpl::signalQuery( | |
|
esprehn
2016/10/18 01:44:16
I know this whole file does it but we don't usuall
Kai Ninomiya
2016/10/19 17:54:11
Done.
| |
| 50 uint32_t query, const base::Closure& c) { | |
| 51 provider_->ContextSupport()->SignalQuery(query, c); | |
| 52 } | |
| 53 | |
| 49 } // namespace content | 54 } // namespace content |
| OLD | NEW |