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 GPU_BLINK_WEBGRAPHICSCONTEXT3D_IMPL_H_ | 5 #ifndef GPU_BLINK_WEBGRAPHICSCONTEXT3D_IMPL_H_ |
6 #define GPU_BLINK_WEBGRAPHICSCONTEXT3D_IMPL_H_ | 6 #define GPU_BLINK_WEBGRAPHICSCONTEXT3D_IMPL_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include <string> | 10 #include <string> |
9 #include <vector> | 11 #include <vector> |
10 | 12 |
11 #include "base/callback.h" | 13 #include "base/callback.h" |
12 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
13 #include "gpu/blink/gpu_blink_export.h" | 15 #include "gpu/blink/gpu_blink_export.h" |
14 #include "third_party/WebKit/public/platform/WebGraphicsContext3D.h" | 16 #include "third_party/WebKit/public/platform/WebGraphicsContext3D.h" |
15 #include "third_party/WebKit/public/platform/WebString.h" | 17 #include "third_party/WebKit/public/platform/WebString.h" |
16 | 18 |
17 namespace gpu { | 19 namespace gpu { |
(...skipping 960 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
978 std::vector<blink::WGC3Denum> synthetic_errors_; | 980 std::vector<blink::WGC3Denum> synthetic_errors_; |
979 | 981 |
980 ::gpu::gles2::GLES2Interface* gl_; | 982 ::gpu::gles2::GLES2Interface* gl_; |
981 bool lose_context_when_out_of_memory_; | 983 bool lose_context_when_out_of_memory_; |
982 uint32_t flush_id_; | 984 uint32_t flush_id_; |
983 }; | 985 }; |
984 | 986 |
985 } // namespace gpu_blink | 987 } // namespace gpu_blink |
986 | 988 |
987 #endif // GPU_BLINK_WEBGRAPHICSCONTEXT3D_IMPL_H_ | 989 #endif // GPU_BLINK_WEBGRAPHICSCONTEXT3D_IMPL_H_ |
OLD | NEW |