OSDN Git Service

Refactor texture method overrides.
authorNicolas Capens <capn@google.com>
Tue, 27 Jun 2017 21:03:24 +0000 (17:03 -0400)
committerNicolas Capens <capn@google.com>
Wed, 28 Jun 2017 14:58:13 +0000 (14:58 +0000)
commit74a4504e009bf01261835c7dfcdf024664de81d7
treed9075e194e5c3dd48ed4cb1749923dd9ed3ee8f8
parentc9d61ae2aff5b68aee8cf3f798e2b990fcf72411
Refactor texture method overrides.

This also removes binding an EGL surface to a 3D texture image, which
is not supported by the API and which is unreachable.

Change-Id: I4a6cd17d731c28769e976b21ac46fe855d1c7b1c
Reviewed-on: https://swiftshader-review.googlesource.com/8351
Tested-by: Nicolas Capens <capn@google.com>
Reviewed-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
src/OpenGL/libGLES_CM/Texture.h
src/OpenGL/libGLESv2/Texture.cpp
src/OpenGL/libGLESv2/Texture.h