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 WEBKIT_COMMON_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_COMMAND_BUFFER_IMPL_H_ | 5 #ifndef WEBKIT_COMMON_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_COMMAND_BUFFER_IMPL_H_ |
6 #define WEBKIT_COMMON_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_COMMAND_BUFFER_IMPL_H_ | 6 #define WEBKIT_COMMON_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_COMMAND_BUFFER_IMPL_H_ |
7 | 7 |
8 #if defined(ENABLE_GPU) | 8 #if defined(ENABLE_GPU) |
9 | 9 |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
14 #include "gpu/command_buffer/client/gpu_memory_buffer.h" | 14 #include "gpu/command_buffer/client/gpu_memory_buffer.h" |
15 #include "third_party/WebKit/Source/Platform/chromium/public/WebGraphicsContext3
D.h" | 15 #include "third_party/WebKit/public/platform/WebGraphicsContext3D.h" |
16 #include "third_party/WebKit/Source/Platform/chromium/public/WebString.h" | 16 #include "third_party/WebKit/public/platform/WebString.h" |
17 #include "ui/gfx/native_widget_types.h" | 17 #include "ui/gfx/native_widget_types.h" |
18 #include "webkit/common/gpu/webkit_gpu_export.h" | 18 #include "webkit/common/gpu/webkit_gpu_export.h" |
19 | 19 |
20 namespace gpu { | 20 namespace gpu { |
21 namespace gles2 { | 21 namespace gles2 { |
22 class GLES2Implementation; | 22 class GLES2Implementation; |
23 } | 23 } |
24 } | 24 } |
25 | 25 |
26 using WebKit::WebGLId; | 26 using WebKit::WebGLId; |
(...skipping 574 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
601 void FlipVertically(uint8* framebuffer, | 601 void FlipVertically(uint8* framebuffer, |
602 unsigned int width, | 602 unsigned int width, |
603 unsigned int height); | 603 unsigned int height); |
604 }; | 604 }; |
605 | 605 |
606 } // namespace gpu | 606 } // namespace gpu |
607 } // namespace webkit | 607 } // namespace webkit |
608 | 608 |
609 #endif // defined(ENABLE_GPU) | 609 #endif // defined(ENABLE_GPU) |
610 #endif // WEBKIT_COMMON_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_COMMAND_BUFFER_IMPL
_H_ | 610 #endif // WEBKIT_COMMON_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_COMMAND_BUFFER_IMPL
_H_ |
OLD | NEW |