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

Unified Diff: gpu/ipc/service/gpu_command_buffer_stub.h

Issue 2383753002: gpu: Add GpuFence framework.
Patch Set: rebase Created 4 years, 1 month 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/service/gpu_command_buffer_stub.h
diff --git a/gpu/ipc/service/gpu_command_buffer_stub.h b/gpu/ipc/service/gpu_command_buffer_stub.h
index a0999f8c059b9775ec9edf5622e6ff88748e006a..b0d678a8e24939bb277069c08761b64e1ef0980f 100644
--- a/gpu/ipc/service/gpu_command_buffer_stub.h
+++ b/gpu/ipc/service/gpu_command_buffer_stub.h
@@ -49,6 +49,7 @@ class MailboxManager;
struct GPUCreateCommandBufferConfig;
struct GpuCommandBufferMsg_CreateImage_Params;
+struct GpuCommandBufferMsg_CreateFence_Params;
struct GpuCommandBufferMsg_SwapBuffersCompleted_Params;
namespace gpu {
@@ -194,6 +195,8 @@ class GPU_EXPORT GpuCommandBufferStub
void OnCreateStreamTexture(uint32_t texture_id,
int32_t stream_id,
bool* succeeded);
+ void OnCreateFence(const GpuCommandBufferMsg_CreateFence_Params& params);
+ void OnDestroyFence(int32_t id);
void OnCommandProcessed();
void OnParseError();

Powered by Google App Engine
This is Rietveld 408576698