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

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

Issue 8872061: Fixed service side implementation of glTexStorage2DEXT to only initialize the number of (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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
« no previous file with comments | « no previous file | gpu/command_buffer/service/gles2_cmd_decoder.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 // Clears a level of a texture 124 // Clears a level of a texture
125 // Returns false if a GL error should be generated. 125 // Returns false if a GL error should be generated.
126 virtual bool ClearLevel( 126 virtual bool ClearLevel(
127 unsigned service_id, 127 unsigned service_id,
128 unsigned bind_target, 128 unsigned bind_target,
129 unsigned target, 129 unsigned target,
130 int level, 130 int level,
131 unsigned format, 131 unsigned format,
132 unsigned type, 132 unsigned type,
133 int width, 133 int width,
134 int height) = 0; 134 int height,
135 bool is_texture_immutable) = 0;
135 136
136 protected: 137 protected:
137 GLES2Decoder(); 138 GLES2Decoder();
138 139
139 private: 140 private:
140 bool debug_; 141 bool debug_;
141 142
142 DISALLOW_COPY_AND_ASSIGN(GLES2Decoder); 143 DISALLOW_COPY_AND_ASSIGN(GLES2Decoder);
143 }; 144 };
144 145
145 } // namespace gles2 146 } // namespace gles2
146 } // namespace gpu 147 } // namespace gpu
147 148
148 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_H_ 149 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_H_
OLDNEW
« no previous file with comments | « no previous file | gpu/command_buffer/service/gles2_cmd_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698