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

Unified Diff: chrome/browser/gpu_process_host.h

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: Created 10 years 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/gpu_process_host.h
===================================================================
--- chrome/browser/gpu_process_host.h (revision 68066)
+++ chrome/browser/gpu_process_host.h (working copy)
@@ -12,6 +12,7 @@
#include "base/non_thread_safe.h"
#include "base/ref_counted.h"
#include "chrome/browser/browser_child_process_host.h"
+#include "chrome/browser/gpu_blacklist.h"
brettw 2010/12/03 00:11:38 I think this can be forward declared instead.
Zhenyao Mo 2010/12/03 18:29:57 Done.
#include "gfx/native_widget_types.h"
struct GpuHostMsg_AcceleratedSurfaceSetIOSurface_Params;
@@ -103,6 +104,7 @@
// Sends the response for establish channel request to the renderer.
void SendEstablishChannelReply(const IPC::ChannelHandle& channel,
const GPUInfo& gpu_info,
+ const GpuFeatureFlags& gpu_feature_flags,
ResourceMessageFilter* filter);
// Sends the response for synchronization request to the renderer.
void SendSynchronizationReply(IPC::Message* reply,
@@ -120,9 +122,13 @@
bool CanLaunchGpuProcess() const;
bool LaunchGpuProcess();
+ bool LoadGpuBlacklist();
+
bool initialized_;
bool initialized_successfully_;
+ scoped_ptr<GpuBlacklist> gpu_blacklist_;
+
// These are the channel requests that we have already sent to
// the GPU process, but haven't heard back about yet.
std::queue<ChannelRequest> sent_requests_;

Powered by Google App Engine
This is Rietveld 408576698