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

Side by Side Diff: src/gpu/gl/debug/GrGLCreateDebugInterface.cpp

Issue 1185573003: Import new functionality for GL4 backend (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fix KHR_debug suffixes Created 5 years, 6 months 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/SkNullGLContext.cpp ('k') | tests/GrDrawTargetTest.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 /* 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 857 matching lines...) Expand 10 before | Expand all | Expand 10 after
868 functions->fDeleteBuffers = debugGLDeleteBuffers; 868 functions->fDeleteBuffers = debugGLDeleteBuffers;
869 functions->fDeleteProgram = debugGLDeleteProgram; 869 functions->fDeleteProgram = debugGLDeleteProgram;
870 functions->fDeleteQueries = noOpGLDeleteIds; 870 functions->fDeleteQueries = noOpGLDeleteIds;
871 functions->fDeleteShader = debugGLDeleteShader; 871 functions->fDeleteShader = debugGLDeleteShader;
872 functions->fDeleteTextures = debugGLDeleteTextures; 872 functions->fDeleteTextures = debugGLDeleteTextures;
873 functions->fDeleteVertexArrays = debugGLDeleteVertexArrays; 873 functions->fDeleteVertexArrays = debugGLDeleteVertexArrays;
874 functions->fDepthMask = noOpGLDepthMask; 874 functions->fDepthMask = noOpGLDepthMask;
875 functions->fDisable = noOpGLDisable; 875 functions->fDisable = noOpGLDisable;
876 functions->fDisableVertexAttribArray = noOpGLDisableVertexAttribArray; 876 functions->fDisableVertexAttribArray = noOpGLDisableVertexAttribArray;
877 functions->fDrawArrays = noOpGLDrawArrays; 877 functions->fDrawArrays = noOpGLDrawArrays;
878 functions->fDrawArraysInstanced = noOpGLDrawArraysInstanced;
878 functions->fDrawBuffer = noOpGLDrawBuffer; 879 functions->fDrawBuffer = noOpGLDrawBuffer;
879 functions->fDrawBuffers = noOpGLDrawBuffers; 880 functions->fDrawBuffers = noOpGLDrawBuffers;
880 functions->fDrawElements = noOpGLDrawElements; 881 functions->fDrawElements = noOpGLDrawElements;
882 functions->fDrawElementsInstanced = noOpGLDrawElementsInstanced;
881 functions->fEnable = noOpGLEnable; 883 functions->fEnable = noOpGLEnable;
882 functions->fEnableVertexAttribArray = noOpGLEnableVertexAttribArray; 884 functions->fEnableVertexAttribArray = noOpGLEnableVertexAttribArray;
883 functions->fEndQuery = noOpGLEndQuery; 885 functions->fEndQuery = noOpGLEndQuery;
884 functions->fFinish = noOpGLFinish; 886 functions->fFinish = noOpGLFinish;
885 functions->fFlush = noOpGLFlush; 887 functions->fFlush = noOpGLFlush;
886 functions->fFlushMappedBufferRange = debugGLFlushMappedBufferRange; 888 functions->fFlushMappedBufferRange = debugGLFlushMappedBufferRange;
887 functions->fFrontFace = noOpGLFrontFace; 889 functions->fFrontFace = noOpGLFrontFace;
888 functions->fGenerateMipmap = debugGLGenerateMipmap; 890 functions->fGenerateMipmap = debugGLGenerateMipmap;
889 functions->fGenBuffers = debugGLGenBuffers; 891 functions->fGenBuffers = debugGLGenBuffers;
890 functions->fGenQueries = noOpGLGenIds; 892 functions->fGenQueries = noOpGLGenIds;
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
947 functions->fUniformMatrix2fv = noOpGLUniformMatrix2fv; 949 functions->fUniformMatrix2fv = noOpGLUniformMatrix2fv;
948 functions->fUniformMatrix3fv = noOpGLUniformMatrix3fv; 950 functions->fUniformMatrix3fv = noOpGLUniformMatrix3fv;
949 functions->fUniformMatrix4fv = noOpGLUniformMatrix4fv; 951 functions->fUniformMatrix4fv = noOpGLUniformMatrix4fv;
950 functions->fUnmapBuffer = debugGLUnmapBuffer; 952 functions->fUnmapBuffer = debugGLUnmapBuffer;
951 functions->fUseProgram = debugGLUseProgram; 953 functions->fUseProgram = debugGLUseProgram;
952 functions->fVertexAttrib1f = noOpGLVertexAttrib1f; 954 functions->fVertexAttrib1f = noOpGLVertexAttrib1f;
953 functions->fVertexAttrib2fv = noOpGLVertexAttrib2fv; 955 functions->fVertexAttrib2fv = noOpGLVertexAttrib2fv;
954 functions->fVertexAttrib3fv = noOpGLVertexAttrib3fv; 956 functions->fVertexAttrib3fv = noOpGLVertexAttrib3fv;
955 functions->fVertexAttrib4fv = noOpGLVertexAttrib4fv; 957 functions->fVertexAttrib4fv = noOpGLVertexAttrib4fv;
956 functions->fVertexAttribPointer = noOpGLVertexAttribPointer; 958 functions->fVertexAttribPointer = noOpGLVertexAttribPointer;
959 functions->fVertexAttribDivisor = noOpGLVertexAttribDivisor;
957 functions->fViewport = noOpGLViewport; 960 functions->fViewport = noOpGLViewport;
958 functions->fBindFramebuffer = debugGLBindFramebuffer; 961 functions->fBindFramebuffer = debugGLBindFramebuffer;
959 functions->fBindRenderbuffer = debugGLBindRenderbuffer; 962 functions->fBindRenderbuffer = debugGLBindRenderbuffer;
960 functions->fCheckFramebufferStatus = noOpGLCheckFramebufferStatus; 963 functions->fCheckFramebufferStatus = noOpGLCheckFramebufferStatus;
961 functions->fDeleteFramebuffers = debugGLDeleteFramebuffers; 964 functions->fDeleteFramebuffers = debugGLDeleteFramebuffers;
962 functions->fDeleteRenderbuffers = debugGLDeleteRenderbuffers; 965 functions->fDeleteRenderbuffers = debugGLDeleteRenderbuffers;
963 functions->fFramebufferRenderbuffer = debugGLFramebufferRenderbuffer; 966 functions->fFramebufferRenderbuffer = debugGLFramebufferRenderbuffer;
964 functions->fFramebufferTexture2D = debugGLFramebufferTexture2D; 967 functions->fFramebufferTexture2D = debugGLFramebufferTexture2D;
965 functions->fGenFramebuffers = debugGLGenFramebuffers; 968 functions->fGenFramebuffers = debugGLGenFramebuffers;
966 functions->fGenRenderbuffers = debugGLGenRenderbuffers; 969 functions->fGenRenderbuffers = debugGLGenRenderbuffers;
(...skipping 10 matching lines...) Expand all
977 functions->fMatrixLoadIdentity = noOpGLMatrixLoadIdentity; 980 functions->fMatrixLoadIdentity = noOpGLMatrixLoadIdentity;
978 981
979 functions->fBindFragDataLocationIndexed = 982 functions->fBindFragDataLocationIndexed =
980 noOpGLBindFragDataLocationIndexed; 983 noOpGLBindFragDataLocationIndexed;
981 984
982 interface->fExtensions.init(kGL_GrGLStandard, functions->fGetString, functio ns->fGetStringi, 985 interface->fExtensions.init(kGL_GrGLStandard, functions->fGetString, functio ns->fGetStringi,
983 functions->fGetIntegerv); 986 functions->fGetIntegerv);
984 987
985 return interface; 988 return interface;
986 } 989 }
OLDNEW
« no previous file with comments | « src/gpu/gl/SkNullGLContext.cpp ('k') | tests/GrDrawTargetTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698