Generalize bitmap support and add remaining GL formats.
Fix bug in command fifo looping case.
diff --git a/libs/rs/rsElement.h b/libs/rs/rsElement.h
index 7852ffc..2434977 100644
--- a/libs/rs/rsElement.h
+++ b/libs/rs/rsElement.h
@@ -36,6 +36,8 @@
 
     void setComponent(uint32_t idx, Component *c);
 
+    uint32_t getGLType() const;
+    uint32_t getGLFormat() const;
 
 
     size_t getSizeBits() const;