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

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

Issue 1417853006: gpu: introduce glSetStreamTextureSizeCHROMIUM(GLuint texture, GLint stream_id, GLsizei width, GLsiz… Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix android_webview.test failure Created 5 years, 1 month 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 #include <vector> 9 #include <vector>
10 10
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 size_t height, 65 size_t height,
66 unsigned internalformat, 66 unsigned internalformat,
67 unsigned usage) override; 67 unsigned usage) override;
68 uint32 InsertSyncPoint() override; 68 uint32 InsertSyncPoint() override;
69 uint32 InsertFutureSyncPoint() override; 69 uint32 InsertFutureSyncPoint() override;
70 void RetireSyncPoint(uint32 sync_point) override; 70 void RetireSyncPoint(uint32 sync_point) override;
71 void SignalSyncPoint(uint32 sync_point, 71 void SignalSyncPoint(uint32 sync_point,
72 const base::Closure& callback) override; 72 const base::Closure& callback) override;
73 void SignalQuery(uint32 query, const base::Closure& callback) override; 73 void SignalQuery(uint32 query, const base::Closure& callback) override;
74 void SetSurfaceVisible(bool visible) override; 74 void SetSurfaceVisible(bool visible) override;
75 uint32 CreateStreamTexture(uint32 texture_id) override; 75 int32 CreateStreamTexture(uint32 texture_id) override;
76 void SetStreamTextureSize(uint32 texture_id,
77 int32 stream_id,
78 size_t width,
79 size_t height) override;
76 void SetLock(base::Lock*) override; 80 void SetLock(base::Lock*) override;
77 bool IsGpuChannelLost() override; 81 bool IsGpuChannelLost() override;
78 gpu::CommandBufferNamespace GetNamespaceID() const override; 82 gpu::CommandBufferNamespace GetNamespaceID() const override;
79 uint64_t GetCommandBufferID() const override; 83 uint64_t GetCommandBufferID() const override;
80 uint64_t GenerateFenceSyncRelease() override; 84 uint64_t GenerateFenceSyncRelease() override;
81 bool IsFenceSyncRelease(uint64_t release) override; 85 bool IsFenceSyncRelease(uint64_t release) override;
82 bool IsFenceSyncFlushed(uint64_t release) override; 86 bool IsFenceSyncFlushed(uint64_t release) override;
83 bool IsFenceSyncFlushReceived(uint64_t release) override; 87 bool IsFenceSyncFlushReceived(uint64_t release) override;
84 void SignalSyncToken(const gpu::SyncToken& sync_token, 88 void SignalSyncToken(const gpu::SyncToken& sync_token,
85 const base::Closure& callback) override; 89 const base::Closure& callback) override;
(...skipping 30 matching lines...) Expand all
116 120
117 uint64_t next_fence_sync_release_; 121 uint64_t next_fence_sync_release_;
118 uint64_t flushed_fence_sync_release_; 122 uint64_t flushed_fence_sync_release_;
119 123
120 const MojoAsyncWaiter* async_waiter_; 124 const MojoAsyncWaiter* async_waiter_;
121 }; 125 };
122 126
123 } // gles2 127 } // gles2
124 128
125 #endif // MOJO_GLES2_COMMAND_BUFFER_CLIENT_IMPL_H_ 129 #endif // MOJO_GLES2_COMMAND_BUFFER_CLIENT_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698