Index: mojo/gpu/texture_uploader.h |
diff --git a/mojo/gpu/texture_uploader.h b/mojo/gpu/texture_uploader.h |
deleted file mode 100644 |
index 29ab68081791b457fb45bb7ae4277debef035345..0000000000000000000000000000000000000000 |
--- a/mojo/gpu/texture_uploader.h |
+++ /dev/null |
@@ -1,34 +0,0 @@ |
-// Copyright 2015 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 MOJO_GPU_TEXTURE_UPLOADER_H_ |
-#define MOJO_GPU_TEXTURE_UPLOADER_H_ |
- |
-#include "base/memory/scoped_ptr.h" |
-#include "base/memory/weak_ptr.h" |
-#include "mojo/gpu/gl_context.h" |
-#include "mojo/gpu/gl_texture.h" |
-#include "mojo/services/surfaces/interfaces/surfaces.mojom.h" |
- |
-namespace mojo { |
- |
-// Utility class for uploading textures to a surface. |
-class TextureUploader { |
- public: |
- // Gets a FramePtr for uploading to a to a SurfacePtr using |texture| as a |
- // transferable resource with id |resource_id|. |
- static mojo::FramePtr GetUploadFrame( |
- base::WeakPtr<mojo::GLContext> context, |
- uint32_t resource_id, |
- const scoped_ptr<mojo::GLTexture>& texture); |
- |
- private: |
- TextureUploader(); |
- ~TextureUploader(); |
- DISALLOW_COPY_AND_ASSIGN(TextureUploader); |
-}; |
- |
-} // namespace mojo |
- |
-#endif // MOJO_GPU_TEXTURE_UPLOADER_H_ |