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

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

Issue 1451683002: Initial version of external_oes texture support and unit test (Closed) Base URL: https://skia.googlesource.com/skia.git@target
Patch Set: again Created 5 years 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/GrGLGpu.cpp ('k') | src/gpu/gl/GrGLProgramDataManager.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 709 matching lines...) Expand 10 before | Expand all | Expand 10 after
720 nullptr == fFunctions.fDebugMessageCallback || 720 nullptr == fFunctions.fDebugMessageCallback ||
721 nullptr == fFunctions.fGetDebugMessageLog || 721 nullptr == fFunctions.fGetDebugMessageLog ||
722 nullptr == fFunctions.fPushDebugGroup || 722 nullptr == fFunctions.fPushDebugGroup ||
723 nullptr == fFunctions.fPopDebugGroup || 723 nullptr == fFunctions.fPopDebugGroup ||
724 nullptr == fFunctions.fObjectLabel) { 724 nullptr == fFunctions.fObjectLabel) {
725 RETURN_FALSE_INTERFACE 725 RETURN_FALSE_INTERFACE
726 } 726 }
727 } 727 }
728 728
729 if (fExtensions.has("EGL_KHR_image") || fExtensions.has("EGL_KHR_image_base" )) { 729 if (fExtensions.has("EGL_KHR_image") || fExtensions.has("EGL_KHR_image_base" )) {
730 if (nullptr == fFunctions.fCreateImage || 730 if (nullptr == fFunctions.fEGLCreateImage ||
731 nullptr == fFunctions.fDestroyImage) { 731 nullptr == fFunctions.fEGLDestroyImage) {
732 RETURN_FALSE_INTERFACE 732 RETURN_FALSE_INTERFACE
733 } 733 }
734 } 734 }
735 735
736 return true; 736 return true;
737 } 737 }
OLDNEW
« no previous file with comments | « src/gpu/gl/GrGLGpu.cpp ('k') | src/gpu/gl/GrGLProgramDataManager.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698