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

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

Issue 15685003: Part 2/3 (GL) of adding with device scale factor to transport surfaces (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Re-resolve against head Created 7 years, 7 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 | 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 // 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 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 virtual bool ProcessPendingQueries() = 0; 166 virtual bool ProcessPendingQueries() = 0;
167 167
168 // Returns false if there are no idle work to be made. 168 // Returns false if there are no idle work to be made.
169 virtual bool HasMoreIdleWork() = 0; 169 virtual bool HasMoreIdleWork() = 0;
170 170
171 virtual void PerformIdleWork() = 0; 171 virtual void PerformIdleWork() = 0;
172 172
173 // Sets a callback which is called when a glResizeCHROMIUM command 173 // Sets a callback which is called when a glResizeCHROMIUM command
174 // is processed. 174 // is processed.
175 virtual void SetResizeCallback( 175 virtual void SetResizeCallback(
176 const base::Callback<void(gfx::Size)>& callback) = 0; 176 const base::Callback<void(gfx::Size, float)>& callback) = 0;
177 177
178 virtual void SetStreamTextureManager(StreamTextureManager* manager) = 0; 178 virtual void SetStreamTextureManager(StreamTextureManager* manager) = 0;
179 179
180 // Interface to performing async pixel transfers. 180 // Interface to performing async pixel transfers.
181 virtual AsyncPixelTransferDelegate* GetAsyncPixelTransferDelegate() = 0; 181 virtual AsyncPixelTransferDelegate* GetAsyncPixelTransferDelegate() = 0;
182 virtual void SetAsyncPixelTransferDelegate( 182 virtual void SetAsyncPixelTransferDelegate(
183 AsyncPixelTransferDelegate* delegate) = 0; 183 AsyncPixelTransferDelegate* delegate) = 0;
184 184
185 // Get the service texture ID corresponding to a client texture ID. 185 // Get the service texture ID corresponding to a client texture ID.
186 // If no such record is found then return false. 186 // If no such record is found then return false.
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 bool debug_; 239 bool debug_;
240 bool log_commands_; 240 bool log_commands_;
241 static bool testing_force_is_angle_; 241 static bool testing_force_is_angle_;
242 242
243 DISALLOW_COPY_AND_ASSIGN(GLES2Decoder); 243 DISALLOW_COPY_AND_ASSIGN(GLES2Decoder);
244 }; 244 };
245 245
246 } // namespace gles2 246 } // namespace gles2
247 } // namespace gpu 247 } // namespace gpu
248 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_H_ 248 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/common/gles2_cmd_format_test_autogen.h ('k') | gpu/command_buffer/service/gles2_cmd_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698