From 5e784f37b2f7b27b9b4806db57daff4d2d573009 Mon Sep 17 00:00:00 2001 From: Jari Vetoniemi Date: Tue, 24 Jan 2017 02:28:32 +0200 Subject: Improve comments --- glcapture.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/glcapture.c b/glcapture.c index 99db7eb..96b5520 100644 --- a/glcapture.c +++ b/glcapture.c @@ -349,7 +349,8 @@ capture_frame_pbo(struct gl *gl, const GLint view[4], const uint64_t ts) uint8_t components; } frame = { // XXX: Maybe on ES we should instead modify the data and remove A component? - // Would save some transmission bandwidth at least + // Would save some transmission bandwidth at least (from GPU and to PIPE) + // RGB also is unaligned, but seem just as fast as RGBA on Nvidia. .video = (OPENGL_VARIANT == OPENGL_ES ? "rgb0" : "rgb"), .format = (OPENGL_VARIANT == OPENGL_ES ? GL_RGBA : GL_RGB), .components = (OPENGL_VARIANT == OPENGL_ES ? 4 : 3), -- cgit v1.2.3-70-g09d2