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

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

Issue 1669853002: Improve GLSL integer support (Closed) Base URL: https://skia.googlesource.com/skia.git@uploat_dratindirect
Patch Set: rebase 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->fVertexAttribDivisor = noOpGLVertexAttribDivisor;
469 functions->fVertexAttribIPointer = noOpGLVertexAttribIPointer;
468 functions->fVertexAttribPointer = noOpGLVertexAttribPointer; 470 functions->fVertexAttribPointer = noOpGLVertexAttribPointer;
469 functions->fVertexAttribDivisor = noOpGLVertexAttribDivisor;
470 functions->fViewport = nullGLViewport; 471 functions->fViewport = nullGLViewport;
471 functions->fBindFramebuffer = nullGLBindFramebuffer; 472 functions->fBindFramebuffer = nullGLBindFramebuffer;
472 functions->fBindRenderbuffer = nullGLBindRenderbuffer; 473 functions->fBindRenderbuffer = nullGLBindRenderbuffer;
473 functions->fCheckFramebufferStatus = noOpGLCheckFramebufferStatus; 474 functions->fCheckFramebufferStatus = noOpGLCheckFramebufferStatus;
474 functions->fDeleteFramebuffers = nullGLDeleteFramebuffers; 475 functions->fDeleteFramebuffers = nullGLDeleteFramebuffers;
475 functions->fDeleteRenderbuffers = nullGLDeleteRenderbuffers; 476 functions->fDeleteRenderbuffers = nullGLDeleteRenderbuffers;
476 functions->fFramebufferRenderbuffer = nullGLFramebufferRenderbuffer; 477 functions->fFramebufferRenderbuffer = nullGLFramebufferRenderbuffer;
477 functions->fFramebufferTexture2D = nullGLFramebufferTexture2D; 478 functions->fFramebufferTexture2D = nullGLFramebufferTexture2D;
478 functions->fGenFramebuffers = noOpGLGenIds; 479 functions->fGenFramebuffers = noOpGLGenIds;
479 functions->fGenRenderbuffers = noOpGLGenIds; 480 functions->fGenRenderbuffers = noOpGLGenIds;
480 functions->fGetFramebufferAttachmentParameteriv = noOpGLGetFramebufferAttach mentParameteriv; 481 functions->fGetFramebufferAttachmentParameteriv = noOpGLGetFramebufferAttach mentParameteriv;
481 functions->fGetRenderbufferParameteriv = noOpGLGetRenderbufferParameteriv; 482 functions->fGetRenderbufferParameteriv = noOpGLGetRenderbufferParameteriv;
482 functions->fRenderbufferStorage = noOpGLRenderbufferStorage; 483 functions->fRenderbufferStorage = noOpGLRenderbufferStorage;
483 functions->fRenderbufferStorageMultisample = noOpGLRenderbufferStorageMultis ample; 484 functions->fRenderbufferStorageMultisample = noOpGLRenderbufferStorageMultis ample;
484 functions->fBlitFramebuffer = noOpGLBlitFramebuffer; 485 functions->fBlitFramebuffer = noOpGLBlitFramebuffer;
485 functions->fResolveMultisampleFramebuffer = noOpGLResolveMultisampleFramebuf fer; 486 functions->fResolveMultisampleFramebuffer = noOpGLResolveMultisampleFramebuf fer;
486 functions->fMatrixLoadf = noOpGLMatrixLoadf; 487 functions->fMatrixLoadf = noOpGLMatrixLoadf;
487 functions->fMatrixLoadIdentity = noOpGLMatrixLoadIdentity; 488 functions->fMatrixLoadIdentity = noOpGLMatrixLoadIdentity;
488 functions->fBindFragDataLocationIndexed = noOpGLBindFragDataLocationIndexed; 489 functions->fBindFragDataLocationIndexed = noOpGLBindFragDataLocationIndexed;
489 490
490 interface->fExtensions.init(kGL_GrGLStandard, functions->fGetString, functio ns->fGetStringi, 491 interface->fExtensions.init(kGL_GrGLStandard, functions->fGetString, functio ns->fGetStringi,
491 functions->fGetIntegerv, nullptr, GR_EGL_NO_DISP LAY); 492 functions->fGetIntegerv, nullptr, GR_EGL_NO_DISP LAY);
492 return interface; 493 return interface;
493 } 494 }
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