Chromium Code Reviews

Unified Diff: chrome/renderer/gpu_channel_host.cc

Issue 5612002: Blacklist bad GPU drivers: currenly we disable all gpu related features if th... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: removing one garbage line in the code Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: chrome/renderer/gpu_channel_host.cc
===================================================================
--- chrome/renderer/gpu_channel_host.cc (revision 68066)
+++ chrome/renderer/gpu_channel_host.cc (working copy)
@@ -37,6 +37,15 @@
return gpu_info_;
}
+void GpuChannelHost::set_gpu_feature_flags(
+ const GpuFeatureFlags& gpu_feature_flags) {
+ gpu_feature_flags_ = gpu_feature_flags;
+}
+
+const GpuFeatureFlags& GpuChannelHost::gpu_feature_flags() const {
+ return gpu_feature_flags_;
+}
+
void GpuChannelHost::OnMessageReceived(const IPC::Message& message) {
DCHECK(message.routing_id() != MSG_ROUTING_CONTROL);

Powered by Google App Engine