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

Side by Side Diff: content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h

Issue 10828328: Expose EXT_debug_marker to webkit (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 4 months 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
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 CONTENT_COMMON_GPU_CLIENT_WEBGRAPHICSCONTEXT3D_COMMAND_BUFFER_IMPL_H_ 5 #ifndef CONTENT_COMMON_GPU_CLIENT_WEBGRAPHICSCONTEXT3D_COMMAND_BUFFER_IMPL_H_
6 #define CONTENT_COMMON_GPU_CLIENT_WEBGRAPHICSCONTEXT3D_COMMAND_BUFFER_IMPL_H_ 6 #define CONTENT_COMMON_GPU_CLIENT_WEBGRAPHICSCONTEXT3D_COMMAND_BUFFER_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 564 matching lines...) Expand 10 before | Expand all | Expand 10 after
575 const WGC3Dchar* uniform); 575 const WGC3Dchar* uniform);
576 576
577 virtual void shallowFlushCHROMIUM(); 577 virtual void shallowFlushCHROMIUM();
578 578
579 virtual void genMailboxCHROMIUM(WGC3Dbyte* mailbox); 579 virtual void genMailboxCHROMIUM(WGC3Dbyte* mailbox);
580 virtual void produceTextureCHROMIUM(WGC3Denum target, 580 virtual void produceTextureCHROMIUM(WGC3Denum target,
581 const WGC3Dbyte* mailbox); 581 const WGC3Dbyte* mailbox);
582 virtual void consumeTextureCHROMIUM(WGC3Denum target, 582 virtual void consumeTextureCHROMIUM(WGC3Denum target,
583 const WGC3Dbyte* mailbox); 583 const WGC3Dbyte* mailbox);
584 584
585 virtual void insertEventMarkerEXT(const WGC3Dchar* marker);
586 virtual void pushGroupMarkerEXT(const WGC3Dchar* marker);
587 virtual void popGroupMarkerEXT(void);
apatrick_chromium 2012/08/15 18:53:52 (void) -> ()
588
585 protected: 589 protected:
586 virtual GrGLInterface* onCreateGrGLInterface(); 590 virtual GrGLInterface* onCreateGrGLInterface();
587 591
588 private: 592 private:
589 // These are the same error codes as used by EGL. 593 // These are the same error codes as used by EGL.
590 enum Error { 594 enum Error {
591 SUCCESS = 0x3000, 595 SUCCESS = 0x3000,
592 BAD_ATTRIBUTE = 0x3004, 596 BAD_ATTRIBUTE = 0x3004,
593 CONTEXT_LOST = 0x300E 597 CONTEXT_LOST = 0x300E
594 }; 598 };
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
710 gpu::gles2::GLES2CmdHelper* gles2_helper_; 714 gpu::gles2::GLES2CmdHelper* gles2_helper_;
711 gpu::TransferBuffer* transfer_buffer_; 715 gpu::TransferBuffer* transfer_buffer_;
712 gpu::gles2::GLES2Implementation* gl_; 716 gpu::gles2::GLES2Implementation* gl_;
713 Error last_error_; 717 Error last_error_;
714 int frame_number_; 718 int frame_number_;
715 bool bind_generates_resources_; 719 bool bind_generates_resources_;
716 bool use_echo_for_swap_ack_; 720 bool use_echo_for_swap_ack_;
717 }; 721 };
718 722
719 #endif // CONTENT_COMMON_GPU_CLIENT_WEBGRAPHICSCONTEXT3D_COMMAND_BUFFER_IMPL_H_ 723 #endif // CONTENT_COMMON_GPU_CLIENT_WEBGRAPHICSCONTEXT3D_COMMAND_BUFFER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698