code: public GVRBitmapTexture getSolidColorTexture(int color) {
          GVRBitmapTexture texture;
          synchronized (mColorTextureCache) {
              texture = mColorTextureCache.get(color);
              Log.d(TAG, "getSolidColorTexture(): have cached texture for 0x%08X: %b", color, texture != null);
              if (texture == null) {
                  texture = new ImmutableBitmapTexture(mContext, makeSolidColorBitmap(color));
                  Log.d(TAG, "getSolidColorTexture(): caching texture for 0x%08X", color);
                  mColorTextureCache.put(color, texture);
                  Log.d(TAG, "getSolidColorTexture(): succeeded caching for 0x%08X: %b",
                          color, mColorTextureCache.indexOfKey(color) >= 0);
              }
          }
  
          return texture;
      }
docs: Gets an immutable {@linkplain GVRBitmapTexture texture} with the specified color,
  returning a cached instance if possible.
  
  @param color An Android {@link Color}.
  @return And immutable instance of {@link GVRBitmapTexture}.