[Mesa-users] eglCreateImageKHR not working?

Claudio Basile claudio at cloudzilla.com
Wed May 22 17:48:12 PDT 2013


Hello

I need to use eglCreateImageKHR with mesa software rendering.
I do see that the function is provided by libEGL.so, but when I call it I always get a 0 result, which indicates an error.
This is what eglinfo shows:

libEGL warning: GLX/DRI2 is not supported
EGL
  Vendor: Mesa Project
  Version: 1.4 (DRI2)
  Client APIs: OpenGL OpenGL_ES OpenGL_ES2 
  Extensions: EGL_KHR_surfaceless_context 
OpenGL ES
  Vendor: VMware, Inc.
  Renderer: Gallium 0.4 on llvmpipe (LLVM 0x301)
  Version: OpenGL ES 2.0 Mesa 9.0.3
  GLSL version: OpenGL ES GLSL ES 1.0.16
  Extensions: GL_EXT_blend_minmax GL_EXT_multi_draw_arrays GL_EXT_texture_format_BGRA8888 GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth24 GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_mapbuffer GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_stencil8 GL_OES_texture_3D GL_OES_texture_npot GL_OES_EGL_image GL_OES_depth_texture GL_OES_packed_depth_stencil GL_EXT_texture_type_2_10_10_10_REV GL_APPLE_texture_max_level GL_EXT_read_format_bgra GL_NV_fbo_color_attachments GL_OES_EGL_image_external GL_OES_vertex_array_object GL_EXT_texture_rg GL_EXT_unpack_subimage GL_NV_draw_buffers GL_NV_read_buffer 
  Implementation limits:
    GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS = 32
    GL_MAX_CUBE_MAP_TEXTURE_SIZE = 8192
    GL_MAX_FRAGMENT_UNIFORM_VECTORS = 4096
    GL_MAX_RENDERBUFFER_SIZE = 8192
    GL_MAX_TEXTURE_IMAGE_UNITS = 16
    GL_MAX_TEXTURE_SIZE = 8192
    GL_MAX_VARYING_VECTORS = 32
    GL_MAX_VERTEX_ATTRIBS = 16
    GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS = 16
    GL_MAX_VERTEX_UNIFORM_VECTORS = 4096
    GL_MAX_VIEWPORT_DIMS = 8192, 8192

This is on an Ubuntu 12.10 server with standard mesa packages installed.
Your help is much appreciated.
Thanks

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-users/attachments/20130522/1992652e/attachment.html>


More information about the mesa-users mailing list