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

Side by Side Diff: mojo/gles2/command_buffer_client_impl.h

Issue 1916303003: Report lost context from GLES2Implementation based on share group state. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: lost-share-group: disconnect-channel Created 4 years, 7 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
« no previous file with comments | « gpu/ipc/client/command_buffer_proxy_impl.cc ('k') | mojo/gles2/command_buffer_client_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef MOJO_GLES2_COMMAND_BUFFER_CLIENT_IMPL_H_ 5 #ifndef MOJO_GLES2_COMMAND_BUFFER_CLIENT_IMPL_H_
6 #define MOJO_GLES2_COMMAND_BUFFER_CLIENT_IMPL_H_ 6 #define MOJO_GLES2_COMMAND_BUFFER_CLIENT_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 size_t width, 57 size_t width,
58 size_t height, 58 size_t height,
59 unsigned internalformat) override; 59 unsigned internalformat) override;
60 void DestroyImage(int32_t id) override; 60 void DestroyImage(int32_t id) override;
61 int32_t CreateGpuMemoryBufferImage(size_t width, 61 int32_t CreateGpuMemoryBufferImage(size_t width,
62 size_t height, 62 size_t height,
63 unsigned internalformat, 63 unsigned internalformat,
64 unsigned usage) override; 64 unsigned usage) override;
65 void SignalQuery(uint32_t query, const base::Closure& callback) override; 65 void SignalQuery(uint32_t query, const base::Closure& callback) override;
66 void SetLock(base::Lock*) override; 66 void SetLock(base::Lock*) override;
67 bool IsGpuChannelLost() override;
68 void EnsureWorkVisible() override; 67 void EnsureWorkVisible() override;
69 gpu::CommandBufferNamespace GetNamespaceID() const override; 68 gpu::CommandBufferNamespace GetNamespaceID() const override;
70 gpu::CommandBufferId GetCommandBufferID() const override; 69 gpu::CommandBufferId GetCommandBufferID() const override;
71 int32_t GetExtraCommandBufferData() const override; 70 int32_t GetExtraCommandBufferData() const override;
72 uint64_t GenerateFenceSyncRelease() override; 71 uint64_t GenerateFenceSyncRelease() override;
73 bool IsFenceSyncRelease(uint64_t release) override; 72 bool IsFenceSyncRelease(uint64_t release) override;
74 bool IsFenceSyncFlushed(uint64_t release) override; 73 bool IsFenceSyncFlushed(uint64_t release) override;
75 bool IsFenceSyncFlushReceived(uint64_t release) override; 74 bool IsFenceSyncFlushReceived(uint64_t release) override;
76 void SignalSyncToken(const gpu::SyncToken& sync_token, 75 void SignalSyncToken(const gpu::SyncToken& sync_token,
77 const base::Closure& callback) override; 76 const base::Closure& callback) override;
(...skipping 29 matching lines...) Expand all
107 // Image IDs are allocated in sequence. 106 // Image IDs are allocated in sequence.
108 int next_image_id_; 107 int next_image_id_;
109 108
110 uint64_t next_fence_sync_release_; 109 uint64_t next_fence_sync_release_;
111 uint64_t flushed_fence_sync_release_; 110 uint64_t flushed_fence_sync_release_;
112 }; 111 };
113 112
114 } // gles2 113 } // gles2
115 114
116 #endif // MOJO_GLES2_COMMAND_BUFFER_CLIENT_IMPL_H_ 115 #endif // MOJO_GLES2_COMMAND_BUFFER_CLIENT_IMPL_H_
OLDNEW
« no previous file with comments | « gpu/ipc/client/command_buffer_proxy_impl.cc ('k') | mojo/gles2/command_buffer_client_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698