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 | 4 |
5 #ifndef WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_IMPL_H_ | 5 #ifndef WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_IMPL_H_ |
6 #define WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_IMPL_H_ | 6 #define WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_IMPL_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 #include <set> | 9 #include <set> |
10 | 10 |
11 #include "base/hash_tables.h" | 11 #include "base/hash_tables.h" |
12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
13 #include "third_party/angle/include/GLSLANG/ShaderLang.h" | 13 #include "third_party/angle/include/GLSLANG/ShaderLang.h" |
14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebGraphicsContext3D.
h" | 14 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebGraphicsC
ontext3D.h" |
15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h" | 15 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h" |
16 #include "ui/gfx/native_widget_types.h" | 16 #include "ui/gfx/native_widget_types.h" |
17 | 17 |
18 #if !defined(OS_MACOSX) | 18 #if !defined(OS_MACOSX) |
19 #define FLIP_FRAMEBUFFER_VERTICALLY | 19 #define FLIP_FRAMEBUFFER_VERTICALLY |
20 #endif | 20 #endif |
21 namespace gfx { | 21 namespace gfx { |
22 class GLContext; | 22 class GLContext; |
23 class GLSurface; | 23 class GLSurface; |
24 class GLShareGroup; | 24 class GLShareGroup; |
25 } | 25 } |
(...skipping 493 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
519 ShHandle fragment_compiler_; | 519 ShHandle fragment_compiler_; |
520 ShHandle vertex_compiler_; | 520 ShHandle vertex_compiler_; |
521 gfx::PluginWindowHandle window_; | 521 gfx::PluginWindowHandle window_; |
522 scoped_refptr<gfx::GLShareGroup> share_group_; | 522 scoped_refptr<gfx::GLShareGroup> share_group_; |
523 }; | 523 }; |
524 | 524 |
525 } // namespace gpu | 525 } // namespace gpu |
526 } // namespace webkit | 526 } // namespace webkit |
527 | 527 |
528 #endif // WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_IMPL_H_ | 528 #endif // WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_IMPL_H_ |
OLD | NEW |