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

Side by Side Diff: components/mus/gles2/command_buffer_local.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 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 <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 size_t height, 61 size_t height,
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 int32 CreateStreamTexture(uint32 texture_id) override;
72 void SetStreamTextureSize(uint32 texture_id,
73 int32 stream_id,
74 size_t width,
75 size_t height) override;
72 void SetLock(base::Lock*) override; 76 void SetLock(base::Lock*) override;
73 bool IsGpuChannelLost() override; 77 bool IsGpuChannelLost() override;
74 gpu::CommandBufferNamespace GetNamespaceID() const override; 78 gpu::CommandBufferNamespace GetNamespaceID() const override;
75 uint64_t GetCommandBufferID() const override; 79 uint64_t GetCommandBufferID() const override;
76 uint64_t GenerateFenceSyncRelease() override; 80 uint64_t GenerateFenceSyncRelease() override;
77 bool IsFenceSyncRelease(uint64_t release) override; 81 bool IsFenceSyncRelease(uint64_t release) override;
78 bool IsFenceSyncFlushed(uint64_t release) override; 82 bool IsFenceSyncFlushed(uint64_t release) override;
79 bool IsFenceSyncFlushReceived(uint64_t release) override; 83 bool IsFenceSyncFlushReceived(uint64_t release) override;
80 void SignalSyncToken(const gpu::SyncToken& sync_token, 84 void SignalSyncToken(const gpu::SyncToken& sync_token,
81 const base::Closure& callback) override; 85 const base::Closure& callback) override;
(...skipping 25 matching lines...) Expand all
107 uint64_t next_fence_sync_release_; 111 uint64_t next_fence_sync_release_;
108 112
109 base::WeakPtrFactory<CommandBufferLocal> weak_factory_; 113 base::WeakPtrFactory<CommandBufferLocal> weak_factory_;
110 114
111 DISALLOW_COPY_AND_ASSIGN(CommandBufferLocal); 115 DISALLOW_COPY_AND_ASSIGN(CommandBufferLocal);
112 }; 116 };
113 117
114 } // namespace mus 118 } // namespace mus
115 119
116 #endif // COMPONENTS_MUS_GLES2_COMMAND_BUFFER_LOCAL_H_ 120 #endif // COMPONENTS_MUS_GLES2_COMMAND_BUFFER_LOCAL_H_
OLDNEW
« no previous file with comments | « no previous file | components/mus/gles2/command_buffer_local.cc » ('j') | content/common/gpu/stream_texture_android.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698