Lines Matching full:texture
21 * \brief Texture classes.
87 GLU_EXPECT_NO_ERROR(gl.getError(), "Texture upload failed");
100 GLU_EXPECT_NO_ERROR(gl.getError(), "Texture upload failed");
139 TCU_THROW(NotSupportedError, "Compressed texture format not supported");
170 GLU_EXPECT_NO_ERROR(gl.getError(), "Texture upload failed");
184 GLU_EXPECT_NO_ERROR(gl.getError(), "Texture upload failed");
199 // Decompress to reference texture.
206 // Upload to GL texture in compressed form.
211 GLU_EXPECT_NO_ERROR(gl.getError(), "Texture upload failed");
222 // Uncompressed texture.
233 Texture2D* texture = new Texture2D(context, isRGBA ? GL_RGBA : GL_RGB, GL_UNSIGNED_BYTE, level.getWidth(), level.getHeight());
238 texture->getRefTexture().allocLevel(0);
239 tcu::copy(texture->getRefTexture().getLevel(0), level.getAccess());
246 texture->getRefTexture().allocLevel(levelNdx);
247 tcu::copy(texture->getRefTexture().getLevel(levelNdx), level.getAccess());
251 texture->upload();
255 delete texture;
259 return texture;
263 // Compressed texture.
300 throw tcu::NotSupportedError("Compressed texture format not supported", "", __FILE__, __LINE__);
355 GLU_EXPECT_NO_ERROR(gl.getError(), "Texture upload failed");
372 GLU_EXPECT_NO_ERROR(gl.getError(), "Texture upload failed");
389 // Decompress to reference texture.
396 // Upload to GL texture in compressed form.
402 GLU_EXPECT_NO_ERROR(gl.getError(), "Texture upload failed");
414 // Compressed texture.
476 GLU_EXPECT_NO_ERROR(gl.getError(), "Texture upload failed");
490 GLU_EXPECT_NO_ERROR(gl.getError(), "Texture upload failed");
531 throw tcu::NotSupportedError("Compressed texture format not supported", "", __FILE__, __LINE__);
563 GLU_EXPECT_NO_ERROR(gl.getError(), "Texture upload failed");
578 GLU_EXPECT_NO_ERROR(gl.getError(), "Texture upload failed");
593 // Decompress to reference texture.
601 // Upload to GL texture in compressed form.
606 GLU_EXPECT_NO_ERROR(gl.getError(), "Texture upload failed");
651 throw tcu::NotSupportedError("Compressed texture format not supported", "", __FILE__, __LINE__);
685 GLU_EXPECT_NO_ERROR(gl.getError(), "Texture upload failed");
700 GLU_EXPECT_NO_ERROR(gl.getError(), "Texture upload failed");
718 // Decompress to reference texture.
726 // Upload to GL texture in compressed form.
731 GLU_EXPECT_NO_ERROR(gl.getError(), "Texture upload failed");
776 GLU_EXPECT_NO_ERROR(gl.getError(), "Texture upload failed");
791 GLU_EXPECT_NO_ERROR(gl.getError(), "Texture upload failed");
829 throw tcu::NotSupportedError("Ranged texture buffers not supported", "", __FILE__, __LINE__);
838 throw tcu::NotSupportedError("Texture buffers not supported", "", __FILE__, __LINE__);
872 GLU_EXPECT_NO_ERROR(gl.getError(), "Failed to bind buffer to texture");