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

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

Issue 895853003: Update from https://crrev.com/314320 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 10 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/begin_frame_args.cc ('k') | cc/output/delegating_renderer.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/output/copy_output_request.h" 5 #include "cc/output/copy_output_request.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/callback_helpers.h" 8 #include "base/callback_helpers.h"
9 #include "base/debug/trace_event.h"
10 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/trace_event/trace_event.h"
11 #include "cc/output/copy_output_result.h" 11 #include "cc/output/copy_output_result.h"
12 #include "cc/resources/texture_mailbox.h" 12 #include "cc/resources/texture_mailbox.h"
13 #include "third_party/skia/include/core/SkBitmap.h" 13 #include "third_party/skia/include/core/SkBitmap.h"
14 14
15 namespace cc { 15 namespace cc {
16 16
17 // static 17 // static
18 scoped_ptr<CopyOutputRequest> CopyOutputRequest::CreateRelayRequest( 18 scoped_ptr<CopyOutputRequest> CopyOutputRequest::CreateRelayRequest(
19 const CopyOutputRequest& original_request, 19 const CopyOutputRequest& original_request,
20 const CopyOutputRequestCallback& result_callback) { 20 const CopyOutputRequestCallback& result_callback) {
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 70
71 void CopyOutputRequest::SetTextureMailbox( 71 void CopyOutputRequest::SetTextureMailbox(
72 const TextureMailbox& texture_mailbox) { 72 const TextureMailbox& texture_mailbox) {
73 DCHECK(!force_bitmap_result_); 73 DCHECK(!force_bitmap_result_);
74 DCHECK(texture_mailbox.IsTexture()); 74 DCHECK(texture_mailbox.IsTexture());
75 has_texture_mailbox_ = true; 75 has_texture_mailbox_ = true;
76 texture_mailbox_ = texture_mailbox; 76 texture_mailbox_ = texture_mailbox;
77 } 77 }
78 78
79 } // namespace cc 79 } // namespace cc
OLDNEW
« no previous file with comments | « cc/output/begin_frame_args.cc ('k') | cc/output/delegating_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698