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

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

Issue 212753002: Use fixed function pipeline only when drawing paths (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase Created 6 years, 8 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/GrGLInterface.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 328 matching lines...) Expand 10 before | Expand all | Expand 10 after
339 functions->fReadBuffer = noOpGLReadBuffer; 339 functions->fReadBuffer = noOpGLReadBuffer;
340 functions->fReadPixels = nullGLReadPixels; 340 functions->fReadPixels = nullGLReadPixels;
341 functions->fScissor = noOpGLScissor; 341 functions->fScissor = noOpGLScissor;
342 functions->fShaderSource = noOpGLShaderSource; 342 functions->fShaderSource = noOpGLShaderSource;
343 functions->fStencilFunc = noOpGLStencilFunc; 343 functions->fStencilFunc = noOpGLStencilFunc;
344 functions->fStencilFuncSeparate = noOpGLStencilFuncSeparate; 344 functions->fStencilFuncSeparate = noOpGLStencilFuncSeparate;
345 functions->fStencilMask = noOpGLStencilMask; 345 functions->fStencilMask = noOpGLStencilMask;
346 functions->fStencilMaskSeparate = noOpGLStencilMaskSeparate; 346 functions->fStencilMaskSeparate = noOpGLStencilMaskSeparate;
347 functions->fStencilOp = noOpGLStencilOp; 347 functions->fStencilOp = noOpGLStencilOp;
348 functions->fStencilOpSeparate = noOpGLStencilOpSeparate; 348 functions->fStencilOpSeparate = noOpGLStencilOpSeparate;
349 functions->fTexGenfv = noOpGLTexGenfv;
350 functions->fTexGeni = noOpGLTexGeni;
351 functions->fTexImage2D = noOpGLTexImage2D; 349 functions->fTexImage2D = noOpGLTexImage2D;
352 functions->fTexParameteri = noOpGLTexParameteri; 350 functions->fTexParameteri = noOpGLTexParameteri;
353 functions->fTexParameteriv = noOpGLTexParameteriv; 351 functions->fTexParameteriv = noOpGLTexParameteriv;
354 functions->fTexSubImage2D = noOpGLTexSubImage2D; 352 functions->fTexSubImage2D = noOpGLTexSubImage2D;
355 functions->fTexStorage2D = noOpGLTexStorage2D; 353 functions->fTexStorage2D = noOpGLTexStorage2D;
356 functions->fDiscardFramebuffer = noOpGLDiscardFramebuffer; 354 functions->fDiscardFramebuffer = noOpGLDiscardFramebuffer;
357 functions->fUniform1f = noOpGLUniform1f; 355 functions->fUniform1f = noOpGLUniform1f;
358 functions->fUniform1i = noOpGLUniform1i; 356 functions->fUniform1i = noOpGLUniform1i;
359 functions->fUniform1fv = noOpGLUniform1fv; 357 functions->fUniform1fv = noOpGLUniform1fv;
360 functions->fUniform1iv = noOpGLUniform1iv; 358 functions->fUniform1iv = noOpGLUniform1iv;
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
393 functions->fBlitFramebuffer = noOpGLBlitFramebuffer; 391 functions->fBlitFramebuffer = noOpGLBlitFramebuffer;
394 functions->fResolveMultisampleFramebuffer = noOpGLResolveMultisampleFramebuf fer; 392 functions->fResolveMultisampleFramebuffer = noOpGLResolveMultisampleFramebuf fer;
395 functions->fMapBuffer = nullGLMapBuffer; 393 functions->fMapBuffer = nullGLMapBuffer;
396 functions->fUnmapBuffer = nullGLUnmapBuffer; 394 functions->fUnmapBuffer = nullGLUnmapBuffer;
397 functions->fBindFragDataLocationIndexed = noOpGLBindFragDataLocationIndexed; 395 functions->fBindFragDataLocationIndexed = noOpGLBindFragDataLocationIndexed;
398 396
399 interface->fExtensions.init(kGL_GrGLStandard, functions->fGetString, functio ns->fGetStringi, 397 interface->fExtensions.init(kGL_GrGLStandard, functions->fGetString, functio ns->fGetStringi,
400 functions->fGetIntegerv); 398 functions->fGetIntegerv);
401 return interface; 399 return interface;
402 } 400 }
OLDNEW
« no previous file with comments | « src/gpu/gl/GrGLCaps.cpp ('k') | src/gpu/gl/GrGLInterface.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698