Home | History | Annotate | Download | only in common

Lines Matching refs:texture

185 /** Attach texture to specified attachment
188 * @param texture_id Texture id
189 * @param width Texture width
190 * @param height Texture height
701 Utils::texture::texture(deqp::Context& context)
710 Utils::texture::~texture()
715 /** Bind texture to GL_TEXTURE_2D
718 void Utils::texture::bind() const
734 /** Create 2d texture
736 * @param width Width of texture
737 * @param height Height of texture
738 * @param internal_format Internal format of texture
740 void Utils::texture::create(GLuint width, GLuint height, GLenum internal_format)
760 /** Create 2d texture array
762 * @param width Width of texture
763 * @param height Height of texture
764 * @param depth Depth of texture
765 * @param internal_format Internal format of texture
767 void Utils::texture::create(GLuint width, GLuint height, GLuint depth, GLenum internal_format)
787 /** Get contents of texture
793 void Utils::texture::get(glw::GLenum format, glw::GLenum type, glw::GLvoid* out_data) const
870 /** Delete texture
873 void Utils::texture::release()
884 /** Update contents of texture
886 * @param width Width of texture
887 * @param height Height of texture
888 * @param depth Depth of texture
893 void Utils::texture::update(glw::GLuint width, glw::GLuint height, glw::GLuint depth, glw::GLenum format,
2607 Utils::texture texture_0(m_context);
2608 Utils::texture texture_1(m_context);
2694 /** Check if R32I texture is filled with 4x4 regions of increasing values <0:15>
2696 * @param texture_0 Verified texture
2702 bool DrawTestBase::checkResults(Utils::texture& texture_0, Utils::texture& /* texture_1 */, GLuint /*draw_call_index */)
2772 * @param texture_0 R32I texture
2775 void DrawTestBase::prepareTextures(Utils::texture& texture_0, Utils::texture& /* texture_1 */)
2793 * @param texture_0 Texture attached as color 0
2796 void DrawTestBase::setupFramebuffer(Utils::framebuffer& framebuffer, Utils::texture& texture_0,
2797 Utils::texture& /* texture_1 */)
2808 * @param data Texture data (not region, but whole texture)
2828 * @param data Texture data (not region, but whole texture)
2959 /** Prepare R32I texture filled with value -1
2961 * @param texture Texture instance
2963 void DrawTestBase::prepareTextureR32I(Utils::texture& texture)
2973 texture.create(m_width, m_height, GL_R32I);
2974 texture.update(m_width, m_height, 0 /* depth */, GL_RED_INTEGER, GL_INT, data);
2977 /** Prepare R32I array texture filled with value -1, 4 layers
2979 * @param texture Texture instance
2981 void DrawTestBase::prepareTextureR32Ix4(Utils::texture& texture)
2993 texture.create(m_width, m_height, m_r32ix4_depth, GL_R32I);
2994 texture.update(m_width, m_height, m_r32ix4_depth, GL_RED_INTEGER, GL_INT, &data[0]);
2997 /** Prepare R32I array texture filled with value -1
2999 * @param texture Texture instance
3001 void DrawTestBase::prepareTextureArrayR32I(Utils::texture& texture)
3013 texture.create(m_width, m_height, m_depth, GL_R32I);
3014 texture.update(m_width, m_height, m_depth, GL_RED_INTEGER, GL_INT, &data[0]);
3017 /** Prepare R32F texture filled with value -1
3019 * @param texture Texture instance
3021 void DrawTestBase::prepareTextureR32F(Utils::texture& texture)
3031 texture.create(m_r32f_width, m_r32f_height, GL_R32F);
3032 texture.update(m_r32f_width, m_r32f_height, 0 /* depth */, GL_RED, GL_FLOAT, data);
3035 /** Prepare D32F texture filled with value -1
3037 * @param texture Texture instance
3039 void DrawTestBase::prepareTextureD32F(Utils::texture& texture)
3049 texture.create(m_width, m_height, GL_DEPTH_COMPONENT32F);
3050 texture.update(m_width, m_height, 0 /* depth */, GL_DEPTH_COMPONENT, GL_FLOAT, data);
3458 /** Check if R32I texture is filled with 4x4 regions of increasing values <0:15>
3460 * @param texture_0 Verified texture
3466 bool DynamicViewportIndex::checkResults(Utils::texture& texture_0, Utils::texture& /* texture_1 */,
3715 /** Check if R32I texture is filled with two halves, left is 4, right is either -1 or 5
3717 * @param texture_0 Verified texture
3723 bool ViewportIndexSubroutine::checkResults(Utils::texture& texture_0, Utils::texture& /* texture_1 */,
3940 /** Check if R32I texture is filled with 4x4 regions of increasing values <0:15>
3942 * @param texture_0 Verified texture
3948 bool DrawMultipleLayers::checkResults(Utils::texture& texture_0, Utils::texture& /* texture_1 */,
3995 * @param texture_0 R32I texture
3998 void DrawMultipleLayers::prepareTextures(Utils::texture& texture_0, Utils::texture& /* texture_1 */)
4037 /** Check if R32I texture is filled with 4x4 regions of increasing values <0:15>
4039 * @param texture_0 Verified texture
4045 bool ScissorZeroDimension::checkResults(Utils::texture& texture_0, Utils::texture& /* texture_1 */,
4126 /** Check if R32I texture is filled with 4x4 regions of increasing values <0:15>
4128 * @param texture_0 Verified texture
4134 bool ScissorClear::checkResults(Utils::texture& texture_0, Utils::texture& /* texture_1 */, GLuint /*draw_call_index */)
4204 /** Check if R32F texture is filled with two rows, top with decreasing values, bottom with incresing values
4206 * @param texture_0 Verified texture
4212 bool DepthRange::checkResults(Utils::texture& texture_0, Utils::texture& /* texture_1 */, GLuint /*draw_call_index */)
4346 * @param texture_0 R32F texture
4349 void DepthRange::prepareTextures(Utils::texture& texture_0, Utils::texture& /* texture_1 */)
4367 /** Check if R32F texture is filled with two rows of values less than expected depth
4369 * @param texture_0 Verified texture
4375 bool DepthRangeDepthTest::checkResults(Utils::texture& texture_0, Utils::texture& /* texture_1 */,
4522 * @param texture_0 R32F texture
4523 * @param texture_1 D32F texture
4525 void DepthRangeDepthTest::prepareTextures(Utils::texture& texture_0, Utils::texture& texture_1)
4534 * @param texture_0 Texture attached as color 0
4535 * @param texture_1 Texture attached as depth
4537 void DepthRangeDepthTest::setupFramebuffer(Utils::framebuffer& framebuffer, Utils::texture& texture_0,
4538 Utils::texture& texture_1)
4581 /** Check if R32I texture is filled with 4x4 regions of increasing values <0:15>
4583 * @param texture_0 Verified texture
4589 bool ProvokingVertex::checkResults(Utils::texture& texture_0, Utils::texture& /* texture_1 */,
4776 * @param texture_0 R32I texture
4779 void ProvokingVertex::prepareTextures(Utils::texture& texture_0, Utils::texture& /* texture_1 */)