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 904 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
915 WebGraphicsContext3D::WebGraphicsErrorMessageCallback* | 915 WebGraphicsContext3D::WebGraphicsErrorMessageCallback* |
916 error_message_callback_; | 916 error_message_callback_; |
917 scoped_ptr<WebGraphicsContext3DErrorMessageCallback> | 917 scoped_ptr<WebGraphicsContext3DErrorMessageCallback> |
918 client_error_message_callback_; | 918 client_error_message_callback_; |
919 | 919 |
920 // Errors raised by synthesizeGLError(). | 920 // Errors raised by synthesizeGLError(). |
921 std::vector<blink::WGC3Denum> synthetic_errors_; | 921 std::vector<blink::WGC3Denum> synthetic_errors_; |
922 | 922 |
923 ::gpu::gles2::GLES2Interface* gl_; | 923 ::gpu::gles2::GLES2Interface* gl_; |
924 bool lose_context_when_out_of_memory_; | 924 bool lose_context_when_out_of_memory_; |
925 uint32_t flush_id_; | |
926 }; | 925 }; |
927 | 926 |
928 } // namespace gpu_blink | 927 } // namespace gpu_blink |
929 | 928 |
930 #endif // GPU_BLINK_WEBGRAPHICSCONTEXT3D_IMPL_H_ | 929 #endif // GPU_BLINK_WEBGRAPHICSCONTEXT3D_IMPL_H_ |
OLD | NEW |