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

Unified Diff: gpu/command_buffer/service/stream_texture_manager_in_process_android.h

Issue 1844843002: android: Remove in-process video path (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove commented out code + rebase again Created 4 years, 8 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
Index: gpu/command_buffer/service/stream_texture_manager_in_process_android.h
diff --git a/gpu/command_buffer/service/stream_texture_manager_in_process_android.h b/gpu/command_buffer/service/stream_texture_manager_in_process_android.h
deleted file mode 100644
index 1f503bf192e3a82c7761672378af5394d862dfb1..0000000000000000000000000000000000000000
--- a/gpu/command_buffer/service/stream_texture_manager_in_process_android.h
+++ /dev/null
@@ -1,53 +0,0 @@
-// Copyright 2013 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_STREAM_TEXTURE_MANAGER_IN_PROCESS_ANDROID_H_
-#define GPU_STREAM_TEXTURE_MANAGER_IN_PROCESS_ANDROID_H_
-
-#include <stdint.h>
-
-#include <map>
-
-#include "base/macros.h"
-#include "base/memory/ref_counted.h"
-#include "base/memory/weak_ptr.h"
-#include "base/synchronization/lock.h"
-#include "base/threading/non_thread_safe.h"
-
-namespace gfx {
-class SurfaceTexture;
-}
-
-namespace gpu {
-
-namespace gles2 {
-class TextureManager;
-}
-
-class StreamTextureManagerInProcess : public base::NonThreadSafe {
- public:
- StreamTextureManagerInProcess();
- ~StreamTextureManagerInProcess();
-
- uint32_t CreateStreamTexture(uint32_t client_texture_id,
- gles2::TextureManager* texture_manager);
-
- // This method can be called from any thread.
- scoped_refptr<gfx::SurfaceTexture> GetSurfaceTexture(uint32_t stream_id);
-
- private:
- void OnReleaseStreamTexture(uint32_t stream_id);
-
- typedef std::map<uint32_t, scoped_refptr<gfx::SurfaceTexture>> TextureMap;
- TextureMap textures_;
- base::Lock map_lock_;
- uint32_t next_id_;
-
- base::WeakPtrFactory<StreamTextureManagerInProcess> weak_factory_;
- DISALLOW_COPY_AND_ASSIGN(StreamTextureManagerInProcess);
-};
-
-} // gpu
-
-#endif // GPU_STREAM_TEXTURE_MANAGER_IN_PROCESS_ANDROID_H_

Powered by Google App Engine
This is Rietveld 408576698