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

Side by Side Diff: content/browser/renderer_host/image_transport_factory_android.cc

Issue 15822010: Update refernces to Blink's Platform API (content) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 #include "content/browser/renderer_host/image_transport_factory_android.h" 5 #include "content/browser/renderer_host/image_transport_factory_android.h"
6 6
7 #include "base/memory/singleton.h" 7 #include "base/memory/singleton.h"
8 #include "content/browser/gpu/browser_gpu_channel_host_factory.h" 8 #include "content/browser/gpu/browser_gpu_channel_host_factory.h"
9 #include "content/browser/renderer_host/compositor_impl_android.h" 9 #include "content/browser/renderer_host/compositor_impl_android.h"
10 #include "content/common/gpu/client/gl_helper.h" 10 #include "content/common/gpu/client/gl_helper.h"
11 #include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h" 11 #include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h"
12 #include "content/common/gpu/gpu_process_launch_causes.h" 12 #include "content/common/gpu/gpu_process_launch_causes.h"
13 #include "third_party/WebKit/Source/Platform/chromium/public/WebGraphicsContext3 D.h" 13 #include "third_party/WebKit/public/platform/WebGraphicsContext3D.h"
14 #include "third_party/khronos/GLES2/gl2.h" 14 #include "third_party/khronos/GLES2/gl2.h"
15 #include "webkit/common/gpu/webgraphicscontext3d_in_process_impl.h" 15 #include "webkit/common/gpu/webgraphicscontext3d_in_process_impl.h"
16 16
17 namespace content { 17 namespace content {
18 18
19 namespace { 19 namespace {
20 20
21 static ImageTransportFactoryAndroid* g_factory = NULL; 21 static ImageTransportFactoryAndroid* g_factory = NULL;
22 22
23 class DirectGLImageTransportFactory : public ImageTransportFactoryAndroid { 23 class DirectGLImageTransportFactory : public ImageTransportFactoryAndroid {
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 return g_factory; 180 return g_factory;
181 } 181 }
182 182
183 ImageTransportFactoryAndroid::ImageTransportFactoryAndroid() { 183 ImageTransportFactoryAndroid::ImageTransportFactoryAndroid() {
184 } 184 }
185 185
186 ImageTransportFactoryAndroid::~ImageTransportFactoryAndroid() { 186 ImageTransportFactoryAndroid::~ImageTransportFactoryAndroid() {
187 } 187 }
188 188
189 } // namespace content 189 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698