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

Unified Diff: cc/scheduler/texture_uploader.cc

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/scheduler/texture_uploader.h ('k') | cc/test/animation_test_common.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/scheduler/texture_uploader.cc
diff --git a/cc/scheduler/texture_uploader.cc b/cc/scheduler/texture_uploader.cc
index b5d3422c023d3868a545abbd11dd7e4e27d9581d..dd89e8c762cd2c7967cc6776dd7c9bff4c64fd77 100644
--- a/cc/scheduler/texture_uploader.cc
+++ b/cc/scheduler/texture_uploader.cc
@@ -77,12 +77,12 @@ unsigned TextureUploader::Query::Value() {
TextureUploader::TextureUploader(WebKit::WebGraphicsContext3D* context,
bool use_map_tex_sub_image,
- bool useShallowFlush)
+ bool use_shallow_flush)
: context_(context),
num_blocking_texture_uploads_(0),
use_map_tex_sub_image_(use_map_tex_sub_image),
sub_image_size_(0),
- use_shallow_flush_(useShallowFlush),
+ use_shallow_flush_(use_shallow_flush),
num_texture_uploads_since_last_flush_(0) {
for (size_t i = kUploadHistorySizeInitial; i > 0; i--)
textures_per_second_history_.insert(kDefaultEstimatedTexturesPerSecond);
@@ -202,7 +202,7 @@ void TextureUploader::UploadWithTexSubImage(const uint8* image,
base::debug::Alias(&image_rect_height);
base::debug::Alias(&dest_offset_x);
base::debug::Alias(&dest_offset_y);
- TRACE_EVENT0("cc", "TextureUploader::uploadWithTexSubImage");
+ TRACE_EVENT0("cc", "TextureUploader::UploadWithTexSubImage");
// Offset from image-rect to source-rect.
gfx::Vector2d offset(source_rect.origin() - image_rect.origin());
@@ -273,7 +273,7 @@ void TextureUploader::UploadWithMapTexSubImage(const uint8* image,
base::debug::Alias(&dest_offset_x);
base::debug::Alias(&dest_offset_y);
- TRACE_EVENT0("cc", "TextureUploader::uploadWithMapTexSubImage");
+ TRACE_EVENT0("cc", "TextureUploader::UploadWithMapTexSubImage");
// Offset from image-rect to source-rect.
gfx::Vector2d offset(source_rect.origin() - image_rect.origin());
@@ -308,7 +308,7 @@ void TextureUploader::UploadWithMapTexSubImage(const uint8* image,
source_rect.height() * image_rect.width() * bytes_per_pixel);
} else {
// Strides not equal, so do a row-by-row memcpy from the
- // paint results into the pixelDest
+ // paint results into the pixel_dest.
for (int row = 0; row < source_rect.height(); ++row) {
memcpy(&pixel_dest[upload_image_stride * row],
&image[bytes_per_pixel *
« no previous file with comments | « cc/scheduler/texture_uploader.h ('k') | cc/test/animation_test_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698