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

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

Issue 7066035: Moved GPU related files in content/renderer into gpu subdirectory. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 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) 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 #include "content/renderer/pepper_platform_context_3d_impl.h" 5 #include "content/renderer/pepper_platform_context_3d_impl.h"
6 6
7 #include "content/renderer/command_buffer_proxy.h"
8 #include "content/renderer/render_thread.h" 7 #include "content/renderer/render_thread.h"
9 #include "content/renderer/renderer_gl_context.h" 8 #include "content/renderer/gpu/renderer_gl_context.h"
10 #include "content/renderer/gpu_channel_host.h" 9 #include "content/renderer/gpu/gpu_channel_host.h"
10 #include "content/renderer/gpu/command_buffer_proxy.h"
11 #include "googleurl/src/gurl.h" 11 #include "googleurl/src/gurl.h"
12 #include "gpu/command_buffer/client/gles2_cmd_helper.h" 12 #include "gpu/command_buffer/client/gles2_cmd_helper.h"
13 #include "gpu/command_buffer/client/gles2_implementation.h" 13 #include "gpu/command_buffer/client/gles2_implementation.h"
14 14
15 #ifdef ENABLE_GPU 15 #ifdef ENABLE_GPU
16 16
17 PlatformContext3DImpl::PlatformContext3DImpl(RendererGLContext* parent_context) 17 PlatformContext3DImpl::PlatformContext3DImpl(RendererGLContext* parent_context)
18 : parent_context_(parent_context->AsWeakPtr()), 18 : parent_context_(parent_context->AsWeakPtr()),
19 parent_texture_id_(0), 19 parent_texture_id_(0),
20 command_buffer_(NULL), 20 command_buffer_(NULL),
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 } 108 }
109 109
110 void PlatformContext3DImpl::OnContextLost() { 110 void PlatformContext3DImpl::OnContextLost() {
111 DCHECK(command_buffer_); 111 DCHECK(command_buffer_);
112 112
113 if (context_lost_callback_.get()) 113 if (context_lost_callback_.get())
114 context_lost_callback_->Run(); 114 context_lost_callback_->Run();
115 } 115 }
116 116
117 #endif // ENABLE_GPU 117 #endif // ENABLE_GPU
OLDNEW
« no previous file with comments | « content/renderer/media/ipc_video_decoder.cc ('k') | content/renderer/pepper_platform_video_decoder_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698