blob: 1eb05792a732b8505b3dc492ab77e33ab0a11093 [file] [log] [blame]
bsalomon@google.coma8e686e2011-08-16 15:45:58 +00001
2/*
3 * Copyright 2011 Google Inc.
4 *
5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file.
7 */
8
9#include "Test.h"
10#include "GrContext.h"
bsalomon@google.com5739d2c2012-05-31 15:07:19 +000011#include "gl/GrGpuGL.h"
bsalomon@google.coma8e686e2011-08-16 15:45:58 +000012
13static void GLProgramsTest(skiatest::Reporter* reporter, GrContext* context) {
bsalomon@google.com5739d2c2012-05-31 15:07:19 +000014 GrGpuGL* shadersGpu = static_cast<GrGpuGL*>(context->getGpu());
bsalomon@google.coma8e686e2011-08-16 15:45:58 +000015 REPORTER_ASSERT(reporter, shadersGpu->programUnitTest());
16}
17
18
19#include "TestClassDef.h"
20DEFINE_GPUTESTCLASS("GLPrograms", GLProgramsTestClass, GLProgramsTest)
21