Home
last modified time | relevance | path

Searched refs:layers (Results 1 – 14 of 14) sorted by relevance

/cts/tests/tests/nativehardware/jni/
DAHardwareBufferTest.cpp131 if (desc.layers > 1) { in PrintTo()
132 *os << ", " << desc.layers << " layers"; in PrintTo()
142 return a.width == b.width && a.height == b.height && a.layers == b.layers && in operator ==()
173 desc.layers = 1; in TEST()
194 desc.layers = 1; in TEST()
205 desc.layers = 1; in TEST()
221 desc.layers = 1; in TEST()
237 desc.layers = 1; in TEST()
279 desc.layers = 1; in TEST()
327 desc.layers = 1; in TEST()
[all …]
DAHardwareBufferGLTest.cpp229 if (desc.layers <= 1) { in UploadData()
233 for (uint32_t layer = 0; layer < desc.layers; ++layer) { in UploadData()
1264 if (desc.layers > 6) { in SetUpBuffer()
1275 if (desc.layers > 1) { in SetUpBuffer()
1369 AHBFormatAsString(desc.format), desc.width, desc.height, desc.layers, result); in SetUpBuffer()
1475 glUniform1f(u_layer_location, static_cast<float>(GetParam().layers - 1)); in SetUpProgram()
1496 if ((desc.usage & AHARDWAREBUFFER_USAGE_GPU_CUBE_MAP) ? desc.layers > 6 : desc.layers > 1) { in SetUpTexture()
1497 glTexStorage3D(mTexTarget, levels, desc.format, desc.width, desc.height, desc.layers); in SetUpTexture()
1858 if (desc.layers > 1) return; in TEST_P()
1890 if ((desc.stride & kGlFormat) || desc.layers > 1) { in TEST_P()
[all …]
/cts/tests/tests/hardware/jni/
Dandroid_hardware_cts_HardwareBufferTest.cpp27 jint width, jint height, jint format, jint layers, jlong usage) { in android_hardware_HardwareBuffer_nativeCreateHardwareBuffer() argument
33 desc.layers = layers; in android_hardware_HardwareBuffer_nativeCreateHardwareBuffer()
/cts/tests/vr/jni/
DVrExtensionsJni.cpp121 ASSERT_GT(desc.layers, 1); in testEglImageArray()
146 const GLint num_views = desc.layers; in testEglImageArray()
189 const int layers[] = {2, 4}; in Java_android_vr_cts_VrExtensionBehaviorTest_nativeTestEglImageArray() local
199 for (auto nlayers : layers) { in Java_android_vr_cts_VrExtensionBehaviorTest_nativeTestEglImageArray()
201 desc.layers = nlayers; in Java_android_vr_cts_VrExtensionBehaviorTest_nativeTestEglImageArray()
215 desc.layers = 1; in testExternalBuffer()
449 desc.layers = 1; in testLinearMagnification()
537 desc.layers = 1; in testFramebufferBlending()
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/
Dlayered_filter_f32_helper.rsh61 // Filters target layer when processing layers in pass one from the back-most to
90 // bleeding from layers in front of this layer. Doing visibility test in a
114 // Filters target layer when processing layers in pass one from the back-most to
150 // Filters the target layer when processing layers in pass two from the
Dpixel_format_f32.rsh13 // computed for blending color between layers. "Close enough" means L1 distance
Dlayered_filter_d1new_helper.rsh121 // Filters target layer when processing layers in pass one from the back-most to
150 // bleeding from layers in front of this layer. Doing visibility test in a
/cts/tests/tests/graphics/jni/
Dandroid_graphics_cts_BasicVulkanGpuTest.cpp83 .layers = 1, in verifyBasicBufferImport()
DVulkanTestHelpers.cpp218 ASSERT(bufferDesc.layers == 1); in init()
609 .layers = 1u, in init()
DVulkanPreTransformTestHelpers.cpp477 .layers = 1, in createFrameBuffers()
/cts/tests/tests/hardware/src/android/hardware/cts/
DHardwareBufferTest.java38 int format, int layers, long usage); in nativeCreateHardwareBuffer() argument
/cts/tests/sensor/jni/
DSensorTest.cpp165 .layers = 1, in TestSharedMemory()
/cts/tools/cts-device-info/src/com/android/cts/deviceinfo/
DVulkanDeviceInfo.java804 JSONArray layers = parent.getJSONArray(KEY_LAYERS); in emitLayers() local
806 for (int i = 0; i < layers.length(); i++) { in emitLayers()
807 JSONObject layer = layers.getJSONObject(i); in emitLayers()
/cts/tests/tests/view/jni/
Dandroid_view_cts_ASurfaceControlTest.cpp77 desc.layers = 1; in allocateBuffer()