Home
last modified time | relevance | path

Searched refs:mGLVersion (Results 1 – 2 of 2) sorted by relevance

/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/
DGLESSurfaceView.java33 private int mGLVersion;//1, 2, 3 field in GLESSurfaceView
46 mGLVersion = glVersion; in GLESSurfaceView()
62 if (mGLVersion == 2) { in onSurfaceCreated()
66 } else if (mGLVersion == 3) { in onSurfaceCreated()
/cts/tests/tests/nativehardware/jni/
DAHardwareBufferGLTest.cpp1157 return mGLVersion >= 32 || HasGLExtension("GL_EXT_color_buffer_float"); in IsFormatColorRenderable()
1171 int mGLVersion = 0; // major_version * 10 + minor_version member in android::AHardwareBufferGLTest
1256 mGLVersion = (version[dot_pos - 1] - '0') * 10 + (version[dot_pos + 1] - '0'); in SetUp()
1257 ASSERT_GE(mGLVersion, 20); in SetUp()
1265 if (mGLVersion < 32) { in SetUpBuffer()
1267 mGLVersion / 10, mGLVersion % 10); in SetUpBuffer()
1276 if (mGLVersion < 30) { in SetUpBuffer()
1278 mGLVersion / 10, mGLVersion % 10); in SetUpBuffer()
1292 mGLVersion < 30 && !HasGLExtension("GL_OES_rgb8_rgba8")) { in SetUpBuffer()
1297 if (desc.format == GL_SRGB8_ALPHA8 && mGLVersion < 30 && in SetUpBuffer()
[all …]