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

Side by Side Diff: chrome/renderer/pepper_platform_context_3d_impl.cc

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
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 #include "chrome/renderer/pepper_platform_context_3d_impl.h" 5 #include "chrome/renderer/pepper_platform_context_3d_impl.h"
6 6
7 #include "chrome/renderer/command_buffer_proxy.h" 7 #include "chrome/renderer/command_buffer_proxy.h"
8 #include "chrome/renderer/ggl/ggl.h"
9 #include "chrome/renderer/gpu_channel_host.h" 8 #include "chrome/renderer/gpu_channel_host.h"
10 #include "chrome/renderer/render_thread.h" 9 #include "chrome/renderer/render_thread.h"
10 #include "content/renderer/ggl.h"
11 #include "gpu/command_buffer/client/gles2_cmd_helper.h" 11 #include "gpu/command_buffer/client/gles2_cmd_helper.h"
12 #include "gpu/command_buffer/client/gles2_implementation.h" 12 #include "gpu/command_buffer/client/gles2_implementation.h"
13 13
14 #ifdef ENABLE_GPU 14 #ifdef ENABLE_GPU
15 PlatformContext3DImpl::PlatformContext3DImpl(ggl::Context* parent_context) 15 PlatformContext3DImpl::PlatformContext3DImpl(ggl::Context* parent_context)
16 : parent_context_(parent_context), 16 : parent_context_(parent_context),
17 parent_texture_id_(0), 17 parent_texture_id_(0),
18 command_buffer_(NULL), 18 command_buffer_(NULL),
19 callback_factory_(ALLOW_THIS_IN_INITIALIZER_LIST(this)) { 19 callback_factory_(ALLOW_THIS_IN_INITIALIZER_LIST(this)) {
20 } 20 }
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 105
106 // We will lose the parent context soon (it will be reallocated by the main 106 // We will lose the parent context soon (it will be reallocated by the main
107 // page). 107 // page).
108 parent_context_ = NULL; 108 parent_context_ = NULL;
109 parent_texture_id_ = 0; 109 parent_texture_id_ = 0;
110 if (context_lost_callback_.get()) 110 if (context_lost_callback_.get())
111 context_lost_callback_->Run(); 111 context_lost_callback_->Run();
112 } 112 }
113 113
114 #endif // ENABLE_GPU 114 #endif // ENABLE_GPU
OLDNEW
« no previous file with comments | « chrome/renderer/p2p/socket_dispatcher.cc ('k') | chrome/renderer/pepper_plugin_delegate_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698