Home
last modified time | relevance | path

Searched refs:hwbDesc (Results 1 – 5 of 5) sorted by relevance

/third_party/skia/tests/
DGrAHardwareBufferTest.cpp122 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()
[all …]
DMultiPictureDocumentTest.cpp238 AHardwareBuffer_Desc hwbDesc; in makeAHardwareBufferTestImage() local
239 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 …]
DVkHardwareBufferTest.cpp1137 AHardwareBuffer_Desc hwbDesc; in run_test() local
1138 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 …]
/third_party/flutter/skia/tests/
DGrAHardwareBufferTest.cpp121 AHardwareBuffer_Desc hwbDesc; in basic_draw_test_helper() local
122 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 …]
DVkHardwareBufferTest.cpp1117 AHardwareBuffer_Desc hwbDesc; in run_test() local
1118 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 …]