Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 /* | |
| 2 * Copyright 2015 Google Inc. | |
| 3 * | |
| 4 * Use of this source code is governed by a BSD-style license that can be | |
| 5 * found in the LICENSE file. | |
| 6 */ | |
| 7 #ifndef OSMesaContextHolder_DEFINED | |
| 8 #define OSMesaContextHolder_DEFINED | |
| 9 | |
| 10 struct osmesa_context; | |
| 11 | |
| 12 class OSMesaContextHolder { | |
|
mtklein
2015/09/17 13:58:22
Why is this code not just in fiddle_main?
| |
| 13 public: | |
| 14 OSMesaContextHolder(); | |
| 15 ~OSMesaContextHolder(); | |
| 16 | |
| 17 private: | |
| 18 osmesa_context* fOSMesaContext; | |
| 19 }; | |
| 20 | |
| 21 //////////////////////////////////////////////////////////////////////////////// | |
| 22 | |
| 23 #endif // OSMesaContextHolder_DEFINED | |
| OLD | NEW |