History log of /external/mesa3d/src/gallium/state_trackers/egl/x11/native_x11.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
73df31eedd0f33c8a9907855cb247c8f87964c48 25-Jun-2011 Chia-I Wu <olv@lunarg.com> st/egl: reorganize backend initialization

Remove set_event_handler() and pass the event handler with
native_get_XXX_platform(). Add init_screen() so that the pipe screen is
created later. This way we don't need to pass user_data to
create_display().
/external/mesa3d/src/gallium/state_trackers/egl/x11/native_x11.c
a22a332fc7cc54d4d0973dcd21a90159cc51de1a 12-Jan-2011 Chia-I Wu <olv@lunarg.com> egl: Improve driver selection.

The idea is to be able to match a driver using the following order

try egl_gallium with hw renderer
try egl_dri2
try egl_gallium with sw renderer
try egl_glx

given the module list

egl_gallium
egl_dri2
egl_glx

For that, UseFallback initialization option is added. The module list
is matched twice: with the option unset and with the option set. In the
first pass, egl_gallium skips its sw renderer and egl_glx rejects to
initialize since UseFallback is not set. In the second pass,
egl_gallium skips its hw renderer and egl_dri2 rejects to initialize
since UseFallback is set. The process stops at the first driver that
initializes the display.
/external/mesa3d/src/gallium/state_trackers/egl/x11/native_x11.c
1f0bcce6be14cb8916433cc8d7af0ace9799c0b0 04-Jul-2010 Vinson Lee <vlee@vmware.com> st/egl: Remove unnecessary headers.
/external/mesa3d/src/gallium/state_trackers/egl/x11/native_x11.c
4cb853402b6c55f5dbabf4475cd46b34bd7b1bc1 24-Jun-2010 Chia-I Wu <olv@lunarg.com> egl: Remove st/egl probe code.

It is no longer needed.
/external/mesa3d/src/gallium/state_trackers/egl/x11/native_x11.c
a81ef14228c6fe2893527b7b5f12855c90db3f8e 23-Jun-2010 Chia-I Wu <olv@lunarg.com> st/egl: Build a single EGL driver.

This change makes st/egl build a single egl_gallium.so and multiple
st_<API>.so and pipe_<HW>.so. When a display is initialized, the
corresponding pipe driver will be loaded. When a context is created,
the corresponding state tracker will be loaded.

Unlike DRI drivers, no ABI compatibility is maintained. egl_gallium,
pipe drivers and state trackers should always be distributed as a single
package. As such, there is only a single src/gallium/targets/egl/ that
builds everything for the package.
/external/mesa3d/src/gallium/state_trackers/egl/x11/native_x11.c
d5ab243d5a5bacbd2ba615d40f13c8ab37364745 29-Jun-2010 Chia-I Wu <olv@lunarg.com> st/egl: Move module loading code to targets.

Several changes are made. libegl.a no longer defines _eglMain. It
defines functions to create and destroy a _EGLDriver instead. The
creation function is called by the targets. It takes an egl_g3d_loader
as its argument. The loader is defined by the targets and is in charge
of creating st_api and pipe_screen. This allows us to move the module
loading code to targets. Lastly, the modules are now loaded as the
respective contexts are created.
/external/mesa3d/src/gallium/state_trackers/egl/x11/native_x11.c
ea05299ce54ea0463626277907cab8e849884740 17-Jun-2010 Chia-I Wu <olv@lunarg.com> st/egl: One driver per hardware.

Merge multiple egl_<platform>_<pipe>.so into a single
egl_gallium_<pipe>.so. The environment variable EGL_PLATFORM is now
used to modify the return value of _eglGetNativePlatform.
/external/mesa3d/src/gallium/state_trackers/egl/x11/native_x11.c
f66a4e20c19d55005854bbee312947ec16e287e3 17-Jun-2010 Chia-I Wu <olv@lunarg.com> st/egl: Introduce native_platform.

Move native_get_name, native_create_probe, native_get_probe_result, and
native_create_display into struct native_platform, and add
native_get_platform to get a handle to the struct.
/external/mesa3d/src/gallium/state_trackers/egl/x11/native_x11.c
a01e0afd9fc0d647081c6903baa1a7ba505c4b05 28-Jun-2010 Jakob Bornecrantz <jakob@vmware.com> Merge branch 'gallium-drm-driver-drescriptor'

