ui/surface: Avoid including epoxy/gl.h in header files
Get series with b4
b4 am [email protected] change-id 20250510-gl-e6d2c89816cfVersions newest first
- v1 Latest3 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | ui/console: Unify pixman-OpenGL format mappingui/ | +22 | 1 reply | |
| 2/3 | ui/console: Remove DisplaySurface::mem_objinclude/ include/ ui/ +1 more | +9 | 0 replies | |
| 3/3 | ui/surface: Avoid including epoxy/gl.h in header filesinclude/ include/ include/ +2 more | +18 | 0 replies |
Reviews trailers per patch
1 of 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Marc-André Lureau |
|---|---|
| Series | R-b |
| 1/3 | R-b |
| 2/3 | |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] ui/surface: Avoid including epoxy/gl.h in header files
include/ui/shader.h and include/ui/surface.h are included by files that do not depend on Epoxy so they shouldn't include epoxy/gl.h. Otherwise, compilations of these files can fail because the path to the directory containing epoxy/gl.h may not be passed to the compiler.
Most variables with OpenGL types are removed. The remaining ones are GLuint and replaced with uint32_t, which we already use for texture names.
---
Akihiko Odaki (3):
ui/console: Unify pixman-OpenGL format mapping ui/console: Remove DisplaySurface::mem_obj ui/surface: Avoid including epoxy/gl.h in header files
include/ui/console.h | 4 +-- include/ui/shader.h | 2 -- include/ui/spice-display.h | 1 + include/ui/surface.h | 6 +--- ui/console-gl.c | 74 ++++++++++++++++++++++------------------------ ui/shader.c | 1 + ui/spice-display.c | 9 +++++- 7 files changed, 48 insertions(+), 49 deletions(-)
---
base-commit: ffcf1a7981793973ffbd8100a7c3c6042d02ae23
change-id: 20250510-gl-e6d2c89816cf
Best regards,
Signature · 1 line
Akihiko Odaki <[email protected]>