| OLD | NEW |
| 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 Loading... |
| 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 } |
| OLD | NEW |