Hi. expert
sdk:ti-processor-sdk-rtos-j721e-evm-07_03_00_07
ti-processor-sdk-linux-j7-evm-07_03_00_05
Usually glViewPort zero point set to left bottom, did tda4 set to left top? how can I change it to left bottom?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi. expert
sdk:ti-processor-sdk-rtos-j721e-evm-07_03_00_07
ti-processor-sdk-linux-j7-evm-07_03_00_05
Usually glViewPort zero point set to left bottom, did tda4 set to left top? how can I change it to left bottom?
Hello,
Sorry for the delayed response. In case of processor SDK RTOS, we do change it to UPPER_LEFT here:
vision_apps/utils/opengl/src/a72/app_gl_egl_utils_linux.c - Function: appEglBindFrameBuffer
/* Binding FBO: move the origin to upper left */
glClipControlEXT(GL_UPPER_LEFT_EXT, GL_NEGATIVE_ONE_TO_ONE_EXT);
You can change it there or comment that line out.
Regards
Hemant
Hello,
The macros used by glClipControlEXT are defined in vision_apps/kernels/srv/gpu/3dsrv/Include/GLES2/gl2ext.h targetfs/usr/include/GLES2/gl2ext.h. If you want to change the origin from upper left to bottom left, could you try modifying GL_UPPER_LEFT_EXT to GL_LOWER_LEFT_EXT?
Regards,
Takuma