Lines Matching refs:texture
21 * \brief Texture buffer tests
301 glw::GLuint texture;
303 gl.glGenTextures(1, &texture);
304 gl.glBindTexture(GL_TEXTURE_BUFFER, texture);
305 GLS_COLLECT_GL_ERROR(result, gl.glGetError(), "bind texture");
307 verifyStateInteger(result, gl, GL_TEXTURE_BINDING_BUFFER, texture, m_type);
309 gl.glDeleteTextures(1, &texture);
354 glw::GLuint texture;
356 gl.glGenTextures(1, &texture);
357 gl.glBindTexture(GL_TEXTURE_2D, texture);
359 GLS_COLLECT_GL_ERROR(result, gl.glGetError(), "gen texture");
363 gl.glDeleteTextures(1, &texture);
368 const tcu::ScopedLogSection section(m_testCtx.getLog(), "Buffer", "Texture buffer");
370 glw::GLuint texture;
373 gl.glGenTextures(1, &texture);
374 gl.glBindTexture(GL_TEXTURE_BUFFER, texture);
375 GLS_COLLECT_GL_ERROR(result, gl.glGetError(), "bind texture");
387 gl.glDeleteTextures(1, &texture);
426 glw::GLuint texture;
428 gl.glGenTextures(1, &texture);
429 gl.glBindTexture(GL_TEXTURE_2D, texture);
431 GLS_COLLECT_GL_ERROR(result, gl.glGetError(), "gen texture");
435 gl.glDeleteTextures(1, &texture);
440 const tcu::ScopedLogSection section(m_testCtx.getLog(), "Buffer", "Texture buffer");
442 glw::GLuint texture;
445 gl.glGenTextures(1, &texture);
446 gl.glBindTexture(GL_TEXTURE_BUFFER, texture);
447 GLS_COLLECT_GL_ERROR(result, gl.glGetError(), "bind texture");
469 gl.glDeleteTextures(1, &texture);
508 glw::GLuint texture;
510 gl.glGenTextures(1, &texture);
511 gl.glBindTexture(GL_TEXTURE_2D, texture);
513 GLS_COLLECT_GL_ERROR(result, gl.glGetError(), "gen texture");
517 gl.glDeleteTextures(1, &texture);
522 const tcu::ScopedLogSection section(m_testCtx.getLog(), "Buffer", "Texture buffer");
524 glw::GLuint texture;
527 gl.glGenTextures(1, &texture);
528 gl.glBindTexture(GL_TEXTURE_BUFFER, texture);
529 GLS_COLLECT_GL_ERROR(result, gl.glGetError(), "bind texture");
551 gl.glDeleteTextures(1, &texture);
563 TestCaseGroup* const root = new TestCaseGroup(context, "texture_buffer", "Texture buffer syncronization tests");
653 TestCaseGroup* const renderGroup = new TestCaseGroup(context, "render", "Setup texture buffer with glBufferData and render data in different ways");
694 TestCaseGroup* const modifyGroup = new TestCaseGroup(context, "modify", "Modify texture buffer content in multiple ways");
735 TestCaseGroup* const modifyRenderGroup = new TestCaseGroup(context, "modify_render", "Modify texture buffer content in multiple ways and render in different ways");
758 TestCaseGroup* const renderModifyGroup = new TestCaseGroup(context, "render_modify", "Render texture buffer and modify.");