Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
The new target installs client API modules to EGL_DRIVER_INSTALL_DIR.
They are used by st/egl.
The client APIs are built from OpenGL and OpenVG state trackers. For
this to work, st/vega is modified to produce a static library,
libvega.a, instead. st/es is also not needed any more. It is removed
and --with-state-trackers=es is replaced by --enable-gles-overlay.
As st/egl now has its own client API modules, this solves the ABI issue
between st/egl and client APIs, as long as the client API modules are
distributed with st/egl. Plus, this allows st/egl to support OpenGL
with non-Gallium libGL.so.
|
|
dlopen api_<API>.so before dlopening the process itself in case the
client APIs are implemented in external modules.
|
|
|
|
Rename vgFooBar to vegaFooBar and use vgapi as the dispatcher. This
makes sure there is always a current context when the internal functions
are called. And eglGetProcAddress is finally supported.
|
|
Move glapi to src/mapi/{glapi,es1api,es2api}.
|
|
This is a better place than in u_rect.c
|
|
|
|
|
|
|
|
proc_name cannot be NULL after the switch statement. proc_name is
assigned a value or the function has already returned.
|
|
commit 0c572c6828b6a338b07a6860280b3a314a81662e replaced
st_manager_create_api with st_gl_api_create.
Fixes MSVC build.
|
|
|
|
|
|
|
|
|
|
|
|
The struct st_module isn't needed as it is the same thing as the st_api
struct. That is they both represent the API. Instead just use a single
function entry point to the the API.
|
|
Add GL/internal/dri_interface.h for __DRI_TEXTURE_FORMAT_RGB.
|
|
|
|
Doesn't help much, since it is ignored by st_framebuffer_validate.
|
|
Now we can get see 'i' as an enum name instead of a plain integer in gdb.
|
|
|
|
|
|
|
|
|
|
Conflicts:
progs/egl/Makefile
progs/egl/Makefile is gone on master with the egl demos split into
subdirectories. Will require an additional commit.
|
|
eglplatform.h pulls in Xlib.h on X11 platforms. Likewise, the egl glx
driver and egl programs needs to link to libX11. Make sure we use the
locations the user told us about.
Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
|
|
The variable X_LIBS from AC_PATH_XTRA contains only the -L searchdir
parameter and not the -lX11 to link to Xlib. Use X11 prefixed build vars
for linking with Xlib to avoid the conflict.
Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
(cherry picked from commit e725ef171b5a4d5425461f237d9ccab223806913)
|
|
This can break on systems that don't have a system X installation.
Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
(cherry picked from commit de4ee20578a79e024b0de83c40648112f42c994e)
Conflicts:
src/gallium/winsys/xlib/Makefile
|
|
|
|
|
|
|
|
Reviewed-by: George Sapountzis <gsapountzis@gmail.com>
|
|
Reviewed-by: George Sapountzis <gsapountzis@gmail.com>
|
|
|
|
|
|
There is no user of st_public now.
|
|
Add vg_context_update_draw_buffer (and helpers) that duplicates the
logic of st_resize_framebuffer. Use the new function instead of
st_resize_framebuffer in vg_manager.c.
|
|
|
|
|
|
|
|
This is only compile tested with crossmingw.
V2:
- reference count stw_framebuffer
|
|
The front buffer is added to support old X servers. Check the version
of the server so that it can be added as needed.
|
|
|
|
Avoid including standard library headers and use MALLOC/FREE if
possible.
|
|
Factor all callbacks other than Initialize, Terminate, and GetProcAddress
to egl_g3d_api.c.
|
|
These are our reference software rasterizers. They can build everywhere
and are a precious debugging tool.
Making them always present immensily simplifies the scons logic.
If people want to avoid building it is still possible to pass
direcotries and target names to scons to narrow the build.
|