/aosp12/hardware/qcom/display/msm8084/libhwcomposer/ |
H A D | hwc_virtual.cpp | 53 ctx->mFBUpdate[dpy] = in init() 55 ctx->mMDPComp[dpy] = MDPComp::getObject(ctx, dpy); in init() 57 if(ctx->mFBUpdate[dpy]) in init() 59 if(ctx->mMDPComp[dpy]) in init() 60 ctx->mMDPComp[dpy]->reset(); in init() 65 int dpy = HWC_DISPLAY_VIRTUAL; in destroy() local 68 if(ctx->dpyAttr[dpy].connected && (displays[dpy] == NULL)) { in destroy() 72 if(ctx->mFBUpdate[dpy]) { in destroy() 76 if(ctx->mMDPComp[dpy]) { in destroy() 301 if(ctx->mCopyBit[dpy]) in set() [all …]
|
H A D | hwc_vsync.cpp | 67 __FUNCTION__, timestamp, dpy); in handle_vsync_event() 68 ctx->proc->vsync(ctx->proc, dpy, timestamp); in handle_vsync_event() 129 for (int dpy = HWC_DISPLAY_PRIMARY; dpy < num_displays; dpy++) { in vsync_loop() local 133 dpy == HWC_DISPLAY_PRIMARY ? 0 : in vsync_loop() 139 ev, dpy, node_path); in vsync_loop() 142 if (dpy == HWC_DISPLAY_PRIMARY && pfd[dpy][ev].fd < 0) { in vsync_loop() 156 if (pfd[dpy][ev].fd >= 0) in vsync_loop() 165 for (int dpy = HWC_DISPLAY_PRIMARY; dpy < num_displays; dpy++) { in vsync_loop() local 203 for (int dpy = HWC_DISPLAY_PRIMARY; dpy <= HWC_DISPLAY_EXTERNAL; dpy++ ) { in vsync_loop() local 205 if(pfd[dpy][event].fd >= 0) in vsync_loop() [all …]
|
H A D | hwc.cpp | 81 return dpy; in getDpyforExternalDisplay() 135 for(int dpy = 0; dpy < numDisplays; dpy++) { in setDMAState() local 160 if(dpy) { in setDMAState() 294 ctx->mCopyBit[dpy]->prepare(ctx, list, dpy); in hwc_prepare_primary() 361 switch(dpy) { in hwc_prepare() 467 switch(dpy) { in hwc_setPowerMode() 589 copybitDone = ctx->mCopyBit[dpy]->draw(ctx, list, dpy, &fd); in hwc_set_primary() 620 ctx->listStats[dpy].lRoi.right - ctx->listStats[dpy].lRoi.left, in hwc_set_primary() 657 copybitDone = ctx->mCopyBit[dpy]->draw(ctx, list, dpy, &fd); in hwc_set_external() 708 switch(dpy) { in hwc_set() [all …]
|
H A D | hwc_uevents.cpp | 44 ctx->mFBUpdate[dpy] = IFBUpdate::getObject(ctx, dpy); in setup() 45 ctx->mMDPComp[dpy] = MDPComp::getObject(ctx, dpy); in setup() 50 if(ctx->mFBUpdate[dpy]) { in clear() 51 delete ctx->mFBUpdate[dpy]; in clear() 52 ctx->mFBUpdate[dpy] = NULL; in clear() 54 if(ctx->mMDPComp[dpy]) { in clear() 55 delete ctx->mMDPComp[dpy]; in clear() 56 ctx->mMDPComp[dpy] = NULL; in clear() 160 if(dpy < 0) { in handle_uevent() 181 clear(ctx, dpy); in handle_uevent() [all …]
|
H A D | hwc_qclient.cpp | 109 int dpy = inParcel->readInt32(); in getDisplayAttributes() local 111 outParcel->writeInt32(ctx->dpyAttr[dpy].xres); in getDisplayAttributes() 112 outParcel->writeInt32(ctx->dpyAttr[dpy].yres); in getDisplayAttributes() 119 int dpy = inParcel->readInt32(); in setHSIC() local 137 if(dpy >= HWC_DISPLAY_PRIMARY && dpy <= HWC_DISPLAY_VIRTUAL) { in getDisplayVisibleRegion() 163 int dpy = HWC_DISPLAY_VIRTUAL; in pauseWFD() local 166 handle_pause(ctx, dpy); in pauseWFD() 169 handle_resume(ctx, dpy); in pauseWFD() 178 int dpy = HWC_DISPLAY_VIRTUAL; in setWfdStatus() local 185 handle_pause(ctx, dpy); in setWfdStatus() [all …]
|
/aosp12/hardware/qcom/display/msm8226/libhwcomposer/ |
H A D | hwc_virtual.cpp | 64 ctx->mFBUpdate[dpy] = in init() 66 ctx->mMDPComp[dpy] = MDPComp::getObject(ctx, dpy); in init() 68 if(ctx->mFBUpdate[dpy]) in init() 70 if(ctx->mMDPComp[dpy]) in init() 71 ctx->mMDPComp[dpy]->reset(); in init() 76 int dpy = HWC_DISPLAY_VIRTUAL; in destroy() local 79 if(ctx->dpyAttr[dpy].connected && (displays[dpy] == NULL)) { in destroy() 83 if(ctx->mFBUpdate[dpy]) { in destroy() 87 if(ctx->mMDPComp[dpy]) { in destroy() 339 if(ctx->mCopyBit[dpy]) in set() [all …]
|
H A D | hwc_vsync.cpp | 65 __FUNCTION__, timestamp, dpy); in handle_vsync_event() 66 ctx->proc->vsync(ctx->proc, dpy, timestamp); in handle_vsync_event() 117 for (int dpy = HWC_DISPLAY_PRIMARY; dpy < num_displays; dpy++) { in vsync_loop() local 121 dpy == HWC_DISPLAY_PRIMARY ? 0 : in vsync_loop() 127 ev, dpy, node_path); in vsync_loop() 130 if (dpy == HWC_DISPLAY_PRIMARY && pfd[dpy][ev].fd < 0) { in vsync_loop() 144 if (pfd[dpy][ev].fd >= 0) in vsync_loop() 153 for (int dpy = HWC_DISPLAY_PRIMARY; dpy < num_displays; dpy++) { in vsync_loop() local 204 for (int dpy = HWC_DISPLAY_PRIMARY; dpy <= HWC_DISPLAY_EXTERNAL; dpy++ ) { in vsync_loop() local 206 if(pfd[dpy][event].fd >= 0) in vsync_loop() [all …]
|
H A D | hwc.cpp | 91 return dpy; in getDpyforExternalDisplay() 145 for(int dpy = 0; dpy < numDisplays; dpy++) { in setDMAState() local 170 if(dpy) { in setDMAState() 293 ctx->mCopyBit[dpy]->prepare(ctx, list, dpy); in hwc_prepare_primary() 361 switch(dpy) { in hwc_prepare() 451 switch(dpy) { in hwc_setPowerMode() 650 ctx->listStats[dpy].lRoi.right - ctx->listStats[dpy].lRoi.left, in hwc_set_primary() 656 ctx->listStats[dpy].rRoi.right - ctx->listStats[dpy].rRoi.left, in hwc_set_primary() 687 copybitDone = ctx->mCopyBit[dpy]->draw(ctx, list, dpy, &fd); in hwc_set_external() 738 switch(dpy) { in hwc_set() [all …]
|
H A D | hwc_qclient.cpp | 143 if(dpy >= HWC_DISPLAY_PRIMARY && dpy <= HWC_DISPLAY_VIRTUAL) { in getDisplayVisibleRegion() 169 int dpy = HWC_DISPLAY_VIRTUAL; in pauseWFD() local 172 handle_pause(ctx, dpy); in pauseWFD() 175 handle_resume(ctx, dpy); in pauseWFD() 184 int dpy = HWC_DISPLAY_VIRTUAL; in setWfdStatus() local 191 handle_pause(ctx, dpy); in setWfdStatus() 193 handle_resume(ctx, dpy); in setWfdStatus() 200 if(dpy >= HWC_DISPLAY_PRIMARY && dpy <= HWC_DISPLAY_VIRTUAL) { in setViewFrame() 207 __FUNCTION__, dpy, in setViewFrame() 208 ctx->mViewFrame[dpy].left, ctx->mViewFrame[dpy].top, in setViewFrame() [all …]
|
H A D | hwc_uevents.cpp | 44 ctx->mFBUpdate[dpy] = IFBUpdate::getObject(ctx, dpy); in setup() 45 ctx->mMDPComp[dpy] = MDPComp::getObject(ctx, dpy); in setup() 50 if(ctx->mFBUpdate[dpy]) { in clear() 51 delete ctx->mFBUpdate[dpy]; in clear() 52 ctx->mFBUpdate[dpy] = NULL; in clear() 54 if(ctx->mMDPComp[dpy]) { in clear() 55 delete ctx->mMDPComp[dpy]; in clear() 56 ctx->mMDPComp[dpy] = NULL; in clear() 169 if(dpy < 0) { in handle_uevent() 190 clear(ctx, dpy); in handle_uevent() [all …]
|
/aosp12/frameworks/native/opengl/libs/EGL/ |
H A D | eglApi.cpp | 73 return cnx->platform.eglInitialize(dpy, major, minor); in eglInitialize() 76 EGLBoolean eglTerminate(EGLDisplay dpy) { in eglTerminate() argument 80 return cnx->platform.eglTerminate(dpy); in eglTerminate() 164 cnx->platform.eglBeginFrame(dpy, surface); in eglBeginFrame() 179 return cnx->platform.eglDestroyContext(dpy, ctx); in eglDestroyContext() 265 return cnx->platform.eglSwapBuffers(dpy, surface); in eglSwapBuffers() 279 return cnx->platform.eglQueryString(dpy, name); in eglQueryString() 394 return cnx->platform.eglDestroyImageKHR(dpy, img); in eglDestroyImageKHR() 401 return cnx->platform.eglDestroyImage(dpy, img); in eglDestroyImage() 426 return cnx->platform.eglDestroySync(dpy, sync); in eglDestroySync() [all …]
|
H A D | egl_platform_entries.cpp | 261 return dpy; in eglGetPlatformDisplayTmpl() 279 egl_display_t* dp = get_display(dpy); in eglInitializeImpl() 287 EGLBoolean eglTerminateImpl(EGLDisplay dpy) { in eglTerminateImpl() argument 292 egl_display_t* dp = get_display(dpy); in eglTerminateImpl() 306 const egl_display_t* dp = validate_display(dpy); in eglGetConfigsImpl() 680 EGLDisplay iDpy = dp->disp.dpy; in eglCreateWindowSurfaceTmpl() 820 EGLDisplay iDpy = dp->disp.dpy; in eglCreatePbufferSurfaceImpl() 958 egl_display_t* dp = validate_display(dpy); in eglMakeCurrentImpl() 1089 return c->dpy; in eglGetCurrentDisplayImpl() 1290 eglDestroySyncKHR(dpy, sync); in threadLoop() [all …]
|
/aosp12/hardware/qcom/display/msm8994/libhwcomposer/ |
H A D | hwc_virtual.cpp | 42 const int dpy = HWC_DISPLAY_VIRTUAL; in init() local 44 initCompositionResources(ctx, dpy); in init() 46 if(ctx->mFBUpdate[dpy]) in init() 47 ctx->mFBUpdate[dpy]->reset(); in init() 48 if(ctx->mMDPComp[dpy]) in init() 49 ctx->mMDPComp[dpy]->reset(); in init() 54 int dpy = HWC_DISPLAY_VIRTUAL; in destroy() local 57 if(ctx->dpyAttr[dpy].connected && (displays[dpy] == NULL)) { in destroy() 75 const int dpy = HWC_DISPLAY_VIRTUAL; in prepare() local 144 if(ctx->dpyAttr[dpy].connected in set() [all …]
|
H A D | hwc_vsync.cpp | 67 __FUNCTION__, timestamp, dpy); in handle_vsync_event() 68 ctx->proc->vsync(ctx->proc, dpy, timestamp); in handle_vsync_event() 133 for (int dpy = HWC_DISPLAY_PRIMARY; dpy < num_displays; dpy++) { in vsync_loop() local 137 dpy == HWC_DISPLAY_PRIMARY ? 0 : in vsync_loop() 143 ev, dpy, node_path); in vsync_loop() 146 if (dpy == HWC_DISPLAY_PRIMARY && pfd[dpy][ev].fd < 0) { in vsync_loop() 160 if (pfd[dpy][ev].fd >= 0) in vsync_loop() 169 for (int dpy = HWC_DISPLAY_PRIMARY; dpy < num_displays; dpy++) { in vsync_loop() local 207 for (int dpy = HWC_DISPLAY_PRIMARY; dpy <= HWC_DISPLAY_EXTERNAL; dpy++ ) { in vsync_loop() local 209 if(pfd[dpy][event].fd >= 0) in vsync_loop() [all …]
|
H A D | hwc.cpp | 125 for(int dpy = 0; dpy < numDisplays; dpy++) { in setDMAState() local 152 if(dpy) { in setDMAState() 327 ctx->mCopyBit[dpy]->prepare(ctx, list, dpy); in hwc_prepare_primary() 391 for (int32_t dpy = ((int32_t)numDisplays-1); dpy >=0 ; dpy--) { in hwc_prepare() local 394 switch(dpy) { in hwc_prepare() 488 switch(dpy) { in hwc_setPowerMode() 677 ctx->listStats[dpy].lRoi.right - ctx->listStats[dpy].lRoi.left, in hwc_set_primary() 714 copybitDone = ctx->mCopyBit[dpy]->draw(ctx, list, dpy, &fd); in hwc_set_external() 756 for (int dpy = 0; dpy < (int)numDisplays; dpy++) { in hwc_set() local 758 switch(dpy) { in hwc_set() [all …]
|
H A D | hwc_qclient.cpp | 121 int dpy = inParcel->readInt32(); in getDisplayAttributes() local 136 int dpy = inParcel->readInt32(); in setHSIC() local 154 if(dpy >= HWC_DISPLAY_PRIMARY && dpy <= HWC_DISPLAY_VIRTUAL) { in getDisplayVisibleRegion() 184 if(dpy > HWC_DISPLAY_PRIMARY && dpy <= HWC_DISPLAY_VIRTUAL) { in setSecondaryDisplayStatus() 190 handle_pause(ctx, dpy); in setSecondaryDisplayStatus() 203 if(dpy >= HWC_DISPLAY_PRIMARY && dpy <= HWC_DISPLAY_VIRTUAL) { in setViewFrame() 210 __FUNCTION__, dpy, in setViewFrame() 211 ctx->mViewFrame[dpy].left, ctx->mViewFrame[dpy].top, in setViewFrame() 212 ctx->mViewFrame[dpy].right, ctx->mViewFrame[dpy].bottom); in setViewFrame() 286 setRefreshRate(ctx, dpy, ctx->dpyAttr[dpy].refreshRate); in configureDynRefreshRate() [all …]
|
H A D | hwc_utils.cpp | 138 ctx->mViewFrame[dpy].right = ctx->dpyAttr[dpy].xres; in updateDisplayInfo() 139 ctx->mViewFrame[dpy].bottom = ctx->dpyAttr[dpy].yres; in updateDisplayInfo() 144 memset(&(ctx->dpyAttr[dpy]), 0, sizeof(ctx->dpyAttr[dpy])); in resetDisplayInfo() 145 memset(&(ctx->listStats[dpy]), 0, sizeof(ctx->listStats[dpy])); in resetDisplayInfo() 154 ctx->mFBUpdate[dpy] = IFBUpdate::getObject(ctx, dpy); in initCompositionResources() 155 ctx->mMDPComp[dpy] = MDPComp::getObject(ctx, dpy); in initCompositionResources() 1013 ctx->dpyAttr[dpy].mActionSafePresent = isActionSafePresent(ctx, dpy); in setListStats() 1016 ctx->listStats[dpy].refreshRateRequest = ctx->dpyAttr[dpy].refreshRate; in setListStats() 1021 resetROI(ctx, dpy); in setListStats() 1525 if(dpy) in hwc_sync() [all …]
|
/aosp12/frameworks/native/opengl/include/EGL/ |
H A D | eglext.h | 153 typedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYSYNCKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync); 158 EGLAPI EGLBoolean EGLAPIENTRY eglDestroySyncKHR (EGLDisplay dpy, EGLSyncKHR sync); 209 typedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYIMAGEKHRPROC) (EGLDisplay dpy, EGLImageKHR image); 212 EGLAPI EGLBoolean EGLAPIENTRY eglDestroyImageKHR (EGLDisplay dpy, EGLImageKHR image); 252 EGLAPI EGLBoolean EGLAPIENTRY eglUnlockSurfaceKHR (EGLDisplay dpy, EGLSurface surface); 324 EGLAPI EGLBoolean EGLAPIENTRY eglSignalSyncKHR (EGLDisplay dpy, EGLSyncKHR sync, EGLenum mode); 354 EGLAPI EGLBoolean EGLAPIENTRY eglDestroyStreamKHR (EGLDisplay dpy, EGLStreamKHR stream); 461 EGLAPI EGLint EGLAPIENTRY eglWaitSyncKHR (EGLDisplay dpy, EGLSyncKHR sync, EGLint flags); 552 EGLAPI EGLint EGLAPIENTRY eglDupNativeFenceFDANDROID (EGLDisplay dpy, EGLSyncKHR sync); 1178 EGLAPI EGLBoolean EGLAPIENTRY eglStreamFlushNV (EGLDisplay dpy, EGLStreamKHR stream); [all …]
|
H A D | egl.h | 127 EGLAPI EGLBoolean EGLAPIENTRY eglDestroyContext (EGLDisplay dpy, EGLContext ctx); 128 EGLAPI EGLBoolean EGLAPIENTRY eglDestroySurface (EGLDisplay dpy, EGLSurface surface); 136 EGLAPI EGLBoolean EGLAPIENTRY eglInitialize (EGLDisplay dpy, EGLint *major, EGLint *minor); 139 EGLAPI const char *EGLAPIENTRY eglQueryString (EGLDisplay dpy, EGLint name); 141 EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffers (EGLDisplay dpy, EGLSurface surface); 142 EGLAPI EGLBoolean EGLAPIENTRY eglTerminate (EGLDisplay dpy); 163 EGLAPI EGLBoolean EGLAPIENTRY eglBindTexImage (EGLDisplay dpy, EGLSurface surface, EGLint buffer); 166 EGLAPI EGLBoolean EGLAPIENTRY eglSwapInterval (EGLDisplay dpy, EGLint interval); 288 EGLAPI EGLBoolean EGLAPIENTRY eglDestroySync (EGLDisplay dpy, EGLSync sync); 292 EGLAPI EGLBoolean EGLAPIENTRY eglDestroyImage (EGLDisplay dpy, EGLImage image); [all …]
|
/aosp12/hardware/qcom/display/msm8960/libhwcomposer/ |
H A D | hwc_uevents.cpp | 86 ctx->mExtDisplay->setExtDpyNum(dpy); in handle_uevent() 112 if(ctx->mFBUpdate[dpy]) { in handle_uevent() 117 if(ctx->mCopyBit[dpy]){ in handle_uevent() 119 delete ctx->mCopyBit[dpy]; in handle_uevent() 120 ctx->mCopyBit[dpy] = NULL; in handle_uevent() 122 if(ctx->mMDPComp[dpy]) { in handle_uevent() 123 delete ctx->mMDPComp[dpy]; in handle_uevent() 124 ctx->mMDPComp[dpy] = NULL; in handle_uevent() 138 ctx->mFBUpdate[dpy] = in handle_uevent() 139 IFBUpdate::getObject(ctx->dpyAttr[dpy].xres, dpy); in handle_uevent() [all …]
|
H A D | hwc.cpp | 112 if(ctx->layerProp[dpy]) { in reset_layer_prop() 113 delete[] ctx->layerProp[dpy]; in reset_layer_prop() 114 ctx->layerProp[dpy] = NULL; in reset_layer_prop() 120 int fbFd = ctx->dpyAttr[dpy].fd; in display_commit() 286 switch(dpy) { in hwc_blank() 361 if(ctx->mCopyBit[dpy]) in hwc_set_primary() 362 copybitDone = ctx->mCopyBit[dpy]->draw(ctx, list, dpy, &fd); in hwc_set_primary() 409 if(ctx->mCopyBit[dpy]) in hwc_set_external() 410 copybitDone = ctx->mCopyBit[dpy]->draw(ctx, list, dpy, &fd); in hwc_set_external() 576 for(int dpy = 0; dpy < MAX_DISPLAYS; dpy++) { in hwc_dump() local [all …]
|
/aosp12/frameworks/native/opengl/tests/swapinterval/ |
H A D | swapinterval.cpp | 45 EGLDisplay dpy; in main() local 51 dpy = eglGetDisplay(EGL_DEFAULT_DISPLAY); in main() 53 eglGetConfigs(dpy, NULL, 0, &numConfigs); in main() 57 dpy, configAttribs, window, &config); in main() 60 eglTerminate(dpy); in main() 76 eglTerminate(dpy); in main() 96 eglSwapInterval(dpy, 1); in main() 100 eglSwapBuffers(dpy, surface); in main() 112 eglSwapBuffers(dpy, surface); in main() 115 eglSwapBuffers(dpy, surface); in main() [all …]
|
/aosp12/frameworks/native/opengl/tests/gl2_basic/ |
H A D | gl2_basic.cpp | 238 int printEGLConfigurations(EGLDisplay dpy) { in printEGLConfigurations() argument 263 printEGLConfiguration(dpy, configs[i]); in printEGLConfigurations() 318 EGLDisplay dpy; in main() local 321 dpy = eglGetDisplay(EGL_DEFAULT_DISPLAY); in main() 323 if (dpy == EGL_NO_DISPLAY) { in main() 336 if (!printEGLConfigurations(dpy)) { in main() 354 printEGLConfiguration(dpy, myConfig); in main() 375 eglQuerySurface(dpy, surface, EGL_WIDTH, &w); in main() 377 eglQuerySurface(dpy, surface, EGL_HEIGHT, &h); in main() 395 setSurfaceMetadata(dpy, surface); in main() [all …]
|
/aosp12/frameworks/native/opengl/tools/glgen/specs/egl/ |
H A D | EGL14.spec | 3 EGLBoolean eglInitialize ( EGLDisplay dpy, EGLint *major, EGLint *minor ) 4 EGLBoolean eglTerminate ( EGLDisplay dpy ) 5 const char * eglQueryString ( EGLDisplay dpy, EGLint name ) 12 EGLBoolean eglDestroySurface ( EGLDisplay dpy, EGLSurface surface ) 20 EGLBoolean eglBindTexImage ( EGLDisplay dpy, EGLSurface surface, EGLint buffer ) 21 EGLBoolean eglReleaseTexImage ( EGLDisplay dpy, EGLSurface surface, EGLint buffer ) 22 EGLBoolean eglSwapInterval ( EGLDisplay dpy, EGLint interval ) 24 EGLBoolean eglDestroyContext ( EGLDisplay dpy, EGLContext ctx ) 25 EGLBoolean eglMakeCurrent ( EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx ) 32 EGLBoolean eglSwapBuffers ( EGLDisplay dpy, EGLSurface surface ) [all …]
|
/aosp12/frameworks/base/opengl/java/android/opengl/ |
H A D | EGL14.java | 176 EGLDisplay dpy, in eglInitialize() argument 186 EGLDisplay dpy in eglTerminate() argument 192 EGLDisplay dpy, in eglQueryString() argument 198 EGLDisplay dpy, in eglGetConfigs() argument 209 EGLDisplay dpy, in eglChooseConfig() argument 222 EGLDisplay dpy, in eglGetConfigAttrib() argument 232 EGLDisplay dpy, in _eglCreateWindowSurface() argument 240 EGLDisplay dpy, in _eglCreateWindowSurfaceTexture() argument 282 EGLDisplay dpy, in eglCreatePbufferSurface() argument 292 EGLDisplay dpy, in eglCreatePixmapSurface() argument [all …]
|