Skip to content

Conversation

@erikhaandrikman
Copy link
Contributor

This PR introduces initial support for .KTX and .PVR contained compressed textures. The format will be internally indicated.

@erikhaandrikman erikhaandrikman linked an issue Jan 30, 2024 that may be closed by this pull request
it('should measure text width', () => {
const PERIOD_WIDTH = 10.332;
const shaper = new SdfFontShaper(sdfData as unknown as SdfFontData, glyphMap);
const shaper = new SdfFontShaper(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any reason these lines got touched with formatting?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not really sure, using the project configured formatter

import type { ExampleSettings } from '../common/ExampleSettings.js';

export async function automation(settings: ExampleSettings) {
await test(settings);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you forget to commit the certified snapshot for this test?

Copy link
Contributor Author

@erikhaandrikman erikhaandrikman Feb 1, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have removed visual regression testing from the compression test due to the apparent lack of support for compressed textures in Playwright.

@frank-weindel
Copy link
Contributor

Looks great to me! Just had mostly minor suggestions.

@frank-weindel frank-weindel changed the title Feature/tx compression Texture Compression Feb 1, 2024
@erikhaandrikman erikhaandrikman added this pull request to the merge queue Feb 1, 2024
Merged via the queue into main with commit 4d32b86 Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Texture Compression

3 participants