| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "mojo/examples/compositor_app/gles2_client_impl.h" | 5 #include "mojo/examples/compositor_app/gles2_client_impl.h" |
| 6 | 6 |
| 7 #include "base/debug/trace_event.h" | 7 #include "base/debug/trace_event.h" |
| 8 #include "gpu/command_buffer/client/gles2_implementation.h" | 8 #include "gpu/command_buffer/client/gles2_implementation.h" |
| 9 #include "mojo/public/gles2/gles2.h" | 9 #include "mojo/public/gles2/gles2.h" |
| 10 | 10 |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 gpu::gles2::GLES2Interface* GLES2ClientImpl::Interface() const { | 33 gpu::gles2::GLES2Interface* GLES2ClientImpl::Interface() const { |
| 34 return impl_; | 34 return impl_; |
| 35 } | 35 } |
| 36 | 36 |
| 37 gpu::ContextSupport* GLES2ClientImpl::Support() const { | 37 gpu::ContextSupport* GLES2ClientImpl::Support() const { |
| 38 return impl_; | 38 return impl_; |
| 39 } | 39 } |
| 40 | 40 |
| 41 void GLES2ClientImpl::ContextLost() { impl_ = NULL; } | 41 void GLES2ClientImpl::ContextLost() { impl_ = NULL; } |
| 42 | 42 |
| 43 void GLES2ClientImpl::DrawAnimationFrame() {} |
| 44 |
| 43 } // namespace examples | 45 } // namespace examples |
| 44 } // namespace mojo | 46 } // namespace mojo |
| OLD | NEW |