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

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

Issue 1784063003: Add caps and GL API for buffer texture (Closed) Base URL: https://skia.googlesource.com/skia.git@upload_precision
Patch Set: Created 4 years, 9 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/GrGLDefines.h » ('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 417 matching lines...) Expand 10 before | Expand all | Expand 10 after
428 functions->fReadBuffer = noOpGLReadBuffer; 428 functions->fReadBuffer = noOpGLReadBuffer;
429 functions->fReadPixels = nullGLReadPixels; 429 functions->fReadPixels = nullGLReadPixels;
430 functions->fScissor = noOpGLScissor; 430 functions->fScissor = noOpGLScissor;
431 functions->fShaderSource = noOpGLShaderSource; 431 functions->fShaderSource = noOpGLShaderSource;
432 functions->fStencilFunc = noOpGLStencilFunc; 432 functions->fStencilFunc = noOpGLStencilFunc;
433 functions->fStencilFuncSeparate = noOpGLStencilFuncSeparate; 433 functions->fStencilFuncSeparate = noOpGLStencilFuncSeparate;
434 functions->fStencilMask = noOpGLStencilMask; 434 functions->fStencilMask = noOpGLStencilMask;
435 functions->fStencilMaskSeparate = noOpGLStencilMaskSeparate; 435 functions->fStencilMaskSeparate = noOpGLStencilMaskSeparate;
436 functions->fStencilOp = noOpGLStencilOp; 436 functions->fStencilOp = noOpGLStencilOp;
437 functions->fStencilOpSeparate = noOpGLStencilOpSeparate; 437 functions->fStencilOpSeparate = noOpGLStencilOpSeparate;
438 functions->fTexBuffer = noOpGLTexBuffer;
438 functions->fTexImage2D = noOpGLTexImage2D; 439 functions->fTexImage2D = noOpGLTexImage2D;
439 functions->fTexParameteri = noOpGLTexParameteri; 440 functions->fTexParameteri = noOpGLTexParameteri;
440 functions->fTexParameteriv = noOpGLTexParameteriv; 441 functions->fTexParameteriv = noOpGLTexParameteriv;
441 functions->fTexSubImage2D = noOpGLTexSubImage2D; 442 functions->fTexSubImage2D = noOpGLTexSubImage2D;
442 functions->fTexStorage2D = noOpGLTexStorage2D; 443 functions->fTexStorage2D = noOpGLTexStorage2D;
443 functions->fDiscardFramebuffer = noOpGLDiscardFramebuffer; 444 functions->fDiscardFramebuffer = noOpGLDiscardFramebuffer;
444 functions->fUniform1f = noOpGLUniform1f; 445 functions->fUniform1f = noOpGLUniform1f;
445 functions->fUniform1i = noOpGLUniform1i; 446 functions->fUniform1i = noOpGLUniform1i;
446 functions->fUniform1fv = noOpGLUniform1fv; 447 functions->fUniform1fv = noOpGLUniform1fv;
447 functions->fUniform1iv = noOpGLUniform1iv; 448 functions->fUniform1iv = noOpGLUniform1iv;
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
486 functions->fBlitFramebuffer = noOpGLBlitFramebuffer; 487 functions->fBlitFramebuffer = noOpGLBlitFramebuffer;
487 functions->fResolveMultisampleFramebuffer = noOpGLResolveMultisampleFramebuf fer; 488 functions->fResolveMultisampleFramebuffer = noOpGLResolveMultisampleFramebuf fer;
488 functions->fMatrixLoadf = noOpGLMatrixLoadf; 489 functions->fMatrixLoadf = noOpGLMatrixLoadf;
489 functions->fMatrixLoadIdentity = noOpGLMatrixLoadIdentity; 490 functions->fMatrixLoadIdentity = noOpGLMatrixLoadIdentity;
490 functions->fBindFragDataLocationIndexed = noOpGLBindFragDataLocationIndexed; 491 functions->fBindFragDataLocationIndexed = noOpGLBindFragDataLocationIndexed;
491 492
492 interface->fExtensions.init(kGL_GrGLStandard, functions->fGetString, functio ns->fGetStringi, 493 interface->fExtensions.init(kGL_GrGLStandard, functions->fGetString, functio ns->fGetStringi,
493 functions->fGetIntegerv, nullptr, GR_EGL_NO_DISP LAY); 494 functions->fGetIntegerv, nullptr, GR_EGL_NO_DISP LAY);
494 return interface; 495 return interface;
495 } 496 }
OLDNEW
« no previous file with comments | « src/gpu/gl/GrGLCaps.cpp ('k') | src/gpu/gl/GrGLDefines.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698