Chromium Code Reviews| Index: cc/output/renderer.cc |
| diff --git a/cc/output/renderer.cc b/cc/output/renderer.cc |
| index 488039acd9e699a0b5fdb9c21f34e8628f1a66a5..0377b429da2c7cc2aeb01209824c211b1f9281b1 100644 |
| --- a/cc/output/renderer.cc |
| +++ b/cc/output/renderer.cc |
| @@ -36,4 +36,15 @@ RendererCapabilities RendererCapabilitiesImpl::MainThreadCapabilities() const { |
| using_shared_memory_resources); |
| } |
| +bool RendererCapabilitiesImpl::Equals( |
|
danakj
2014/02/11 19:58:59
This should move to RendererCapabilities (main thr
boliu
2014/02/11 21:44:07
Done.
|
| + const RendererCapabilities& main_caps) const { |
| + return best_texture_format == main_caps.best_texture_format && |
| + allow_partial_texture_updates == |
| + main_caps.allow_partial_texture_updates && |
| + using_offscreen_context3d == main_caps.using_offscreen_context3d && |
| + max_texture_size == main_caps.max_texture_size && |
| + using_shared_memory_resources == |
| + main_caps.using_shared_memory_resources; |
| +} |
| + |
| } // namespace cc |