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

Side by Side Diff: cc/surfaces/display.h

Issue 580593002: Add TextureMailboxDeleter to cc::Display. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 | « no previous file | 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 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_SURFACES_DISPLAY_H_ 5 #ifndef CC_SURFACES_DISPLAY_H_
6 #define CC_SURFACES_DISPLAY_H_ 6 #define CC_SURFACES_DISPLAY_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "cc/output/output_surface_client.h" 9 #include "cc/output/output_surface_client.h"
10 #include "cc/output/renderer.h" 10 #include "cc/output/renderer.h"
(...skipping 12 matching lines...) Expand all
23 class BlockingTaskRunner; 23 class BlockingTaskRunner;
24 class DirectRenderer; 24 class DirectRenderer;
25 class DisplayClient; 25 class DisplayClient;
26 class OutputSurface; 26 class OutputSurface;
27 class ResourceProvider; 27 class ResourceProvider;
28 class SharedBitmapManager; 28 class SharedBitmapManager;
29 class Surface; 29 class Surface;
30 class SurfaceAggregator; 30 class SurfaceAggregator;
31 class SurfaceIdAllocator; 31 class SurfaceIdAllocator;
32 class SurfaceFactory; 32 class SurfaceFactory;
33 class TextureMailboxDeleter;
33 34
34 // A Display produces a surface that can be used to draw to a physical display 35 // A Display produces a surface that can be used to draw to a physical display
35 // (OutputSurface). The client is responsible for creating and sizing the 36 // (OutputSurface). The client is responsible for creating and sizing the
36 // surface IDs used to draw into the display and deciding when to draw. 37 // surface IDs used to draw into the display and deciding when to draw.
37 class CC_SURFACES_EXPORT Display : public OutputSurfaceClient, 38 class CC_SURFACES_EXPORT Display : public OutputSurfaceClient,
38 public RendererClient, 39 public RendererClient,
39 public SurfaceDamageObserver { 40 public SurfaceDamageObserver {
40 public: 41 public:
41 Display(DisplayClient* client, 42 Display(DisplayClient* client,
42 SurfaceManager* manager, 43 SurfaceManager* manager,
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 SurfaceManager* manager_; 84 SurfaceManager* manager_;
84 SharedBitmapManager* bitmap_manager_; 85 SharedBitmapManager* bitmap_manager_;
85 SurfaceId current_surface_id_; 86 SurfaceId current_surface_id_;
86 gfx::Size current_surface_size_; 87 gfx::Size current_surface_size_;
87 LayerTreeSettings settings_; 88 LayerTreeSettings settings_;
88 scoped_ptr<OutputSurface> output_surface_; 89 scoped_ptr<OutputSurface> output_surface_;
89 scoped_ptr<ResourceProvider> resource_provider_; 90 scoped_ptr<ResourceProvider> resource_provider_;
90 scoped_ptr<SurfaceAggregator> aggregator_; 91 scoped_ptr<SurfaceAggregator> aggregator_;
91 scoped_ptr<DirectRenderer> renderer_; 92 scoped_ptr<DirectRenderer> renderer_;
92 scoped_ptr<BlockingTaskRunner> blocking_main_thread_task_runner_; 93 scoped_ptr<BlockingTaskRunner> blocking_main_thread_task_runner_;
94 scoped_ptr<TextureMailboxDeleter> texture_mailbox_deleter_;
93 95
94 DISALLOW_COPY_AND_ASSIGN(Display); 96 DISALLOW_COPY_AND_ASSIGN(Display);
95 }; 97 };
96 98
97 } // namespace cc 99 } // namespace cc
98 100
99 #endif // CC_SURFACES_DISPLAY_H_ 101 #endif // CC_SURFACES_DISPLAY_H_
OLDNEW
« no previous file with comments | « no previous file | cc/surfaces/display.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698