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

Side by Side Diff: ui/gl/gl_image_stub.h

Issue 10543125: gpu: Add support for GLX_EXT_texture_from_pixmap extension. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove .gitmodules change. Created 8 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef UI_GL_GL_IMAGE_STUB_H_
6 #define UI_GL_GL_IMAGE_STUB_H_
7
8 #include "ui/gl/gl_image.h"
9
10 namespace gfx {
11
12 // A GLImage that does nothing for unit tests.
13 class GL_EXPORT GLImageStub : public GLImage {
14 public:
15 // Implement GLImage.
16 virtual void Destroy() OVERRIDE;
17 virtual gfx::Size GetSize() OVERRIDE;
18 virtual bool RebindPixmap(GLuint pixmap) OVERRIDE;
19
20 protected:
21 virtual ~GLImageStub();
22 };
23
24 } // namespace gfx
25
26 #endif // UI_GL_GL_IMAGE_STUB_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698