Files
how-to-vulkan/ktx/build/docs/html/libktx/libktx_history.html
T
2026-06-14 19:09:18 +01:00

200 lines
9.2 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.16.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>libktx Reference: Revision History</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="cookie.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr id="projectrow">
<td id="projectlogo"><img alt="Logo" src="ktx_logo_200.png"/></td>
<td id="projectalign">
<div id="projectname">libktx Reference<span id="projectnumber">&#160;0.0.0</span>
</div>
<div id="projectbrief">Libraries and tools to create and read KTX image texture files.</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.16.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search/",'.html');
</script>
<script type="text/javascript">
$(function() { codefold.init(); });
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('',true,false,'search.php','Search',true);
$(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
$(function(){initNavTree('libktx_history.html','',''); });
</script>
<div id="container">
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div><div class="header">
<div class="headertitle"><div class="title">Revision History </div></div>
</div><!--header-->
<div class="contents">
<div class="textblock"><p>No longer updated. Kept to preserve ancient history. For more recent history see the repo log at <a href="https://github.com/KhronosGroup/KTX-Software">https://github.com/KhronosGroup/KTX-Software</a>. See also the Release Notes in the repo.</p>
<h1 class="doxsection"><a class="anchor" id="v8"></a>
Version 4.0</h1>
<p>Added: </p><ul>
<li>Support for KTX Version 2. </li>
<li>Support for encoding and transcoding Basis Universal images in KTX Version 2 files. </li>
<li>Function to print info about a KTX file.</li>
</ul>
<h1 class="doxsection"><a class="anchor" id="v7"></a>
Version 3.0.1</h1>
<p>Fixed: </p><ul>
<li>GitHub issue #159: compile failure with recent Vulkan SDKs. </li>
<li>Incorrect mapping of GL DXT3 and DXT5 formats to Vulkan equivalents. </li>
<li>Incorrect BC4 blocksize. </li>
<li>Missing mapping of PVRTC formats from GL to Vulkan. </li>
<li>Incorrect block width and height calculations for sizes that are not a multiple of the block size. </li>
<li>Incorrect KTXorientation key in test images.</li>
</ul>
<h1 class="doxsection"><a class="anchor" id="v6"></a>
Version 3.0</h1>
<p>Added: </p><ul>
<li>new <a class="el" href="structktxTexture.html" title="Base class representing a texture.">ktxTexture</a> object based API for reading KTX files without an OpenGL context. </li>
<li>Vulkan loader. #include &lt;ktxvulkan.h&gt; to use it.</li>
</ul>
<p>Changed: </p><ul>
<li><a class="el" href="ktx_8h.html" title="Declares the public functions and structures of the KTX API.">ktx.h</a> to not depend on KHR/khrplatform.h and GL{,ES*}/gl{corearb,}.h. Applications using OpenGL must now include these files themselves. </li>
<li>ktxLoadTexture[FMN], removing the hack of loading 1D textures as 2D textures when the OpenGL context does not support 1D textures. KTX_UNSUPPORTED_TEXTURE_TYPE is now returned.</li>
</ul>
<h1 class="doxsection"><a class="anchor" id="v5"></a>
Version 2.0.2</h1>
<p>Added: </p><ul>
<li>Support for cubemap arrays.</li>
</ul>
<p>Changed: </p><ul>
<li>New build system</li>
</ul>
<p>Fixed: </p><ul>
<li>GitHub issue #40: failure to byte-swap key-value lengths. </li>
<li>GitHub issue #33: returning incorrect target when loading cubemaps. </li>
<li>GitHub PR #42: loading of texture arrays. </li>
<li>GitHub PR #41: compilation error when KTX_OPENGL_ES2=1 defined. </li>
<li>GitHub issue #39: stack-buffer-overflow in toktx </li>
<li>Don't use GL_EXTENSIONS on recent OpenGL versions.</li>
</ul>
<h1 class="doxsection"><a class="anchor" id="v4"></a>
Version 2.0.1</h1>
<p>Added: </p><ul>
<li>CMake build files. Thanks to Pavel Rotjberg for the initial version.</li>
</ul>
<p>Changed: </p><ul>
<li>ktxWriteKTXF to check the validity of the type &amp; format combinations passed to it.</li>
</ul>
<p>Fixed: </p><ul>
<li>Public Bugzilla <a href="http://www.khronos.org/bugzilla/show_bug.cgi?id=999">999</a>: 16-bit luminance texture cannot be written. </li>
<li>compile warnings from compilers stricter than MS Visual C++. Thanks to Pavel Rotjberg.</li>
</ul>
<h1 class="doxsection"><a class="anchor" id="v3"></a>
Version 2.0</h1>
<p>Added: </p><ul>
<li>support for decoding ETC2 and EAC formats in the absence of a hardware decoder. </li>
<li>support for converting textures with legacy LUMINANCE, LUMINANCE_ALPHA, etc. formats to the equivalent R, RG, etc. format with an appropriate swizzle, when loading in OpenGL Core Profile contexts. </li>
<li>ktxErrorString function to return a string corresponding to an error code. </li>
<li>tests for ktxLoadTexture[FN] that run under OpenGL ES 3.0 and OpenGL 3.3. The latter includes an EGL on WGL wrapper that makes porting apps between OpenGL ES and OpenGL easier on Windows. </li>
<li>more texture formats to ktxLoadTexture[FN] and toktx tests.</li>
</ul>
<p>Changed: </p><ul>
<li>ktxLoadTexture[FMN] to discover the capabilities of the GL context at run time and load textures, or not, according to those capabilities.</li>
</ul>
<p>Fixed: </p><ul>
<li>failure of ktxWriteKTXF to pad image rows to 4 bytes as required by the KTX format. </li>
<li>ktxWriteKTXF exiting with KTX_FILE_WRITE_ERROR when attempting to write more than 1 byte of face-LOD padding.</li>
</ul>
<p>Although there is only a very minor API change, the addition of ktxErrorString, the functional changes are large enough to justify bumping the major revision number.</p>
<h1 class="doxsection"><a class="anchor" id="v2"></a>
Version 1.0.1</h1>
<p>Implemented ktxLoadTextureM. Fixed the following: </p><ul>
<li>Public Bugzilla <a href="http://www.khronos.org/bugzilla/show_bug.cgi?id=571">571</a>: crash when null passed for pIsMipmapped. </li>
<li>Public Bugzilla <a href="http://www.khronos.org/bugzilla/show_bug.cgi?id=572">572</a>: memory leak when unpacking ETC textures. </li>
<li>Public Bugzilla <a href="http://www.khronos.org/bugzilla/show_bug.cgi?id=573">573</a>: potential crash when unpacking ETC textures with unused padding pixels. </li>
<li>Public Bugzilla <a href="http://www.khronos.org/bugzilla/show_bug.cgi?id=576">576</a>: various small fixes.</li>
</ul>
<p>Thanks to Krystian Bigaj for the ktxLoadTextureM implementation and these fixes.</p>
<h1 class="doxsection"><a class="anchor" id="v1"></a>
Version 1.0</h1>
<p>Initial release. </p>
</div></div><!-- contents -->
</div><!-- PageDoc -->
</div><!-- doc-content -->
<div id="page-nav" class="page-nav-panel">
<div id="page-nav-resize-handle"></div>
<div id="page-nav-tree">
<div id="page-nav-contents">
</div><!-- page-nav-contents -->
</div><!-- page-nav-tree -->
</div><!-- page-nav -->
</div><!-- container -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="footer">Generated on <span class="timestamp"></span> for libktx Reference by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.16.1 </li>
</ul>
</div>
</body>
</html>