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

Side by Side Diff: src/gpu/gl/GrGLCreateNullInterface.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/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 364 matching lines...) Expand 10 before | Expand all | Expand 10 after
375 functions->fDeleteBuffers = nullGLDeleteBuffers; 375 functions->fDeleteBuffers = nullGLDeleteBuffers;
376 functions->fDeleteProgram = nullGLDelete; 376 functions->fDeleteProgram = nullGLDelete;
377 functions->fDeleteQueries = noOpGLDeleteIds; 377 functions->fDeleteQueries = noOpGLDeleteIds;
378 functions->fDeleteShader = nullGLDelete; 378 functions->fDeleteShader = nullGLDelete;
379 functions->fDeleteTextures = noOpGLDeleteIds; 379 functions->fDeleteTextures = noOpGLDeleteIds;
380 functions->fDeleteVertexArrays = noOpGLDeleteIds; 380 functions->fDeleteVertexArrays = noOpGLDeleteIds;
381 functions->fDepthMask = noOpGLDepthMask; 381 functions->fDepthMask = noOpGLDepthMask;
382 functions->fDisable = noOpGLDisable; 382 functions->fDisable = noOpGLDisable;
383 functions->fDisableVertexAttribArray = noOpGLDisableVertexAttribArray; 383 functions->fDisableVertexAttribArray = noOpGLDisableVertexAttribArray;
384 functions->fDrawArrays = noOpGLDrawArrays; 384 functions->fDrawArrays = noOpGLDrawArrays;
385 functions->fDrawArraysInstanced = noOpGLDrawArraysInstanced;
385 functions->fDrawBuffer = noOpGLDrawBuffer; 386 functions->fDrawBuffer = noOpGLDrawBuffer;
386 functions->fDrawBuffers = noOpGLDrawBuffers; 387 functions->fDrawBuffers = noOpGLDrawBuffers;
387 functions->fDrawElements = noOpGLDrawElements; 388 functions->fDrawElements = noOpGLDrawElements;
389 functions->fDrawElementsInstanced = noOpGLDrawElementsInstanced;
388 functions->fEnable = noOpGLEnable; 390 functions->fEnable = noOpGLEnable;
389 functions->fEnableVertexAttribArray = noOpGLEnableVertexAttribArray; 391 functions->fEnableVertexAttribArray = noOpGLEnableVertexAttribArray;
390 functions->fEndQuery = noOpGLEndQuery; 392 functions->fEndQuery = noOpGLEndQuery;
391 functions->fFinish = noOpGLFinish; 393 functions->fFinish = noOpGLFinish;
392 functions->fFlush = noOpGLFlush; 394 functions->fFlush = noOpGLFlush;
393 functions->fFlushMappedBufferRange = nullGLFlushMappedBufferRange; 395 functions->fFlushMappedBufferRange = nullGLFlushMappedBufferRange;
394 functions->fFrontFace = noOpGLFrontFace; 396 functions->fFrontFace = noOpGLFrontFace;
395 functions->fGenBuffers = nullGLGenBuffers; 397 functions->fGenBuffers = nullGLGenBuffers;
396 functions->fGenerateMipmap = nullGLGenerateMipmap; 398 functions->fGenerateMipmap = nullGLGenerateMipmap;
397 functions->fGenQueries = noOpGLGenIds; 399 functions->fGenQueries = noOpGLGenIds;
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
457 functions->fUniformMatrix2fv = noOpGLUniformMatrix2fv; 459 functions->fUniformMatrix2fv = noOpGLUniformMatrix2fv;
458 functions->fUniformMatrix3fv = noOpGLUniformMatrix3fv; 460 functions->fUniformMatrix3fv = noOpGLUniformMatrix3fv;
459 functions->fUniformMatrix4fv = noOpGLUniformMatrix4fv; 461 functions->fUniformMatrix4fv = noOpGLUniformMatrix4fv;
460 functions->fUnmapBuffer = nullGLUnmapBuffer; 462 functions->fUnmapBuffer = nullGLUnmapBuffer;
461 functions->fUseProgram = nullGLUseProgram; 463 functions->fUseProgram = nullGLUseProgram;
462 functions->fVertexAttrib1f = noOpGLVertexAttrib1f; 464 functions->fVertexAttrib1f = noOpGLVertexAttrib1f;
463 functions->fVertexAttrib2fv = noOpGLVertexAttrib2fv; 465 functions->fVertexAttrib2fv = noOpGLVertexAttrib2fv;
464 functions->fVertexAttrib3fv = noOpGLVertexAttrib3fv; 466 functions->fVertexAttrib3fv = noOpGLVertexAttrib3fv;
465 functions->fVertexAttrib4fv = noOpGLVertexAttrib4fv; 467 functions->fVertexAttrib4fv = noOpGLVertexAttrib4fv;
466 functions->fVertexAttribPointer = noOpGLVertexAttribPointer; 468 functions->fVertexAttribPointer = noOpGLVertexAttribPointer;
469 functions->fVertexAttribDivisor = noOpGLVertexAttribDivisor;
467 functions->fViewport = nullGLViewport; 470 functions->fViewport = nullGLViewport;
468 functions->fBindFramebuffer = nullGLBindFramebuffer; 471 functions->fBindFramebuffer = nullGLBindFramebuffer;
469 functions->fBindRenderbuffer = nullGLBindRenderbuffer; 472 functions->fBindRenderbuffer = nullGLBindRenderbuffer;
470 functions->fCheckFramebufferStatus = noOpGLCheckFramebufferStatus; 473 functions->fCheckFramebufferStatus = noOpGLCheckFramebufferStatus;
471 functions->fDeleteFramebuffers = nullGLDeleteFramebuffers; 474 functions->fDeleteFramebuffers = nullGLDeleteFramebuffers;
472 functions->fDeleteRenderbuffers = nullGLDeleteRenderbuffers; 475 functions->fDeleteRenderbuffers = nullGLDeleteRenderbuffers;
473 functions->fFramebufferRenderbuffer = nullGLFramebufferRenderbuffer; 476 functions->fFramebufferRenderbuffer = nullGLFramebufferRenderbuffer;
474 functions->fFramebufferTexture2D = nullGLFramebufferTexture2D; 477 functions->fFramebufferTexture2D = nullGLFramebufferTexture2D;
475 functions->fGenFramebuffers = noOpGLGenIds; 478 functions->fGenFramebuffers = noOpGLGenIds;
476 functions->fGenRenderbuffers = noOpGLGenIds; 479 functions->fGenRenderbuffers = noOpGLGenIds;
477 functions->fGetFramebufferAttachmentParameteriv = noOpGLGetFramebufferAttach mentParameteriv; 480 functions->fGetFramebufferAttachmentParameteriv = noOpGLGetFramebufferAttach mentParameteriv;
478 functions->fGetRenderbufferParameteriv = noOpGLGetRenderbufferParameteriv; 481 functions->fGetRenderbufferParameteriv = noOpGLGetRenderbufferParameteriv;
479 functions->fRenderbufferStorage = noOpGLRenderbufferStorage; 482 functions->fRenderbufferStorage = noOpGLRenderbufferStorage;
480 functions->fRenderbufferStorageMultisample = noOpGLRenderbufferStorageMultis ample; 483 functions->fRenderbufferStorageMultisample = noOpGLRenderbufferStorageMultis ample;
481 functions->fBlitFramebuffer = noOpGLBlitFramebuffer; 484 functions->fBlitFramebuffer = noOpGLBlitFramebuffer;
482 functions->fResolveMultisampleFramebuffer = noOpGLResolveMultisampleFramebuf fer; 485 functions->fResolveMultisampleFramebuffer = noOpGLResolveMultisampleFramebuf fer;
483 functions->fMatrixLoadf = noOpGLMatrixLoadf; 486 functions->fMatrixLoadf = noOpGLMatrixLoadf;
484 functions->fMatrixLoadIdentity = noOpGLMatrixLoadIdentity; 487 functions->fMatrixLoadIdentity = noOpGLMatrixLoadIdentity;
485 functions->fBindFragDataLocationIndexed = noOpGLBindFragDataLocationIndexed; 488 functions->fBindFragDataLocationIndexed = noOpGLBindFragDataLocationIndexed;
486 489
487 interface->fExtensions.init(kGL_GrGLStandard, functions->fGetString, functio ns->fGetStringi, 490 interface->fExtensions.init(kGL_GrGLStandard, functions->fGetString, functio ns->fGetStringi,
488 functions->fGetIntegerv); 491 functions->fGetIntegerv);
489 return interface; 492 return interface;
490 } 493 }
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