Conflicts:
src/gallium/state_trackers/egl/x11/native_dri2.c
src/gallium/state_trackers/egl/x11/native_x11.c
src/gallium/state_trackers/egl/x11/native_x11.h
src/gallium/state_trackers/xorg/xorg_driver.c
src/gallium/winsys/radeon/drm/radeon_drm.c
f22665df95406567193dee0089f4830664ff4101 17-Jun-2010 Chia-I Wu <olv@lunarg.com> egl: Introduce platform displays internally.

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.
/external/mesa3d/src/gallium/state_trackers/egl/x11/native_x11.c
f9d9574913c5edb92191ac3f5e8d011452427852 27-May-2010 Jakob Bornecrantz <jakob@vmware.com> gallium: Convert state trackers to drm driver interface
/external/mesa3d/src/gallium/state_trackers/egl/x11/native_x11.c
870a9d643b1f256e6a379d96a325284dd2f7eeea 11-Apr-2010 Chia-I Wu <olv@lunarg.com> st/egl: Follow the portability guide.

Avoid including standard library headers and use MALLOC/FREE if
possible.
/external/mesa3d/src/gallium/state_trackers/egl/x11/native_x11.c
ba81b0743efd978509b1931d7b4b93f37e8aeb5e 09-Apr-2010 Chia-I Wu <olv@lunarg.com> Fix copyright headers.

Update the warranty disclaimer to use the more general "THE AUTHORS OR
COPYRIGHT HOLDERS". This is done manually on files created by me. Hope
that I do not miss anything.
/external/mesa3d/src/gallium/state_trackers/egl/x11/native_x11.c
1f92cf55e1d19864a51e620a14c6912e94cd14ea 10-Mar-2010 Chia-I Wu <olv@lunarg.com> st/egl: Fix build errors in ximage backend after merge.

This fixes assorted merge conflicts when master is merged to
gallium-sw-api-2 in 0c96690a5b6e1c2d114e7ec5f1e9d60a4ff2a330.
/external/mesa3d/src/gallium/state_trackers/egl/x11/native_x11.c
0c96690a5b6e1c2d114e7ec5f1e9d60a4ff2a330 09-Mar-2010 Keith Whitwell <keithw@vmware.com> Merge commit 'origin/master' into gallium-sw-api-2

Conflicts:
src/gallium/drivers/llvmpipe/lp_setup.c
src/gallium/drivers/softpipe/sp_texture.c
src/gallium/drivers/softpipe/sp_winsys.h
src/gallium/state_trackers/egl/common/egl_g3d.c
src/gallium/state_trackers/egl/x11/native_x11.c
src/gallium/state_trackers/egl/x11/native_x11.h
src/gallium/state_trackers/egl/x11/native_ximage.c
95c5c69b505f562b61e23fa7dd500dbdd432a70d 08-Mar-2010 Chia-I Wu <olv@lunarg.com> st/egl: Use xlib_sw_winsys in ximage backend.
/external/mesa3d/src/gallium/state_trackers/egl/x11/native_x11.c
e38f28ddedd6d4902ae18b1bf243e67d4b16decb 21-Feb-2010 Chia-I Wu <olv@lunarg.com> st/egl: Add event support to the native display interface.

There is only invalid_surface event right now. When EGL receives the
event, it sets the force_validate flag of the context binding to the
surface. This helps skip an unnecessary check.
/external/mesa3d/src/gallium/state_trackers/egl/x11/native_x11.c
545ac97f9b95e9b5ebd04d2960abb224b5adbe17 17-Feb-2010 Chia-I Wu <olv@lunarg.com> st/egl: Add dri2InvalidateBuffers.

src/glx/dri2.c will call dri2InvalidateBuffers when
DRI2_InvalidateBuffers event is received. This fixes a missing symbol
error, and paves the way for event-based validation.
/external/mesa3d/src/gallium/state_trackers/egl/x11/native_x11.c
1207482a0340bfe92e2ff764e55d619c8036a47d 21-Feb-2010 Chia-I Wu <olv@lunarg.com> st/egl: Disable SHM in ximage backend.

With pipe_screen::update_buffer being called in st_validate_state, it is
likely that softpipe will flush tile caches to a detached SHM segment.
Disable SHM for now until a better solution is found.
/external/mesa3d/src/gallium/state_trackers/egl/x11/native_x11.c
4d01e8e26f49d1ca8435d93714be341f38fe9b36 04-Feb-2010 Vinson Lee <vlee@vmware.com> st/egl: Add missing headers.
/external/mesa3d/src/gallium/state_trackers/egl/x11/native_x11.c
daea9270f877e3f32ef93f71ffa2d27dac4162b4 24-Jan-2010 Igor Oliveira <igor.oliveira@openbossa.org> egl: check if driver_name is null
/external/mesa3d/src/gallium/state_trackers/egl/x11/native_x11.c
3c967a920718c2a74996ac23b8c1964915db88c2 22-Jan-2010 Chia-I Wu <olvaffe@gmail.com> st/egl_g3d: Rename to st/egl.

Simply the name to egl.
/external/mesa3d/src/gallium/state_trackers/egl/x11/native_x11.c