summaryrefslogtreecommitdiffstats
path: root/opengl/libagl
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2013-07-26 14:49:50 -0700
committerMathias Agopian <mathias@google.com>2013-07-26 15:43:33 -0700
commitc2414bb0989763641ca57cf72c11ef6d86565a23 (patch)
tree241ef0d78bc4fccaa73167f64a79e9ab33d94cf4 /opengl/libagl
parentdd533712f8dd21c0dadfd5ce8a0ad85aa3e96ada (diff)
downloadframeworks_native-c2414bb0989763641ca57cf72c11ef6d86565a23.zip
frameworks_native-c2414bb0989763641ca57cf72c11ef6d86565a23.tar.gz
frameworks_native-c2414bb0989763641ca57cf72c11ef6d86565a23.tar.bz2
get rid of HAL pixelformats 5551 and 4444
Change-Id: I39409103144c1ba09078c4ddc323a58987fb09ea
Diffstat (limited to 'opengl/libagl')
-rw-r--r--opengl/libagl/egl.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/opengl/libagl/egl.cpp b/opengl/libagl/egl.cpp
index 0ed5727..bbbda76 100644
--- a/opengl/libagl/egl.cpp
+++ b/opengl/libagl/egl.cpp
@@ -2051,8 +2051,6 @@ EGLImageKHR eglCreateImageKHR(EGLDisplay dpy, EGLContext ctx, EGLenum target,
case HAL_PIXEL_FORMAT_RGB_888:
case HAL_PIXEL_FORMAT_RGB_565:
case HAL_PIXEL_FORMAT_BGRA_8888:
- case HAL_PIXEL_FORMAT_RGBA_5551:
- case HAL_PIXEL_FORMAT_RGBA_4444:
break;
default:
return setError(EGL_BAD_PARAMETER, EGL_NO_IMAGE_KHR);