Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-11-24 | egl_dri2: Fix one context, multiple surfaces. | Chia-I Wu | |
When a context was made current to another surface, the old code did this dri2_dpy->core->bindContext(cctx, ddraw, rdraw); dri2_dpy->core->unbindContext(old_cctx); and there will be no current context due to the second line. unbindContext should be called only when bindContext is not. This fixes a regression since d19afc57. Thanks to Neil Roberts for noticing the issue and creating a test case. | |||
2010-11-17 | egl_dri2: Add missing intel chip ids. | Robert Hooker | |
Signed-off-by: Robert Hooker <robert.hooker@canonical.com> | |||
2010-11-10 | egl_dri2: Fix __DRI_DRI2 version 1 support. | Chia-I Wu | |
Correctly set __DRI_API_OPENGL flag. | |||
2010-11-08 | egl_dri2: Add radeon chip ids | Alex Deucher | |
2010-10-26 | egl_dri2: Fix a typo that make glFlush be called at wrong time. | Chia-I Wu | |
We want to call glFlush when there is a current context. That is, old_ctx. This is a regression introduced by d19afc57fe49816f3f3290410e0124d326577be2. | |||
2010-10-23 | egl: Use reference counting to replace IsLinked or IsBound. | Chia-I Wu | |
Remove all _egl<Res>IsLinked and _egl<Res>IsBound. Update _eglBindContext and drivers to do reference counting. | |||
2010-10-23 | egl: Minor changes to the _EGLConfig interface. | Chia-I Wu | |
Mainly to rename _eglAddConfig to _eglLinkConfig, along with a few clean ups. | |||
2010-10-22 | egl: Parse image attributes with _eglParseImageAttribList. | Chia-I Wu | |
Avoid code duplications. | |||
2010-10-22 | egl: Move attributes in _EGLImage to _EGLImageAttribs. | Chia-I Wu | |
The opaque nature of EGLImage implies that extensions almost always define their own attributes. Move attributes in _EGLImage to _EGLImageAttribs and add a helper function to parse attribute lists. | |||
2010-10-22 | egl_dri2: Drop the use of _egl[SG]etConfigKey. | Chia-I Wu | |
_EGLConfig can be directly dereferenced now. | |||
2010-09-24 | egl: Fix several 'comparison between signed and unsigned integer' warnings | Ian Romanick | |
I hate GCC for requiring the (int) cast on sizeof. | |||
2010-09-24 | EGL DRI2: Silence 'missing initializer' warnings | Ian Romanick | |
2010-09-24 | EGL DRI2: Silence piles of 'unused variable' warnings | Ian Romanick | |
2010-09-22 | dri: Pass the __DRIscreen and the __DRIscreen private back to image lookup | Kristian Høgsberg | |
We will typically have a current context when we need to lookup the image, but the lookup implementation don't need it so drop it. | |||
2010-09-22 | dri2: Make createImageFromName() take a __DRIscreen instead of __DRIcontext | Kristian Høgsberg | |
We can't expect to have a context when this is called, and we don't need one so just require a __DRIscreen instead. Reported by Yu Dai <yu.dai@intel.com> | |||
2010-09-13 | EGL DRI2: 0xa011 is Pineview not Ironlake | Jesse Barnes | |
Point about needing a better way to do this validated. | |||
2010-09-13 | EGL DRI2: add PCI ID for Ironlake mobile | Jesse Barnes | |
Allows KMS EGL driver to load. We need a better way of doing this. | |||
2010-08-25 | egl_dri2: Add support for MESA_image_drm | Kristian Høgsberg | |
2010-07-29 | egl_dri2: Set API version for DRM display | Kristian Høgsberg | |
2010-07-28 | egl_dri2: Implement EGL_KHR_surfaceless_* extensions | Kristian Høgsberg | |
2010-07-08 | egl_dri2: Support _EGL_PLATFORM_DRM | Kristian Høgsberg | |
This lets the egl_dri2 driver initialize on just a DRM fd. | |||
2010-06-30 | egl: Store configs in a dynamic array. | Chia-I Wu | |
2010-06-23 | egl: Introduce platform displays internally. | Chia-I Wu | |
This commit introduces type-safe platform displays internally. A platform display consists of a generic pointer and an enum that specifies the platform. An EGLDisplay is created from a platform display. Native displays become platform displays whose platform is determined by _eglGetNativePlatform(). Platform windows and pixmaps may also be introduced if needed. | |||
2010-05-28 | egl_dri2: Split driver loading out into its own function | Kristian Høgsberg | |
2010-05-28 | egl_dri2: Check for xcb_connect() failure the right way | Kristian Høgsberg | |
It always returns a valid xcb_connection_t, but if connection failed, it's in the error state. | |||
2010-05-20 | Make TLS EGL dri2 driver search path behavior match TLS GLX dri2 behavior. | Eric Anholt | |
2010-05-14 | egl: Implement EGL_NOK_texture_from_pixmap | Kristian Høgsberg | |
This extension allows a color buffer to be used for both rendering and texturing. EGL allows the use of color buffers of pbuffer drawables for texturing, this extension extends this to allow the use of color buffers of pixmaps too. | |||
2010-05-13 | egl: Implement EGL_NOK_swap_region | Kristian Høgsberg | |
This extension adds a new function which provides an alternative to eglSwapBuffers. eglSwapBuffersRegionNOK accepts two new parameters in addition to those in eglSwapBuffers. The new parameters consist of a pointer to a list of 4-integer blocks defining rectangles (x, y, width, height) and an integer specifying the number of rectangles in the list. | |||
2010-05-13 | egl_dri2: Downgrade initialization errors to warnings | Kristian Høgsberg | |
Don't want to shutdown everything if egl_dri2 fails to initialize. | |||
2010-05-12 | egl_dri2: Zero out driver struct | Kristian Høgsberg | |
Otherwise testing ->Probe for non-NULL and calling it goes boom. | |||
2010-05-07 | glapi: Move to src/mapi/. | Chia-I Wu | |
Move glapi to src/mapi/{glapi,es1api,es2api}. | |||
2010-05-02 | Merge branch 'gles2-2' | Kristian Høgsberg | |
Conflicts: src/mesa/drivers/dri/common/dri_util.h | |||
2010-04-28 | egl_dri2: Use new DRI API to create a GLES1/2 context when asked to | Kristian Høgsberg | |
2010-04-28 | Merge branch '7.8' | Jakob Bornecrantz | |
2010-04-28 | egl: dri2 driver error output | Micah Fedke | |
This patch amends the error output string for the case where the dri2 egl driver could not open the dri dev node. Signed-off-by: Brian Paul <brianp@vmware.com> | |||
2010-04-14 | egl_dri2: Enable KHR_gl_texture_2D_image | Kristian Høgsberg | |
Forgot to set the enabled bit when I implemented the extension. | |||
2010-04-06 | egl_dri2: Flush before context switch and swap buffers. | Chia-I Wu | |
DRI does not define any callback to flush the current context. GLX loader simply calls glFlush. Follow the GLX loader here. | |||
2010-03-03 | egl_dri2: Factor out DRI2 protocol bits from initialize. | Kristian Høgsberg | |
2010-02-26 | egl_dri2: Implement EGL_KHR_gl_renderbuffer_image | Kristian Høgsberg | |
2010-02-24 | egl_dri2: Implement EGL_KHR_image and EGL_KHR_image_pixmap | Kristian Høgsberg | |
2010-02-09 | egl_dri2: Only allocate config if we're going to keep it | Kristian Høgsberg | |
Small optimization. | |||
2010-02-09 | egl_dri2: Initialize config attributes with visual id and class from X | Kristian Høgsberg | |
2010-02-09 | egl_dri2: Allow pbuffer and pixmap surfaces for all configs | Kristian Høgsberg | |
2010-02-09 | egl_dri2: Implement eglBindTexImage() | Kristian Høgsberg | |
2010-02-09 | egl_dri2: Use a helper function for looking up and binding extensions | Kristian Høgsberg | |
2010-02-09 | egl_dri2: Fix initialization with EGL_DEFAULT_DISPLAY | Kristian Høgsberg | |
2010-02-05 | egl_dri2: Use pkg-config cflags and libs from configure output | Kristian Høgsberg | |
Running pkg-config in Makefiles is bad form, since it doesn't respect the PKG_CONFIG_PATH value set at ./configure time. | |||
2010-02-05 | egl_dri2: Log both driver and core extensions | Kristian Høgsberg | |
2010-02-05 | egl_dri2: Audit and fix errors paths | Kristian Høgsberg | |
2010-02-05 | egl_dri2: Just cast the pointer difference to an int | Kristian Høgsberg | |