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

Side by Side Diff: cc/output/output_surface.h

Issue 2162193002: Add logic to GLRenderer to support RenderPassDrawQuad copying. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Construct the resource pool on demand. Created 4 years, 5 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
« no previous file with comments | « cc/output/gl_renderer.cc ('k') | cc/surfaces/display.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_OUTPUT_OUTPUT_SURFACE_H_ 5 #ifndef CC_OUTPUT_OUTPUT_SURFACE_H_
6 #define CC_OUTPUT_OUTPUT_SURFACE_H_ 6 #define CC_OUTPUT_OUTPUT_SURFACE_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <memory> 9 #include <memory>
10 10
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "base/memory/weak_ptr.h" 13 #include "base/memory/weak_ptr.h"
14 #include "base/threading/thread_checker.h" 14 #include "base/threading/thread_checker.h"
15 #include "cc/base/cc_export.h" 15 #include "cc/base/cc_export.h"
16 #include "cc/output/context_provider.h" 16 #include "cc/output/context_provider.h"
17 #include "cc/output/overlay_candidate_validator.h" 17 #include "cc/output/overlay_candidate_validator.h"
18 #include "cc/output/software_output_device.h" 18 #include "cc/output/software_output_device.h"
19 #include "cc/output/vulkan_context_provider.h" 19 #include "cc/output/vulkan_context_provider.h"
20 #include "cc/resources/returned_resource.h" 20 #include "cc/resources/returned_resource.h"
21 #include "gpu/command_buffer/common/texture_in_use_response.h" 21 #include "gpu/command_buffer/common/texture_in_use_response.h"
22 22
23 namespace base { class SingleThreadTaskRunner; }
24
25 namespace ui { 23 namespace ui {
26 class LatencyInfo; 24 class LatencyInfo;
27 } 25 }
28 26
29 namespace gfx { 27 namespace gfx {
30 class ColorSpace; 28 class ColorSpace;
31 class Rect; 29 class Rect;
32 class Size; 30 class Size;
33 class Transform; 31 class Transform;
34 } 32 }
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 bool external_stencil_test_enabled_ = false; 206 bool external_stencil_test_enabled_ = false;
209 207
210 base::WeakPtrFactory<OutputSurface> weak_ptr_factory_; 208 base::WeakPtrFactory<OutputSurface> weak_ptr_factory_;
211 209
212 DISALLOW_COPY_AND_ASSIGN(OutputSurface); 210 DISALLOW_COPY_AND_ASSIGN(OutputSurface);
213 }; 211 };
214 212
215 } // namespace cc 213 } // namespace cc
216 214
217 #endif // CC_OUTPUT_OUTPUT_SURFACE_H_ 215 #endif // CC_OUTPUT_OUTPUT_SURFACE_H_
OLDNEW
« no previous file with comments | « cc/output/gl_renderer.cc ('k') | cc/surfaces/display.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698