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

Side by Side Diff: content/renderer/ggl.h

Issue 6673090: Move core renderer subdirectories to content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 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 | « content/content_renderer.gypi ('k') | content/renderer/ggl.cc » ('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 // This API is consistent with other OpenGL setup APIs like window's WGL 5 // This API is consistent with other OpenGL setup APIs like window's WGL
6 // and pepper's PGL. This API is used to manage OpenGL contexts in the Chrome 6 // and pepper's PGL. This API is used to manage OpenGL contexts in the Chrome
7 // renderer process in a way that is consistent with other platforms. It is 7 // renderer process in a way that is consistent with other platforms. It is
8 // a C style API to ease porting of existing OpenGL software to Chrome. 8 // a C style API to ease porting of existing OpenGL software to Chrome.
9 9
10 #ifndef CHROME_RENDERER_GGL_GGL_H_ 10 #ifndef CONTENT_RENDERER_GGL_H_
11 #define CHROME_RENDERER_GGL_GGL_H_ 11 #define CONTENT_RENDERER_GGL_H_
12 #pragma once 12 #pragma once
13 13
14 #include "base/callback.h" 14 #include "base/callback.h"
15 #include "ui/gfx/native_widget_types.h" 15 #include "ui/gfx/native_widget_types.h"
16 #include "ui/gfx/size.h" 16 #include "ui/gfx/size.h"
17 17
18 class GpuChannelHost; 18 class GpuChannelHost;
19 class MessageLoop; 19 class MessageLoop;
20 class CommandBufferProxy; 20 class CommandBufferProxy;
21 21
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 Error GetError(Context* context); 165 Error GetError(Context* context);
166 166
167 // Return true if GPU process reported context lost or there was a problem 167 // Return true if GPU process reported context lost or there was a problem
168 // communicating with the GPU process. 168 // communicating with the GPU process.
169 bool IsCommandBufferContextLost(Context* context); 169 bool IsCommandBufferContextLost(Context* context);
170 170
171 CommandBufferProxy* GetCommandBufferProxy(Context* context); 171 CommandBufferProxy* GetCommandBufferProxy(Context* context);
172 172
173 } // namespace ggl 173 } // namespace ggl
174 174
175 #endif // CHROME_RENDERER_GGL_GGL_H_ 175 #endif // CONTENT_RENDERER_GGL_H_
OLDNEW
« no previous file with comments | « content/content_renderer.gypi ('k') | content/renderer/ggl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698