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_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ | 5 #ifndef GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ |
6 #define GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ | 6 #define GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ |
7 | 7 |
8 #include <GLES2/gl2.h> | 8 #include <GLES2/gl2.h> |
9 | 9 |
10 #include <map> | 10 #include <map> |
(...skipping 571 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
582 | 582 |
583 scoped_refptr<ShareGroup> share_group_; | 583 scoped_refptr<ShareGroup> share_group_; |
584 | 584 |
585 scoped_ptr<QueryTracker> query_tracker_; | 585 scoped_ptr<QueryTracker> query_tracker_; |
586 QueryTracker::Query* current_query_; | 586 QueryTracker::Query* current_query_; |
587 | 587 |
588 scoped_ptr<BufferTracker> buffer_tracker_; | 588 scoped_ptr<BufferTracker> buffer_tracker_; |
589 | 589 |
590 ErrorMessageCallback* error_message_callback_; | 590 ErrorMessageCallback* error_message_callback_; |
591 | 591 |
| 592 scoped_ptr<std::string> current_trace_name_; |
| 593 |
592 DISALLOW_COPY_AND_ASSIGN(GLES2Implementation); | 594 DISALLOW_COPY_AND_ASSIGN(GLES2Implementation); |
593 }; | 595 }; |
594 | 596 |
595 inline bool GLES2Implementation::GetBufferParameterivHelper( | 597 inline bool GLES2Implementation::GetBufferParameterivHelper( |
596 GLenum /* target */, GLenum /* pname */, GLint* /* params */) { | 598 GLenum /* target */, GLenum /* pname */, GLint* /* params */) { |
597 return false; | 599 return false; |
598 } | 600 } |
599 | 601 |
600 inline bool GLES2Implementation::GetFramebufferAttachmentParameterivHelper( | 602 inline bool GLES2Implementation::GetFramebufferAttachmentParameterivHelper( |
601 GLenum /* target */, | 603 GLenum /* target */, |
(...skipping 20 matching lines...) Expand all Loading... |
622 | 624 |
623 inline bool GLES2Implementation::GetTexParameterivHelper( | 625 inline bool GLES2Implementation::GetTexParameterivHelper( |
624 GLenum /* target */, GLenum /* pname */, GLint* /* params */) { | 626 GLenum /* target */, GLenum /* pname */, GLint* /* params */) { |
625 return false; | 627 return false; |
626 } | 628 } |
627 | 629 |
628 } // namespace gles2 | 630 } // namespace gles2 |
629 } // namespace gpu | 631 } // namespace gpu |
630 | 632 |
631 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ | 633 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ |
OLD | NEW |