aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/gpu
diff options
context:
space:
mode:
authorGravatar Kevin Lubick <kjlubick@google.com>2017-11-02 09:34:08 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-11-02 13:36:21 +0000
commitb718fbb7f411819e47c973ed30bc4fe7cf9fac70 (patch)
tree63cfe8074cda830a9c675468158132266c2f6664 /tools/gpu
parentaf79192aa3cebaeaff039cebd4d17c1524755b91 (diff)
Add Pixelbook to tree
Bug: skia:7249 NOTRY=true Change-Id: I7ab6bc28d567ca5ae75df9c1e56b46c307032024 Reviewed-on: https://skia-review.googlesource.com/66143 Reviewed-by: Kevin Lubick <kjlubick@google.com> Commit-Queue: Kevin Lubick <kjlubick@google.com>
Diffstat (limited to 'tools/gpu')
-rw-r--r--tools/gpu/gl/egl/CreatePlatformGLTestContext_egl.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/gpu/gl/egl/CreatePlatformGLTestContext_egl.cpp b/tools/gpu/gl/egl/CreatePlatformGLTestContext_egl.cpp
index c006098d2f..74cadfcb62 100644
--- a/tools/gpu/gl/egl/CreatePlatformGLTestContext_egl.cpp
+++ b/tools/gpu/gl/egl/CreatePlatformGLTestContext_egl.cpp
@@ -246,6 +246,9 @@ GrGLuint EGLGLTestContext::eglImageToExternalTexture(GrEGLImage image) const {
return 0;
}
GrGLuint texID;
+ // TODO(kjlubick): Migrate away from using the #define hackery by using the
+ // function pointers directly, e.g.
+ // this->gl()->fFunctions.fGenTextures(1, &texID);
glGenTextures(1, &texID);
if (!texID) {
return 0;