OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2012 Google Inc. | 3 * Copyright 2012 Google Inc. |
4 * | 4 * |
5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
7 */ | 7 */ |
8 | 8 |
9 | 9 |
10 #include "gl/GrGLInterface.h" | 10 #include "gl/GrGLInterface.h" |
(...skipping 901 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
912 functions->fRenderbufferStorageMultisample = | 912 functions->fRenderbufferStorageMultisample = |
913 noOpGLRenderbufferStorageMultisample; | 913 noOpGLRenderbufferStorageMultisample; |
914 functions->fBlitFramebuffer = noOpGLBlitFramebuffer; | 914 functions->fBlitFramebuffer = noOpGLBlitFramebuffer; |
915 functions->fResolveMultisampleFramebuffer = | 915 functions->fResolveMultisampleFramebuffer = |
916 noOpGLResolveMultisampleFramebuffer; | 916 noOpGLResolveMultisampleFramebuffer; |
917 functions->fMapBuffer = debugGLMapBuffer; | 917 functions->fMapBuffer = debugGLMapBuffer; |
918 functions->fUnmapBuffer = debugGLUnmapBuffer; | 918 functions->fUnmapBuffer = debugGLUnmapBuffer; |
919 functions->fBindFragDataLocationIndexed = | 919 functions->fBindFragDataLocationIndexed = |
920 noOpGLBindFragDataLocationIndexed; | 920 noOpGLBindFragDataLocationIndexed; |
921 | 921 |
| 922 interface->fExtensions.init(kGL_GrGLStandard, functions->fGetString, functio
ns->fGetStringi, |
| 923 functions->fGetIntegerv); |
| 924 |
922 return interface; | 925 return interface; |
923 } | 926 } |
OLD | NEW |