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

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

Issue 20017005: gpu: Refactor GpuMemoryBuffer framework for multi-process support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_GL_GL_IMAGE_H_ 5 #ifndef UI_GL_GL_IMAGE_H_
6 #define UI_GL_GL_IMAGE_H_ 6 #define UI_GL_GL_IMAGE_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "ui/gfx/gpu_memory_buffer.h"
9 #include "ui/gfx/native_widget_types.h" 10 #include "ui/gfx/native_widget_types.h"
10 #include "ui/gfx/size.h" 11 #include "ui/gfx/size.h"
11 #include "ui/gl/gl_export.h" 12 #include "ui/gl/gl_export.h"
12 13
13 namespace gfx { 14 namespace gfx {
14 15
15 class GLSurface; 16 class GLSurface;
16 17
17 // Encapsulates an image that can be bound to a texture, hiding platform 18 // Encapsulates an image that can be bound to a texture, hiding platform
18 // specific management. 19 // specific management.
(...skipping 25 matching lines...) Expand all
44 45
45 private: 46 private:
46 friend class base::RefCounted<GLImage>; 47 friend class base::RefCounted<GLImage>;
47 48
48 DISALLOW_COPY_AND_ASSIGN(GLImage); 49 DISALLOW_COPY_AND_ASSIGN(GLImage);
49 }; 50 };
50 51
51 } // namespace gfx 52 } // namespace gfx
52 53
53 #endif // UI_GL_GL_IMAGE_H_ 54 #endif // UI_GL_GL_IMAGE_H_
OLDNEW
« ui/gfx/gpu_memory_buffer.h ('K') | « ui/gl/gl.gyp ('k') | ui/gl/gl_image_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698