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