Home
last modified time | relevance | path

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

/cts/tests/tests/opengl/src/android/opengl/cts/
DWrapperTest.java55 int formatCount = countBuf[0]; in testGetIntegerv1() local
56 Log.d(TAG, "got count=" + formatCount); in testGetIntegerv1()
59 GLES10.glGetIntegerv(GLES10.GL_COMPRESSED_TEXTURE_FORMATS, new int[formatCount], 0); in testGetIntegerv1()
63 ByteBuffer fullByteBuf = ByteBuffer.allocateDirect(4 * formatCount); in testGetIntegerv1()
70 ByteBuffer oversizeByteBuf = ByteBuffer.allocateDirect(4 * (formatCount+OFFSET)); in testGetIntegerv1()
78 ByteBuffer partialByteBuf = ByteBuffer.allocateDirect(4 * (formatCount - 1)); in testGetIntegerv1()
89 GLES10.glGetIntegerv(GLES10.GL_COMPRESSED_TEXTURE_FORMATS, new int[formatCount-1], 0); in testGetIntegerv1()
111 int formatCount = countBuf[0]; in testGetIntegerv2() local
112 Log.d(TAG, "got count=" + formatCount); in testGetIntegerv2()
115 GLES20.glGetIntegerv(GLES20.GL_COMPRESSED_TEXTURE_FORMATS, new int[formatCount], 0); in testGetIntegerv2()
[all …]
/cts/tests/tests/graphics/jni/
DVulkanPreTransformTestHelpers.cpp276 uint32_t formatCount = 0; in init() local
278 &formatCount, nullptr)); in init()
280 std::vector<VkSurfaceFormatKHR> formats(formatCount); in init()
282 &formatCount, formats.data())); in init()
285 for (formatIndex = 0; formatIndex < formatCount; ++formatIndex) { in init()
290 ASSERT(formatIndex < formatCount); in init()