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

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

Issue 619453002: gpu: Remove Echo and SwapCompletion GL interfacess (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@tits
Patch Set: remove comment Created 6 years, 2 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/gles2_conform_support/egl/display.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 <map> 8 #include <map>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 int32* id) override; 61 int32* id) override;
62 virtual void DestroyGpuMemoryBuffer(int32 id) override; 62 virtual void DestroyGpuMemoryBuffer(int32 id) override;
63 virtual uint32 InsertSyncPoint() override; 63 virtual uint32 InsertSyncPoint() override;
64 virtual uint32 InsertFutureSyncPoint() override; 64 virtual uint32 InsertFutureSyncPoint() override;
65 virtual void RetireSyncPoint(uint32 sync_point) override; 65 virtual void RetireSyncPoint(uint32 sync_point) override;
66 virtual void SignalSyncPoint(uint32 sync_point, 66 virtual void SignalSyncPoint(uint32 sync_point,
67 const base::Closure& callback) override; 67 const base::Closure& callback) override;
68 virtual void SignalQuery(uint32 query, 68 virtual void SignalQuery(uint32 query,
69 const base::Closure& callback) override; 69 const base::Closure& callback) override;
70 virtual void SetSurfaceVisible(bool visible) override; 70 virtual void SetSurfaceVisible(bool visible) override;
71 virtual void Echo(const base::Closure& callback) override;
72 virtual uint32 CreateStreamTexture(uint32 texture_id) override; 71 virtual uint32 CreateStreamTexture(uint32 texture_id) override;
73 72
74 private: 73 private:
75 class SyncClientImpl; 74 class SyncClientImpl;
76 75
77 // CommandBufferClient implementation: 76 // CommandBufferClient implementation:
78 virtual void DidDestroy() override; 77 virtual void DidDestroy() override;
79 virtual void LostContext(int32_t lost_reason) override; 78 virtual void LostContext(int32_t lost_reason) override;
80 79
81 // ErrorHandler implementation: 80 // ErrorHandler implementation:
(...skipping 14 matching lines...) Expand all
96 int32 last_put_offset_; 95 int32 last_put_offset_;
97 int32 next_transfer_buffer_id_; 96 int32 next_transfer_buffer_id_;
98 97
99 const MojoAsyncWaiter* async_waiter_; 98 const MojoAsyncWaiter* async_waiter_;
100 }; 99 };
101 100
102 } // gles2 101 } // gles2
103 } // mojo 102 } // mojo
104 103
105 #endif // MOJO_GLES2_COMMAND_BUFFER_CLIENT_IMPL_H_ 104 #endif // MOJO_GLES2_COMMAND_BUFFER_CLIENT_IMPL_H_
OLDNEW
« no previous file with comments | « gpu/gles2_conform_support/egl/display.cc ('k') | mojo/gles2/command_buffer_client_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698