Home | History | Annotate | Download | only in glshared

Lines Matching full:texture

176 			"\t${FRAG_COLOR} = texture(u_sampler, v_texCoord);\n"
186 "\t${FRAG_COLOR} = texture(u_sampler, v_texCoord);\n"
196 "\t${FRAG_COLOR} = texture(u_sampler, vec3(cos(3.14 * v_texCoord.y) * sin(3.14 * v_texCoord.x), sin(3.14 * v_texCoord.y), cos(3.14 * v_texCoord.y) * cos(3.14 * v_texCoord.x)));\n"
381 GLuint texture = (GLuint)-1;
387 gl.genTextures(1, &texture);
388 GLU_EXPECT_NO_ERROR(gl.getError(), "glGenTextures(1, &texture)");
390 gl.bindTexture(GL_TEXTURE_2D, texture);
391 GLU_EXPECT_NO_ERROR(gl.getError(), "glBindTexture(GL_TEXTURE_2D, texture)");
400 GLU_EXPECT_NO_ERROR(gl.getError(), "glBindTexture(GL_TEXTURE_2D, texture)");
402 return texture;
407 GLuint texture = (GLuint)-1;
413 gl.genTextures(1, &texture);
414 GLU_EXPECT_NO_ERROR(gl.getError(), "glGenTextures(1, &texture)");
416 gl.bindTexture(GL_TEXTURE_3D, texture);
417 GLU_EXPECT_NO_ERROR(gl.getError(), "glBindTexture(GL_TEXTURE_3D, texture)");
428 return texture;
433 GLuint texture = (GLuint)-1;
450 gl.bindTexture(GL_TEXTURE_CUBE_MAP, texture);
451 GLU_EXPECT_NO_ERROR(gl.getError(), "glBindTexture(GL_TEXTURE_CUBE_MAP, texture)");
463 GLU_EXPECT_NO_ERROR(gl.getError(), "glBindTexture(GL_TEXTURE_CUBE_MAP, texture)");
465 return texture;
490 GLuint texture = createTexture(gl, m_target);
495 gl.bindTexture(m_target, texture);
496 GLU_EXPECT_NO_ERROR(gl.getError(), "glBindTexture(m_target, texture)");
506 gl.deleteTextures(1, &texture);
507 GLU_EXPECT_NO_ERROR(gl.getError(), "glDeleteTextures(1, &texture)");
513 GLuint texture = createTexture(gl, m_target);
529 // Set texture state
530 gl.bindTexture(m_target, texture);
531 GLU_EXPECT_NO_ERROR(gl.getError(), "glBindTexture(m_target, texture)");
548 gl.deleteTextures(1, &texture);
549 GLU_EXPECT_NO_ERROR(gl.getError(), "glDeleteTextures(1, &texture)");
570 if (!pixelThresholdCompare (log, "Texture render result", "Result from rendering with texture state", textureRef, textureResult, tcu::RGBA(0, 0, 0, 0), tcu::COMPARE_LOG_RESULT))
690 "\t${FRAG_COLOR} = vec4(0.75, 0.75, 0.75, 1.0) * (texture(u_sampler1, v_texCoord) + texture(u_sampler2, v_texCoord));\n"
703 "\t${FRAG_COLOR} = vec4(0.75, 0.75, 0.75, 1.0) * (texture(u_sampler1, v_texCoord) + texture(u_sampler2, v_texCoord));\n"
714 "\t${FRAG_COLOR} = vec4(0.5, 0.5, 0.5, 1.0) * (texture(u_sampler1, vec3(cos(3.14 * v_texCoord.y) * sin(3.14 * v_texCoord.x), sin(3.14 * v_texCoord.y), cos(3.14 * v_texCoord.y) * cos(3.14 * v_texCoord.x)))"
715 "+ texture(u_sampler2, vec3(cos(3.14 * v_texCoord.y) * sin(3.14 * v_texCoord.x), sin(3.14 * v_texCoord.y), cos(3.14 * v_texCoord.y) * cos(3.14 * v_texCoord.x))));\n"
878 GLuint texture = (GLuint)-1;
883 gl.genTextures(1, &texture);
884 GLU_EXPECT_NO_ERROR(gl.getError(), "glGenTextures(1, &texture)");
900 gl.bindTexture(GL_TEXTURE_2D, texture);
901 GLU_EXPECT_NO_ERROR(gl.getError(), "glBindTexture(GL_TEXTURE_2D, texture)");
912 return texture;
917 GLuint texture = (GLuint)-1;
922 gl.genTextures(1, &texture);
923 texture)");
939 gl.bindTexture(GL_TEXTURE_3D, texture);
940 GLU_EXPECT_NO_ERROR(gl.getError(), "glBindTexture(GL_TEXTURE_3D, texture)");
951 return texture;
956 GLuint texture = (GLuint)-1;
959 gl.genTextures(1, &texture);
960 GLU_EXPECT_NO_ERROR(gl.getError(), "glGenTextures(1, &texture)");
993 gl.bindTexture(GL_TEXTURE_CUBE_MAP, texture);
994 GLU_EXPECT_NO_ERROR(gl.getError(), "glBindTexture(GL_TEXTURE_CUBE_MAP, texture)");
1008 return texture;
1039 // Generate texture rendering reference
1094 // Set texture state
1161 if (!pixelThresholdCompare (log, "Texture render result", "Result from rendering with texture state", textureRef, textureResult, tcu::RGBA(0, 0, 0, 0), tcu::COMPARE_LOG_RESULT))