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

Side by Side Diff: webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc

Issue 832953002: Cleanup: Update the path to gfx size headers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: REBASE Created 5 years, 11 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
« no previous file with comments | « ui/wm/public/window_move_client.h ('k') | no next file » | 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) 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 #include "webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl. h" 5 #include "webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl. h"
6 6
7 #include <GLES2/gl2.h> 7 #include <GLES2/gl2.h>
8 #ifndef GL_GLEXT_PROTOTYPES 8 #ifndef GL_GLEXT_PROTOTYPES
9 #define GL_GLEXT_PROTOTYPES 1 9 #define GL_GLEXT_PROTOTYPES 1
10 #endif 10 #endif
11 #include <GLES2/gl2ext.h> 11 #include <GLES2/gl2ext.h>
12 #include <GLES2/gl2extchromium.h> 12 #include <GLES2/gl2extchromium.h>
13 13
14 #include <string> 14 #include <string>
15 15
16 #include "base/atomicops.h" 16 #include "base/atomicops.h"
17 #include "base/bind.h" 17 #include "base/bind.h"
18 #include "base/bind_helpers.h" 18 #include "base/bind_helpers.h"
19 #include "base/callback.h" 19 #include "base/callback.h"
20 #include "base/logging.h" 20 #include "base/logging.h"
21 #include "gpu/command_buffer/client/gles2_implementation.h" 21 #include "gpu/command_buffer/client/gles2_implementation.h"
22 #include "gpu/command_buffer/common/gles2_cmd_utils.h" 22 #include "gpu/command_buffer/common/gles2_cmd_utils.h"
23 #include "gpu/skia_bindings/gl_bindings_skia_cmd_buffer.h" 23 #include "gpu/skia_bindings/gl_bindings_skia_cmd_buffer.h"
24 #include "ui/gfx/size.h" 24 #include "ui/gfx/geometry/size.h"
25 #include "ui/gl/gl_implementation.h" 25 #include "ui/gl/gl_implementation.h"
26 26
27 using gpu::gles2::GLES2Implementation; 27 using gpu::gles2::GLES2Implementation;
28 using gpu::GLInProcessContext; 28 using gpu::GLInProcessContext;
29 29
30 namespace webkit { 30 namespace webkit {
31 namespace gpu { 31 namespace gpu {
32 32
33 // static 33 // static
34 scoped_ptr<WebGraphicsContext3DInProcessCommandBufferImpl> 34 scoped_ptr<WebGraphicsContext3DInProcessCommandBufferImpl>
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 void WebGraphicsContext3DInProcessCommandBufferImpl::OnContextLost() { 171 void WebGraphicsContext3DInProcessCommandBufferImpl::OnContextLost() {
172 // TODO(kbr): improve the precision here. 172 // TODO(kbr): improve the precision here.
173 context_lost_reason_ = GL_UNKNOWN_CONTEXT_RESET_ARB; 173 context_lost_reason_ = GL_UNKNOWN_CONTEXT_RESET_ARB;
174 if (context_lost_callback_) { 174 if (context_lost_callback_) {
175 context_lost_callback_->onContextLost(); 175 context_lost_callback_->onContextLost();
176 } 176 }
177 } 177 }
178 178
179 } // namespace gpu 179 } // namespace gpu
180 } // namespace webkit 180 } // namespace webkit
OLDNEW
« no previous file with comments | « ui/wm/public/window_move_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698