| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium OS Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium OS 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 #include <fcntl.h> | 5 #include <fcntl.h> |
| 6 #include <stdio.h> | 6 #include <stdio.h> |
| 7 #include <stdlib.h> | 7 #include <stdlib.h> |
| 8 #include <string.h> | 8 #include <string.h> |
| 9 #include <sys/mman.h> | 9 #include <sys/mman.h> |
| 10 | 10 |
| (...skipping 617 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 628 test[i](); | 628 test[i](); |
| 629 GLenum err = glGetError(); | 629 GLenum err = glGetError(); |
| 630 if (err != 0) | 630 if (err != 0) |
| 631 printf("# glGetError returned non-zero: 0x%x\n", err); | 631 printf("# glGetError returned non-zero: 0x%x\n", err); |
| 632 DestroyContext(); | 632 DestroyContext(); |
| 633 } | 633 } |
| 634 } while (GetUTime() < done); | 634 } while (GetUTime() < done); |
| 635 | 635 |
| 636 return 0; | 636 return 0; |
| 637 } | 637 } |
| OLD | NEW |