昨晚有个做游戏机的网友问我三星是否提供S5PV210 的wince6.0 R3 的opengl驱动和相关opengl 的测试应用程序demo?以前我看人写一些游戏都是用wince 下的directdraw,我一看傻了眼,三星没提供wince6.0 R3 的opengl驱动和相关opengl 的测试应用程序demo 源码,只是提供了一些dll。
在platform.reg里面有
;--------------OpenGLES2.0 Driver---------------------------------------------
IF BSP_NOOES !
; PowerVR entries begin --------------------------------
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PVR3rdParty]
"FriendlyName"="PowerVR S3C_LCD"
"Dll"="s3c_lcd.dll"
"Prefix"="DCH"
"Order"=dword:1
"Index"=dword:1
[HKEY_LOCAL_MACHINE\PowerVR\PVRKernel]
"Prefix"="PKM"
"Dll"="srvkm.dll"
"Keep"=dword:1
; Indicate KSrv is a generic power manageable interface
"IClass"="{A32942B7-920C-486b-B0E6-92A702A99B35}"
[HKEY_LOCAL_MACHINE\PowerVR\PVRDebug]
"Prefix"="DBD"
"Dll"="dbgdrv.dll"
"Keep"=dword:1
[HKEY_LOCAL_MACHINE\PowerVR\Environment]
"WINDIR"="\\windows"
[HKEY_LOCAL_MACHINE\PowerVR\IniFile\default]
"UseDebugVxd"=dword:1
[HKEY_LOCAL_MACHINE\PowerVR\IniFile\DEBUG]
"GlobalLevel"=dword:4
; PowerVR entries end ----------------------------------
ENDIF BSP_NOOES !
;------------------------------------------------------------------------------
在platform.bib里面有
;--OPENGLES DRIVER------------------------------------------------------------------
IF BSP_NOOES !
s3c_lcd.dll $(_OESRELEASEDIR)\s3c_lcd.dll NK SHK
srvkm.dll $(_OESRELEASEDIR)\srvkm.dll NK SHK
ENDIF ;BSP_NOOES
IF BSP_NOOES !
; ------------------------------------- BEG -- OpenGLES Binaries ------------------------------------
srvclum.dll $(_OESRELEASEDIR)\srvclum.dll NK SH
services_test.exe $(_OESRELEASEDIR)\services_test.exe NK U
sgx_blit_test.exe $(_OESRELEASEDIR)\sgx_blit_test.exe NK U
sgx_flip_test.exe $(_OESRELEASEDIR)\sgx_flip_test.exe NK U
sgx_init_test.exe $(_OESRELEASEDIR)\sgx_init_test.exe NK U
sgx_render_flip_test.exe $(_OESRELEASEDIR)\sgx_render_flip_test.exe NK U
sgx_clipblit_test.exe $(_OESRELEASEDIR)\sgx_clipblit_test.exe NK U
pvr2d_unittest.exe $(_OESRELEASEDIR)\pvr2d_unittest.exe NK U
pvr2dtest.exe $(_OESRELEASEDIR)\pvr2dtest.exe NK U
libimgegl.dll $(_OESRELEASEDIR)\libimgegl.dll NK SH
libegl.dll $(_OESRELEASEDIR)\libegl.dll NK SH
eglinfo.exe $(_OESRELEASEDIR)\eglinfo.exe NK U
nullws.dll $(_OESRELEASEDIR)\nullws.dll NK SH
libGLES_CM.dll $(_OESRELEASEDIR)\libGLES_CM.dll NK SH
gles1test1.exe $(_OESRELEASEDIR)\gles1test1.exe NK U
libglesv2.dll $(_OESRELEASEDIR)\libglesv2.dll NK SH
gles2test1.exe $(_OESRELEASEDIR)\gles2test1.exe NK U
gles2_texture_stream.exe $(_OESRELEASEDIR)\gles2_texture_stream.exe NK U
glslcompiler.dll $(_OESRELEASEDIR)\glslcompiler.dll NK SH
bc_example.dll $(_OESRELEASEDIR)\bc_example.dll NK SH
gles1_texture_stream.exe $(_OESRELEASEDIR)\gles1_texture_stream.exe NK U
; ------------------------------------- END -- OpenGLES Binaries ------------------------------------
ENDIF ; BSP_NOOES !
比较坑爹的是,S5PV210 里面 OpenGLES 相关的dll 都是没有源码的,相当的坑爹,不知道三星怎么想的。怎么这么不给力啊,只是给我们dll,我们没法改进有啥用呢?不知道android下面有没有了?!
那些opengle相关的dll 居然就在BSP的下面——SMDKV210\FILES\OpenGLES
表示不解啊。悲催!