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

Unified Diff: ui/gl/gl_image_surface_texture.h

Issue 1285183008: Ozone integration. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: add missing license header Created 5 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 | « ui/gl/gl_image_memory.cc ('k') | ui/gl/gl_image_surface_texture.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_image_surface_texture.h
diff --git a/ui/gl/gl_image_surface_texture.h b/ui/gl/gl_image_surface_texture.h
deleted file mode 100644
index d2ff5b707dd66bc225a6a498e8d7ec1a39e13199..0000000000000000000000000000000000000000
--- a/ui/gl/gl_image_surface_texture.h
+++ /dev/null
@@ -1,50 +0,0 @@
-// Copyright 2014 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 UI_GL_GL_IMAGE_SURFACE_TEXTURE_H_
-#define UI_GL_GL_IMAGE_SURFACE_TEXTURE_H_
-
-#include "base/memory/ref_counted.h"
-#include "ui/gl/gl_bindings.h"
-#include "ui/gl/gl_image.h"
-
-namespace gfx {
-class SurfaceTexture;
-
-class GL_EXPORT GLImageSurfaceTexture : public GLImage {
- public:
- explicit GLImageSurfaceTexture(const gfx::Size& size);
-
- bool Initialize(SurfaceTexture* surface_texture);
-
- // Overridden from GLImage:
- void Destroy(bool have_context) override;
- gfx::Size GetSize() override;
- bool BindTexImage(unsigned target) override;
- void ReleaseTexImage(unsigned target) override {}
- bool CopyTexImage(unsigned target) override;
- void WillUseTexImage() override {}
- void DidUseTexImage() override {}
- void WillModifyTexImage() override {}
- void DidModifyTexImage() override {}
- bool ScheduleOverlayPlane(gfx::AcceleratedWidget widget,
- int z_order,
- OverlayTransform transform,
- const Rect& bounds_rect,
- const RectF& crop_rect) override;
-
- protected:
- ~GLImageSurfaceTexture() override;
-
- private:
- scoped_refptr<SurfaceTexture> surface_texture_;
- const gfx::Size size_;
- GLint texture_id_;
-
- DISALLOW_COPY_AND_ASSIGN(GLImageSurfaceTexture);
-};
-
-} // namespace gfx
-
-#endif // UI_GL_GL_IMAGE_SURFACE_TEXTURE_H_
« no previous file with comments | « ui/gl/gl_image_memory.cc ('k') | ui/gl/gl_image_surface_texture.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698