OLD | NEW |
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 Loading... |
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_ |
OLD | NEW |