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

Unified Diff: ui/gl/gl_image_glx.h

Issue 699643002: ui: Remove GLImageGLX. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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.gyp ('k') | ui/gl/gl_image_glx.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_image_glx.h
diff --git a/ui/gl/gl_image_glx.h b/ui/gl/gl_image_glx.h
deleted file mode 100644
index f6031e23a05915ff671235a2a9dff5a474a611f7..0000000000000000000000000000000000000000
--- a/ui/gl/gl_image_glx.h
+++ /dev/null
@@ -1,50 +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 UI_GL_GL_IMAGE_GLX_H_
-#define UI_GL_GL_IMAGE_GLX_H_
-
-#include "ui/gfx/size.h"
-#include "ui/gfx/x/x11_types.h"
-#include "ui/gl/gl_export.h"
-#include "ui/gl/gl_image.h"
-
-namespace gfx {
-
-class GL_EXPORT GLImageGLX : public GLImage {
- public:
- GLImageGLX(const gfx::Size& size, unsigned internalformat);
-
- bool Initialize(XID pixmap);
-
- // 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:
- ~GLImageGLX() override;
-
- private:
- XID glx_pixmap_;
- const gfx::Size size_;
- unsigned internalformat_;
-
- DISALLOW_COPY_AND_ASSIGN(GLImageGLX);
-};
-
-} // namespace gfx
-
-#endif // UI_GL_GL_IMAGE_GLX_H_
« no previous file with comments | « ui/gl/gl.gyp ('k') | ui/gl/gl_image_glx.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698