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 779 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
790 interface->fBlendColor = noOpGLBlendColor; | 790 interface->fBlendColor = noOpGLBlendColor; |
791 interface->fBlendFunc = noOpGLBlendFunc; | 791 interface->fBlendFunc = noOpGLBlendFunc; |
792 interface->fBufferData = debugGLBufferData; | 792 interface->fBufferData = debugGLBufferData; |
793 interface->fBufferSubData = noOpGLBufferSubData; | 793 interface->fBufferSubData = noOpGLBufferSubData; |
794 interface->fClear = noOpGLClear; | 794 interface->fClear = noOpGLClear; |
795 interface->fClearColor = noOpGLClearColor; | 795 interface->fClearColor = noOpGLClearColor; |
796 interface->fClearStencil = noOpGLClearStencil; | 796 interface->fClearStencil = noOpGLClearStencil; |
797 interface->fColorMask = noOpGLColorMask; | 797 interface->fColorMask = noOpGLColorMask; |
798 interface->fCompileShader = noOpGLCompileShader; | 798 interface->fCompileShader = noOpGLCompileShader; |
799 interface->fCompressedTexImage2D = noOpGLCompressedTexImage2D; | 799 interface->fCompressedTexImage2D = noOpGLCompressedTexImage2D; |
| 800 interface->fCopyTexSubImage2D = noOpGLCopyTexSubImage2D; |
800 interface->fCreateProgram = debugGLCreateProgram; | 801 interface->fCreateProgram = debugGLCreateProgram; |
801 interface->fCreateShader = debugGLCreateShader; | 802 interface->fCreateShader = debugGLCreateShader; |
802 interface->fCullFace = noOpGLCullFace; | 803 interface->fCullFace = noOpGLCullFace; |
803 interface->fDeleteBuffers = debugGLDeleteBuffers; | 804 interface->fDeleteBuffers = debugGLDeleteBuffers; |
804 interface->fDeleteProgram = debugGLDeleteProgram; | 805 interface->fDeleteProgram = debugGLDeleteProgram; |
805 interface->fDeleteQueries = noOpGLDeleteIds; | 806 interface->fDeleteQueries = noOpGLDeleteIds; |
806 interface->fDeleteShader = debugGLDeleteShader; | 807 interface->fDeleteShader = debugGLDeleteShader; |
807 interface->fDeleteTextures = debugGLDeleteTextures; | 808 interface->fDeleteTextures = debugGLDeleteTextures; |
808 interface->fDeleteVertexArrays = debugGLDeleteVertexArrays; | 809 interface->fDeleteVertexArrays = debugGLDeleteVertexArrays; |
809 interface->fDepthMask = noOpGLDepthMask; | 810 interface->fDepthMask = noOpGLDepthMask; |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
899 interface->fBlitFramebuffer = noOpGLBlitFramebuffer; | 900 interface->fBlitFramebuffer = noOpGLBlitFramebuffer; |
900 interface->fResolveMultisampleFramebuffer = | 901 interface->fResolveMultisampleFramebuffer = |
901 noOpGLResolveMultisampleFramebuffer; | 902 noOpGLResolveMultisampleFramebuffer; |
902 interface->fMapBuffer = debugGLMapBuffer; | 903 interface->fMapBuffer = debugGLMapBuffer; |
903 interface->fUnmapBuffer = debugGLUnmapBuffer; | 904 interface->fUnmapBuffer = debugGLUnmapBuffer; |
904 interface->fBindFragDataLocationIndexed = | 905 interface->fBindFragDataLocationIndexed = |
905 noOpGLBindFragDataLocationIndexed; | 906 noOpGLBindFragDataLocationIndexed; |
906 | 907 |
907 return interface; | 908 return interface; |
908 } | 909 } |
OLD | NEW |