[webkit-changes] [WebKit/WebKit] 2473fd: [TextureMapper] Use OpenGL API to determine maximu...
Jani Hautakangas
noreply at github.com
Tue Dec 24 03:38:19 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 2473fd5f5e04e88c3cfc90117c7bd332a6633e87
https://github.com/WebKit/WebKit/commit/2473fd5f5e04e88c3cfc90117c7bd332a6633e87
Author: Jani Hautakangas <jani at kodegood.com>
Date: 2024-12-24 (Tue, 24 Dec 2024)
Changed paths:
M Source/WebCore/platform/graphics/texmap/TextureMapper.cpp
M Source/WebCore/platform/graphics/texmap/TextureMapper.h
Log Message:
-----------
[TextureMapper] Use OpenGL API to determine maximum texture size
https://bugs.webkit.org/show_bug.cgi?id=285128
Reviewed by Fujii Hironori.
Replace the hardcoded 2000x2000 maximum texture size with the value provided
by the OpenGL API (GL_MAX_TEXTURE_SIZE).
* Source/WebCore/platform/graphics/texmap/TextureMapper.cpp:
(WebCore::TextureMapperGLData::SharedGLData::SharedGLData):
(WebCore::TextureMapperGLData::maxTextureSize const):
(WebCore::TextureMapper::maxTextureSize const):
* Source/WebCore/platform/graphics/texmap/TextureMapper.h:
(WebCore::TextureMapper::maxTextureSize const): Deleted.
Canonical link: https://commits.webkit.org/288267@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list