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

Side by Side Diff: components/mus/gles2/command_buffer_local.h

Issue 1919203003: Revert of Report lost context from GLES2Implementation based on share group state. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « cc/output/gl_renderer_unittest.cc ('k') | components/mus/gles2/command_buffer_local.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 COMPONENTS_MUS_GLES2_COMMAND_BUFFER_LOCAL_H_ 5 #ifndef COMPONENTS_MUS_GLES2_COMMAND_BUFFER_LOCAL_H_
6 #define COMPONENTS_MUS_GLES2_COMMAND_BUFFER_LOCAL_H_ 6 #define COMPONENTS_MUS_GLES2_COMMAND_BUFFER_LOCAL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 size_t width, 81 size_t width,
82 size_t height, 82 size_t height,
83 unsigned internalformat) override; 83 unsigned internalformat) override;
84 void DestroyImage(int32_t id) override; 84 void DestroyImage(int32_t id) override;
85 int32_t CreateGpuMemoryBufferImage(size_t width, 85 int32_t CreateGpuMemoryBufferImage(size_t width,
86 size_t height, 86 size_t height,
87 unsigned internal_format, 87 unsigned internal_format,
88 unsigned usage) override; 88 unsigned usage) override;
89 void SignalQuery(uint32_t query_id, const base::Closure& callback) override; 89 void SignalQuery(uint32_t query_id, const base::Closure& callback) override;
90 void SetLock(base::Lock*) override; 90 void SetLock(base::Lock*) override;
91 bool IsGpuChannelLost() override;
91 void EnsureWorkVisible() override; 92 void EnsureWorkVisible() override;
92 gpu::CommandBufferNamespace GetNamespaceID() const override; 93 gpu::CommandBufferNamespace GetNamespaceID() const override;
93 gpu::CommandBufferId GetCommandBufferID() const override; 94 gpu::CommandBufferId GetCommandBufferID() const override;
94 int32_t GetExtraCommandBufferData() const override; 95 int32_t GetExtraCommandBufferData() const override;
95 uint64_t GenerateFenceSyncRelease() override; 96 uint64_t GenerateFenceSyncRelease() override;
96 bool IsFenceSyncRelease(uint64_t release) override; 97 bool IsFenceSyncRelease(uint64_t release) override;
97 bool IsFenceSyncFlushed(uint64_t release) override; 98 bool IsFenceSyncFlushed(uint64_t release) override;
98 bool IsFenceSyncFlushReceived(uint64_t release) override; 99 bool IsFenceSyncFlushReceived(uint64_t release) override;
99 void SignalSyncToken(const gpu::SyncToken& sync_token, 100 void SignalSyncToken(const gpu::SyncToken& sync_token,
100 const base::Closure& callback) override; 101 const base::Closure& callback) override;
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 // This weak factory will be invalidated in the client thread, so all weak 172 // This weak factory will be invalidated in the client thread, so all weak
172 // pointers have to be dereferenced in the client thread too. 173 // pointers have to be dereferenced in the client thread too.
173 base::WeakPtrFactory<CommandBufferLocal> weak_factory_; 174 base::WeakPtrFactory<CommandBufferLocal> weak_factory_;
174 175
175 DISALLOW_COPY_AND_ASSIGN(CommandBufferLocal); 176 DISALLOW_COPY_AND_ASSIGN(CommandBufferLocal);
176 }; 177 };
177 178
178 } // namespace mus 179 } // namespace mus
179 180
180 #endif // COMPONENTS_MUS_GLES2_COMMAND_BUFFER_LOCAL_H_ 181 #endif // COMPONENTS_MUS_GLES2_COMMAND_BUFFER_LOCAL_H_
OLDNEW
« no previous file with comments | « cc/output/gl_renderer_unittest.cc ('k') | components/mus/gles2/command_buffer_local.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698