Lines Matching refs:hwbDesc
122 AHardwareBuffer_Desc hwbDesc; in basic_draw_test_helper() local
123 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()
142 AHardwareBuffer_describe(buffer, &hwbDesc); in basic_draw_test_helper()
163 dst += hwbDesc.stride; in basic_draw_test_helper()
232 AHardwareBuffer_Desc hwbDesc; in surface_draw_test_helper() local
233 hwbDesc.width = DEV_W; in surface_draw_test_helper()
234 hwbDesc.height = DEV_H; in surface_draw_test_helper()
235 hwbDesc.layers = 1; in surface_draw_test_helper()
236 hwbDesc.usage = AHARDWAREBUFFER_USAGE_CPU_READ_NEVER | in surface_draw_test_helper()
241 hwbDesc.format = AHARDWAREBUFFER_FORMAT_R8G8B8A8_UNORM; in surface_draw_test_helper()
243 hwbDesc.stride = 0; in surface_draw_test_helper()
244 hwbDesc.rfu0= 0; in surface_draw_test_helper()
245 hwbDesc.rfu1= 0; in surface_draw_test_helper()
247 if (int error = AHardwareBuffer_allocate(&hwbDesc, &buffer)) { in surface_draw_test_helper()