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

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

Issue 662583003: Add gpu support for glVertexAttrb1f, 2fv, and 3fv (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 2 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/android/GrGLCreateNativeInterface_android.cpp ('k') | no next file » | 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 930 matching lines...) Expand 10 before | Expand all | Expand 10 after
941 functions->fUniform3iv = noOpGLUniform3iv; 941 functions->fUniform3iv = noOpGLUniform3iv;
942 functions->fUniform4f = noOpGLUniform4f; 942 functions->fUniform4f = noOpGLUniform4f;
943 functions->fUniform4i = noOpGLUniform4i; 943 functions->fUniform4i = noOpGLUniform4i;
944 functions->fUniform4fv = noOpGLUniform4fv; 944 functions->fUniform4fv = noOpGLUniform4fv;
945 functions->fUniform4iv = noOpGLUniform4iv; 945 functions->fUniform4iv = noOpGLUniform4iv;
946 functions->fUniformMatrix2fv = noOpGLUniformMatrix2fv; 946 functions->fUniformMatrix2fv = noOpGLUniformMatrix2fv;
947 functions->fUniformMatrix3fv = noOpGLUniformMatrix3fv; 947 functions->fUniformMatrix3fv = noOpGLUniformMatrix3fv;
948 functions->fUniformMatrix4fv = noOpGLUniformMatrix4fv; 948 functions->fUniformMatrix4fv = noOpGLUniformMatrix4fv;
949 functions->fUnmapBuffer = debugGLUnmapBuffer; 949 functions->fUnmapBuffer = debugGLUnmapBuffer;
950 functions->fUseProgram = debugGLUseProgram; 950 functions->fUseProgram = debugGLUseProgram;
951 functions->fVertexAttrib1f = noOpGLVertexAttrib1f;
952 functions->fVertexAttrib2fv = noOpGLVertexAttrib2fv;
953 functions->fVertexAttrib3fv = noOpGLVertexAttrib3fv;
951 functions->fVertexAttrib4fv = noOpGLVertexAttrib4fv; 954 functions->fVertexAttrib4fv = noOpGLVertexAttrib4fv;
952 functions->fVertexAttribPointer = noOpGLVertexAttribPointer; 955 functions->fVertexAttribPointer = noOpGLVertexAttribPointer;
953 functions->fViewport = noOpGLViewport; 956 functions->fViewport = noOpGLViewport;
954 functions->fBindFramebuffer = debugGLBindFramebuffer; 957 functions->fBindFramebuffer = debugGLBindFramebuffer;
955 functions->fBindRenderbuffer = debugGLBindRenderbuffer; 958 functions->fBindRenderbuffer = debugGLBindRenderbuffer;
956 functions->fCheckFramebufferStatus = noOpGLCheckFramebufferStatus; 959 functions->fCheckFramebufferStatus = noOpGLCheckFramebufferStatus;
957 functions->fDeleteFramebuffers = debugGLDeleteFramebuffers; 960 functions->fDeleteFramebuffers = debugGLDeleteFramebuffers;
958 functions->fDeleteRenderbuffers = debugGLDeleteRenderbuffers; 961 functions->fDeleteRenderbuffers = debugGLDeleteRenderbuffers;
959 functions->fFramebufferRenderbuffer = debugGLFramebufferRenderbuffer; 962 functions->fFramebufferRenderbuffer = debugGLFramebufferRenderbuffer;
960 functions->fFramebufferTexture2D = debugGLFramebufferTexture2D; 963 functions->fFramebufferTexture2D = debugGLFramebufferTexture2D;
(...skipping 12 matching lines...) Expand all
973 functions->fMatrixLoadIdentity = noOpGLMatrixLoadIdentity; 976 functions->fMatrixLoadIdentity = noOpGLMatrixLoadIdentity;
974 977
975 functions->fBindFragDataLocationIndexed = 978 functions->fBindFragDataLocationIndexed =
976 noOpGLBindFragDataLocationIndexed; 979 noOpGLBindFragDataLocationIndexed;
977 980
978 interface->fExtensions.init(kGL_GrGLStandard, functions->fGetString, functio ns->fGetStringi, 981 interface->fExtensions.init(kGL_GrGLStandard, functions->fGetString, functio ns->fGetStringi,
979 functions->fGetIntegerv); 982 functions->fGetIntegerv);
980 983
981 return interface; 984 return interface;
982 } 985 }
OLDNEW
« no previous file with comments | « src/gpu/gl/android/GrGLCreateNativeInterface_android.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698