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

Side by Side Diff: content/renderer/gpu/webgraphicscontext3d_command_buffer_impl.cc

Issue 8423038: Move GL headers from gpu to third_party/khronos (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #if defined(ENABLE_GPU) 5 #if defined(ENABLE_GPU)
6 6
7 #include "content/renderer/gpu/webgraphicscontext3d_command_buffer_impl.h" 7 #include "content/renderer/gpu/webgraphicscontext3d_command_buffer_impl.h"
8 8
9 #include "gpu/GLES2/gl2.h" 9 #include "third_party/khronos/GLES2/gl2.h"
10 #ifndef GL_GLEXT_PROTOTYPES 10 #ifndef GL_GLEXT_PROTOTYPES
11 #define GL_GLEXT_PROTOTYPES 1 11 #define GL_GLEXT_PROTOTYPES 1
12 #endif 12 #endif
13 #include "gpu/GLES2/gl2ext.h" 13 #include "third_party/khronos/GLES2/gl2ext.h"
14 14
15 #include <algorithm> 15 #include <algorithm>
16 #include <set> 16 #include <set>
17 17
18 #include "base/bind.h" 18 #include "base/bind.h"
19 #include "base/lazy_instance.h" 19 #include "base/lazy_instance.h"
20 #include "base/string_tokenizer.h" 20 #include "base/string_tokenizer.h"
21 #include "base/command_line.h" 21 #include "base/command_line.h"
22 #include "base/debug/trace_event.h" 22 #include "base/debug/trace_event.h"
23 #include "base/logging.h" 23 #include "base/logging.h"
(...skipping 1122 matching lines...) Expand 10 before | Expand all | Expand 10 after
1146 if (context_lost_callback_) { 1146 if (context_lost_callback_) {
1147 context_lost_callback_->onContextLost(); 1147 context_lost_callback_->onContextLost();
1148 } 1148 }
1149 RenderViewImpl* renderview = 1149 RenderViewImpl* renderview =
1150 web_view_ ? RenderViewImpl::FromWebView(web_view_) : NULL; 1150 web_view_ ? RenderViewImpl::FromWebView(web_view_) : NULL;
1151 if (renderview) 1151 if (renderview)
1152 renderview->OnViewContextSwapBuffersAborted(); 1152 renderview->OnViewContextSwapBuffersAborted();
1153 } 1153 }
1154 1154
1155 #endif // defined(ENABLE_GPU) 1155 #endif // defined(ENABLE_GPU)
OLDNEW
« no previous file with comments | « content/DEPS ('k') | gpu/EGL/eglext.h » ('j') | tools/checklicenses/checklicenses.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698