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

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: Skip processing of no-op traces. 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 551 matching lines...) Expand 10 before | Expand all | Expand 10 after
562 562
563 scoped_refptr<ShareGroup> share_group_; 563 scoped_refptr<ShareGroup> share_group_;
564 564
565 scoped_ptr<QueryTracker> query_tracker_; 565 scoped_ptr<QueryTracker> query_tracker_;
566 QueryTracker::Query* current_query_; 566 QueryTracker::Query* current_query_;
567 567
568 scoped_ptr<BufferTracker> buffer_tracker_; 568 scoped_ptr<BufferTracker> buffer_tracker_;
569 569
570 ErrorMessageCallback* error_message_callback_; 570 ErrorMessageCallback* error_message_callback_;
571 571
572 scoped_ptr<std::string> current_trace_name_;
573
572 DISALLOW_COPY_AND_ASSIGN(GLES2Implementation); 574 DISALLOW_COPY_AND_ASSIGN(GLES2Implementation);
573 }; 575 };
574 576
575 inline bool GLES2Implementation::GetBufferParameterivHelper( 577 inline bool GLES2Implementation::GetBufferParameterivHelper(
576 GLenum /* target */, GLenum /* pname */, GLint* /* params */) { 578 GLenum /* target */, GLenum /* pname */, GLint* /* params */) {
577 return false; 579 return false;
578 } 580 }
579 581
580 inline bool GLES2Implementation::GetFramebufferAttachmentParameterivHelper( 582 inline bool GLES2Implementation::GetFramebufferAttachmentParameterivHelper(
581 GLenum /* target */, 583 GLenum /* target */,
(...skipping 20 matching lines...) Expand all
602 604
603 inline bool GLES2Implementation::GetTexParameterivHelper( 605 inline bool GLES2Implementation::GetTexParameterivHelper(
604 GLenum /* target */, GLenum /* pname */, GLint* /* params */) { 606 GLenum /* target */, GLenum /* pname */, GLint* /* params */) {
605 return false; 607 return false;
606 } 608 }
607 609
608 } // namespace gles2 610 } // namespace gles2
609 } // namespace gpu 611 } // namespace gpu
610 612
611 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ 613 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698