diff options
author | Jari Vetoniemi <mailroxas@gmail.com> | 2017-01-24 02:28:32 +0200 |
---|---|---|
committer | Jari Vetoniemi <mailroxas@gmail.com> | 2017-01-24 02:28:32 +0200 |
commit | 5e784f37b2f7b27b9b4806db57daff4d2d573009 (patch) | |
tree | 3a484db1e017878edf69af4526a8db7b4e141ceb | |
parent | f77a40519f5b40aa29dbf3f8d857001b7cd9e848 (diff) |
Improve comments
-rw-r--r-- | glcapture.c | 3 |
1 files changed, 2 insertions, 1 deletions
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), |