Lines Matching defs:texture
178 "Verifies if sparse texture clamp lookup functions generates access residency information")
251 * @param target Target for which texture is binded
272 /** Verify if data stored in texture is as expected
275 * @param target Target for which texture is binded
277 * @param texture Texture object
284 GLuint& texture, GLint level,
320 // Create verifying texture
346 // Adjust shader source to texture format
412 gl.bindTexture(target, texture);
524 "Verifies if sparse and non-sparse texture clamp lookup functions works as expected")
624 GLuint texture;
652 mLog << "Testing sparse texture lookup color functions for target: " << target << ", format: " << format
656 sparseAllocateTexture(gl, target, format, texture, 3);
658 allocateTexture(gl, target, format, texture, 3);
661 setupDepthMode(gl, target, texture);
667 if (!isSparse || commitTexturePage(gl, target, format, texture, l))
669 writeDataToTexture(gl, target, format, texture, l);
676 result = result && verifyLookupTextureData(gl, target, format, texture, l, funcToken);
682 Texture::Delete(gl, texture);
698 /** Writing data to generated texture using compute shader
701 * @param target Target for which texture is binded
703 * @param texture Texture object
708 GLuint& texture, GLint level)
737 // Adjust shader source to texture format
768 gl.bindImageTexture(0 /* unit */, texture, level /* level */, GL_TRUE /* layered */, 0 /* layer */,
790 /** Verify if data stored in texture is as expected
793 * @param target Target for which texture is binded
795 * @param texture Texture object
802 GLuint& texture, GLint level,
835 // Create verifying texture
863 // Adjust shader source to texture format
930 gl.bindTexture(target, texture);
976 /** Preparing texture. Function overridden to increase textures size.
979 * @param target Target for which texture is binded
981 * @param texture Texture object
986 GLuint& texture)
988 Texture::Generate(gl, texture);
989 Texture::Bind(gl, texture, target);
1012 /** Commit texture page using texPageCommitment function. Function overridden to commit whole texture region.
1015 * @param target Target for which texture is binded
1017 * @param texture Texture object
1023 GLuint& texture, GLint level)
1045 Texture::Bind(gl, texture, target);
1046 texPageCommitment(gl, target, format, texture, level, 0, 0, 0, width, height, depth, GL_TRUE);
1052 /** Check if current texture size for level is greater or equal page size in a corresponding direction
1054 * @param target Target for which texture is binded
1057 * @return Returns true if the texture size condition is fulfilled, false otherwise.
1077 /** Check if current texture size for level is page size multiplication in a corresponding direction
1079 * @param target Target for which texture is binded
1082 * @return Returns true if the texture size condition is fulfilled, false otherwise.
1106 * @return Returns shader source code part that uses lookup function to fetch texel from texture.