aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/GLProgramsTest.cpp
blob: 5cacadefe3c5647be899ce3d00d17fc2cc8b8c0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

/*
 * Copyright 2011 Google Inc.
 *
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

#include "Test.h"
#include "GrContext.h"
#include "GrGpuGLShaders.h"

static void GLProgramsTest(skiatest::Reporter* reporter, GrContext* context) {
    GrGpuGLShaders* shadersGpu = (GrGpuGLShaders*) context->getGpu();
    REPORTER_ASSERT(reporter, shadersGpu->programUnitTest());
}


#include "TestClassDef.h"
DEFINE_GPUTESTCLASS("GLPrograms", GLProgramsTestClass, GLProgramsTest)