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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 bool initialized_; | 67 bool initialized_; |
68 bool initialize_failed_; | 68 bool initialize_failed_; |
69 | 69 |
70 WebGraphicsContext3D::WebGraphicsContextLostCallback* context_lost_callback_; | 70 WebGraphicsContext3D::WebGraphicsContextLostCallback* context_lost_callback_; |
71 | 71 |
72 WebGraphicsContext3D::WebGraphicsErrorMessageCallback* | 72 WebGraphicsContext3D::WebGraphicsErrorMessageCallback* |
73 error_message_callback_; | 73 error_message_callback_; |
74 scoped_ptr<WebGraphicsContext3DErrorMessageCallback> | 74 scoped_ptr<WebGraphicsContext3DErrorMessageCallback> |
75 client_error_message_callback_; | 75 client_error_message_callback_; |
76 | 76 |
77 // Errors raised by synthesizeGLError(). | |
78 std::vector<blink::WGC3Denum> synthetic_errors_; | |
79 | |
80 ::gpu::gles2::GLES2Interface* gl_; | 77 ::gpu::gles2::GLES2Interface* gl_; |
81 bool lose_context_when_out_of_memory_; | 78 bool lose_context_when_out_of_memory_; |
82 }; | 79 }; |
83 | 80 |
84 } // namespace gpu_blink | 81 } // namespace gpu_blink |
85 | 82 |
86 #endif // GPU_BLINK_WEBGRAPHICSCONTEXT3D_IMPL_H_ | 83 #endif // GPU_BLINK_WEBGRAPHICSCONTEXT3D_IMPL_H_ |
OLD | NEW |