Lines Matching refs:texture

127 	: TestCaseGroup(context, "texture", "Negative Texture API Cases")
141 m_log << TestLog::Section("", "GL_INVALID_ENUM is generated if texture is not one of GL_TEXTUREi, where i ranges from 0 to (GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS - 1).");
154 GLuint texture[2];
155 glGenTextures(2, texture);
164 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if texture was previously created with a target that doesn't match that of target.");
165 glBindTexture(GL_TEXTURE_2D, texture[0]);
167 glBindTexture(GL_TEXTURE_CUBE_MAP, texture[0]);
169 glBindTexture(GL_TEXTURE_3D, texture[0]);
171 glBindTexture(GL_TEXTURE_2D_ARRAY, texture[0]);
174 glBindTexture(GL_TEXTURE_CUBE_MAP, texture[1]);
176 glBindTexture(GL_TEXTURE_2D, texture[1]);
178 glBindTexture(GL_TEXTURE_3D, texture[1]);
180 glBindTexture(GL_TEXTURE_2D_ARRAY, texture[1]);
184 glDeleteTextures(2, texture);
242 m_log << TestLog::Section("", "GL_INVALID_VALUE is generated if level is greater than log_2(GL_MAX_TEXTURE_SIZE) for a 2d texture target.");
850 GLuint texture;
851 glGenTextures (1, &texture);
852 glBindTexture (GL_TEXTURE_2D, texture);
860 glDeleteTextures(1, &texture);
892 m_log << TestLog::Section("", "GL_INVALID_VALUE is generated if level is greater than log_2(GL_MAX_TEXTURE_SIZE) for 2D texture targets.");
911 GLuint texture;
912 glGenTextures (1, &texture);
913 glBindTexture (GL_TEXTURE_2D, texture);
925 glDeleteTextures(1, &texture);
929 GLuint texture;
930 glGenTextures (1, &texture);
931 glBindTexture (GL_TEXTURE_2D, texture);
943 glDeleteTextures(1, &texture);
947 GLuint texture;
948 glGenTextures (1, &texture);
949 glBindTexture (GL_TEXTURE_2D, texture);
961 glDeleteTextures(1, &texture);
967 GLuint texture[2];
970 glGenTextures (2, texture);
971 glBindTexture (GL_TEXTURE_2D, texture[0]);
973 glBindTexture (GL_TEXTURE_CUBE_MAP, texture[1]);
1004 glDeleteTextures(2, texture);
1013 GLuint texture;
1014 glGenTextures(1, &texture);
1020 glBindTexture(GL_TEXTURE_2D, texture);
1025 glDeleteTextures(1, &texture);
1032 GLuint texture[2];
1033 glGenTextures(2, texture);
1040 m_log << TestLog::Section("", "INVALID_OPERATION is generated if the texture bound to target is not cube complete.");
1041 glBindTexture(GL_TEXTURE_CUBE_MAP, texture[0]);
1047 glBindTexture(GL_TEXTURE_CUBE_MAP, texture[0]);
1061 glBindTexture(GL_TEXTURE_2D, texture[1]);
1067 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if the level base array was not specified with an unsized internal format or a sized internal format that is both color-renderable and texture-filterable.");
1085 glDeleteTextures(2, texture);
1393 deUint32 texture;
1399 glGenTextures (1, &texture);
1400 glBindTexture (GL_TEXTURE_2D, texture);
1424 glDeleteTextures (1, &texture);
1431 deUint32 texture;
1432 glGenTextures (1, &texture);
1433 glBindTexture (GL_TEXTURE_2D, texture);
1452 m_log << tcu::TestLog::Section("", "GL_INVALID_OPERATION is generated if the combination of internalFormat of the previously specified texture array, format and type is not valid.");
1470 glDeleteTextures (1, &texture);
1526 deUint32 texture;
1527 glGenTextures(1, &texture);
1528 glBindTexture(GL_TEXTURE_2D, texture);
1541 glDeleteTextures(1, &texture);
1545 deUint32 texture;
1546 glGenTextures (1, &texture);
1547 glBindTexture (GL_TEXTURE_2D, texture);
1560 glDeleteTextures (1, &texture);
1564 deUint32 texture;
1565 glGenTextures (1, &texture);
1566 glBindTexture (GL_TEXTURE_2D, texture);
1579 glDeleteTextures (1, &texture);
1584 deUint32 texture;
1587 glGenTextures (1, &texture);
1588 glBindTexture (GL_TEXTURE_2D, texture);
1620 glDeleteTextures (1, &texture);
1647 GLuint texture;
1648 glGenTextures(1, &texture);
1649 glBindTexture(GL_TEXTURE_2D, texture);
1671 glDeleteTextures(1, &texture);
1698 GLuint texture;
1699 glGenTextures(1, &texture);
1700 glBindTexture(GL_TEXTURE_2D, texture);
1722 glDeleteTextures(1, &texture);
1754 GLuint texture;
1755 glGenTextures(1, &texture);
1756 glBindTexture(GL_TEXTURE_2D, texture);
1783 glDeleteTextures(1, &texture);
1815 GLuint texture;
1816 glGenTextures(1, &texture);
1817 glBindTexture(GL_TEXTURE_2D, texture);
1844 glDeleteTextures(1, &texture);
1856 deUint32 texture;
1857 glGenTextures (1, &texture);
1858 glBindTexture (GL_TEXTURE_2D, texture);
1862 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if format does not match the internal format of the texture image being modified.");
1867 m_log << TestLog::Section("", "For ETC2/EAC images GL_INVALID_OPERATION is generated if width is not a multiple of four, and width + xoffset is not equal to the width of the texture level.");
1872 m_log << TestLog::Section("", "For ETC2/EAC images GL_INVALID_OPERATION is generated if height is not a multiple of four, and height + yoffset is not equal to the height of the texture level.");
1886 glDeleteTextures (1, &texture);
1942 GLuint texture;
1943 glGenTextures(1, &texture);
1944 glBindTexture(GL_TEXTURE_2D, texture);
1961 glDeleteTextures(1, &texture);
1965 deUint32 texture;
1966 glGenTextures (1, &texture);
1967 glBindTexture (GL_TEXTURE_2D, texture);
1981 glDeleteTextures (1, &texture);
1985 deUint32 texture;
1986 glGenTextures (1, &texture);
1987 glBindTexture (GL_TEXTURE_2D, texture);
2000 glDeleteTextures(1, &texture);
2004 deUint32 texture;
2005 glGenTextures (1, &texture);
2006 glBindTexture (GL_TEXTURE_2D, texture);
2018 glDeleteTextures (1, &texture);
2023 deUint32 texture;
2026 glGenTextures (1, &texture);
2027 glBindTexture (GL_TEXTURE_2D, texture);
2049 glDeleteTextures (1, &texture);
2191 deUint32 texture;
2197 glGenTextures (1, &texture);
2198 glBindTexture (GL_TEXTURE_3D, texture);
2224 glDeleteTextures (1, &texture);
2231 deUint32 texture;
2232 glGenTextures (1, &texture);
2233 glBindTexture (GL_TEXTURE_3D, texture);
2254 m_log << tcu::TestLog::Section("", "GL_INVALID_OPERATION is generated if the combination of internalFormat of the previously specified texture array, format and type is not valid.");
2270 glDeleteTextures (1, &texture);
2349 deUint32 texture;
2350 glGenTextures (1, &texture);
2351 glBindTexture (GL_TEXTURE_3D, texture);
2370 glDeleteTextures (1, &texture);
2388 deUint32 texture;
2391 glGenTextures (1, &texture);
2392 glBindTexture (GL_TEXTURE_3D, texture);
2426 glDeleteTextures (1, &texture);
2433 GLuint texture;
2434 glGenTextures (1, &texture);
2435 glBindTexture (GL_TEXTURE_3D, texture);
2443 glDeleteTextures(1, &texture);
2491 GLuint texture;
2492 glGenTextures (1, &texture);
2493 glBindTexture (GL_TEXTURE_3D, texture);
2507 glDeleteTextures(1, &texture);
2511 GLuint texture;
2512 glGenTextures (1, &texture);
2513 glBindTexture (GL_TEXTURE_3D, texture);
2531 glDeleteTextures(1, &texture);
2535 GLuint texture;
2536 glGenTextures (1, &texture);
2537 glBindTexture (GL_TEXTURE_3D, texture);
2550 glDeleteTextures(1, &texture);
2555 GLuint texture[2];
2557 glGenTextures (2, texture);
2558 glBindTexture (GL_TEXTURE_3D, texture[0]);
2560 glBindTexture (GL_TEXTURE_2D_ARRAY, texture[1]);
2575 glDeleteTextures(2, texture);
2734 deUint32 texture;
2735 glGenTextures (1, &texture);
2736 glBindTexture (GL_TEXTURE_2D_ARRAY, texture);
2740 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if format does not match the internal format of the texture image being modified.");
2750 m_log << TestLog::Section("", "For ETC2/EAC images GL_INVALID_OPERATION is generated if width is not a multiple of four, and width + xoffset is not equal to the width of the texture level.");
2755 m_log << TestLog::Section("", "For ETC2/EAC images GL_INVALID_OPERATION is generated if height is not a multiple of four, and height + yoffset is not equal to the height of the texture level.");
2769 glDeleteTextures (1, &texture);
2773 deUint32 texture;
2774 glGenTextures (1, &texture);
2775 glBindTexture (GL_TEXTURE_2D_ARRAY, texture);
2784 glDeleteTextures (1, &texture);
2788 deUint32 texture;
2789 glGenTextures (1, &texture);
2790 glBindTexture (GL_TEXTURE_2D_ARRAY, texture);
2800 glDeleteTextures (1, &texture);
2804 deUint32 texture;
2805 glGenTextures (1, &texture);
2806 glBindTexture (GL_TEXTURE_2D_ARRAY, texture);
2821 glDeleteTextures (1, &texture);
2825 deUint32 texture;
2826 glGenTextures (1, &texture);
2827 glBindTexture (GL_TEXTURE_2D_ARRAY, texture);
2843 glDeleteTextures (1, &texture);
2847 deUint32 texture;
2848 glGenTextures (1, &texture);
2849 glBindTexture (GL_TEXTURE_2D_ARRAY, texture);
2864 glDeleteTextures (1, &texture);
2868 deUint32 texture;
2869 glGenTextures (1, &texture);
2870 glBindTexture (GL_TEXTURE_2D_ARRAY, texture);
2882 glDeleteTextures (1, &texture);
2887 deUint32 texture;
2891 glGenTextures (1, &texture);
2892 glBindTexture (GL_TEXTURE_2D_ARRAY, texture);
2914 glDeleteTextures (1, &texture);
2921 deUint32 texture;
2922 glGenTextures (1, &texture);
2923 glBindTexture (GL_TEXTURE_2D, texture);
2950 glDeleteTextures(1, &texture);
2957 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if the default texture object is curently bound to target.");
2962 deUint32 texture;
2963 glGenTextures (1, &texture);
2964 glBindTexture (GL_TEXTURE_2D, texture);
2966 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if the texture object currently bound to target already has GL_TEXTURE_IMMUTABLE_FORMAT set to GL_TRUE.");
2978 glDeleteTextures(1, &texture);
2982 deUint32 texture;
2983 glGenTextures (1, &texture);
2984 glBindTexture (GL_TEXTURE_2D, texture);
3003 glDeleteTextures(1, &texture);
3030 deUint32 texture = 0;
3032 glGenTextures (1, &texture);
3033 glBindTexture (GL_TEXTURE_2D, texture);
3038 glDeleteTextures(1, &texture);
3040 glGenTextures (1, &texture);
3041 glBindTexture (GL_TEXTURE_CUBE_MAP, texture);
3046 glDeleteTextures(1, &texture);
3055 deUint32 texture;
3056 glGenTextures (1, &texture);
3057 glBindTexture (GL_TEXTURE_3D, texture);
3086 glDeleteTextures(1, &texture);
3092 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if the default texture object is curently bound to target.");
3097 deUint32 texture;
3098 glGenTextures (1, &texture);
3099 glBindTexture (GL_TEXTURE_3D, texture);
3101 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if the texture object currently bound to target already has GL_TEXTURE_IMMUTABLE_FORMAT set to GL_TRUE.");
3113 glDeleteTextures(1, &texture);
3117 deUint32 texture;
3118 glGenTextures (1, &texture);
3119 glBindTexture (GL_TEXTURE_3D, texture);
3140 glDeleteTextures(1, &texture);
3173 deUint32 texture = 0;
3175 glGenTextures (1, &texture);
3176 glBindTexture (GL_TEXTURE_3D, texture);
3185 glDeleteTextures(1, &texture);