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

Side by Side Diff: mojo/gles2/mgl_unittest.cc

Issue 1354353002: Add GetProcAddress to OpenGL control interface (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Use deps instead of source Created 5 years, 3 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 | « mojo/gles2/mgl_impl.cc ('k') | mojo/public/c/gpu/MGL/mgl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "mojo/public/c/gpu/MGL/mgl.h"
6
7 #include <string.h>
8
9 #include "testing/gtest/include/gtest/gtest.h"
10
11 namespace mojo {
12 namespace {
13
14 TEST(MGLTest, GetProcAddress) {
15 EXPECT_EQ(nullptr, MGLGetProcAddress(""));
16 EXPECT_NE(nullptr, MGLGetProcAddress("glActiveTexture"));
17 }
18
19 } // namespace
20 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/gles2/mgl_impl.cc ('k') | mojo/public/c/gpu/MGL/mgl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698