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

Side by Side Diff: gpu/ipc/common/gpu_surface_lookup.h

Issue 1998723002: Move code in ui/gl/* from gfx:: to gl:: (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 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
« no previous file with comments | « gpu/ipc/common/gpu_param_traits_macros.h ('k') | gpu/ipc/service/child_window_surface_win.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 (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 #ifndef GPU_IPC_COMMON_GPU_SURFACE_LOOKUP_H_ 5 #ifndef GPU_IPC_COMMON_GPU_SURFACE_LOOKUP_H_
6 #define GPU_IPC_COMMON_GPU_SURFACE_LOOKUP_H_ 6 #define GPU_IPC_COMMON_GPU_SURFACE_LOOKUP_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "gpu/gpu_export.h" 9 #include "gpu/gpu_export.h"
10 #include "gpu/ipc/common/surface_handle.h" 10 #include "gpu/ipc/common/surface_handle.h"
(...skipping 12 matching lines...) Expand all
23 GpuSurfaceLookup() {} 23 GpuSurfaceLookup() {}
24 virtual ~GpuSurfaceLookup() {} 24 virtual ~GpuSurfaceLookup() {}
25 25
26 static GpuSurfaceLookup* GetInstance(); 26 static GpuSurfaceLookup* GetInstance();
27 static void InitInstance(GpuSurfaceLookup* lookup); 27 static void InitInstance(GpuSurfaceLookup* lookup);
28 28
29 virtual gfx::AcceleratedWidget AcquireNativeWidget( 29 virtual gfx::AcceleratedWidget AcquireNativeWidget(
30 gpu::SurfaceHandle surface_handle) = 0; 30 gpu::SurfaceHandle surface_handle) = 0;
31 31
32 #if defined(OS_ANDROID) 32 #if defined(OS_ANDROID)
33 virtual gfx::ScopedJavaSurface AcquireJavaSurface(int surface_id) = 0; 33 virtual gl::ScopedJavaSurface AcquireJavaSurface(int surface_id) = 0;
34 #endif 34 #endif
35 35
36 private: 36 private:
37 DISALLOW_COPY_AND_ASSIGN(GpuSurfaceLookup); 37 DISALLOW_COPY_AND_ASSIGN(GpuSurfaceLookup);
38 }; 38 };
39 39
40 } // namespace gpu 40 } // namespace gpu
41 41
42 #endif // GPU_IPC_COMMON_GPU_SURFACE_LOOKUP_H_ 42 #endif // GPU_IPC_COMMON_GPU_SURFACE_LOOKUP_H_
OLDNEW
« no previous file with comments | « gpu/ipc/common/gpu_param_traits_macros.h ('k') | gpu/ipc/service/child_window_surface_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698