OSDN Git Service

Texture Storage for GLES 3.0
authorAlexis Hetu <sugoi@google.com>
Thu, 9 Apr 2015 14:42:44 +0000 (10:42 -0400)
committerAlexis Hétu <sugoi@google.com>
Wed, 15 Apr 2015 14:35:11 +0000 (14:35 +0000)
commit8f500564d6eec4de2d3bc25ad1c123a909e2338f
tree4707c45ca508eaa3d164e96d86dae692f29ca620
parent8141d7c5285f42605920c66f1282f923ea41949b
Texture Storage for GLES 3.0

Added Texture Storage for both 2D and 3D textures.
A map was added to both verify if the format is
valid and to return a valid type. The type itself
is irrelevant, since there's not data to upload
at this point, but I made sure to return a valid
type nonetheless in order to prevent breaking any
current/future type checks in the code.

Change-Id: I49618c52427c86236afddacc4d57288f465bf971
Reviewed-on: https://swiftshader-review.googlesource.com/2812
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
src/OpenGL/libGLESv2/libGLESv3.cpp