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

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

Issue 2648633005: cros: Support YUYV format for GPU memory buffer video frames
Patch Set: Created 3 years, 11 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/sandboxed_process_launcher_delegate.h" 164 #include "content/public/common/sandboxed_process_launcher_delegate.h"
165 #include "content/public/common/service_names.mojom.h" 165 #include "content/public/common/service_names.mojom.h"
166 #include "content/public/common/url_constants.h" 166 #include "content/public/common/url_constants.h"
167 #include "device/battery/battery_monitor_impl.h" 167 #include "device/battery/battery_monitor_impl.h"
168 #include "device/gamepad/gamepad_monitor.h" 168 #include "device/gamepad/gamepad_monitor.h"
169 #include "device/power_monitor/power_monitor_message_broadcaster.h" 169 #include "device/power_monitor/power_monitor_message_broadcaster.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 1527 matching lines...) Expand 10 before | Expand all | Expand 10 after
1712 switches::kEnableBlinkFeatures, 1713 switches::kEnableBlinkFeatures,
1713 switches::kEnableBrowserSideNavigation, 1714 switches::kEnableBrowserSideNavigation,
1714 switches::kEnableColorCorrectRenderingDefaultMode, 1715 switches::kEnableColorCorrectRenderingDefaultMode,
1715 switches::kEnableDisplayList2dCanvas, 1716 switches::kEnableDisplayList2dCanvas,
1716 switches::kEnableDistanceFieldText, 1717 switches::kEnableDistanceFieldText,
1717 switches::kEnableExperimentalCanvasFeatures, 1718 switches::kEnableExperimentalCanvasFeatures,
1718 switches::kEnableExperimentalWebPlatformFeatures, 1719 switches::kEnableExperimentalWebPlatformFeatures,
1719 switches::kEnableHeapProfiling, 1720 switches::kEnableHeapProfiling,
1720 switches::kEnableGPUClientLogging, 1721 switches::kEnableGPUClientLogging,
1721 switches::kEnableGpuClientTracing, 1722 switches::kEnableGpuClientTracing,
1723 switches::kEnableNativeGpuMemoryBuffers,
1722 switches::kEnableGpuMemoryBufferVideoFrames, 1724 switches::kEnableGpuMemoryBufferVideoFrames,
1723 switches::kEnableGPUServiceLogging, 1725 switches::kEnableGPUServiceLogging,
1724 switches::kEnableIconNtp, 1726 switches::kEnableIconNtp,
1725 switches::kEnableLowResTiling, 1727 switches::kEnableLowResTiling,
1726 switches::kEnableMediaSuspend, 1728 switches::kEnableMediaSuspend,
1727 switches::kEnableInbandTextTracks, 1729 switches::kEnableInbandTextTracks,
1728 switches::kEnableLCDText, 1730 switches::kEnableLCDText,
1729 switches::kEnableLogging, 1731 switches::kEnableLogging,
1730 switches::kEnableNetworkInformation, 1732 switches::kEnableNetworkInformation,
1731 switches::kEnableOverlayScrollbar, 1733 switches::kEnableOverlayScrollbar,
(...skipping 1298 matching lines...) Expand 10 before | Expand all | Expand 10 after
3030 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; 3032 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error;
3031 3033
3032 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. 3034 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing.
3033 // Capture the error message in a crash key value. 3035 // Capture the error message in a crash key value.
3034 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); 3036 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error);
3035 bad_message::ReceivedBadMessage(render_process_id, 3037 bad_message::ReceivedBadMessage(render_process_id,
3036 bad_message::RPH_MOJO_PROCESS_ERROR); 3038 bad_message::RPH_MOJO_PROCESS_ERROR);
3037 } 3039 }
3038 3040
3039 } // namespace content 3041 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698