OLD | NEW |
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_COMMON_GPU_CONTROL_H_ | 5 #ifndef GPU_COMMAND_BUFFER_CLIENT_GPU_CONTROL_H_ |
6 #define GPU_COMMAND_BUFFER_COMMON_GPU_CONTROL_H_ | 6 #define GPU_COMMAND_BUFFER_CLIENT_GPU_CONTROL_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
11 #include "gpu/command_buffer/common/capabilities.h" | 11 #include "gpu/command_buffer/common/capabilities.h" |
12 #include "gpu/command_buffer/common/mailbox.h" | 12 #include "gpu/command_buffer/common/mailbox.h" |
13 #include "gpu/command_buffer/common/types.h" | 13 #include "gpu/command_buffer/common/types.h" |
14 #include "gpu/gpu_export.h" | 14 #include "gpu/gpu_export.h" |
15 | 15 |
16 namespace gfx { | 16 namespace gfx { |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 // Attaches an external stream to the texture given by |texture_id| and | 61 // Attaches an external stream to the texture given by |texture_id| and |
62 // returns a stream identifier. | 62 // returns a stream identifier. |
63 virtual uint32 CreateStreamTexture(uint32 texture_id) = 0; | 63 virtual uint32 CreateStreamTexture(uint32 texture_id) = 0; |
64 | 64 |
65 private: | 65 private: |
66 DISALLOW_COPY_AND_ASSIGN(GpuControl); | 66 DISALLOW_COPY_AND_ASSIGN(GpuControl); |
67 }; | 67 }; |
68 | 68 |
69 } // namespace gpu | 69 } // namespace gpu |
70 | 70 |
71 #endif // GPU_COMMAND_BUFFER_COMMON_GPU_CONTROL_H_ | 71 #endif // GPU_COMMAND_BUFFER_CLIENT_GPU_CONTROL_H_ |
OLD | NEW |