OLD | NEW |
| (Empty) |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef GPU_COMMAND_BUFFER_SERVICE_STREAM_TEXTURE_H_ | |
6 #define GPU_COMMAND_BUFFER_SERVICE_STREAM_TEXTURE_H_ | |
7 | |
8 #include "base/basictypes.h" | |
9 #include "ui/gfx/size.h" | |
10 | |
11 namespace gpu { | |
12 | |
13 class StreamTexture { | |
14 public: | |
15 StreamTexture() { | |
16 } | |
17 | |
18 virtual ~StreamTexture() { | |
19 } | |
20 | |
21 virtual void Update() = 0; | |
22 | |
23 // Get the size of the StreamTexture. | |
24 virtual gfx::Size GetSize() = 0; | |
25 | |
26 private: | |
27 DISALLOW_COPY_AND_ASSIGN(StreamTexture); | |
28 }; | |
29 | |
30 } // namespace gpu | |
31 | |
32 #endif // GPU_COMMAND_BUFFER_SERVICE_STREAM_TEXTURE_H_ | |
OLD | NEW |