| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2010 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 CHROME_COMMON_GPU_CREATE_COMMAND_BUFFER_CONFIG_H_ | |
| 6 #define CHROME_COMMON_GPU_CREATE_COMMAND_BUFFER_CONFIG_H_ | |
| 7 #pragma once | |
| 8 | |
| 9 #include <string> | |
| 10 #include <vector> | |
| 11 | |
| 12 // Parameters passed when initializing a GPU channel. | |
| 13 struct GPUCreateCommandBufferConfig { | |
| 14 GPUCreateCommandBufferConfig(); | |
| 15 | |
| 16 GPUCreateCommandBufferConfig(const std::string& _allowed_extensions, | |
| 17 const std::vector<int>& _attribs); | |
| 18 | |
| 19 ~GPUCreateCommandBufferConfig(); | |
| 20 | |
| 21 std::string allowed_extensions; | |
| 22 std::vector<int> attribs; | |
| 23 }; | |
| 24 | |
| 25 #endif // CHROME_COMMON_GPU_CREATE_COMMAND_BUFFER_CONFIG_H_ | |
| OLD | NEW |