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

Side by Side Diff: content/renderer/media/renderer_gpu_video_accelerator_factories.cc

Issue 1944603002: Delete WebGraphicsContext3DCommandBufferImpl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@construct
Patch Set: killitwithfire: const Created 4 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/media/renderer_gpu_video_accelerator_factories.h" 5 #include "content/renderer/media/renderer_gpu_video_accelerator_factories.h"
6 6
7 #include <GLES2/gl2.h> 7 #include <GLES2/gl2.h>
8 #include <GLES2/gl2ext.h> 8 #include <GLES2/gl2ext.h>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/memory/ptr_util.h" 11 #include "base/memory/ptr_util.h"
12 #include "base/metrics/histogram_macros.h" 12 #include "base/metrics/histogram_macros.h"
13 #include "cc/output/context_provider.h" 13 #include "cc/output/context_provider.h"
14 #include "content/child/child_gpu_memory_buffer_manager.h" 14 #include "content/child/child_gpu_memory_buffer_manager.h"
15 #include "content/child/child_thread_impl.h" 15 #include "content/child/child_thread_impl.h"
16 #include "content/common/gpu/client/context_provider_command_buffer.h" 16 #include "content/common/gpu/client/context_provider_command_buffer.h"
17 #include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h"
18 #include "content/renderer/render_thread_impl.h" 17 #include "content/renderer/render_thread_impl.h"
19 #include "gpu/command_buffer/client/gles2_interface.h" 18 #include "gpu/command_buffer/client/gles2_interface.h"
20 #include "gpu/command_buffer/client/gpu_memory_buffer_manager.h" 19 #include "gpu/command_buffer/client/gpu_memory_buffer_manager.h"
21 #include "gpu/ipc/client/gpu_channel_host.h" 20 #include "gpu/ipc/client/gpu_channel_host.h"
22 #include "media/gpu/gpu_video_accelerator_util.h" 21 #include "media/gpu/gpu_video_accelerator_util.h"
23 #include "media/gpu/ipc/client/gpu_video_decode_accelerator_host.h" 22 #include "media/gpu/ipc/client/gpu_video_decode_accelerator_host.h"
24 #include "media/gpu/ipc/client/gpu_video_encode_accelerator_host.h" 23 #include "media/gpu/ipc/client/gpu_video_encode_accelerator_host.h"
25 #include "media/video/video_decode_accelerator.h" 24 #include "media/video/video_decode_accelerator.h"
26 #include "media/video/video_encode_accelerator.h" 25 #include "media/video/video_encode_accelerator.h"
27 26
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 context_provider_refptr_ = nullptr; 297 context_provider_refptr_ = nullptr;
299 } 298 }
300 299
301 scoped_refptr<ContextProviderCommandBuffer> 300 scoped_refptr<ContextProviderCommandBuffer>
302 RendererGpuVideoAcceleratorFactories::ContextProviderMainThread() { 301 RendererGpuVideoAcceleratorFactories::ContextProviderMainThread() {
303 DCHECK(main_thread_task_runner_->BelongsToCurrentThread()); 302 DCHECK(main_thread_task_runner_->BelongsToCurrentThread());
304 return context_provider_refptr_; 303 return context_provider_refptr_;
305 } 304 }
306 305
307 } // namespace content 306 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/gpu/compositor_output_surface.cc ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698