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

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

Issue 1535833002: Delete CC. (Closed) Base URL: git@github.com:domokit/mojo.git@moz-5
Patch Set: rebase Created 4 years, 11 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/renderer.h ('k') | cc/output/renderer_capabilities.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "cc/output/renderer.h"
6
7 #include "cc/quads/render_pass_id.h"
8
9 namespace cc {
10
11 bool Renderer::HasAllocatedResourcesForTesting(RenderPassId id) const {
12 return false;
13 }
14
15 void Renderer::SetVisible(bool visible) {
16 if (visible_ == visible)
17 return;
18
19 visible_ = visible;
20 DidChangeVisibility();
21 }
22
23 RendererCapabilitiesImpl::RendererCapabilitiesImpl()
24 : best_texture_format(RGBA_8888),
25 allow_partial_texture_updates(false),
26 max_texture_size(0),
27 using_shared_memory_resources(false),
28 using_partial_swap(false),
29 using_egl_image(false),
30 using_image(false),
31 using_discard_framebuffer(false),
32 allow_rasterize_on_demand(false) {
33 }
34
35 RendererCapabilitiesImpl::~RendererCapabilitiesImpl() {}
36
37 RendererCapabilities RendererCapabilitiesImpl::MainThreadCapabilities() const {
38 return RendererCapabilities(best_texture_format,
39 allow_partial_texture_updates,
40 max_texture_size,
41 using_shared_memory_resources);
42 }
43
44 } // namespace cc
OLDNEW
« no previous file with comments | « cc/output/renderer.h ('k') | cc/output/renderer_capabilities.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698