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

Side by Side Diff: cc/scheduler/texture_uploader.h

Issue 12676029: cc: Fix capitalization style in chromified files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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
« no previous file with comments | « cc/scheduler/scheduler_state_machine_unittest.cc ('k') | cc/scheduler/texture_uploader.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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 CC_SCHEDULER_TEXTURE_UPLOADER_H_ 5 #ifndef CC_SCHEDULER_TEXTURE_UPLOADER_H_
6 #define CC_SCHEDULER_TEXTURE_UPLOADER_H_ 6 #define CC_SCHEDULER_TEXTURE_UPLOADER_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 23 matching lines...) Expand all
34 } 34 }
35 ~TextureUploader(); 35 ~TextureUploader();
36 36
37 size_t NumBlockingUploads(); 37 size_t NumBlockingUploads();
38 void MarkPendingUploadsAsNonBlocking(); 38 void MarkPendingUploadsAsNonBlocking();
39 double EstimatedTexturesPerSecond(); 39 double EstimatedTexturesPerSecond();
40 40
41 // Let content_rect be a rectangle, and let content_rect be a sub-rectangle of 41 // Let content_rect be a rectangle, and let content_rect be a sub-rectangle of
42 // content_rect, expressed in the same coordinate system as content_rect. Let 42 // content_rect, expressed in the same coordinate system as content_rect. Let
43 // image be a buffer for content_rect. This function will copy the region 43 // image be a buffer for content_rect. This function will copy the region
44 // corresponding to sourceRect to destOffset in this sub-image. 44 // corresponding to source_rect to dest_offset in this sub-image.
45 void Upload(const uint8* image, 45 void Upload(const uint8* image,
46 gfx::Rect content_rect, 46 gfx::Rect content_rect,
47 gfx::Rect source_rect, 47 gfx::Rect source_rect,
48 gfx::Vector2d dest_offset, 48 gfx::Vector2d dest_offset,
49 GLenum format, 49 GLenum format,
50 gfx::Size size); 50 gfx::Size size);
51 51
52 void Flush(); 52 void Flush();
53 void ReleaseCachedQueries(); 53 void ReleaseCachedQueries();
54 54
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 116
117 bool use_shallow_flush_; 117 bool use_shallow_flush_;
118 size_t num_texture_uploads_since_last_flush_; 118 size_t num_texture_uploads_since_last_flush_;
119 119
120 DISALLOW_COPY_AND_ASSIGN(TextureUploader); 120 DISALLOW_COPY_AND_ASSIGN(TextureUploader);
121 }; 121 };
122 122
123 } // namespace cc 123 } // namespace cc
124 124
125 #endif // CC_SCHEDULER_TEXTURE_UPLOADER_H_ 125 #endif // CC_SCHEDULER_TEXTURE_UPLOADER_H_
OLDNEW
« no previous file with comments | « cc/scheduler/scheduler_state_machine_unittest.cc ('k') | cc/scheduler/texture_uploader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698