| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium 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 <EGL/egl.h> | 5 #include <EGL/egl.h> |
| 6 #include <EGL/eglext.h> | 6 #include <EGL/eglext.h> |
| 7 #include <gdk/gdkx.h> | 7 #include <gdk/gdkx.h> |
| 8 #include <gtk/gtk.h> | 8 #include <gtk/gtk.h> |
| 9 | 9 |
| 10 extern "C" { | 10 extern "C" { |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 void GTFDestroyEGLImage(EGLImageKHR image) { | 114 void GTFDestroyEGLImage(EGLImageKHR image) { |
| 115 PFNEGLDESTROYIMAGEKHRPROC egl_destroy_image_khr_; | 115 PFNEGLDESTROYIMAGEKHRPROC egl_destroy_image_khr_; |
| 116 egl_destroy_image_khr_ = reinterpret_cast<PFNEGLDESTROYIMAGEKHRPROC> | 116 egl_destroy_image_khr_ = reinterpret_cast<PFNEGLDESTROYIMAGEKHRPROC> |
| 117 (eglGetProcAddress("eglDestroyImageKHR")); | 117 (eglGetProcAddress("eglDestroyImageKHR")); |
| 118 | 118 |
| 119 egl_destroy_image_khr_(eglGetCurrentDisplay(), image); | 119 egl_destroy_image_khr_(eglGetCurrentDisplay(), image); |
| 120 } | 120 } |
| 121 | 121 |
| 122 } // extern "C" | 122 } // extern "C" |
| 123 | 123 |
| OLD | NEW |