Also I have one query if hardware libraries are available than does
android surface flinger will drop software libraries and use the
hardware libraries or one need to change surface flinger to use it?

On Dec 4, 9:45 am, Nilly <ni...@oriolesoftware.com> wrote:
> any suggestions will be great help for me..
>
> On Dec 2, 7:49 pm, Nilly <ni...@oriolesoftware.com> wrote:
>
>
>
>
>
>
>
> > I am using froyo.
>
> > I have
> > libGLES_android.so
> > but this is software implementation right provided by android?
>
> > /system/lib/egl has
> > libGLES_android.so
> > libEGL_imx51.so
> > libGLESv1_CM_imx51.so
> > libGLESv2_imx51.so
>
> > and my egl.cfg is
> > 0 1 imx51
> > 0 0 android
>
> > I am thinking I am not running on hardware opengles b'cos i have very
> > odd timing for uploading texture and draw , swap buffers.
> > Also Surface flinger logs while booting ..
>
> > I/SurfaceFlinger( 2060): EGL informations:
> > I/SurfaceFlinger( 2060): # of configs : 35
> > I/SurfaceFlinger( 2060): vendor    : Android
> > I/SurfaceFlinger( 2060): version   : 1.4 Android META-EGL
> > I/SurfaceFlinger( 2060): extensions: EGL_KHR_image EGL_KHR_image_base
> > EGL_KHR_image_pixmap EGL_ANDROID_image_native_buffer
> > EGL_ANDROID_swap_rectangle EGL_ANDROID_get_render_buffer
> > I/SurfaceFlinger( 2060): Client API: OpenGL ES
> > I/SurfaceFlinger( 2060): EGLSurface: 5-6-5-0, config=0x0
> > E/libEGL  ( 2060): eglSetSwapRectangleANDROID:1783 error 3008
> > (EGL_BAD_DISPLAY)
> > I/SurfaceFlinger( 2060): flags     : 00100000
> > W/SurfaceFlinger( 2060): ro.sf.lcd_density not defined, using 160 dpi
> > by default.
> > I/SurfaceFlinger( 2060): OpenGL informations:
> > I/SurfaceFlinger( 2060): vendor    : Advanced Micro Devices, Inc.
> > I/SurfaceFlinger( 2060): renderer  : AMD Z430
> > I/SurfaceFlinger( 2060): version   : OpenGL ES-CM 1.1
> > I/SurfaceFlinger( 2060): extensions: GL_AMD_compressed_3DC_texture
> > GL_AMD_compressed_ATC_texture GL_AMD_performance_monitor
> > GL_ATI_compressed_texture_atitc GL_ATI_texture_compression_atitc
> > GL_OES_blend_equation_separate GL_OES_blend_func_separate
> > GL_OES_blend_subtract GL_OES_compressed_ETC1_RGB8_texture
> > GL_OES_compressed_paletted_texture GL_OES_draw_texture
> > GL_OES_extended_matrix_palette GL_OES_EGL_image
> > GL_OES_EGL_image_external GL_OES_framebuffer_object
> > GL_OES_matrix_palette GL_OES_point_size_array GL_OES_point_sprite
> > GL_OES_read_format GL_OES_stencil_wrap GL_OES_texture_cube_map
> > GL_OES_texture_env_crossbar GL_OES_texture_mirrored_repeat
> > I/SurfaceFlinger( 2060): GL_MAX_TEXTURE_SIZE = 2048
> > I/SurfaceFlinger( 2060): GL_MAX_VIEWPORT_DIMS = 2048
> > I/imx5x.gralloc( 2060): PMEM GPU enabled, size:33554432, phys
> > base:ac000000
>
> > Regards,
> > Niral
>
> > On Dec 3, 8:00 am, Chih-Wei <cwhu...@linux.org.tw> wrote:
>
> > > Which version of Android are you working on?
> > > libhgl.so is the the old name in 1.x.
>
> > > In 2.x it is changed to libGLES...
> > > and uses egl.cfg as the config file.
> > > Since you have them,
> > > I think you are working on 2.x.
> > > So don't worry about libhgl.so.
>
> > > Besides these opengl libs, you still
> > > a gralloc library to init your framebuffer properly.
> > > It locates in /system/lib/hw/gralloc.<target>.so
> > > If you don't have it, you need to write one.
>
> > > On 12月2日, 下午12時54分, Nilly <ni...@oriolesoftware.com> wrote:
>
> > > > Hi All,
>
> > > > I am working to get hardware opengles up on my freescale board imx51.
>
> > > > I have
> > > > libEGL_imx51.so
> > > > libGLESv1_CM_imx51.so
> > > > libGLESv2_imx51.so
>
> > > > and my egl.cfg is
> > > > 0 1 imx51
> > > > 0 0 android
>
> > > > So will all this libraries suffice to run opengles in hardware mode?
> > > > B'cos I have read every where that we need separate libhgl.so to get
> > > > opengles run in hardware.- Hide quoted text -
>
> > > - Show quoted text -

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

Reply via email to