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

Unified Diff: gpu/ipc/client/gpu_channel_host.h

Issue 2727573003: gpu: Add sync token dependencies to flush metadata. (Closed)
Patch Set: fix broken tests oops Created 3 years, 9 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
Index: gpu/ipc/client/gpu_channel_host.h
diff --git a/gpu/ipc/client/gpu_channel_host.h b/gpu/ipc/client/gpu_channel_host.h
index 989f1df6a8d60895655b94d7a755fb88aa3c791b..16981a2ebaca46ac139e780d0d0c50a6cd777503 100644
--- a/gpu/ipc/client/gpu_channel_host.h
+++ b/gpu/ipc/client/gpu_channel_host.h
@@ -41,7 +41,7 @@ class GpuMemoryBufferManager;
}
namespace gpu {
-
+struct SyncToken;
class GpuChannelHost;
using GpuChannelEstablishedCallback =
base::Callback<void(scoped_refptr<GpuChannelHost>)>;
@@ -106,6 +106,7 @@ class GPU_EXPORT GpuChannelHost
int32_t put_offset,
uint32_t flush_count,
const std::vector<ui::LatencyInfo>& latency_info,
+ const std::vector<SyncToken>& sync_token_fences,
bool put_offset_changed,
bool do_flush,
uint32_t* highest_verified_flush_id);
@@ -232,6 +233,7 @@ class GPU_EXPORT GpuChannelHost
uint32_t flush_count;
uint32_t flush_id;
std::vector<ui::LatencyInfo> latency_info;
+ std::vector<SyncToken> sync_token_fences;
};
GpuChannelHost(GpuChannelHostFactory* factory,

Powered by Google App Engine
This is Rietveld 408576698