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

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

Issue 1491013005: Revert of DirectRenderer allows empty swap rects for CommitOverlayPlanes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/output/overlay_unittest.cc ('k') | cc/test/test_web_graphics_context_3d.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 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_RENDERER_H_ 5 #ifndef CC_OUTPUT_RENDERER_H_
6 #define CC_OUTPUT_RENDERER_H_ 6 #define CC_OUTPUT_RENDERER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "cc/base/cc_export.h" 9 #include "cc/base/cc_export.h"
10 #include "cc/output/renderer_capabilities.h" 10 #include "cc/output/renderer_capabilities.h"
(...skipping 16 matching lines...) Expand all
27 ~RendererCapabilitiesImpl(); 27 ~RendererCapabilitiesImpl();
28 28
29 // Capabilities copied to main thread. 29 // Capabilities copied to main thread.
30 ResourceFormat best_texture_format; 30 ResourceFormat best_texture_format;
31 bool allow_partial_texture_updates; 31 bool allow_partial_texture_updates;
32 int max_texture_size; 32 int max_texture_size;
33 bool using_shared_memory_resources; 33 bool using_shared_memory_resources;
34 34
35 // Capabilities used on compositor thread only. 35 // Capabilities used on compositor thread only.
36 bool using_partial_swap; 36 bool using_partial_swap;
37 // Whether it's valid to SwapBuffers with an empty rect. Trivially true when
38 // |using_partial_swap|.
39 bool allow_empty_swap;
40 bool using_egl_image; 37 bool using_egl_image;
41 bool using_image; 38 bool using_image;
42 bool using_discard_framebuffer; 39 bool using_discard_framebuffer;
43 bool allow_rasterize_on_demand; 40 bool allow_rasterize_on_demand;
44 int max_msaa_samples; 41 int max_msaa_samples;
45 42
46 RendererCapabilities MainThreadCapabilities() const; 43 RendererCapabilities MainThreadCapabilities() const;
47 }; 44 };
48 45
49 class CC_EXPORT RendererClient { 46 class CC_EXPORT RendererClient {
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 const RendererSettings* settings_; 89 const RendererSettings* settings_;
93 bool visible_; 90 bool visible_;
94 91
95 private: 92 private:
96 DISALLOW_COPY_AND_ASSIGN(Renderer); 93 DISALLOW_COPY_AND_ASSIGN(Renderer);
97 }; 94 };
98 95
99 } // namespace cc 96 } // namespace cc
100 97
101 #endif // CC_OUTPUT_RENDERER_H_ 98 #endif // CC_OUTPUT_RENDERER_H_
OLDNEW
« no previous file with comments | « cc/output/overlay_unittest.cc ('k') | cc/test/test_web_graphics_context_3d.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698