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

Side by Side Diff: content/renderer/gpu/renderer_gl_context.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/renderer_gl_context.h" 5 #include "content/renderer/gpu/renderer_gl_context.h"
6 6
7 #include "base/debug/trace_event.h" 7 #include "base/debug/trace_event.h"
8 #include "base/lazy_instance.h" 8 #include "base/lazy_instance.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "base/memory/singleton.h" 11 #include "base/memory/singleton.h"
12 #include "base/memory/weak_ptr.h" 12 #include "base/memory/weak_ptr.h"
13 #include "base/shared_memory.h" 13 #include "base/shared_memory.h"
14 #include "content/common/view_messages.h" 14 #include "content/common/view_messages.h"
15 #include "content/renderer/command_buffer_proxy.h" 15 #include "content/renderer/gpu/command_buffer_proxy.h"
16 #include "content/renderer/gpu_channel_host.h" 16 #include "content/renderer/gpu/gpu_channel_host.h"
17 #include "content/renderer/gpu_video_service_host.h" 17 #include "content/renderer/gpu/gpu_video_service_host.h"
18 #include "content/renderer/gpu/transport_texture_host.h"
19 #include "content/renderer/gpu/transport_texture_service.h"
18 #include "content/renderer/media/gles2_video_decode_context.h" 20 #include "content/renderer/media/gles2_video_decode_context.h"
19 #include "content/renderer/render_thread.h" 21 #include "content/renderer/render_thread.h"
20 #include "content/renderer/render_widget.h" 22 #include "content/renderer/render_widget.h"
21 #include "content/renderer/transport_texture_host.h"
22 #include "content/renderer/transport_texture_service.h"
23 #include "googleurl/src/gurl.h" 23 #include "googleurl/src/gurl.h"
24 #include "ipc/ipc_channel_handle.h" 24 #include "ipc/ipc_channel_handle.h"
25 25
26 #if defined(ENABLE_GPU) 26 #if defined(ENABLE_GPU)
27 #include "gpu/command_buffer/client/gles2_cmd_helper.h" 27 #include "gpu/command_buffer/client/gles2_cmd_helper.h"
28 #include "gpu/command_buffer/client/gles2_implementation.h" 28 #include "gpu/command_buffer/client/gles2_implementation.h"
29 #include "gpu/command_buffer/client/gles2_lib.h" 29 #include "gpu/command_buffer/client/gles2_lib.h"
30 #include "gpu/command_buffer/common/constants.h" 30 #include "gpu/command_buffer/common/constants.h"
31 #include "gpu/GLES2/gles2_command_buffer.h" 31 #include "gpu/GLES2/gles2_command_buffer.h"
32 #endif // ENABLE_GPU 32 #endif // ENABLE_GPU
(...skipping 555 matching lines...) Expand 10 before | Expand all | Expand 10 after
588 return false; 588 return false;
589 } 589 }
590 590
591 bool RendererGLContext::GetChildToParentLatch(uint32* child_to_parent_latch) { 591 bool RendererGLContext::GetChildToParentLatch(uint32* child_to_parent_latch) {
592 if (parent_.get()) { 592 if (parent_.get()) {
593 *child_to_parent_latch = child_to_parent_latch_; 593 *child_to_parent_latch = child_to_parent_latch_;
594 return true; 594 return true;
595 } 595 }
596 return false; 596 return false;
597 } 597 }
OLDNEW
« no previous file with comments | « content/renderer/gpu/renderer_gl_context.h ('k') | content/renderer/gpu/transport_texture_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698