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

Side by Side Diff: cc/raster/zero_copy_tile_task_worker_pool.cc

Issue 1539203002: Switch to standard integer types in cc/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more includes Created 5 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
« no previous file with comments | « cc/raster/zero_copy_tile_task_worker_pool.h ('k') | cc/resources/memory_history.h » ('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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #include "cc/raster/zero_copy_tile_task_worker_pool.h" 5 #include "cc/raster/zero_copy_tile_task_worker_pool.h"
6 6
7 #include <stdint.h>
8
7 #include <algorithm> 9 #include <algorithm>
8 10
11 #include "base/macros.h"
9 #include "base/strings/stringprintf.h" 12 #include "base/strings/stringprintf.h"
10 #include "base/trace_event/trace_event.h" 13 #include "base/trace_event/trace_event.h"
11 #include "base/trace_event/trace_event_argument.h" 14 #include "base/trace_event/trace_event_argument.h"
12 #include "cc/debug/traced_value.h" 15 #include "cc/debug/traced_value.h"
13 #include "cc/raster/raster_buffer.h" 16 #include "cc/raster/raster_buffer.h"
14 #include "cc/resources/platform_color.h" 17 #include "cc/resources/platform_color.h"
15 #include "cc/resources/resource.h" 18 #include "cc/resources/resource.h"
16 #include "ui/gfx/buffer_format_util.h" 19 #include "ui/gfx/buffer_format_util.h"
17 #include "ui/gfx/gpu_memory_buffer.h" 20 #include "ui/gfx/gpu_memory_buffer.h"
18 21
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 return make_scoped_ptr<RasterBuffer>( 143 return make_scoped_ptr<RasterBuffer>(
141 new RasterBufferImpl(resource_provider_, resource)); 144 new RasterBufferImpl(resource_provider_, resource));
142 } 145 }
143 146
144 void ZeroCopyTileTaskWorkerPool::ReleaseBufferForRaster( 147 void ZeroCopyTileTaskWorkerPool::ReleaseBufferForRaster(
145 scoped_ptr<RasterBuffer> buffer) { 148 scoped_ptr<RasterBuffer> buffer) {
146 // Nothing to do here. RasterBufferImpl destructor cleans up after itself. 149 // Nothing to do here. RasterBufferImpl destructor cleans up after itself.
147 } 150 }
148 151
149 } // namespace cc 152 } // namespace cc
OLDNEW
« no previous file with comments | « cc/raster/zero_copy_tile_task_worker_pool.h ('k') | cc/resources/memory_history.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698