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

Side by Side Diff: gpu/command_buffer/service/in_process_command_buffer.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 GPU_COMMAND_BUFFER_SERVICE_IN_PROCESS_COMMAND_BUFFER_H_ 5 #ifndef GPU_COMMAND_BUFFER_SERVICE_IN_PROCESS_COMMAND_BUFFER_H_
6 #define GPU_COMMAND_BUFFER_SERVICE_IN_PROCESS_COMMAND_BUFFER_H_ 6 #define GPU_COMMAND_BUFFER_SERVICE_IN_PROCESS_COMMAND_BUFFER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 unsigned internalformat, 113 unsigned internalformat,
114 unsigned usage) override; 114 unsigned usage) override;
115 uint32 InsertSyncPoint() override; 115 uint32 InsertSyncPoint() override;
116 uint32 InsertFutureSyncPoint() override; 116 uint32 InsertFutureSyncPoint() override;
117 void RetireSyncPoint(uint32 sync_point) override; 117 void RetireSyncPoint(uint32 sync_point) override;
118 void SignalSyncPoint(uint32 sync_point, 118 void SignalSyncPoint(uint32 sync_point,
119 const base::Closure& callback) override; 119 const base::Closure& callback) override;
120 void SignalQuery(uint32 query_id, const base::Closure& callback) override; 120 void SignalQuery(uint32 query_id, const base::Closure& callback) override;
121 void SetSurfaceVisible(bool visible) override; 121 void SetSurfaceVisible(bool visible) override;
122 uint32 CreateStreamTexture(uint32 texture_id) override; 122 uint32 CreateStreamTexture(uint32 texture_id) override;
123 uint32 CreateStreamTextureImage(int32 image_id) override;
123 void SetLock(base::Lock*) override; 124 void SetLock(base::Lock*) override;
124 bool IsGpuChannelLost() override; 125 bool IsGpuChannelLost() override;
125 126
126 // The serializer interface to the GPU service (i.e. thread). 127 // The serializer interface to the GPU service (i.e. thread).
127 class Service { 128 class Service {
128 public: 129 public:
129 Service(); 130 Service();
130 virtual ~Service(); 131 virtual ~Service();
131 132
132 virtual void AddRef() const = 0; 133 virtual void AddRef() const = 0;
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 258
258 base::WeakPtr<InProcessCommandBuffer> gpu_thread_weak_ptr_; 259 base::WeakPtr<InProcessCommandBuffer> gpu_thread_weak_ptr_;
259 base::WeakPtrFactory<InProcessCommandBuffer> gpu_thread_weak_ptr_factory_; 260 base::WeakPtrFactory<InProcessCommandBuffer> gpu_thread_weak_ptr_factory_;
260 261
261 DISALLOW_COPY_AND_ASSIGN(InProcessCommandBuffer); 262 DISALLOW_COPY_AND_ASSIGN(InProcessCommandBuffer);
262 }; 263 };
263 264
264 } // namespace gpu 265 } // namespace gpu
265 266
266 #endif // GPU_COMMAND_BUFFER_SERVICE_IN_PROCESS_COMMAND_BUFFER_H_ 267 #endif // GPU_COMMAND_BUFFER_SERVICE_IN_PROCESS_COMMAND_BUFFER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698