| 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 <stdio.h> | 5 #include <stdio.h> |
| 6 #include <sys/mman.h> | 6 #include <sys/mman.h> |
| 7 | 7 |
| 8 #include "base/logging.h" | 8 #include "base/logging.h" |
| 9 | 9 |
| 10 #include "main.h" | 10 #include "main.h" |
| (...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 291 glEnableVertexAttribArray(attribute_index); | 291 glEnableVertexAttribArray(attribute_index); |
| 292 return program; | 292 return program; |
| 293 } | 293 } |
| 294 | 294 |
| 295 | 295 |
| 296 done: | 296 done: |
| 297 munmap(yuv_to_rgb_fragment, size_fragment); | 297 munmap(yuv_to_rgb_fragment, size_fragment); |
| 298 munmap(yuv_to_rgb_fragment, size_vertex); | 298 munmap(yuv_to_rgb_fragment, size_vertex); |
| 299 return program; | 299 return program; |
| 300 } | 300 } |
| OLD | NEW |