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

Side by Side Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 2684993005: (NotForReview) Enable YUV video overlay on Skylake ChromeOS.
Patch Set: rebase to ToT (Mar/27) Created 3 years, 8 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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 // Represents the browser side of the browser <--> renderer communication 5 // Represents the browser side of the browser <--> renderer communication
6 // channel. There will be one RenderProcessHost per renderer process. 6 // channel. There will be one RenderProcessHost per renderer process.
7 7
8 #include "content/browser/renderer_host/render_process_host_impl.h" 8 #include "content/browser/renderer_host/render_process_host_impl.h"
9 9
10 #include <algorithm> 10 #include <algorithm>
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 #include "content/public/common/resource_type.h" 164 #include "content/public/common/resource_type.h"
165 #include "content/public/common/result_codes.h" 165 #include "content/public/common/result_codes.h"
166 #include "content/public/common/sandboxed_process_launcher_delegate.h" 166 #include "content/public/common/sandboxed_process_launcher_delegate.h"
167 #include "content/public/common/service_names.mojom.h" 167 #include "content/public/common/service_names.mojom.h"
168 #include "content/public/common/url_constants.h" 168 #include "content/public/common/url_constants.h"
169 #include "device/gamepad/gamepad_monitor.h" 169 #include "device/gamepad/gamepad_monitor.h"
170 #include "gpu/GLES2/gl2extchromium.h" 170 #include "gpu/GLES2/gl2extchromium.h"
171 #include "gpu/command_buffer/client/gpu_switches.h" 171 #include "gpu/command_buffer/client/gpu_switches.h"
172 #include "gpu/command_buffer/common/gles2_cmd_utils.h" 172 #include "gpu/command_buffer/common/gles2_cmd_utils.h"
173 #include "gpu/command_buffer/service/gpu_switches.h" 173 #include "gpu/command_buffer/service/gpu_switches.h"
174 #include "gpu/ipc/host/gpu_memory_buffer_support.h" 174 #include "gpu/ipc/common/gpu_memory_buffer_support.h"
175 #include "gpu/ipc/common/gpu_switches.h"
175 #include "ipc/ipc.mojom.h" 176 #include "ipc/ipc.mojom.h"
176 #include "ipc/ipc_channel.h" 177 #include "ipc/ipc_channel.h"
177 #include "ipc/ipc_channel_mojo.h" 178 #include "ipc/ipc_channel_mojo.h"
178 #include "ipc/ipc_logging.h" 179 #include "ipc/ipc_logging.h"
179 #include "media/base/media_switches.h" 180 #include "media/base/media_switches.h"
180 #include "media/media_features.h" 181 #include "media/media_features.h"
181 #include "mojo/edk/embedder/embedder.h" 182 #include "mojo/edk/embedder/embedder.h"
182 #include "mojo/public/cpp/bindings/associated_interface_ptr.h" 183 #include "mojo/public/cpp/bindings/associated_interface_ptr.h"
183 #include "net/url_request/url_request_context_getter.h" 184 #include "net/url_request/url_request_context_getter.h"
184 #include "ppapi/features/features.h" 185 #include "ppapi/features/features.h"
(...skipping 1555 matching lines...) Expand 10 before | Expand all | Expand 10 after
1740 switches::kEnableBrowserSideNavigation, 1741 switches::kEnableBrowserSideNavigation,
1741 switches::kEnableColorCorrectRenderingDefaultMode, 1742 switches::kEnableColorCorrectRenderingDefaultMode,
1742 switches::kEnableDisplayList2dCanvas, 1743 switches::kEnableDisplayList2dCanvas,
1743 switches::kEnableDistanceFieldText, 1744 switches::kEnableDistanceFieldText,
1744 switches::kEnableExperimentalCanvasFeatures, 1745 switches::kEnableExperimentalCanvasFeatures,
1745 switches::kEnableExperimentalWebPlatformFeatures, 1746 switches::kEnableExperimentalWebPlatformFeatures,
1746 switches::kEnableHDR, 1747 switches::kEnableHDR,
1747 switches::kEnableHeapProfiling, 1748 switches::kEnableHeapProfiling,
1748 switches::kEnableGPUClientLogging, 1749 switches::kEnableGPUClientLogging,
1749 switches::kEnableGpuClientTracing, 1750 switches::kEnableGpuClientTracing,
1751 switches::kEnableNativeGpuMemoryBuffers,
1750 switches::kEnableGpuMemoryBufferVideoFrames, 1752 switches::kEnableGpuMemoryBufferVideoFrames,
1751 switches::kEnableGPUServiceLogging, 1753 switches::kEnableGPUServiceLogging,
1752 switches::kEnableLowResTiling, 1754 switches::kEnableLowResTiling,
1753 switches::kEnableMediaSuspend, 1755 switches::kEnableMediaSuspend,
1754 switches::kEnableInbandTextTracks, 1756 switches::kEnableInbandTextTracks,
1755 switches::kEnableLCDText, 1757 switches::kEnableLCDText,
1756 switches::kEnableLogging, 1758 switches::kEnableLogging,
1757 switches::kEnableNetworkInformation, 1759 switches::kEnableNetworkInformation,
1758 switches::kEnableOverlayScrollbar, 1760 switches::kEnableOverlayScrollbar,
1759 switches::kEnableNewVp9CodecString, 1761 switches::kEnableNewVp9CodecString,
(...skipping 1311 matching lines...) Expand 10 before | Expand all | Expand 10 after
3071 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; 3073 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error;
3072 3074
3073 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. 3075 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing.
3074 // Capture the error message in a crash key value. 3076 // Capture the error message in a crash key value.
3075 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); 3077 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error);
3076 bad_message::ReceivedBadMessage(render_process_id, 3078 bad_message::ReceivedBadMessage(render_process_id,
3077 bad_message::RPH_MOJO_PROCESS_ERROR); 3079 bad_message::RPH_MOJO_PROCESS_ERROR);
3078 } 3080 }
3079 3081
3080 } // namespace content 3082 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/gpu/gpu_internals_ui.cc ('k') | content/renderer/media/renderer_gpu_video_accelerator_factories.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698