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

Side by Side Diff: content/gpu/gles2_texture_to_egl_image_translator.cc

Issue 6979017: Revert 86681 - Updated OMX decoder for recent PPAPI changes, and added to the build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 6 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
Property Changes:
Added: svn:mergeinfo
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 "content/gpu/gles2_texture_to_egl_image_translator.h" 5 #include "content/gpu/gles2_texture_to_egl_image_translator.h"
6 6
7 // Get EGL extension functions. 7 // Get EGL extension functions.
8 static PFNEGLCREATEIMAGEKHRPROC egl_create_image_khr = 8 static PFNEGLCREATEIMAGEKHRPROC egl_create_image_khr =
9 reinterpret_cast<PFNEGLCREATEIMAGEKHRPROC>( 9 reinterpret_cast<PFNEGLCREATEIMAGEKHRPROC>(
10 eglGetProcAddress("eglCreateImageKHR")); 10 eglGetProcAddress("eglCreateImageKHR"));
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 // Clients of this class will call this method for each EGLImage handle. 64 // Clients of this class will call this method for each EGLImage handle.
65 // Actual destroying of the handles is done here. 65 // Actual destroying of the handles is done here.
66 if (!egl_destroy_image_khr) { 66 if (!egl_destroy_image_khr) {
67 LOG(ERROR) << "egl_destroy_image_khr failed"; 67 LOG(ERROR) << "egl_destroy_image_khr failed";
68 return; 68 return;
69 } 69 }
70 egl_destroy_image_khr(egl_display_, egl_image); 70 egl_destroy_image_khr(egl_display_, egl_image);
71 } 71 }
72 72
73 73
OLDNEW
« no previous file with comments | « content/gpu/gles2_texture_to_egl_image_translator.h ('k') | content/gpu/omx_video_decode_accelerator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698