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

Side by Side Diff: content/common/gpu/gpu_channel_manager.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 (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 CONTENT_COMMON_GPU_GPU_CHANNEL_MANAGER_H_ 5 #ifndef CONTENT_COMMON_GPU_GPU_CHANNEL_MANAGER_H_
6 #define CONTENT_COMMON_GPU_GPU_CHANNEL_MANAGER_H_ 6 #define CONTENT_COMMON_GPU_GPU_CHANNEL_MANAGER_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 bool allow_future_sync_points); 115 bool allow_future_sync_points);
116 void OnCloseChannel(const IPC::ChannelHandle& channel_handle); 116 void OnCloseChannel(const IPC::ChannelHandle& channel_handle);
117 void OnVisibilityChanged( 117 void OnVisibilityChanged(
118 int32 render_view_id, int32 client_id, bool visible); 118 int32 render_view_id, int32 client_id, bool visible);
119 void OnCreateViewCommandBuffer( 119 void OnCreateViewCommandBuffer(
120 const gfx::GLSurfaceHandle& window, 120 const gfx::GLSurfaceHandle& window,
121 int32 render_view_id, 121 int32 render_view_id,
122 int32 client_id, 122 int32 client_id,
123 const GPUCreateCommandBufferConfig& init_params, 123 const GPUCreateCommandBufferConfig& init_params,
124 int32 route_id); 124 int32 route_id);
125 void OnCreateStreamTexture(int32 image_id,
126 int client_id,
127 int32 route_id,
128 int32 stream_id);
125 void OnLoadedShader(std::string shader); 129 void OnLoadedShader(std::string shader);
126 void DestroyGpuMemoryBuffer(gfx::GpuMemoryBufferId id, int client_id); 130 void DestroyGpuMemoryBuffer(gfx::GpuMemoryBufferId id, int client_id);
127 void DestroyGpuMemoryBufferOnIO(gfx::GpuMemoryBufferId id, int client_id); 131 void DestroyGpuMemoryBufferOnIO(gfx::GpuMemoryBufferId id, int client_id);
128 void OnDestroyGpuMemoryBuffer(gfx::GpuMemoryBufferId id, 132 void OnDestroyGpuMemoryBuffer(gfx::GpuMemoryBufferId id,
129 int client_id, 133 int client_id,
130 int32 sync_point); 134 int32 sync_point);
131 135
132 void OnRelinquishResources(); 136 void OnRelinquishResources();
133 void OnResourcesRelinquished(); 137 void OnResourcesRelinquished();
134 138
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 // that any WeakPtrs to Controller are invalidated before its members 171 // that any WeakPtrs to Controller are invalidated before its members
168 // variable's destructors are executed, rendering them invalid. 172 // variable's destructors are executed, rendering them invalid.
169 base::WeakPtrFactory<GpuChannelManager> weak_factory_; 173 base::WeakPtrFactory<GpuChannelManager> weak_factory_;
170 174
171 DISALLOW_COPY_AND_ASSIGN(GpuChannelManager); 175 DISALLOW_COPY_AND_ASSIGN(GpuChannelManager);
172 }; 176 };
173 177
174 } // namespace content 178 } // namespace content
175 179
176 #endif // CONTENT_COMMON_GPU_GPU_CHANNEL_MANAGER_H_ 180 #endif // CONTENT_COMMON_GPU_GPU_CHANNEL_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698