Searched refs:hwbDesc (Results 1 – 5 of 5) sorted by relevance
122 AHardwareBuffer_Desc hwbDesc; in basic_draw_test_helper() local123 hwbDesc.width = DEV_W; in basic_draw_test_helper()124 hwbDesc.height = DEV_H; in basic_draw_test_helper()125 hwbDesc.layers = 1; in basic_draw_test_helper()126 hwbDesc.usage = AHARDWAREBUFFER_USAGE_CPU_READ_NEVER | in basic_draw_test_helper()129 hwbDesc.format = AHARDWAREBUFFER_FORMAT_R8G8B8A8_UNORM; in basic_draw_test_helper()131 hwbDesc.stride = 0; in basic_draw_test_helper()132 hwbDesc.rfu0= 0; in basic_draw_test_helper()133 hwbDesc.rfu1= 0; in basic_draw_test_helper()135 if (int error = AHardwareBuffer_allocate(&hwbDesc, &buffer)) { in basic_draw_test_helper()[all …]
238 AHardwareBuffer_Desc hwbDesc; in makeAHardwareBufferTestImage() local239 hwbDesc.width = DEV_W; in makeAHardwareBufferTestImage()240 hwbDesc.height = DEV_H; in makeAHardwareBufferTestImage()241 hwbDesc.layers = 1; in makeAHardwareBufferTestImage()242 hwbDesc.usage = AHARDWAREBUFFER_USAGE_CPU_READ_OFTEN | in makeAHardwareBufferTestImage()245 hwbDesc.format = AHARDWAREBUFFER_FORMAT_R8G8B8A8_UNORM; in makeAHardwareBufferTestImage()247 hwbDesc.stride = 0; in makeAHardwareBufferTestImage()248 hwbDesc.rfu0= 0; in makeAHardwareBufferTestImage()249 hwbDesc.rfu1= 0; in makeAHardwareBufferTestImage()251 if (int error = AHardwareBuffer_allocate(&hwbDesc, &buffer)) { in makeAHardwareBufferTestImage()[all …]
1137 AHardwareBuffer_Desc hwbDesc; in run_test() local1138 hwbDesc.width = DEV_W; in run_test()1139 hwbDesc.height = DEV_H; in run_test()1140 hwbDesc.layers = 1; in run_test()1142 hwbDesc.usage = AHARDWAREBUFFER_USAGE_CPU_READ_NEVER | in run_test()1146 hwbDesc.usage = AHARDWAREBUFFER_USAGE_CPU_READ_NEVER | in run_test()1151 hwbDesc.format = AHARDWAREBUFFER_FORMAT_R8G8B8A8_UNORM; in run_test()1153 hwbDesc.stride = 0; in run_test()1154 hwbDesc.rfu0= 0; in run_test()1155 hwbDesc.rfu1= 0; in run_test()[all …]
121 AHardwareBuffer_Desc hwbDesc; in basic_draw_test_helper() local122 hwbDesc.width = DEV_W; in basic_draw_test_helper()123 hwbDesc.height = DEV_H; in basic_draw_test_helper()124 hwbDesc.layers = 1; in basic_draw_test_helper()125 hwbDesc.usage = AHARDWAREBUFFER_USAGE_CPU_READ_NEVER | in basic_draw_test_helper()128 hwbDesc.format = AHARDWAREBUFFER_FORMAT_R8G8B8A8_UNORM; in basic_draw_test_helper()130 hwbDesc.stride = 0; in basic_draw_test_helper()131 hwbDesc.rfu0= 0; in basic_draw_test_helper()132 hwbDesc.rfu1= 0; in basic_draw_test_helper()134 if (int error = AHardwareBuffer_allocate(&hwbDesc, &buffer)) { in basic_draw_test_helper()[all …]
1117 AHardwareBuffer_Desc hwbDesc; in run_test() local1118 hwbDesc.width = DEV_W; in run_test()1119 hwbDesc.height = DEV_H; in run_test()1120 hwbDesc.layers = 1; in run_test()1122 hwbDesc.usage = AHARDWAREBUFFER_USAGE_CPU_READ_NEVER | in run_test()1126 hwbDesc.usage = AHARDWAREBUFFER_USAGE_CPU_READ_NEVER | in run_test()1131 hwbDesc.format = AHARDWAREBUFFER_FORMAT_R8G8B8A8_UNORM; in run_test()1133 hwbDesc.stride = 0; in run_test()1134 hwbDesc.rfu0= 0; in run_test()1135 hwbDesc.rfu1= 0; in run_test()[all …]