| OLD | NEW |
| 1 | |
| 2 /* | 1 /* |
| 3 * Copyright 2012 Google Inc. | 2 * Copyright 2012 Google Inc. |
| 4 * | 3 * |
| 5 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
| 6 * found in the LICENSE file. | 5 * found in the LICENSE file. |
| 7 */ | 6 */ |
| 8 | 7 |
| 9 #ifndef GrBufferObj_DEFINED | 8 #ifndef GrBufferObj_DEFINED |
| 10 #define GrBufferObj_DEFINED | 9 #define GrBufferObj_DEFINED |
| 11 | 10 |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 bool fBound; // is the buffer object bound via "glBindBuffer"
? | 66 bool fBound; // is the buffer object bound via "glBindBuffer"
? |
| 68 GrGLsizeiptr fSize; // size in bytes | 67 GrGLsizeiptr fSize; // size in bytes |
| 69 GrGLint fUsage; // one of: GL_STREAM_DRAW, | 68 GrGLint fUsage; // one of: GL_STREAM_DRAW, |
| 70 // GL_STATIC_DRAW, | 69 // GL_STATIC_DRAW, |
| 71 // GL_DYNAMIC_DRAW | 70 // GL_DYNAMIC_DRAW |
| 72 | 71 |
| 73 typedef GrFakeRefObj INHERITED; | 72 typedef GrFakeRefObj INHERITED; |
| 74 }; | 73 }; |
| 75 | 74 |
| 76 #endif // GrBufferObj_DEFINED | 75 #endif // GrBufferObj_DEFINED |
| OLD | NEW |