Home
last modified time | relevance | path

Searched refs:g_displayTest (Results 1 – 3 of 3) sorted by relevance

/drivers/peripheral/display/test/unittest/lite/
Ddisplay_test.c22 DisplayTest g_displayTest; variable
48 if (g_displayTest.grallocFuncs->AllocMem != NULL) { in LoadBmp()
49 ret = g_displayTest.grallocFuncs->AllocMem(&info, buffer); in LoadBmp()
64 layInfo->width = (uint32_t)g_displayTest.displayInfo.width; in GetLayerInfo()
65 layInfo->height = (uint32_t)g_displayTest.displayInfo.height; in GetLayerInfo()
103 surface->width = (uint32_t)g_displayTest.displayInfo.width; in DestSurfaceInit()
104 surface->height = (uint32_t)g_displayTest.displayInfo.height; in DestSurfaceInit()
107 surface->stride = g_displayTest.displayInfo.width * bpp / BITS_PER_BYTE; in DestSurfaceInit()
119 ret = LayerInitialize(&g_displayTest.layerFuncs); in DisplayInit()
120 if (ret != DISPLAY_SUCCESS || g_displayTest.layerFuncs == NULL) { in DisplayInit()
[all …]
/drivers/peripheral/display/
DREADME_zh.md188 DisplayTest g_displayTest;
194 ret = LayerInitialize(&g_displayTest.layerFuncs);
195 if (ret != DISPLAY_SUCCESS || g_displayTest.layerFuncs == NULL) {
199 ret = GrallocInitialize(&g_displayTest.grallocFuncs);
200 if (ret != DISPLAY_SUCCESS || g_displayTest.layerFuncs == NULL) {
204 ret = GfxInitialize(&g_displayTest.gfxFuncs);
205 if (ret != DISPLAY_SUCCESS || g_displayTest.gfxFuncs == NULL) {
214 LayerUninitialize(g_displayTest.layerFuncs);
215 GrallocUninitialize(g_displayTest.grallocFuncs);
216 GfxUninitialize(g_displayTest.gfxFuncs);
[all …]
DREADME.md188 DisplayTest g_displayTest;
194 ret = LayerInitialize(&g_displayTest.layerFuncs);
195 if (ret != DISPLAY_SUCCESS || g_displayTest.layerFuncs == NULL) {
199 ret = GrallocInitialize(&g_displayTest.grallocFuncs);
200 if (ret != DISPLAY_SUCCESS || g_displayTest.layerFuncs == NULL) {
204 ret = GfxInitialize(&g_displayTest.gfxFuncs);
205 if (ret != DISPLAY_SUCCESS || g_displayTest.gfxFuncs == NULL) {
214 LayerUninitialize(g_displayTest.layerFuncs);
215 GrallocUninitialize(g_displayTest.grallocFuncs);
216 GfxUninitialize(g_displayTest.gfxFuncs);
[all …]