Find a file
Neil Roberts 39a443ff9b Always use glTexImage2D instead of glTexSubImage2D for first upload
Previously when uploading SHM data we would initialise the texture
with glTexImage2D and NULL data when the buffer is attached. Then if
the GL_EXT_unpack_subimage extension is available we would always use
glTexSubImage2D to upload the data. The problem with that is that the
first glTexImage2D was always setting the internal format to
GL_BGRA_EXT and then if a 16-bit texture is used we would later call
glTexSubImage2D with a data format of GL_RGBA. Under GLES2 the
internal format must always match the data format so this is
technically invalid.

This patch makes it so that it always calls glTexImage2D when flushing
the damage for the first time. That way it will use the right internal
format and we don't need to call glTexImage2D with NULL data.

https://bugs.freedesktop.org/show_bug.cgi?id=75251
2014-04-06 22:40:34 -07:00
clients toytoolkit: match parent surface type when adding a subsurface 2014-04-06 22:37:45 -07:00
data build: Move data/Makefile.am into Makefile.am 2014-01-31 23:49:39 -08:00
desktop-shell compositor: let the shells create the screenshooter 2014-04-02 11:39:19 -07:00
fullscreen-shell Add a wl_fullscreen_shell implementation 2014-04-02 21:25:56 -07:00
man x11-backend: Add a --scale option 2014-03-10 13:29:40 -07:00
protocol protocol: unify wl_viewport src and dst size rules 2014-04-06 22:38:15 -07:00
shared xdg-shell: Add set_margin request 2014-02-06 13:05:03 -08:00
src Always use glTexImage2D instead of glTexSubImage2D for first upload 2014-04-06 22:40:34 -07:00
tests tests: Properly report skipped tests 2014-02-18 13:50:29 -08:00
wcap build: Move wcap/Makefile.am into top-level Makefile.am 2014-01-31 23:50:00 -08:00
xwayland xwayland: Use new Xwayland DDX 2014-04-06 22:32:24 -07:00
.gitignore Update .gitignore 2014-02-07 14:53:31 -08:00
autogen.sh Update autotools configuration 2010-11-06 21:04:03 -04:00
configure.ac xwayland: Use new Xwayland DDX 2014-04-06 22:32:24 -07:00
COPYING Add COPYING 2012-04-25 10:17:42 -04:00
Makefile.am xwayland: Use new Xwayland DDX 2014-04-06 22:32:24 -07:00
notes.txt Add informal notes file 2012-10-25 15:00:42 -04:00
README README: Fix typo; add link to testing docs 2014-02-05 17:20:24 -08:00
weston.ini.in weston.ini.in: Update path to weston-flower 2014-02-18 20:39:51 -08:00

Weston

Weston is the reference implementation of a Wayland compositor, and a
useful compositor in its own right.  Weston has various backends that
lets it run on Linux kernel modesetting and evdev input as well as
under X11.  Weston ships with a few example clients, from simple
clients that demonstrate certain aspects of the protocol to more
complete clients and a simplistic toolkit.  There is also a quite
capable terminal emulator (weston-terminal) and an toy/example desktop
shell.  Finally, weston also provides integration with the Xorg server
and can pull X clients into the Wayland desktop and act as a X window
manager.

Refer to http://wayland.freedesktop.org/building.html for building
weston and its dependencies.

The test suite can be invoked via `make check`; see
http://wayland.freedesktop.org/testing.html for additional details.