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

Unified Diff: content/common/gpu/media/gles2_texture_to_egl_image_translator.h

Issue 21584002: Delete dead code: OmxVideoDecodeAccelerator is unused. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Re-removing both OWNERS & README Created 7 years, 4 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 | « content/common/gpu/DEPS ('k') | content/common/gpu/media/gles2_texture_to_egl_image_translator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/media/gles2_texture_to_egl_image_translator.h
diff --git a/content/common/gpu/media/gles2_texture_to_egl_image_translator.h b/content/common/gpu/media/gles2_texture_to_egl_image_translator.h
deleted file mode 100644
index bb1eaccf29449aa076a7127e0d9dbe7e08fffcfb..0000000000000000000000000000000000000000
--- a/content/common/gpu/media/gles2_texture_to_egl_image_translator.h
+++ /dev/null
@@ -1,42 +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 CONTENT_COMMON_GPU_MEDIA_GLES2_TEXTURE_TO_EGL_IMAGE_TRANSLATOR_H_
-#define CONTENT_COMMON_GPU_MEDIA_GLES2_TEXTURE_TO_EGL_IMAGE_TRANSLATOR_H_
-
-#include <map>
-
-#include "base/basictypes.h"
-#include "media/video/picture.h"
-#include "ui/gl/gl_bindings.h"
-
-namespace content {
-
-// Class to wrap egl-opengles related operations.
-// PPAPI will give the textures to OmxVideoDecodeAccelerator.
-// OmxVideoDecodeAccelerator will use this class to convert
-// these texture into EGLImage and back.
-class Gles2TextureToEglImageTranslator {
- public:
- Gles2TextureToEglImageTranslator(bool use_backing_pixmaps);
- ~Gles2TextureToEglImageTranslator();
-
- // Translates texture into EGLImage and back.
- EGLImageKHR TranslateToEglImage(EGLDisplay egl_display,
- EGLContext egl_context,
- uint32 texture,
- const gfx::Size& dimensions);
- uint32 TranslateToTexture(EGLImageKHR egl_image);
- void DestroyEglImage(EGLDisplay egl_display, EGLImageKHR egl_image);
-
- private:
- bool use_backing_pixmaps_;
- typedef std::map<EGLImageKHR, Pixmap> ImagePixmap;
- ImagePixmap eglimage_pixmap_;
- DISALLOW_COPY_AND_ASSIGN(Gles2TextureToEglImageTranslator);
-};
-
-} // namespace content
-
-#endif // CONTENT_COMMON_GPU_MEDIA_GLES2_TEXTURE_TO_EGL_IMAGE_TRANSLATOR_H_
« no previous file with comments | « content/common/gpu/DEPS ('k') | content/common/gpu/media/gles2_texture_to_egl_image_translator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698