cf8fb1f6f0
git-svn-id: http://skia.googlecode.com/svn/trunk@4912 2bbb7eff-a529-9590-31e7-b0007b416f81
26 lines
589 B
C++
26 lines
589 B
C++
|
|
/*
|
|
* Copyright 2011 Google Inc.
|
|
*
|
|
* Use of this source code is governed by a BSD-style license that can be
|
|
* found in the LICENSE file.
|
|
*/
|
|
|
|
// This is a GPU-backend specific test
|
|
#if SK_SUPPORT_GPU
|
|
|
|
#include "Test.h"
|
|
#include "GrContext.h"
|
|
#include "gl/GrGpuGL.h"
|
|
|
|
static void GLProgramsTest(skiatest::Reporter* reporter, GrContext* context) {
|
|
GrGpuGL* shadersGpu = static_cast<GrGpuGL*>(context->getGpu());
|
|
REPORTER_ASSERT(reporter, shadersGpu->programUnitTest());
|
|
}
|
|
|
|
|
|
#include "TestClassDef.h"
|
|
DEFINE_GPUTESTCLASS("GLPrograms", GLProgramsTestClass, GLProgramsTest)
|
|
|
|
#endif
|