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

Side by Side Diff: app/gfx/gl/gl_context_egl.h

Issue 6312156: Change includes of gfx/* to ui/gfx/* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 10 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
« no previous file with comments | « app/gfx/gl/gl_context.h ('k') | app/gfx/gl/gl_context_osmesa.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 APP_GFX_GL_GL_CONTEXT_EGL_H_ 5 #ifndef APP_GFX_GL_GL_CONTEXT_EGL_H_
6 #define APP_GFX_GL_GL_CONTEXT_EGL_H_ 6 #define APP_GFX_GL_GL_CONTEXT_EGL_H_
7 #pragma once 7 #pragma once
8 8
9 #include "app/gfx/gl/gl_context.h" 9 #include "app/gfx/gl/gl_context.h"
10 #include "base/ref_counted.h" 10 #include "base/ref_counted.h"
11 #include "gfx/size.h" 11 #include "ui/gfx/size.h"
12 12
13 typedef void* EGLDisplay; 13 typedef void* EGLDisplay;
14 typedef void* EGLContext; 14 typedef void* EGLContext;
15 typedef void* EGLSurface; 15 typedef void* EGLSurface;
16 16
17 namespace gfx { 17 namespace gfx {
18 18
19 // Takes ownership of an EGL surface and reference counts it so it can be shared 19 // Takes ownership of an EGL surface and reference counts it so it can be shared
20 // by multiple EGL contexts and destroyed with the last. 20 // by multiple EGL contexts and destroyed with the last.
21 class SharedEGLSurface : public base::RefCounted<SharedEGLSurface> { 21 class SharedEGLSurface : public base::RefCounted<SharedEGLSurface> {
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 private: 110 private:
111 scoped_refptr<SharedEGLSurface> surface_; 111 scoped_refptr<SharedEGLSurface> surface_;
112 EGLContext context_; 112 EGLContext context_;
113 113
114 DISALLOW_COPY_AND_ASSIGN(SecondaryEGLContext); 114 DISALLOW_COPY_AND_ASSIGN(SecondaryEGLContext);
115 }; 115 };
116 116
117 } // namespace gfx 117 } // namespace gfx
118 118
119 #endif // APP_GFX_GL_GL_CONTEXT_EGL_H_ 119 #endif // APP_GFX_GL_GL_CONTEXT_EGL_H_
OLDNEW
« no previous file with comments | « app/gfx/gl/gl_context.h ('k') | app/gfx/gl/gl_context_osmesa.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698