Re: [Mesa-dev] OpenGL ES 3.0 support

2013-03-26 Thread violin yanev
Thanks for your replies guys!

The output of eglinfo is:
EGL API version: 1.4
EGL vendor string: Mesa Project
EGL version string: 1.4 (DRI2)
EGL client APIs: OpenGL OpenGL_ES OpenGL_ES2
EGL extensions string:
EGL_MESA_drm_image EGL_WL_bind_wayland_display EGL_KHR_image_base
EGL_KHR_image_pixmap EGL_KHR_image EGL_KHR_gl_renderbuffer_image
EGL_KHR_surfaceless_context EGL_KHR_create_context
EGL_NOK_swap_region EGL_NOK_texture_from_pixmap
EGL_NV_post_sub_buffer

So apparently ES3.0 is not a supported API :(

@Jordan: do you know if one can reenable ES3 on Intel graphics? Is a
special flag expected? I had read a message that Fedora 18 will enable
ES3.0 by default?

Violin


On Mon, Mar 25, 2013 at 5:59 PM, Jordan Justen jljus...@gmail.com wrote:

 On Mon, Mar 25, 2013 at 9:41 AM, violin yanev violin.ya...@gmail.com
 wrote:
  Hello,
 
  I was eager to try the OpenGL ES 3.0 support on the newest Mesa 9.1.
 
  I installed the latest Fedora Rawhide on my Sandy Bridge.

 I believe this Fedora commit which disabled GL3 for Intel graphics
 will also disable GLES3 for Intel graphics:

 http://pkgs.fedoraproject.org/cgit/mesa.git/commit/?id=cbd72a1775d26a74f76be5de337ce036467e2043

 -Jordan

  I think the
  graphics chip is HD 2000, lspci says I have a Xeon E3-1200 V2/3rd gen
  processor. glxinfo states that I have Mesa 9.1, and lsmod lists i915 as
 my
  VGA driver, so it seems that the setup is right. I wrote a simple EGL
  program (used the opengles2 example as basis) and tried to create am
 OpenGL
  ES3 context. I tried two methods:
 
  1) Giving a value of 3 in the API version eglChooseConfig
  (EGL_CONTEXT_CLIENT_VERSION=3)
  This had the result that no matching configs were found.
  2) Supplying the EGL_OPENGL_ES3_BIT_KHR flag in eglCreateContext (the
  EGL_KHR_create_context extension is present). This didn't work either
  (eglCreateContext returns an error).
 
  I am probably doing it the wrong way, but I didn't find any information
 on
  the internet on how to try the ES3.0 support (I checked the mesa-users
  mailing list, the mesa news, the intel linux drivers webpage, and even
  searched the commit history of mesa...). I would really appreciate some
  help!
 
  ___
  mesa-dev mailing list
  mesa-dev@lists.freedesktop.org
  http://lists.freedesktop.org/mailman/listinfo/mesa-dev
 

___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] OpenGL ES 3.0 support

2013-03-25 Thread violin yanev
Hello,

I was eager to try the OpenGL ES 3.0 support on the newest Mesa 9.1.

I installed the latest Fedora Rawhide on my Sandy Bridge. I think the
graphics chip is HD 2000, lspci says I have a Xeon E3-1200 V2/3rd gen
processor. glxinfo states that I have Mesa 9.1, and lsmod lists i915 as my
VGA driver, so it seems that the setup is right. I wrote a simple EGL
program (used the opengles2 example as basis) and tried to create am OpenGL
ES3 context. I tried two methods:

1) Giving a value of 3 in the API version eglChooseConfig
(EGL_CONTEXT_CLIENT_VERSION=3)
This had the result that no matching configs were found.
2) Supplying the EGL_OPENGL_ES3_BIT_KHR flag in eglCreateContext (the
EGL_KHR_create_context
extension is present). This didn't work either (eglCreateContext returns an
error).

I am probably doing it the wrong way, but I didn't find any information on
the internet on how to try the ES3.0 support (I checked the mesa-users
mailing list, the mesa news, the intel linux drivers webpage, and even
searched the commit history of mesa...). I would really appreciate some
help!
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev