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

Side by Side Diff: gpu/command_buffer/service/gles2_cmd_decoder.h

Issue 5741001: Even more virtual method deinlining. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase (windows) Created 10 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 // This file contains the GLES2Decoder class. 5 // This file contains the GLES2Decoder class.
6 6
7 #ifndef GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_H_ 7 #ifndef GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_H_
8 #define GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_H_ 8 #define GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_H_
9 9
10 #include <vector> 10 #include <vector>
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 // Sets a callback which is called when a glResizeCHROMIUM command 92 // Sets a callback which is called when a glResizeCHROMIUM command
93 // is processed. 93 // is processed.
94 virtual void SetResizeCallback(Callback1<gfx::Size>::Type* callback) = 0; 94 virtual void SetResizeCallback(Callback1<gfx::Size>::Type* callback) = 0;
95 95
96 // Sets a callback which is called when a SwapBuffers command is processed. 96 // Sets a callback which is called when a SwapBuffers command is processed.
97 virtual void SetSwapBuffersCallback(Callback0::Type* callback) = 0; 97 virtual void SetSwapBuffersCallback(Callback0::Type* callback) = 0;
98 98
99 // Get the service texture ID corresponding to a client texture ID. 99 // Get the service texture ID corresponding to a client texture ID.
100 // If no such record is found then return false. 100 // If no such record is found then return false.
101 virtual bool GetServiceTextureId(uint32 client_texture_id, 101 virtual bool GetServiceTextureId(uint32 client_texture_id,
102 uint32* service_texture_id) { 102 uint32* service_texture_id);
103 return false;
104 }
105 103
106 protected: 104 protected:
107 GLES2Decoder(); 105 GLES2Decoder();
108 106
109 private: 107 private:
110 bool debug_; 108 bool debug_;
111 109
112 DISALLOW_COPY_AND_ASSIGN(GLES2Decoder); 110 DISALLOW_COPY_AND_ASSIGN(GLES2Decoder);
113 }; 111 };
114 112
115 } // namespace gles2 113 } // namespace gles2
116 } // namespace gpu 114 } // namespace gpu
117 115
118 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_H_ 116 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_H_
OLDNEW
« no previous file with comments | « chrome/service/service_utility_process_host.cc ('k') | gpu/command_buffer/service/gles2_cmd_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698