[mutter] cogl: Remove rectangle-texture tests



commit ce6acf9dca74b9e2b65e802dd95004d9016ccccc
Author: Adam Jackson <ajax redhat com>
Date:   Fri Mar 8 11:49:54 2019 -0500

    cogl: Remove rectangle-texture tests
    
    https://gitlab.gnome.org/GNOME/mutter/merge_requests/546

 cogl/tests/conform/meson.build                    |   2 -
 cogl/tests/conform/test-conform-main.c            |   3 -
 cogl/tests/conform/test-declarations.h            |   1 -
 cogl/tests/conform/test-texture-no-allocate.c     |   9 --
 cogl/tests/conform/test-wrap-rectangle-textures.c | 176 ----------------------
 5 files changed, 191 deletions(-)
---
diff --git a/cogl/tests/conform/meson.build b/cogl/tests/conform/meson.build
index beb9a084d..e499b526f 100644
--- a/cogl/tests/conform/meson.build
+++ b/cogl/tests/conform/meson.build
@@ -32,7 +32,6 @@ cogl_test_conformance_sources = [
   'test-map-buffer-range.c',
   'test-npot-texture.c',
   'test-alpha-textures.c',
-  'test-wrap-rectangle-textures.c',
   'test-texture-get-set-data.c',
   'test-framebuffer-get-bits.c',
   'test-primitive-and-journal.c',
@@ -56,7 +55,6 @@ cogl_test_conformance_sources = [
 #  "test-readpixels.c",
 #  "test-texture-mipmaps.c",
 #  "test-texture-pixmap-x11.c",",
-#  "test-texture-rectangle.c",
 #  "test-vertex-buffer-contiguous.c",
 #  "test-vertex-buffer-interleved.c",
 #  "test-vertex-buffer-mutability.c",
diff --git a/cogl/tests/conform/test-conform-main.c b/cogl/tests/conform/test-conform-main.c
index 087faab2f..5dc3851f9 100644
--- a/cogl/tests/conform/test-conform-main.c
+++ b/cogl/tests/conform/test-conform-main.c
@@ -80,9 +80,6 @@ main (int argc, char **argv)
   ADD_TEST (test_read_texture_formats, 0, TEST_KNOWN_FAILURE);
   ADD_TEST (test_write_texture_formats, 0, 0);
   ADD_TEST (test_alpha_textures, 0, 0);
-  ADD_TEST (test_wrap_rectangle_textures,
-            TEST_REQUIREMENT_TEXTURE_RECTANGLE,
-            TEST_KNOWN_FAILURE);
 
   UNPORTED_TEST (test_vertex_buffer_contiguous);
   UNPORTED_TEST (test_vertex_buffer_interleved);
diff --git a/cogl/tests/conform/test-declarations.h b/cogl/tests/conform/test-declarations.h
index f64d4feb6..531111962 100644
--- a/cogl/tests/conform/test-declarations.h
+++ b/cogl/tests/conform/test-declarations.h
@@ -22,7 +22,6 @@ void test_atlas_migration (void);
 void test_read_texture_formats (void);
 void test_write_texture_formats (void);
 void test_alpha_textures (void);
-void test_wrap_rectangle_textures (void);
 void test_primitive (void);
 void test_just_vertex_shader (void);
 void test_pipeline_uniforms (void);
diff --git a/cogl/tests/conform/test-texture-no-allocate.c b/cogl/tests/conform/test-texture-no-allocate.c
index 0c1c14fa4..1f65552b6 100644
--- a/cogl/tests/conform/test-texture-no-allocate.c
+++ b/cogl/tests/conform/test-texture-no-allocate.c
@@ -60,13 +60,4 @@ test_texture_no_allocate (void)
   texture_2d = cogl_texture_2d_new_with_size (test_ctx,
                                               64, 64);
   cogl_object_unref (texture_2d);
-
-  /* Rectangle texture */
-  if (cogl_has_feature (test_ctx, COGL_FEATURE_ID_TEXTURE_RECTANGLE))
-    {
-      CoglTextureRectangle *texture_rect =
-        cogl_texture_rectangle_new_with_size (test_ctx,
-                                              64, 64);
-      cogl_object_unref (texture_rect);
-    }
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]