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> | 8 #include <stdint.h> |
9 | 9 |
10 #include <string> | 10 #include <string> |
(...skipping 960 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
971 WebGraphicsContext3D::WebGraphicsErrorMessageCallback* | 971 WebGraphicsContext3D::WebGraphicsErrorMessageCallback* |
972 error_message_callback_; | 972 error_message_callback_; |
973 scoped_ptr<WebGraphicsContext3DErrorMessageCallback> | 973 scoped_ptr<WebGraphicsContext3DErrorMessageCallback> |
974 client_error_message_callback_; | 974 client_error_message_callback_; |
975 | 975 |
976 // Errors raised by synthesizeGLError(). | 976 // Errors raised by synthesizeGLError(). |
977 std::vector<blink::WGC3Denum> synthetic_errors_; | 977 std::vector<blink::WGC3Denum> synthetic_errors_; |
978 | 978 |
979 ::gpu::gles2::GLES2Interface* gl_; | 979 ::gpu::gles2::GLES2Interface* gl_; |
980 bool lose_context_when_out_of_memory_; | 980 bool lose_context_when_out_of_memory_; |
981 uint32_t flush_id_; | |
982 }; | 981 }; |
983 | 982 |
984 } // namespace gpu_blink | 983 } // namespace gpu_blink |
985 | 984 |
986 #endif // GPU_BLINK_WEBGRAPHICSCONTEXT3D_IMPL_H_ | 985 #endif // GPU_BLINK_WEBGRAPHICSCONTEXT3D_IMPL_H_ |
OLD | NEW |