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

Side by Side Diff: src/gpu/gl/GrGLInterface.cpp

Issue 1434813002: Add support for EGLImage to GrGLInterface (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: cleanup Created 5 years, 1 month 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
« no previous file with comments | « src/gpu/gl/GrGLExtensions.cpp ('k') | src/gpu/gl/SkNullGLContext.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2011 Google Inc. 2 * Copyright 2011 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 8
9 #include "gl/GrGLInterface.h" 9 #include "gl/GrGLInterface.h"
10 #include "gl/GrGLExtensions.h" 10 #include "gl/GrGLExtensions.h"
(...skipping 721 matching lines...) Expand 10 before | Expand all | Expand 10 after
732 nullptr == fFunctions.fDebugMessageInsert || 732 nullptr == fFunctions.fDebugMessageInsert ||
733 nullptr == fFunctions.fDebugMessageCallback || 733 nullptr == fFunctions.fDebugMessageCallback ||
734 nullptr == fFunctions.fGetDebugMessageLog || 734 nullptr == fFunctions.fGetDebugMessageLog ||
735 nullptr == fFunctions.fPushDebugGroup || 735 nullptr == fFunctions.fPushDebugGroup ||
736 nullptr == fFunctions.fPopDebugGroup || 736 nullptr == fFunctions.fPopDebugGroup ||
737 nullptr == fFunctions.fObjectLabel) { 737 nullptr == fFunctions.fObjectLabel) {
738 RETURN_FALSE_INTERFACE 738 RETURN_FALSE_INTERFACE
739 } 739 }
740 } 740 }
741 741
742 if (fExtensions.has("EGL_KHR_image") || fExtensions.has("EGL_KHR_image_base" )) {
743 if (nullptr == fFunctions.fCreateImage ||
744 nullptr == fFunctions.fDestroyImage) {
745 RETURN_FALSE_INTERFACE
746 }
747 }
748
742 return true; 749 return true;
743 } 750 }
OLDNEW
« no previous file with comments | « src/gpu/gl/GrGLExtensions.cpp ('k') | src/gpu/gl/SkNullGLContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698