Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(106)

Side by Side Diff: gpu/gles2_conform_support/native/egl_native_linux.cc

Issue 7066028: Resubmit CL 86306 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 return static_cast<EGLImageKHR>(NULL); 112 return static_cast<EGLImageKHR>(NULL);
113 } 113 }
114 114
115 void GTFDestroyEGLImage(EGLImageKHR image) { 115 void GTFDestroyEGLImage(EGLImageKHR image) {
116 PFNEGLDESTROYIMAGEKHRPROC egl_destroy_image_khr_; 116 PFNEGLDESTROYIMAGEKHRPROC egl_destroy_image_khr_;
117 egl_destroy_image_khr_ = reinterpret_cast<PFNEGLDESTROYIMAGEKHRPROC> 117 egl_destroy_image_khr_ = reinterpret_cast<PFNEGLDESTROYIMAGEKHRPROC>
118 (eglGetProcAddress("eglDestroyImageKHR")); 118 (eglGetProcAddress("eglDestroyImageKHR"));
119 119
120 egl_destroy_image_khr_(eglGetCurrentDisplay(), image); 120 egl_destroy_image_khr_(eglGetCurrentDisplay(), image);
121 } 121 }
OLDNEW
« no previous file with comments | « gpu/gles2_conform_support/native/egl_native.cc ('k') | gpu/gles2_conform_support/native/egl_native_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698