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

Side by Side Diff: gpu/ipc/service/stream_texture_android.h

Issue 2264403003: Remove unused variables in StreamTexure (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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
« no previous file with comments | « no previous file | gpu/ipc/service/stream_texture_android.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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_IPC_SERVICE_STREAM_TEXTURE_ANDROID_H_ 5 #ifndef GPU_IPC_SERVICE_STREAM_TEXTURE_ANDROID_H_
6 #define GPU_IPC_SERVICE_STREAM_TEXTURE_ANDROID_H_ 6 #define GPU_IPC_SERVICE_STREAM_TEXTURE_ANDROID_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 gfx::Size size_; 91 gfx::Size size_;
92 92
93 // Whether a new frame is available that we should update to. 93 // Whether a new frame is available that we should update to.
94 bool has_pending_frame_; 94 bool has_pending_frame_;
95 95
96 GpuCommandBufferStub* owner_stub_; 96 GpuCommandBufferStub* owner_stub_;
97 int32_t route_id_; 97 int32_t route_id_;
98 bool has_listener_; 98 bool has_listener_;
99 uint32_t texture_id_; 99 uint32_t texture_id_;
100 100
101 unsigned framebuffer_;
102 unsigned vertex_shader_;
103 unsigned fragment_shader_;
104 unsigned program_;
105 unsigned vertex_buffer_;
106 int u_xform_location_;
107
108 base::WeakPtrFactory<StreamTexture> weak_factory_; 101 base::WeakPtrFactory<StreamTexture> weak_factory_;
109 DISALLOW_COPY_AND_ASSIGN(StreamTexture); 102 DISALLOW_COPY_AND_ASSIGN(StreamTexture);
110 }; 103 };
111 104
112 } // namespace gpu 105 } // namespace gpu
113 106
114 #endif // GPU_IPC_SERVICE_STREAM_TEXTURE_ANDROID_H_ 107 #endif // GPU_IPC_SERVICE_STREAM_TEXTURE_ANDROID_H_
OLDNEW
« no previous file with comments | « no previous file | gpu/ipc/service/stream_texture_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698