Chromium Code Reviews
DescriptionEnable TexStorage on Desktop GL lower than 4.2
On MacOSX core profile, the highest GL supported is 4.1. However, TexStorage functions are only included in 4.2 or higher.
However, it seems that most (if not all) mac drivers expose ARB_texture_storage extension, so we simply expose the GL binding when the extension exists.
This CL also consolidate similar code in handling TexStorage2D and 3D.
BUG=601513
TEST=gpu_unittests
R=piman@chromium.org,kbr@chromium.org
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_optional_gpu_tests_rel;tryserver.chromium.mac:mac_optional_gpu_tests_rel;tryserver.chromium.win:win_optional_gpu_tests_rel
Committed: https://crrev.com/8edf606b24fe8f69becdbf0afe8ae69c16375482
Cr-Commit-Position: refs/heads/master@{#386586}
Patch Set 1 #Patch Set 2 : #Patch Set 3 : #Patch Set 4 : #
Total comments: 4
Patch Set 5 : #
Messages
Total messages: 31 (13 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||