Commit 2d3c6e51 authored by Blaž Tomažič's avatar Blaž Tomažič

util: Move piglit-util to piglit-util-gl-common

Move piglit-util.* to piglit-util-gl-common.*
Signed-off-by: Blaž Tomažič's avatarBlaž Tomažič <blaz.tomazic@gmail.com>
Reviewed-by: default avatarChad Versace <chad.versace@linux.intel.com>
parent 3c830b87
......@@ -23,7 +23,7 @@
#include <ctype.h>
#include "piglit-util.h"
#include "piglit-util-gl-common.h"
#ifndef TRUE
#define FALSE 0
......
......@@ -6,7 +6,7 @@
* This bug existed in the R300 driver and was triggered by Sauerbraten.
*/
#include "piglit-util.h"
#include "piglit-util-gl-common.h"
PIGLIT_GL_TEST_MAIN(
100 /*window_width*/,
......
......@@ -7,7 +7,7 @@
* This bug was originally triggered by Glest.
*/
#include "piglit-util.h"
#include "piglit-util-gl-common.h"
PIGLIT_GL_TEST_MAIN(
100 /*window_width*/,
......
......@@ -34,7 +34,7 @@
*
* \Author Yi Sun <yi.sun@intel.com>, Anuj Phogat <anuj.phogat@gmail.com>
*/
#include "piglit-util.h"
#include "piglit-util-gl-common.h"
PIGLIT_GL_TEST_MAIN(
100 /*window_width*/,
......
......@@ -3,7 +3,7 @@
* http://bugs.freedesktop.org/show_bug.cgi?id=10370
*/
#include "piglit-util.h"
#include "piglit-util-gl-common.h"
PIGLIT_GL_TEST_MAIN(
128 /*window_width*/,
......
......@@ -30,7 +30,7 @@
*
* Tests that the driver doesn't fail when deleting a mapped buffer object.
*/
#include "piglit-util.h"
#include "piglit-util-gl-common.h"
PIGLIT_GL_TEST_MAIN(
128 /*window_width*/,
......
......@@ -34,7 +34,7 @@
* passes.
*/
#include "piglit-util.h"
#include "piglit-util-gl-common.h"
PIGLIT_GL_TEST_MAIN(
128 /*window_width*/,
......
......@@ -23,7 +23,7 @@
// author: Ben Holmes
#include "piglit-util.h"
#include "piglit-util-gl-common.h"
PIGLIT_GL_TEST_MAIN(
400 /*window_width*/,
......
......@@ -3,7 +3,7 @@
* http://bugs.freedesktop.org/show_bug.cgi?id=23489
*/
#include "piglit-util.h"
#include "piglit-util-gl-common.h"
PIGLIT_GL_TEST_MAIN(
250 /*window_width*/,
......
......@@ -24,7 +24,7 @@
* Shuang he <shuang.he@intel.com>
*/
#include "piglit-util.h"
#include "piglit-util-gl-common.h"
PIGLIT_GL_TEST_MAIN(
100 /*window_width*/,
......
......@@ -24,7 +24,7 @@
* Shuang he <shuang.he@intel.com>
*/
#include "piglit-util.h"
#include "piglit-util-gl-common.h"
PIGLIT_GL_TEST_MAIN(
100 /*window_width*/,
......
......@@ -32,7 +32,7 @@
* before a fragment program has been setup.
*/
#include "piglit-util.h"
#include "piglit-util-gl-common.h"
#include "piglit-framework.h"
PIGLIT_GL_TEST_MAIN(
......
......@@ -31,7 +31,7 @@
* \author Ian Romanick
*/
#include "piglit-util.h"
#include "piglit-util-gl-common.h"
/* Pick the number of LODs to examine and the size of the texture so that the
* smallest LOD is the one where each of the 4x4 tiles in the checkerboard
......
......@@ -24,7 +24,7 @@
* Kristian Høgsberg <krh@bitplanet.net>
*/
#include "piglit-util.h"
#include "piglit-util-gl-common.h"
PIGLIT_GL_TEST_MAIN(
100 /*window_width*/,
......
#include "piglit-util.h"
#include "piglit-util-gl-common.h"
PIGLIT_GL_TEST_MAIN(
512 /*window_width*/,
......
......@@ -3,7 +3,7 @@
* https://bugs.freedesktop.org/show_bug.cgi?id=9833
*/
#include "piglit-util.h"
#include "piglit-util-gl-common.h"
PIGLIT_GL_TEST_MAIN(
100 /*window_width*/,
......
......@@ -28,7 +28,7 @@
* \author Ben Holmes
*/
#include "piglit-util.h"
#include "piglit-util-gl-common.h"
#include "piglit-framework.h"
#define BOX_SIZE 64
......
......@@ -15,7 +15,7 @@
* so this test is always automatic.
*/
#include "piglit-util.h"
#include "piglit-util-gl-common.h"
#include "piglit-framework.h"
PIGLIT_GL_TEST_MAIN(
......
......@@ -30,7 +30,7 @@
* 2D textures, which caused incorrect sampling of border colors.
*/
#include "piglit-util.h"
#include "piglit-util-gl-common.h"
#include "piglit-framework.h"
PIGLIT_GL_TEST_MAIN(
......
......@@ -28,7 +28,7 @@
* LLVMpipe crash which only seems to happen when SSE4.1 is not used.
*/
#include "piglit-util.h"
#include "piglit-util-gl-common.h"
PIGLIT_GL_TEST_MAIN(
400 /*window_width*/,
......
......@@ -30,7 +30,7 @@
*/
#include "piglit-util.h"
#include "piglit-util-gl-common.h"
#include "piglit-framework.h"
PIGLIT_GL_TEST_MAIN(
......
......@@ -34,7 +34,7 @@
* error is generated.
*/
#include "piglit-util.h"
#include "piglit-util-gl-common.h"
#include "egl-util.h"
static const EGLint pixmap_attribs[] = {
......
......@@ -28,7 +28,7 @@
* Test EGL_NOK_swap_region.
*/
#include "piglit-util.h"
#include "piglit-util-gl-common.h"
#include "egl-util.h"
#ifdef EGL_NOK_swap_region
......
......@@ -28,7 +28,7 @@
* Test EGL_NOK_texture_from_pixmap
*/
#include "piglit-util.h"
#include "piglit-util-gl-common.h"
#include "egl-util.h"
#ifdef EGL_NOK_texture_from_pixmap
......
......@@ -30,7 +30,7 @@
* \author Kristian Høgsberg <krh@bitplanet.net>
*/
#include "piglit-util.h"
#include "piglit-util-gl-common.h"
#include "egl-util.h"
static int automatic;
......
......@@ -31,7 +31,7 @@
* succeeds.
*/
#include "piglit-util.h"
#include "piglit-util-gl-common.h"
#define BUF_WIDTH 32
......
......@@ -31,7 +31,7 @@
* of those individual depths to the window system framebuffer succeeds.
*/
#include "piglit-util.h"
#include "piglit-util-gl-common.h"
#define BUF_WIDTH 32
#define BUF_HEIGHT 32
......
......@@ -31,7 +31,7 @@
* GL_ARB_framebuffer_object.
*/
#include "piglit-util.h"
#include "piglit-util-gl-common.h"
PIGLIT_GL_TEST_MAIN(
128 /*window_width*/,
......
......@@ -27,7 +27,7 @@
*
*/
#include "piglit-util.h"
#include "piglit-util-gl-common.h"
#include "fbo-formats.h"
PIGLIT_GL_TEST_MAIN(
......
......@@ -28,7 +28,7 @@
* testing correctly.
*/
#include "piglit-util.h"
#include "piglit-util-gl-common.h"
#define BUF_WIDTH 32
......
......@@ -27,7 +27,7 @@
* and alpha testing enabled does the alpha testing correctly.
*/
#include "piglit-util.h"
#include "piglit-util-gl-common.h"
#define BUF_WIDTH 32
......
......@@ -33,7 +33,7 @@
* based on fbo-3d.c and array-texture.c
*/
#include "piglit-util.h"
#include "piglit-util-gl-common.h"
#define BUF_WIDTH 32
#define BUF_HEIGHT 32
......
......@@ -31,7 +31,7 @@
* GL_RENDERBUFFER_EXT, rb);
*/
#include "piglit-util.h"
#include "piglit-util-gl-common.h"
PIGLIT_GL_TEST_MAIN(
100 /*window_width*/,
......
......@@ -27,7 +27,7 @@
*
*/
#include "piglit-util.h"
#include "piglit-util-gl-common.h"
#include "fbo-formats.h"
PIGLIT_GL_TEST_MAIN(
......
......@@ -36,7 +36,7 @@
* See also fbo-blit.c
*/
#include "piglit-util.h"
#include "piglit-util-gl-common.h"
PIGLIT_GL_TEST_MAIN(
150 /*window_width*/,
......
......@@ -34,7 +34,7 @@
* See also fbo-readdrawpix.c and fbo-copypix.c
*/
#include "piglit-util.h"
#include "piglit-util-gl-common.h"
PIGLIT_GL_TEST_MAIN(
150 /*window_width*/,
......
......@@ -31,7 +31,7 @@
* texture-based FBOs of various internalformats.
*/
#include "piglit-util.h"
#include "piglit-util-gl-common.h"
#include "fbo-formats.h"
#define TEX_WIDTH 256
......
......@@ -32,7 +32,7 @@
* Catches a 965 driver bug that idr ran into trying to write an app.
*/
#include "piglit-util.h"
#include "piglit-util-gl-common.h"
PIGLIT_GL_TEST_MAIN(
700 /*window_width*/,
......
......@@ -31,7 +31,7 @@
* See also fbo-blit.c and fbo-readdrawpix.c
*/
#include "piglit-util.h"
#include "piglit-util-gl-common.h"
PIGLIT_GL_TEST_MAIN(
150 /*window_width*/,
......
......@@ -33,7 +33,7 @@
* into another texture.
*/
#include "piglit-util.h"
#include "piglit-util-gl-common.h"
#define TEX_WIDTH 256
#define TEX_HEIGHT 256
......
......@@ -31,7 +31,7 @@
* This tries to catch a bug with the Intel driver and texture tiling.
*/
#include "piglit-util.h"
#include "piglit-util-gl-common.h"
#define TEX_WIDTH 254
#define TEX_HEIGHT 254
......
......@@ -31,7 +31,7 @@
* of those faces to the window system framebuffer succeeds.
*/
#include "piglit-util.h"
#include "piglit-util-gl-common.h"
#define BUF_WIDTH 32
#define BUF_HEIGHT 32
......
......@@ -36,7 +36,7 @@
* based on fbo-array.c