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

Unified Diff: ui/ozone/platform/dri/dri_gpu_platform_support.h

Issue 856423002: [Ozone-Dri] Decouple the IO helper thread from DriWrapper (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gbm-wrapper
Patch Set: . Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/ozone/platform/dri/dri.gypi ('k') | ui/ozone/platform/dri/dri_gpu_platform_support.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/dri/dri_gpu_platform_support.h
diff --git a/ui/ozone/platform/dri/dri_gpu_platform_support.h b/ui/ozone/platform/dri/dri_gpu_platform_support.h
index 71925ae1e96c3499a27f5b64cd32603974a801b0..daae2ec731f939c9c6bc43ac724ba9b0d2ecbe14 100644
--- a/ui/ozone/platform/dri/dri_gpu_platform_support.h
+++ b/ui/ozone/platform/dri/dri_gpu_platform_support.h
@@ -10,6 +10,7 @@
#include "base/memory/scoped_vector.h"
#include "ipc/message_filter.h"
#include "ui/gfx/native_widget_types.h"
+#include "ui/ozone/platform/dri/dri_helper_thread.h"
#include "ui/ozone/public/gpu_platform_support.h"
class SkBitmap;
@@ -76,11 +77,14 @@ class DriGpuPlatformSupport : public GpuPlatformSupport {
void OnAddGraphicsDevice(const base::FilePath& path);
void OnRemoveGraphicsDevice(const base::FilePath& path);
+ void OnFilterAdded();
+
IPC::Sender* sender_; // Not owned.
DriWrapper* drm_; // Not owned.
DriWindowDelegateManager* window_manager_; // Not owned.
ScreenManager* screen_manager_; // Not owned.
+ DriHelperThread helper_thread_;
scoped_ptr<NativeDisplayDelegateDri> ndd_;
ScopedVector<GpuPlatformSupport> handlers_;
scoped_refptr<IPC::MessageFilter> filter_;
« no previous file with comments | « ui/ozone/platform/dri/dri.gypi ('k') | ui/ozone/platform/dri/dri_gpu_platform_support.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698