Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(176)

Side by Side Diff: gpu/command_buffer/client/gles2_implementation.h

Issue 11416117: Hookup the GPUTrace events. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 567 matching lines...) Expand 10 before | Expand all | Expand 10 after
578 578
579 scoped_refptr<ShareGroup> share_group_; 579 scoped_refptr<ShareGroup> share_group_;
580 580
581 scoped_ptr<QueryTracker> query_tracker_; 581 scoped_ptr<QueryTracker> query_tracker_;
582 QueryTracker::Query* current_query_; 582 QueryTracker::Query* current_query_;
583 583
584 scoped_ptr<BufferTracker> buffer_tracker_; 584 scoped_ptr<BufferTracker> buffer_tracker_;
585 585
586 ErrorMessageCallback* error_message_callback_; 586 ErrorMessageCallback* error_message_callback_;
587 587
588 scoped_ptr<std::string> current_trace_name_;
589
588 DISALLOW_COPY_AND_ASSIGN(GLES2Implementation); 590 DISALLOW_COPY_AND_ASSIGN(GLES2Implementation);
589 }; 591 };
590 592
591 inline bool GLES2Implementation::GetBufferParameterivHelper( 593 inline bool GLES2Implementation::GetBufferParameterivHelper(
592 GLenum /* target */, GLenum /* pname */, GLint* /* params */) { 594 GLenum /* target */, GLenum /* pname */, GLint* /* params */) {
593 return false; 595 return false;
594 } 596 }
595 597
596 inline bool GLES2Implementation::GetFramebufferAttachmentParameterivHelper( 598 inline bool GLES2Implementation::GetFramebufferAttachmentParameterivHelper(
597 GLenum /* target */, 599 GLenum /* target */,
(...skipping 20 matching lines...) Expand all
618 620
619 inline bool GLES2Implementation::GetTexParameterivHelper( 621 inline bool GLES2Implementation::GetTexParameterivHelper(
620 GLenum /* target */, GLenum /* pname */, GLint* /* params */) { 622 GLenum /* target */, GLenum /* pname */, GLint* /* params */) {
621 return false; 623 return false;
622 } 624 }
623 625
624 } // namespace gles2 626 } // namespace gles2
625 } // namespace gpu 627 } // namespace gpu
626 628
627 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ 629 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698