Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2015 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 UI_GL_GL_UTILS_H_ | |
| 6 #define UI_GL_GL_UTILS_H_ | |
| 7 | |
| 8 #include "base/macros.h" | |
| 9 #include "ui/gfx/buffer_types.h" | |
| 10 #include "ui/gl/gl_export.h" | |
| 11 | |
| 12 typedef unsigned int GLenum; | |
| 13 | |
| 14 namespace gl { | |
| 15 | |
| 16 GL_EXPORT GLenum GetTextureFormatFrom(gfx::BufferFormat format); | |
|
reveman
2016/01/13 15:50:09
Not sure we need this change as part of this patch
dshwang
2016/01/13 17:07:42
Done.
we need, because both GLImageMemory and unit
| |
| 17 | |
| 18 } // namespace gl | |
| 19 | |
| 20 #endif // UI_GL_GL_UTILS_H_ | |
| OLD | NEW |