chromium/third_party/angle/src/tests/gl_tests/gles1/LightsTest.cpp

//
// Copyright 2018 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//

// LightsTest.cpp: Tests basic usage of glLight*.

#include "test_utils/ANGLETest.h"
#include "test_utils/gl_raii.h"

#include "common/matrix_utils.h"
#include "common/vector_utils.h"
#include "util/random_utils.h"

#include <stdint.h>

#include <vector>

usingnamespaceangle;

class LightsTest : public ANGLETest<>
{};

// Check that the initial lighting parameters state is correct,
// including spec minimum for light count.
TEST_P(LightsTest, InitialState)
{}

// Negative test for invalid parameter names.
TEST_P(LightsTest, NegativeInvalidEnum)
{}

// Negative test for invalid parameter values.
TEST_P(LightsTest, NegativeInvalidValue)
{}

// Test to see if we can set and retrieve the light parameters.
TEST_P(LightsTest, Set)
{}

// Check a case that approximates the one caught in the wild
TEST_P(LightsTest, DiffuseGradient)
{}

void LightsTest::drawTestQuad()
{}

// Check smooth lighting
TEST_P(LightsTest, SmoothLitMesh)
{}

// Check flat lighting
TEST_P(LightsTest, FlatLitMesh)
{}

ANGLE_INSTANTIATE_TEST_ES1();