OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #ifndef CONTENT_COMMON_GPU_CLIENT_WEBGRAPHICSCONTEXT3D_COMMAND_BUFFER_IMPL_H_ | 5 #ifndef CONTENT_COMMON_GPU_CLIENT_WEBGRAPHICSCONTEXT3D_COMMAND_BUFFER_IMPL_H_ |
6 #define CONTENT_COMMON_GPU_CLIENT_WEBGRAPHICSCONTEXT3D_COMMAND_BUFFER_IMPL_H_ | 6 #define CONTENT_COMMON_GPU_CLIENT_WEBGRAPHICSCONTEXT3D_COMMAND_BUFFER_IMPL_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/callback.h" | 12 #include "base/callback.h" |
13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
15 #include "content/common/gpu/gpu_process_launch_causes.h" | 15 #include "content/common/gpu/gpu_process_launch_causes.h" |
16 #include "googleurl/src/gurl.h" | 16 #include "googleurl/src/gurl.h" |
17 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebGraphicsC
ontext3D.h" | 17 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebGraphicsC
ontext3D.h" |
18 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h" | 18 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h" |
19 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" | 19 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" |
20 #include "ui/gfx/gl/gpu_preference.h" | 20 #include "ui/gl/gpu_preference.h" |
21 #include "ui/gfx/native_widget_types.h" | 21 #include "ui/gfx/native_widget_types.h" |
22 | 22 |
23 #if defined(USE_SKIA) | 23 #if defined(USE_SKIA) |
24 #define FLIP_FRAMEBUFFER_VERTICALLY | 24 #define FLIP_FRAMEBUFFER_VERTICALLY |
25 #endif | 25 #endif |
26 | 26 |
27 class CommandBufferProxy; | 27 class CommandBufferProxy; |
28 class GpuChannelHost; | 28 class GpuChannelHost; |
29 class GpuChannelHostFactory; | 29 class GpuChannelHostFactory; |
30 struct GpuMemoryAllocationForRenderer; | 30 struct GpuMemoryAllocationForRenderer; |
(...skipping 655 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
686 CommandBufferProxy* command_buffer_; | 686 CommandBufferProxy* command_buffer_; |
687 gpu::gles2::GLES2CmdHelper* gles2_helper_; | 687 gpu::gles2::GLES2CmdHelper* gles2_helper_; |
688 gpu::TransferBuffer* transfer_buffer_; | 688 gpu::TransferBuffer* transfer_buffer_; |
689 gpu::gles2::GLES2Implementation* gl_; | 689 gpu::gles2::GLES2Implementation* gl_; |
690 Error last_error_; | 690 Error last_error_; |
691 int frame_number_; | 691 int frame_number_; |
692 bool bind_generates_resources_; | 692 bool bind_generates_resources_; |
693 }; | 693 }; |
694 | 694 |
695 #endif // CONTENT_COMMON_GPU_CLIENT_WEBGRAPHICSCONTEXT3D_COMMAND_BUFFER_IMPL_H_ | 695 #endif // CONTENT_COMMON_GPU_CLIENT_WEBGRAPHICSCONTEXT3D_COMMAND_BUFFER_IMPL_H_ |
OLD | NEW |