gpu/khronos_glcts_support: override Surface getWidth/Height
The GL-CTS default Surface getWidth/Height implementation calls
eglQuerySurface() to retrieve the surface's size and uses this
information to create it's tcuRenderTarget object. However, we
don't implement the eglQuerySurface() and thus the tcuRenderTarget
gets the wrong surface size. This resulted in several test
failures.
Add our own derived Surface class and override the getWidth/Height
methods to return the correct size.
BUG=chromium:412865
R=kbr@chromium.org, piman@chromium.org
TEST=Build and run the khronos_glcts_test binary
Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
Review URL: https://codereview.chromium.org/
634323002
Cr-Commit-Position: refs/heads/master@{#298766}