Ticket #4064: glx-procaddressARB-configure.diff
File glx-procaddressARB-configure.diff, 2.0 KB (added by , 16 years ago) |
---|
-
configure
163 163 echo " directory with frontend.h [$dvb_path]" 164 164 echo " --disable-x11 disable X11 support" 165 165 echo " --x11-path=X11LOC location of X11 include files [$x11_include_path-path]" 166 # echo " --enable-glx-procaddrarb use glXGetProcAddressARB() instead of glXGetProcAddress()" 166 167 echo " --disable-xrandr disable X11 resolution switching" 167 168 echo " --disable-xv disable XVideo (X11 video output accel.)" 168 169 echo " --disable-xvmc disable XvMC (Linux/BSD MPEG accel.)" … … 904 905 xvmc_vld 905 906 dvdv 906 907 fribidi 908 glx_proc_addr_arb 907 909 ' 908 910 909 911 MYTHTV_LIST=' … … 1189 1191 xvmc_opengl="yes" 1190 1192 xvmc_vld="yes" 1191 1193 xvmcw="yes" 1194 glx_proc_addr_arb="no" 1192 1195 1193 1196 # libraries 1194 1197 enable zlib … … 1353 1356 ;; 1354 1357 --xvmc-lib=*) xvmc_lib="$optval" 1355 1358 ;; 1359 --enable-glx-procaddrarb) glx_proc_addr_arb="yes" 1360 ;; 1361 --disable-glx-procaddrarb) glx_proc_addr_arb="no" 1362 ;; 1356 1363 --enable-mac-accel) dvdv="yes" 1357 1364 ;; 1358 1365 --disable-mac-accel) dvdv="no" … … 3336 3343 fi 3337 3344 fi 3338 3345 3346 if enabled glx_proc_addr_arb; then 3347 append CONFIG_DEFINES "USING_GLX_PROC_ADDR_ARB" 3348 fi 3349 3339 3350 if enabled xv; then 3340 3351 echo "CONFIG_XV_LIBS=-lXinerama -lXv -lX11 -lXext -lXxf86vm" >> $MYTH_CONFIG_MAK 3341 3352 fi -
libs/libmythtv/util-opengl.cpp
306 306 { 307 307 __GLXextFuncPtr ret = NULL; 308 308 309 #if GLX_VERSION_1_4 309 #if USING_GLX_PROC_ADDR_ARB 310 X11S(ret = glXGetProcAddressARB((const GLubyte*)procName.latin1())); 311 #elif GLX_VERSION_1_4 310 312 X11S(ret = glXGetProcAddress((const GLubyte*)procName.latin1())); 311 313 #elif GLX_ARB_get_proc_address 312 314 X11S(ret = glXGetProcAddressARB((const GLubyte*)procName.latin1()));