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

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

Issue 13985039: Rationalize linux vs x11 in ui (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix review / try issues Created 7 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) 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
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
OLDNEW
« no previous file with comments | « gpu/gles2_conform_support/native/egl_native_linux.cc ('k') | ui/base/resource/resource_bundle_auralinux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698