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

Side by Side Diff: gpu/command_buffer/client/gpu_control_client.h

Issue 1864723003: Make lost context and error message callbacks on GpuControl go to client (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: errorcallback: blimp2 Created 4 years, 8 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef GPU_COMMAND_BUFFER_CLIENT_GPU_CONTROL_CLIENT_H_
6 #define GPU_COMMAND_BUFFER_CLIENT_GPU_CONTROL_CLIENT_H_
7
8 #include <cstdint>
9
10 namespace gpu {
11
12 class GpuControlClient {
13 public:
14 virtual void OnGpuControlLostContext() = 0;
15 virtual void OnGpuControlErrorMessage(const char* message, int32_t id) = 0;
16 };
17
18 } // namespace gpu
19
20 #endif // GPU_COMMAND_BUFFER_CLIENT_GPU_CONTROL_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698