2 // Copyright (c) 2014 The ANGLE Project Authors. All rights reserved.
3 // Use of this source code is governed by a BSD-style license that can be
4 // found in the LICENSE file.
7 #include "SimpleBenchmark.h"
9 struct TexSubImageParams : public BenchmarkParams
11 virtual std::string suffix() const;
18 unsigned int iterations;
21 class TexSubImageBenchmark : public SimpleBenchmark
24 TexSubImageBenchmark(const TexSubImageParams ¶ms);
26 virtual bool initializeBenchmark();
27 virtual void destroyBenchmark();
28 virtual void beginDrawBenchmark();
29 virtual void drawBenchmark();
32 GLuint createTexture();
34 TexSubImageParams mParams;
36 // Handle to a program object
39 // Attribute locations