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

Unified Diff: gpu/ipc/common/android/surface_texture_peer.h

Issue 2420083004: Delete SurfaceTexturePeer (Closed)
Patch Set: Fix missed references Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gpu/ipc/common/BUILD.gn ('k') | gpu/ipc/common/android/surface_texture_peer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/ipc/common/android/surface_texture_peer.h
diff --git a/gpu/ipc/common/android/surface_texture_peer.h b/gpu/ipc/common/android/surface_texture_peer.h
deleted file mode 100644
index bbfc78d0a3cd00bcbd9ce66fea46a50729f7a2ca..0000000000000000000000000000000000000000
--- a/gpu/ipc/common/android/surface_texture_peer.h
+++ /dev/null
@@ -1,39 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef GPU_IPC_COMMON_ANDROID_SURFACE_TEXTURE_PEER_H_
-#define GPU_IPC_COMMON_ANDROID_SURFACE_TEXTURE_PEER_H_
-
-#include "base/macros.h"
-#include "base/process/process.h"
-#include "gpu/gpu_export.h"
-#include "ui/gl/android/surface_texture.h"
-
-namespace gpu {
-
-class GPU_EXPORT SurfaceTexturePeer {
- public:
- static SurfaceTexturePeer* GetInstance();
-
- static void InitInstance(SurfaceTexturePeer* instance);
-
- // Establish the producer end for the given surface texture in another
- // process.
- virtual void EstablishSurfaceTexturePeer(
- base::ProcessHandle pid,
- scoped_refptr<gl::SurfaceTexture> surface_texture,
- int primary_id,
- int secondary_id) = 0;
-
- protected:
- SurfaceTexturePeer();
- virtual ~SurfaceTexturePeer();
-
- private:
- DISALLOW_COPY_AND_ASSIGN(SurfaceTexturePeer);
-};
-
-} // namespace gpu
-
-#endif // GPU_IPC_COMMON_ANDROID_SURFACE_TEXTURE_PEER_H_
« no previous file with comments | « gpu/ipc/common/BUILD.gn ('k') | gpu/ipc/common/android/surface_texture_peer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698