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

Side by Side Diff: cc/layer_tree_host.cc

Issue 12371002: [cc] Mailbox Output Surface Support (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « cc/layer_tree_host.h ('k') | cc/output_surface.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 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 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 #include "cc/layer_tree_host.h" 5 #include "cc/layer_tree_host.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/debug/trace_event.h" 9 #include "base/debug/trace_event.h"
10 #include "base/message_loop.h" 10 #include "base/message_loop.h"
(...skipping 26 matching lines...) Expand all
37 37
38 namespace cc { 38 namespace cc {
39 39
40 RendererCapabilities::RendererCapabilities() 40 RendererCapabilities::RendererCapabilities()
41 : bestTextureFormat(0) 41 : bestTextureFormat(0)
42 , usingPartialSwap(false) 42 , usingPartialSwap(false)
43 , usingAcceleratedPainting(false) 43 , usingAcceleratedPainting(false)
44 , usingSetVisibility(false) 44 , usingSetVisibility(false)
45 , usingSwapCompleteCallback(false) 45 , usingSwapCompleteCallback(false)
46 , usingGpuMemoryManager(false) 46 , usingGpuMemoryManager(false)
47 , usingDiscardBackbuffer(false)
48 , usingEglImage(false) 47 , usingEglImage(false)
49 , allowPartialTextureUpdates(false) 48 , allowPartialTextureUpdates(false)
50 , usingOffscreenContext3d(false) 49 , usingOffscreenContext3d(false)
51 , maxTextureSize(0) 50 , maxTextureSize(0)
52 , avoidPow2Textures(false) 51 , avoidPow2Textures(false)
53 { 52 {
54 } 53 }
55 54
56 RendererCapabilities::~RendererCapabilities() 55 RendererCapabilities::~RendererCapabilities()
57 { 56 {
(...skipping 840 matching lines...) Expand 10 before | Expand all | Expand 10 after
898 for (size_t childIndex = 0; childIndex < layer->children().size(); ++childIn dex) 897 for (size_t childIndex = 0; childIndex < layer->children().size(); ++childIn dex)
899 setAnimationEventsRecursive(events, layer->children()[childIndex].get(), wallClockTime); 898 setAnimationEventsRecursive(events, layer->children()[childIndex].get(), wallClockTime);
900 } 899 }
901 900
902 skia::RefPtr<SkPicture> LayerTreeHost::capturePicture() 901 skia::RefPtr<SkPicture> LayerTreeHost::capturePicture()
903 { 902 {
904 return m_proxy->capturePicture(); 903 return m_proxy->capturePicture();
905 } 904 }
906 905
907 } // namespace cc 906 } // namespace cc
OLDNEW
« no previous file with comments | « cc/layer_tree_host.h ('k') | cc/output_surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698