Home
last modified time | relevance | path

Searched refs:displayId (Results 1 – 21 of 21) sorted by relevance

/device/generic/goldfish/MultiDisplayProvider/src/com/android/emulator/multidisplay/
DMultiDisplayService.java127 private void deleteVirtualDisplay(int displayId) { in deleteVirtualDisplay() argument
128 if (!mMultiDisplay[displayId].enabled) { in deleteVirtualDisplay()
131 if (mMultiDisplay[displayId].virtualDisplay != null) { in deleteVirtualDisplay()
132 mMultiDisplay[displayId].virtualDisplay.release(); in deleteVirtualDisplay()
134 if (mMultiDisplay[displayId].surface != null) { in deleteVirtualDisplay()
135 mMultiDisplay[displayId].surface.release(); in deleteVirtualDisplay()
137 mMultiDisplay[displayId].clear(); in deleteVirtualDisplay()
138 nativeReleaseListener(displayId); in deleteVirtualDisplay()
141 private void createVirtualDisplay(int displayId, int w, int h, int dpi, int flag) { in createVirtualDisplay() argument
142 mMultiDisplay[displayId].surface = nativeCreateSurface(displayId, w, h); in createVirtualDisplay()
[all …]
/device/generic/goldfish-opengl/system/renderControl_enc/
DrenderControl_entry.cpp46 int rcCreateDisplay(uint32_t* displayId);
47 int rcDestroyDisplay(uint32_t displayId);
48 int rcSetDisplayColorBuffer(uint32_t displayId, uint32_t colorBuffer);
49 int rcGetDisplayColorBuffer(uint32_t displayId, uint32_t* colorBuffer);
50 int rcGetColorBufferDisplay(uint32_t colorBuffer, uint32_t* displayId);
51 int rcGetDisplayPose(uint32_t displayId, GLint* x, GLint* y, uint32_t* w, uint32_t* h);
52 int rcSetDisplayPose(uint32_t displayId, GLint x, GLint y, uint32_t w, uint32_t h);
295 int rcCreateDisplay(uint32_t* displayId) in rcCreateDisplay() argument
298 return ctx->rcCreateDisplay(ctx, displayId); in rcCreateDisplay()
301 int rcDestroyDisplay(uint32_t displayId) in rcDestroyDisplay() argument
[all …]
DrenderControl_enc.cpp1439 int rcCreateDisplay_enc(void *self , uint32_t* displayId) in rcCreateDisplay_enc() argument
1463 stream->readback(displayId, __size_displayId); in rcCreateDisplay_enc()
1464 if (useChecksum) checksumCalculator->addBuffer(displayId, __size_displayId); in rcCreateDisplay_enc()
1482 int rcDestroyDisplay_enc(void *self , uint32_t displayId) in rcDestroyDisplay_enc() argument
1500 memcpy(ptr, &displayId, 4); ptr += 4; in rcDestroyDisplay_enc()
1522 int rcSetDisplayColorBuffer_enc(void *self , uint32_t displayId, uint32_t colorBuffer) in rcSetDisplayColorBuffer_enc() argument
1540 memcpy(ptr, &displayId, 4); ptr += 4; in rcSetDisplayColorBuffer_enc()
1563 int rcGetDisplayColorBuffer_enc(void *self , uint32_t displayId, uint32_t* colorBuffer) in rcGetDisplayColorBuffer_enc() argument
1582 memcpy(ptr, &displayId, 4); ptr += 4; in rcGetDisplayColorBuffer_enc()
1607 int rcGetColorBufferDisplay_enc(void *self , uint32_t colorBuffer, uint32_t* displayId) in rcGetColorBufferDisplay_enc() argument
[all …]
/device/google/cuttlefish/guest/hals/hwcomposer/cutf_cvm/
DHWC2.cpp351 const auto displayId = mHwc1VirtualDisplay->getId(); in createVirtualDisplay() local
352 mHwc1DisplayMap[HWC_DISPLAY_VIRTUAL] = displayId; in createVirtualDisplay()
354 mDisplays.emplace(displayId, mHwc1VirtualDisplay); in createVirtualDisplay()
355 *outDisplay = displayId; in createVirtualDisplay()
360 Error CfHWC2::destroyVirtualDisplay(hwc2_display_t displayId) { in destroyVirtualDisplay() argument
363 if (!mHwc1VirtualDisplay || (mHwc1VirtualDisplay->getId() != displayId)) { in destroyVirtualDisplay()
369 mDisplays.erase(displayId); in destroyVirtualDisplay()
480 auto displayId = mHwc1DisplayMap[hwc1DisplayId]; in registerCallback() local
482 pendingVsyncs.emplace_back(displayId, timestamp); in registerCallback()
497 auto displayId = mHwc1DisplayMap[hwc1DisplayId]; in registerCallback() local
[all …]
DHWC2.h472 hwc2_display_t displayId, HWC2::Error (Display::*member)(Args...), in callDisplayFunction() argument
474 auto display = getAdapter(device)->getDisplay(displayId); in callDisplayFunction()
483 static int32_t displayHook(hwc2_device_t* device, hwc2_display_t displayId, in displayHook() argument
485 return CfHWC2::callDisplayFunction(device, displayId, memFunc, in displayHook()
621 hwc2_display_t displayId, hwc2_layer_t layerId, in callLayerFunction() argument
623 auto result = getAdapter(device)->getLayer(displayId, layerId); in callLayerFunction()
633 static int32_t layerHook(hwc2_device_t* device, hwc2_display_t displayId, in layerHook() argument
635 return CfHWC2::callLayerFunction(device, displayId, layerId, in layerHook()
679 std::tuple<Layer*, HWC2::Error> getLayer(hwc2_display_t displayId,
/device/generic/goldfish-opengl/system/hwc2/
DEmuHWC2.h162 uint32_t displayId; member
384 static int32_t displayHook(hwc2_device_t* device, hwc2_display_t displayId, in displayHook() argument
386 auto display = getHWC2(device)->getDisplay(displayId); in displayHook()
452 static int32_t layerHook(hwc2_device_t* device, hwc2_display_t displayId, in layerHook() argument
454 auto result = getHWC2(device)->getLayer(displayId, layerId); in layerHook()
466 std::tuple<Layer*, HWC2::Error> getLayer(hwc2_display_t displayId,
DEmuHWC2.cpp859 p2->displayId = mHostDisplayId; in present()
1351 uint32_t displayId = hostDisplayIdStart + idx; in populateSecondaryConfigs() local
1355 rcEnc->rcDestroyDisplay(rcEnc, displayId); in populateSecondaryConfigs()
1356 rcEnc->rcCreateDisplay(rcEnc, &displayId); in populateSecondaryConfigs()
1357 rcEnc->rcSetDisplayPose(rcEnc, displayId, -1, -1, width, height); in populateSecondaryConfigs()
1360 if (displayId != hostDisplayIdStart + idx) { in populateSecondaryConfigs()
1362 "allocated %d", hostDisplayIdStart + idx, displayId); in populateSecondaryConfigs()
1364 mHostDisplayId = displayId; in populateSecondaryConfigs()
1717 hwc2_display_t displayId, hwc2_layer_t layerId) { in getLayer() argument
1718 auto display = getDisplay(displayId); in getLayer()
[all …]
/device/generic/goldfish/input-mt/
Dvirtio_input_multi_touch_4.idc12 touch.displayId = local:3
Dvirtio_input_multi_touch_3.idc12 touch.displayId = local:2
Dvirtio_input_multi_touch_2.idc12 touch.displayId = local:1
Dvirtio_input_multi_touch_5.idc12 touch.displayId = local:4
/device/generic/goldfish/input/
Dvirtio_input_multi_touch_5.idc12 touch.displayId = virtual:com.android.emulator.multidisplay:1234565
Dvirtio_input_multi_touch_8.idc12 touch.displayId = virtual:com.android.emulator.multidisplay:1234568
Dvirtio_input_multi_touch_2.idc12 touch.displayId = virtual:com.android.emulator.multidisplay:1234562
Dvirtio_input_multi_touch_6.idc12 touch.displayId = virtual:com.android.emulator.multidisplay:1234566
Dvirtio_input_multi_touch_10.idc12 touch.displayId = virtual:com.android.emulator.multidisplay:1234570
Dvirtio_input_multi_touch_7.idc12 touch.displayId = virtual:com.android.emulator.multidisplay:1234567
Dvirtio_input_multi_touch_4.idc12 touch.displayId = virtual:com.android.emulator.multidisplay:1234564
Dvirtio_input_multi_touch_3.idc12 touch.displayId = virtual:com.android.emulator.multidisplay:1234563
Dvirtio_input_multi_touch_11.idc12 touch.displayId = virtual:com.android.emulator.multidisplay:1234571
Dvirtio_input_multi_touch_9.idc12 touch.displayId = virtual:com.android.emulator.multidisplay:1234569