Mark Callow

Results 429 comments of Mark Callow

> A documentation on how to include 4.x with CMAKE in a project would be very much appreciated :) I've asked for help with this over in issue #326.

> This is how we include KTX-Software into our repo: https://github.com/KhronosGroup/Vulkan-Samples/blob/master/third_party/CMakeLists.txt#L79 This is missing most of the library source files. I suggest you either use the pre-compiled library from our...

PR #335 will add Android build support. The person behind it is on paternity leave right now so I do not know when it will be completed. What VC++ warning...

Even with /W4 I do not get the inconsistent dll linkage warnings when building the tools and tests included in KTX-Software using its CMake build. I am mystified as to...

I have realized what is going on. When you compile the library you need to define `KTX_API=__declspec(dllexport)`. If that is not specified KTX_API is defined as `__declspec(dllimport)` so nothing is...

Did `KTX_API=__declspec(dllexport)` fix your problem?

> I'll do some clean-up and try to get the transcoding working too and will write something up on how to include this into one's project via CMAKE. Sounds great....

@SaschaWillems I am very happy you've got this working. Sorry for the delay to our Android build. The PR is working now but landing it is backed up behind another...

Mipmap generation in toktx uses the same code as `basisu`. Use `--genmipmap` to invoke it. It automatically does `-mip_srgb` if the input images are srgb, as determined from the input...

Whoops! You want the mipmap generation functionality in libktx. If I add it, I'll make it work for any format not just when using the BasisU encoder. Like with toktx,...