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

Side by Side Diff: webkit/renderer/compositor_bindings/web_external_texture_layer_impl.cc

Issue 14651027: Move webkit/compositor_bindings into webkit/renderer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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
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 "webkit/compositor_bindings/web_external_texture_layer_impl.h" 5 #include "webkit/renderer/compositor_bindings/web_external_texture_layer_impl.h"
6 6
7 #include "cc/layers/texture_layer.h" 7 #include "cc/layers/texture_layer.h"
8 #include "cc/resources/resource_update_queue.h" 8 #include "cc/resources/resource_update_queue.h"
9 #include "third_party/WebKit/Source/Platform/chromium/public/WebExternalTextureL ayerClient.h" 9 #include "third_party/WebKit/Source/Platform/chromium/public/WebExternalTextureL ayerClient.h"
10 #include "third_party/WebKit/Source/Platform/chromium/public/WebExternalTextureM ailbox.h" 10 #include "third_party/WebKit/Source/Platform/chromium/public/WebExternalTextureM ailbox.h"
11 #include "third_party/WebKit/Source/Platform/chromium/public/WebFloatRect.h" 11 #include "third_party/WebKit/Source/Platform/chromium/public/WebFloatRect.h"
12 #include "third_party/WebKit/Source/Platform/chromium/public/WebSize.h" 12 #include "third_party/WebKit/Source/Platform/chromium/public/WebSize.h"
13 #include "webkit/compositor_bindings/web_layer_impl.h" 13 #include "webkit/renderer/compositor_bindings/web_layer_impl.h"
14 14
15 using cc::TextureLayer; 15 using cc::TextureLayer;
16 using cc::ResourceUpdateQueue; 16 using cc::ResourceUpdateQueue;
17 17
18 namespace webkit { 18 namespace webkit {
19 19
20 WebExternalTextureLayerImpl::WebExternalTextureLayerImpl( 20 WebExternalTextureLayerImpl::WebExternalTextureLayerImpl(
21 WebKit::WebExternalTextureLayerClient* client, 21 WebKit::WebExternalTextureLayerClient* client,
22 bool mailbox) 22 bool mailbox)
23 : client_(client), 23 : client_(client),
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 if (lost_resource) 130 if (lost_resource)
131 return; 131 return;
132 132
133 WebKit::WebExternalTextureMailbox available_mailbox; 133 WebKit::WebExternalTextureMailbox available_mailbox;
134 memcpy(available_mailbox.name, mailbox.name, sizeof(available_mailbox.name)); 134 memcpy(available_mailbox.name, mailbox.name, sizeof(available_mailbox.name));
135 available_mailbox.syncPoint = sync_point; 135 available_mailbox.syncPoint = sync_point;
136 client_->mailboxReleased(available_mailbox); 136 client_->mailboxReleased(available_mailbox);
137 } 137 }
138 138
139 } // namespace webkit 139 } // namespace webkit
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698