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

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

Issue 1129943006: Implement StreamTexture::BindTexImage. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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
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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 unsigned internalformat, 62 unsigned internalformat,
63 unsigned usage) override; 63 unsigned usage) override;
64 uint32 InsertSyncPoint() override; 64 uint32 InsertSyncPoint() override;
65 uint32 InsertFutureSyncPoint() override; 65 uint32 InsertFutureSyncPoint() override;
66 void RetireSyncPoint(uint32 sync_point) override; 66 void RetireSyncPoint(uint32 sync_point) override;
67 void SignalSyncPoint(uint32 sync_point, 67 void SignalSyncPoint(uint32 sync_point,
68 const base::Closure& callback) override; 68 const base::Closure& callback) override;
69 void SignalQuery(uint32 query, const base::Closure& callback) override; 69 void SignalQuery(uint32 query, const base::Closure& callback) override;
70 void SetSurfaceVisible(bool visible) override; 70 void SetSurfaceVisible(bool visible) override;
71 uint32 CreateStreamTexture(uint32 texture_id) override; 71 uint32 CreateStreamTexture(uint32 texture_id) override;
72 uint32 CreateStreamTextureImage(int32 image_id) override;
72 void SetLock(base::Lock*) override; 73 void SetLock(base::Lock*) override;
73 bool IsGpuChannelLost() override; 74 bool IsGpuChannelLost() override;
74 75
75 private: 76 private:
76 class SyncClientImpl; 77 class SyncClientImpl;
77 class SyncPointClientImpl; 78 class SyncPointClientImpl;
78 79
79 // mojo::CommandBufferLostContextObserver implementation: 80 // mojo::CommandBufferLostContextObserver implementation:
80 void DidLoseContext(int32_t lost_reason) override; 81 void DidLoseContext(int32_t lost_reason) override;
81 82
(...skipping 17 matching lines...) Expand all
99 100
100 // Image IDs are allocated in sequence. 101 // Image IDs are allocated in sequence.
101 int next_image_id_; 102 int next_image_id_;
102 103
103 const MojoAsyncWaiter* async_waiter_; 104 const MojoAsyncWaiter* async_waiter_;
104 }; 105 };
105 106
106 } // gles2 107 } // gles2
107 108
108 #endif // MOJO_GLES2_COMMAND_BUFFER_CLIENT_IMPL_H_ 109 #endif // MOJO_GLES2_COMMAND_BUFFER_CLIENT_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698