Loading libs/hwui/Texture.cpp +3 −0 Original line number Diff line number Diff line Loading @@ -28,6 +28,9 @@ namespace uirenderer { static int bytesPerPixel(GLint glFormat) { switch (glFormat) { // The wrapped-texture case, usually means a SurfaceTexture case 0: return 0; case GL_ALPHA: return 1; case GL_RGB: Loading Loading
libs/hwui/Texture.cpp +3 −0 Original line number Diff line number Diff line Loading @@ -28,6 +28,9 @@ namespace uirenderer { static int bytesPerPixel(GLint glFormat) { switch (glFormat) { // The wrapped-texture case, usually means a SurfaceTexture case 0: return 0; case GL_ALPHA: return 1; case GL_RGB: Loading