commit | 0f7e55a818f4661309871f2db2fe2c2196135bda | [log] [tgz] |
---|---|---|
author | Brian Salomon <bsalomon@google.com> | Thu Oct 18 15:05:10 2018 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Fri Oct 19 01:38:56 2018 +0000 |
tree | 79ef47acabd1865161ba452ebdd287e431bfcadb | |
parent | cd316406e1060b1f0bcafa5d8b603803b4743adf [diff] [blame] |
Use OpenGL sampler objects when available. Bug: skia:8471 Change-Id: Ida3d08aa72772b8bbd08707048182bee5d27407c Reviewed-on: https://skia-review.googlesource.com/c/163123 Commit-Queue: Brian Salomon <bsalomon@google.com> Reviewed-by: Brian Osman <brianosman@google.com>
diff --git a/src/gpu/gl/GrGLCreateNullInterface.cpp b/src/gpu/gl/GrGLCreateNullInterface.cpp index a14fc67..ebc11b4 100644 --- a/src/gpu/gl/GrGLCreateNullInterface.cpp +++ b/src/gpu/gl/GrGLCreateNullInterface.cpp
@@ -419,6 +419,10 @@ SK_ABORT("Not implemented"); } + GrGLvoid genSamplers(GrGLsizei n, GrGLuint* samplers) override { + this->genGenericIds(n, samplers); + } + GrGLvoid genTextures(GrGLsizei n, GrGLuint *textures) override { this->genGenericIds(n, textures); }