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

Side by Side Diff: ppapi/proxy/ppapi_command_buffer_proxy.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 PPAPI_PROXY_COMMAND_BUFFER_PROXY_H_ 5 #ifndef PPAPI_PROXY_COMMAND_BUFFER_PROXY_H_
6 #define PPAPI_PROXY_COMMAND_BUFFER_PROXY_H_ 6 #define PPAPI_PROXY_COMMAND_BUFFER_PROXY_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/containers/hash_tables.h" 9 #include "base/containers/hash_tables.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 size_t height, 58 size_t height,
59 unsigned internalformat, 59 unsigned internalformat,
60 unsigned usage) override; 60 unsigned usage) override;
61 uint32 InsertSyncPoint() override; 61 uint32 InsertSyncPoint() override;
62 uint32 InsertFutureSyncPoint() override; 62 uint32 InsertFutureSyncPoint() override;
63 void RetireSyncPoint(uint32 sync_point) override; 63 void RetireSyncPoint(uint32 sync_point) override;
64 void SignalSyncPoint(uint32 sync_point, 64 void SignalSyncPoint(uint32 sync_point,
65 const base::Closure& callback) override; 65 const base::Closure& callback) override;
66 void SignalQuery(uint32 query, const base::Closure& callback) override; 66 void SignalQuery(uint32 query, const base::Closure& callback) override;
67 void SetSurfaceVisible(bool visible) override; 67 void SetSurfaceVisible(bool visible) override;
68 uint32 CreateStreamTexture(uint32 texture_id) override; 68 int32 CreateStreamTexture(uint32 texture_id) override;
69 void SetStreamTextureSize(uint32 texture_id,
70 int32 stream_id,
71 size_t width,
72 size_t height) override;
69 void SetLock(base::Lock*) override; 73 void SetLock(base::Lock*) override;
70 bool IsGpuChannelLost() override; 74 bool IsGpuChannelLost() override;
71 gpu::CommandBufferNamespace GetNamespaceID() const override; 75 gpu::CommandBufferNamespace GetNamespaceID() const override;
72 uint64_t GetCommandBufferID() const override; 76 uint64_t GetCommandBufferID() const override;
73 uint64_t GenerateFenceSyncRelease() override; 77 uint64_t GenerateFenceSyncRelease() override;
74 bool IsFenceSyncRelease(uint64_t release) override; 78 bool IsFenceSyncRelease(uint64_t release) override;
75 bool IsFenceSyncFlushed(uint64_t release) override; 79 bool IsFenceSyncFlushed(uint64_t release) override;
76 bool IsFenceSyncFlushReceived(uint64_t release) override; 80 bool IsFenceSyncFlushReceived(uint64_t release) override;
77 void SignalSyncToken(const gpu::SyncToken& sync_token, 81 void SignalSyncToken(const gpu::SyncToken& sync_token,
78 const base::Closure& callback) override; 82 const base::Closure& callback) override;
(...skipping 28 matching lines...) Expand all
107 uint64_t pending_fence_sync_release_; 111 uint64_t pending_fence_sync_release_;
108 uint64_t flushed_fence_sync_release_; 112 uint64_t flushed_fence_sync_release_;
109 113
110 DISALLOW_COPY_AND_ASSIGN(PpapiCommandBufferProxy); 114 DISALLOW_COPY_AND_ASSIGN(PpapiCommandBufferProxy);
111 }; 115 };
112 116
113 } // namespace proxy 117 } // namespace proxy
114 } // namespace ppapi 118 } // namespace ppapi
115 119
116 #endif // PPAPI_PROXY_COMMAND_BUFFER_PROXY_H_ 120 #endif // PPAPI_PROXY_COMMAND_BUFFER_PROXY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698