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

Side by Side Diff: cc/raster/one_copy_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/quads/shared_quad_state.h ('k') | cc/raster/raster_buffer_provider.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_ONE_COPY_RASTER_BUFFER_PROVIDER_H_ 5 #ifndef CC_RASTER_ONE_COPY_RASTER_BUFFER_PROVIDER_H_
6 #define CC_RASTER_ONE_COPY_RASTER_BUFFER_PROVIDER_H_ 6 #define CC_RASTER_ONE_COPY_RASTER_BUFFER_PROVIDER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "cc/output/context_provider.h" 11 #include "cc/output/context_provider.h"
12 #include "cc/raster/raster_buffer_provider.h" 12 #include "cc/raster/raster_buffer_provider.h"
13 #include "cc/raster/staging_buffer_pool.h" 13 #include "cc/raster/staging_buffer_pool.h"
14 #include "cc/resources/resource_provider.h" 14 #include "cc/resources/resource_provider.h"
15 #include "gpu/command_buffer/common/sync_token.h" 15 #include "gpu/command_buffer/common/sync_token.h"
16 16
17 namespace cc { 17 namespace cc {
18 struct StagingBuffer; 18 struct StagingBuffer;
19 class StagingBufferPool; 19 class StagingBufferPool;
20 class ResourcePool;
21 20
22 class CC_EXPORT OneCopyRasterBufferProvider : public RasterBufferProvider { 21 class CC_EXPORT OneCopyRasterBufferProvider : public RasterBufferProvider {
23 public: 22 public:
24 OneCopyRasterBufferProvider(base::SequencedTaskRunner* task_runner, 23 OneCopyRasterBufferProvider(base::SequencedTaskRunner* task_runner,
25 ContextProvider* compositor_context_provider, 24 ContextProvider* compositor_context_provider,
26 ContextProvider* worker_context_provider, 25 ContextProvider* worker_context_provider,
27 ResourceProvider* resource_provider, 26 ResourceProvider* resource_provider,
28 int max_copy_texture_chromium_size, 27 int max_copy_texture_chromium_size,
29 bool use_partial_raster, 28 bool use_partial_raster,
30 int max_staging_buffer_usage_in_bytes, 29 int max_staging_buffer_usage_in_bytes,
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 const bool async_worker_context_enabled_; 124 const bool async_worker_context_enabled_;
126 125
127 std::set<RasterBufferImpl*> pending_raster_buffers_; 126 std::set<RasterBufferImpl*> pending_raster_buffers_;
128 127
129 DISALLOW_COPY_AND_ASSIGN(OneCopyRasterBufferProvider); 128 DISALLOW_COPY_AND_ASSIGN(OneCopyRasterBufferProvider);
130 }; 129 };
131 130
132 } // namespace cc 131 } // namespace cc
133 132
134 #endif // CC_RASTER_ONE_COPY_RASTER_BUFFER_PROVIDER_H_ 133 #endif // CC_RASTER_ONE_COPY_RASTER_BUFFER_PROVIDER_H_
OLDNEW
« no previous file with comments | « cc/quads/shared_quad_state.h ('k') | cc/raster/raster_buffer_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698