render: replace EGL/OpenGL pipeline with wl_shm shared memory
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I15dbcca9d12b5c24ed8c82ecc375f4046a6a6964
This commit is contained in:
parent
7863890002
commit
5ba4407367
6 changed files with 323 additions and 739 deletions
4
Makefile
4
Makefile
|
|
@ -34,7 +34,7 @@ DEBUG_CFLAGS += -D_GNU_SOURCE -DCHROMA_VERSION=\"$(VERSION)-debug\"
|
|||
DEBUG_CFLAGS += -fsanitize=address -fsanitize=undefined -fno-omit-frame-pointer
|
||||
|
||||
# Libraries using pkg-config
|
||||
PKG_DEPS = wayland-client wayland-egl egl glesv2 wayland-protocols
|
||||
PKG_DEPS = wayland-client wayland-protocols
|
||||
CFLAGS += $(shell pkg-config --cflags $(PKG_DEPS))
|
||||
LDFLAGS += $(shell pkg-config --libs $(PKG_DEPS))
|
||||
|
||||
|
|
@ -117,7 +117,7 @@ static: $(TARGET)
|
|||
# Check if required dependencies are available
|
||||
check-deps:
|
||||
@echo "Checking dependencies..."
|
||||
@pkg-config --exists $(PKG_DEPS) || (echo "Missing dependencies. Install: wayland-protocols libwayland-dev libegl1-mesa-dev libgl1-mesa-dev wayland-scanner" && exit 1)
|
||||
@pkg-config --exists $(PKG_DEPS) || (echo "Missing dependencies. Install: wayland-protocols libwayland-dev wayland-scanner" && exit 1)
|
||||
@which wayland-scanner >/dev/null || (echo "wayland-scanner not found. Please install wayland-scanner." && exit 1)
|
||||
@echo "All dependencies found."
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue