| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #ifndef CHROME_RENDERER_PEPPER_PLATFORM_CONTEXT_3D_IMPL_H_ | 4 #ifndef CONTENT_RENDERER_PEPPER_PLATFORM_CONTEXT_3D_IMPL_H_ |
| 5 #define CHROME_RENDERER_PEPPER_PLATFORM_CONTEXT_3D_IMPL_H_ | 5 #define CONTENT_RENDERER_PEPPER_PLATFORM_CONTEXT_3D_IMPL_H_ |
| 6 | 6 |
| 7 #include "base/callback.h" | 7 #include "base/callback.h" |
| 8 #include "base/scoped_callback_factory.h" | 8 #include "base/scoped_callback_factory.h" |
| 9 #include "base/scoped_ptr.h" | 9 #include "base/scoped_ptr.h" |
| 10 #include "base/weak_ptr.h" | 10 #include "base/weak_ptr.h" |
| 11 #include "webkit/plugins/ppapi/plugin_delegate.h" | 11 #include "webkit/plugins/ppapi/plugin_delegate.h" |
| 12 | 12 |
| 13 #ifdef ENABLE_GPU | 13 #ifdef ENABLE_GPU |
| 14 | 14 |
| 15 namespace gpu { | 15 namespace gpu { |
| (...skipping 30 matching lines...) Expand all Loading... |
| 46 base::WeakPtr<ggl::Context> parent_context_; | 46 base::WeakPtr<ggl::Context> parent_context_; |
| 47 scoped_refptr<GpuChannelHost> channel_; | 47 scoped_refptr<GpuChannelHost> channel_; |
| 48 unsigned int parent_texture_id_; | 48 unsigned int parent_texture_id_; |
| 49 CommandBufferProxy* command_buffer_; | 49 CommandBufferProxy* command_buffer_; |
| 50 scoped_ptr<Callback0::Type> context_lost_callback_; | 50 scoped_ptr<Callback0::Type> context_lost_callback_; |
| 51 base::ScopedCallbackFactory<PlatformContext3DImpl> callback_factory_; | 51 base::ScopedCallbackFactory<PlatformContext3DImpl> callback_factory_; |
| 52 }; | 52 }; |
| 53 | 53 |
| 54 #endif // ENABLE_GPU | 54 #endif // ENABLE_GPU |
| 55 | 55 |
| 56 #endif // CHROME_RENDERER_PEPPER_PLATFORM_CONTEXT_3D_IMPL_H_ | 56 #endif // CONTENT_RENDERER_PEPPER_PLATFORM_CONTEXT_3D_IMPL_H_ |
| OLD | NEW |