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

Side by Side Diff: src/gpu/gl/GrGLCreateNullInterface.cpp

Issue 1674813004: Revert of Improve GLSL integer support (Closed) Base URL: https://skia.googlesource.com/skia.git@uploat_dratindirect
Patch Set: Created 4 years, 10 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/GrGLCaps.cpp ('k') | src/gpu/gl/GrGLGpu.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 * 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 "GrGLDefines.h" 10 #include "GrGLDefines.h"
(...skipping 447 matching lines...) Expand 10 before | Expand all | Expand 10 after
458 functions->fUniform4iv = noOpGLUniform4iv; 458 functions->fUniform4iv = noOpGLUniform4iv;
459 functions->fUniformMatrix2fv = noOpGLUniformMatrix2fv; 459 functions->fUniformMatrix2fv = noOpGLUniformMatrix2fv;
460 functions->fUniformMatrix3fv = noOpGLUniformMatrix3fv; 460 functions->fUniformMatrix3fv = noOpGLUniformMatrix3fv;
461 functions->fUniformMatrix4fv = noOpGLUniformMatrix4fv; 461 functions->fUniformMatrix4fv = noOpGLUniformMatrix4fv;
462 functions->fUnmapBuffer = nullGLUnmapBuffer; 462 functions->fUnmapBuffer = nullGLUnmapBuffer;
463 functions->fUseProgram = nullGLUseProgram; 463 functions->fUseProgram = nullGLUseProgram;
464 functions->fVertexAttrib1f = noOpGLVertexAttrib1f; 464 functions->fVertexAttrib1f = noOpGLVertexAttrib1f;
465 functions->fVertexAttrib2fv = noOpGLVertexAttrib2fv; 465 functions->fVertexAttrib2fv = noOpGLVertexAttrib2fv;
466 functions->fVertexAttrib3fv = noOpGLVertexAttrib3fv; 466 functions->fVertexAttrib3fv = noOpGLVertexAttrib3fv;
467 functions->fVertexAttrib4fv = noOpGLVertexAttrib4fv; 467 functions->fVertexAttrib4fv = noOpGLVertexAttrib4fv;
468 functions->fVertexAttribPointer = noOpGLVertexAttribPointer;
468 functions->fVertexAttribDivisor = noOpGLVertexAttribDivisor; 469 functions->fVertexAttribDivisor = noOpGLVertexAttribDivisor;
469 functions->fVertexAttribIPointer = noOpGLVertexAttribIPointer;
470 functions->fVertexAttribPointer = noOpGLVertexAttribPointer;
471 functions->fViewport = nullGLViewport; 470 functions->fViewport = nullGLViewport;
472 functions->fBindFramebuffer = nullGLBindFramebuffer; 471 functions->fBindFramebuffer = nullGLBindFramebuffer;
473 functions->fBindRenderbuffer = nullGLBindRenderbuffer; 472 functions->fBindRenderbuffer = nullGLBindRenderbuffer;
474 functions->fCheckFramebufferStatus = noOpGLCheckFramebufferStatus; 473 functions->fCheckFramebufferStatus = noOpGLCheckFramebufferStatus;
475 functions->fDeleteFramebuffers = nullGLDeleteFramebuffers; 474 functions->fDeleteFramebuffers = nullGLDeleteFramebuffers;
476 functions->fDeleteRenderbuffers = nullGLDeleteRenderbuffers; 475 functions->fDeleteRenderbuffers = nullGLDeleteRenderbuffers;
477 functions->fFramebufferRenderbuffer = nullGLFramebufferRenderbuffer; 476 functions->fFramebufferRenderbuffer = nullGLFramebufferRenderbuffer;
478 functions->fFramebufferTexture2D = nullGLFramebufferTexture2D; 477 functions->fFramebufferTexture2D = nullGLFramebufferTexture2D;
479 functions->fGenFramebuffers = noOpGLGenIds; 478 functions->fGenFramebuffers = noOpGLGenIds;
480 functions->fGenRenderbuffers = noOpGLGenIds; 479 functions->fGenRenderbuffers = noOpGLGenIds;
481 functions->fGetFramebufferAttachmentParameteriv = noOpGLGetFramebufferAttach mentParameteriv; 480 functions->fGetFramebufferAttachmentParameteriv = noOpGLGetFramebufferAttach mentParameteriv;
482 functions->fGetRenderbufferParameteriv = noOpGLGetRenderbufferParameteriv; 481 functions->fGetRenderbufferParameteriv = noOpGLGetRenderbufferParameteriv;
483 functions->fRenderbufferStorage = noOpGLRenderbufferStorage; 482 functions->fRenderbufferStorage = noOpGLRenderbufferStorage;
484 functions->fRenderbufferStorageMultisample = noOpGLRenderbufferStorageMultis ample; 483 functions->fRenderbufferStorageMultisample = noOpGLRenderbufferStorageMultis ample;
485 functions->fBlitFramebuffer = noOpGLBlitFramebuffer; 484 functions->fBlitFramebuffer = noOpGLBlitFramebuffer;
486 functions->fResolveMultisampleFramebuffer = noOpGLResolveMultisampleFramebuf fer; 485 functions->fResolveMultisampleFramebuffer = noOpGLResolveMultisampleFramebuf fer;
487 functions->fMatrixLoadf = noOpGLMatrixLoadf; 486 functions->fMatrixLoadf = noOpGLMatrixLoadf;
488 functions->fMatrixLoadIdentity = noOpGLMatrixLoadIdentity; 487 functions->fMatrixLoadIdentity = noOpGLMatrixLoadIdentity;
489 functions->fBindFragDataLocationIndexed = noOpGLBindFragDataLocationIndexed; 488 functions->fBindFragDataLocationIndexed = noOpGLBindFragDataLocationIndexed;
490 489
491 interface->fExtensions.init(kGL_GrGLStandard, functions->fGetString, functio ns->fGetStringi, 490 interface->fExtensions.init(kGL_GrGLStandard, functions->fGetString, functio ns->fGetStringi,
492 functions->fGetIntegerv, nullptr, GR_EGL_NO_DISP LAY); 491 functions->fGetIntegerv, nullptr, GR_EGL_NO_DISP LAY);
493 return interface; 492 return interface;
494 } 493 }
OLDNEW
« no previous file with comments | « src/gpu/gl/GrGLCaps.cpp ('k') | src/gpu/gl/GrGLGpu.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698