| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_SERVICE_TEXTURE_DEFINITION_H_ | 5 #ifndef GPU_COMMAND_BUFFER_SERVICE_TEXTURE_DEFINITION_H_ |
| 6 #define GPU_COMMAND_BUFFER_SERVICE_TEXTURE_DEFINITION_H_ | 6 #define GPU_COMMAND_BUFFER_SERVICE_TEXTURE_DEFINITION_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 unsigned int version_; | 92 unsigned int version_; |
| 93 GLenum target_; | 93 GLenum target_; |
| 94 scoped_refptr<NativeImageBuffer> image_buffer_; | 94 scoped_refptr<NativeImageBuffer> image_buffer_; |
| 95 GLenum min_filter_; | 95 GLenum min_filter_; |
| 96 GLenum mag_filter_; | 96 GLenum mag_filter_; |
| 97 GLenum wrap_s_; | 97 GLenum wrap_s_; |
| 98 GLenum wrap_t_; | 98 GLenum wrap_t_; |
| 99 GLenum usage_; | 99 GLenum usage_; |
| 100 bool immutable_; | 100 bool immutable_; |
| 101 bool defined_; | 101 bool defined_; |
| 102 bool is_es3_enabled_; |
| 102 | 103 |
| 103 // Only support textures with one face and one level. | 104 // Only support textures with one face and one level. |
| 104 LevelInfo level_info_; | 105 LevelInfo level_info_; |
| 105 }; | 106 }; |
| 106 | 107 |
| 107 } // namespage gles2 | 108 } // namespage gles2 |
| 108 } // namespace gpu | 109 } // namespace gpu |
| 109 | 110 |
| 110 #endif // GPU_COMMAND_BUFFER_SERVICE_TEXTURE_DEFINITION_H_ | 111 #endif // GPU_COMMAND_BUFFER_SERVICE_TEXTURE_DEFINITION_H_ |
| OLD | NEW |