Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(375)

Unified Diff: include/lib/gfx.h

Issue 1777783003: [display] Refactor to avoid implicit framebuffer allocation. (Closed) Base URL: https://github.com/littlekernel/lk.git@master
Patch Set: update other targets Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: include/lib/gfx.h
diff --git a/include/lib/gfx.h b/include/lib/gfx.h
index 8c68daa8701921f47ef5dba078e54ba3fcac9993..1b26d7ac915173d7b77f5c2283441442c84144cb 100644
--- a/include/lib/gfx.h
+++ b/include/lib/gfx.h
@@ -103,9 +103,9 @@ void gfx_flush_rows(struct gfx_surface *surface, uint start, uint end);
// surface setup
gfx_surface *gfx_create_surface(void *ptr, uint width, uint height, uint stride, gfx_format format);
-// utility routine to make a surface out of a display info
-struct display_info;
-gfx_surface *gfx_create_surface_from_display(struct display_info *);
+// utility routine to make a surface out of a display framebuffer
+struct display_framebuffer;
+gfx_surface *gfx_create_surface_from_display(struct display_framebuffer *);
gkalsi 2016/03/09 21:13:37 __NONNULL((1));
cdotstout 2016/03/09 22:48:00 Done.
// free the surface
// optionally frees the buffer if the free bit is set

Powered by Google App Engine
This is Rietveld 408576698