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

Side by Side Diff: content/common/android/surface_texture_lookup.h

Issue 195583003: Add initial GpuMemoryBufferSurfaceTexture implementation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 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
OLDNEW
(Empty)
1 // Copyright 2014 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 #ifndef CONTENT_COMMON_ANDROID_SURFACE_TEXTURE_LOOKUP_H_
6 #define CONTENT_COMMON_ANDROID_SURFACE_TEXTURE_LOOKUP_H_
7
8 #include "ui/gfx/native_widget_types.h"
9
10 namespace content {
11
12 class SurfaceTextureLookup {
13 public:
14 static SurfaceTextureLookup* GetInstance();
15 static void InitInstance(SurfaceTextureLookup* instance);
16
17 virtual gfx::AcceleratedWidget AcquireNativeWidget(int primary_id,
18 int secondary_id) = 0;
19
20 protected:
21 virtual ~SurfaceTextureLookup() {}
22 };
23
24 } // namespace content
25
26 #endif // CONTENT_COMMON_ANDROID_SURFACE_TEXTURE_LOOKUP_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_message_filter.cc ('k') | content/common/android/surface_texture_lookup.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698