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

Side by Side Diff: cc/raster/raster_buffer_provider.h

Issue 2503283002: cc: Cleanup class/struct forward declarations (Closed)
Patch Set: Add missing fwd class decl in blimp_embedder_compositor.h Created 4 years, 1 month 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/one_copy_raster_buffer_provider.h ('k') | cc/raster/staging_buffer_pool.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 #ifndef CC_RASTER_RASTER_BUFFER_PROVIDER_H_ 5 #ifndef CC_RASTER_RASTER_BUFFER_PROVIDER_H_
6 #define CC_RASTER_RASTER_BUFFER_PROVIDER_H_ 6 #define CC_RASTER_RASTER_BUFFER_PROVIDER_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include "cc/playback/raster_source.h" 10 #include "cc/playback/raster_source.h"
11 #include "cc/raster/raster_buffer.h" 11 #include "cc/raster/raster_buffer.h"
12 #include "cc/raster/task_graph_runner.h" 12 #include "cc/raster/task_graph_runner.h"
13 #include "cc/raster/tile_task.h" 13 #include "cc/raster/tile_task.h"
14 #include "cc/resources/resource_format.h" 14 #include "cc/resources/resource_format.h"
15 #include "ui/gfx/geometry/rect.h" 15 #include "ui/gfx/geometry/rect.h"
16 #include "ui/gfx/geometry/size.h" 16 #include "ui/gfx/geometry/size.h"
17 17
18 namespace base {
19 class SequencedTaskRunner;
20 }
21
22 namespace cc { 18 namespace cc {
23 class Resource; 19 class Resource;
24 20
25 class CC_EXPORT RasterBufferProvider { 21 class CC_EXPORT RasterBufferProvider {
26 public: 22 public:
27 RasterBufferProvider(); 23 RasterBufferProvider();
28 virtual ~RasterBufferProvider(); 24 virtual ~RasterBufferProvider();
29 25
30 // Utility function that will create a temporary bitmap and copy pixels to 26 // Utility function that will create a temporary bitmap and copy pixels to
31 // |memory| when necessary. The |canvas_bitmap_rect| is the rect of the bitmap 27 // |memory| when necessary. The |canvas_bitmap_rect| is the rect of the bitmap
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 virtual void Shutdown() = 0; 67 virtual void Shutdown() = 0;
72 68
73 protected: 69 protected:
74 // Check if resource format matches output format. 70 // Check if resource format matches output format.
75 static bool ResourceFormatRequiresSwizzle(ResourceFormat format); 71 static bool ResourceFormatRequiresSwizzle(ResourceFormat format);
76 }; 72 };
77 73
78 } // namespace cc 74 } // namespace cc
79 75
80 #endif // CC_RASTER_RASTER_BUFFER_PROVIDER_H_ 76 #endif // CC_RASTER_RASTER_BUFFER_PROVIDER_H_
OLDNEW
« no previous file with comments | « cc/raster/one_copy_raster_buffer_provider.h ('k') | cc/raster/staging_buffer_pool.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698