Loading opengl/libs/EGL/eglApi.cpp +0 −6 Original line number Original line Diff line number Diff line Loading @@ -1827,12 +1827,6 @@ EGLClientBuffer eglCreateNativeClientBufferANDROID(const EGLint *attrib_list) if (value & EGL_NATIVE_BUFFER_USAGE_TEXTURE_BIT_ANDROID) { if (value & EGL_NATIVE_BUFFER_USAGE_TEXTURE_BIT_ANDROID) { usage |= GRALLOC_USAGE_HW_TEXTURE; usage |= GRALLOC_USAGE_HW_TEXTURE; } } // The buffer must be used for either a texture or a // renderbuffer. if ((value & EGL_NATIVE_BUFFER_USAGE_RENDERBUFFER_BIT_ANDROID) && (value & EGL_NATIVE_BUFFER_USAGE_TEXTURE_BIT_ANDROID)) { return setError(EGL_BAD_PARAMETER, (EGLClientBuffer)0); } break; break; default: default: return setError(EGL_BAD_PARAMETER, (EGLClientBuffer)0); return setError(EGL_BAD_PARAMETER, (EGLClientBuffer)0); Loading opengl/specs/EGL_ANDROID_create_native_client_buffer.txt +2 −9 Original line number Original line Diff line number Diff line Loading @@ -124,12 +124,10 @@ Changes to Chapter 3 of the EGL 1.2 Specification (EGL Functions and Errors) desirable) do not route the entire composition to the external sink. desirable) do not route the entire composition to the external sink. EGL_NATIVE_BUFFER_USAGE_RENDERBUFFER_BIT_ANDROID: The buffer will be EGL_NATIVE_BUFFER_USAGE_RENDERBUFFER_BIT_ANDROID: The buffer will be used to create a renderbuffer. This flag must not be set if used to create a color-renderable texture. EGL_NATIVE_BUFFER_USAGE_TEXTURE_BIT_ANDROID is set. EGL_NATIVE_BUFFER_USAGE_TEXTURE_BIT_ANDROID: The buffer will be used to EGL_NATIVE_BUFFER_USAGE_TEXTURE_BIT_ANDROID: The buffer will be used to create a texture. This flag must not be set if create a filterable texture. EGL_NATIVE_BUFFER_USAGE_RENDERBUFFER_BIT_ANDROID is set. Errors Errors Loading @@ -149,11 +147,6 @@ Changes to Chapter 3 of the EGL 1.2 Specification (EGL Functions and Errors) with the value of EGL_FORMAT, the error EGL_BAD_PARAMETER is with the value of EGL_FORMAT, the error EGL_BAD_PARAMETER is Generated. Generated. * If both the EGL_NATIVE_BUFFER_USAGE_RENDERBUFFER_BIT_ANDROID and EGL_NATIVE_BUFFER_USAGE_TEXTURE_BIT_ANDROID are set in the value of EGL_NATIVE_BUFFER_USAGE_ANDROID, the error EGL_BAD_PARAMETER is Generated." Issues Issues 1. Should this extension define what combinations of formats and usage flags 1. Should this extension define what combinations of formats and usage flags Loading Loading
opengl/libs/EGL/eglApi.cpp +0 −6 Original line number Original line Diff line number Diff line Loading @@ -1827,12 +1827,6 @@ EGLClientBuffer eglCreateNativeClientBufferANDROID(const EGLint *attrib_list) if (value & EGL_NATIVE_BUFFER_USAGE_TEXTURE_BIT_ANDROID) { if (value & EGL_NATIVE_BUFFER_USAGE_TEXTURE_BIT_ANDROID) { usage |= GRALLOC_USAGE_HW_TEXTURE; usage |= GRALLOC_USAGE_HW_TEXTURE; } } // The buffer must be used for either a texture or a // renderbuffer. if ((value & EGL_NATIVE_BUFFER_USAGE_RENDERBUFFER_BIT_ANDROID) && (value & EGL_NATIVE_BUFFER_USAGE_TEXTURE_BIT_ANDROID)) { return setError(EGL_BAD_PARAMETER, (EGLClientBuffer)0); } break; break; default: default: return setError(EGL_BAD_PARAMETER, (EGLClientBuffer)0); return setError(EGL_BAD_PARAMETER, (EGLClientBuffer)0); Loading
opengl/specs/EGL_ANDROID_create_native_client_buffer.txt +2 −9 Original line number Original line Diff line number Diff line Loading @@ -124,12 +124,10 @@ Changes to Chapter 3 of the EGL 1.2 Specification (EGL Functions and Errors) desirable) do not route the entire composition to the external sink. desirable) do not route the entire composition to the external sink. EGL_NATIVE_BUFFER_USAGE_RENDERBUFFER_BIT_ANDROID: The buffer will be EGL_NATIVE_BUFFER_USAGE_RENDERBUFFER_BIT_ANDROID: The buffer will be used to create a renderbuffer. This flag must not be set if used to create a color-renderable texture. EGL_NATIVE_BUFFER_USAGE_TEXTURE_BIT_ANDROID is set. EGL_NATIVE_BUFFER_USAGE_TEXTURE_BIT_ANDROID: The buffer will be used to EGL_NATIVE_BUFFER_USAGE_TEXTURE_BIT_ANDROID: The buffer will be used to create a texture. This flag must not be set if create a filterable texture. EGL_NATIVE_BUFFER_USAGE_RENDERBUFFER_BIT_ANDROID is set. Errors Errors Loading @@ -149,11 +147,6 @@ Changes to Chapter 3 of the EGL 1.2 Specification (EGL Functions and Errors) with the value of EGL_FORMAT, the error EGL_BAD_PARAMETER is with the value of EGL_FORMAT, the error EGL_BAD_PARAMETER is Generated. Generated. * If both the EGL_NATIVE_BUFFER_USAGE_RENDERBUFFER_BIT_ANDROID and EGL_NATIVE_BUFFER_USAGE_TEXTURE_BIT_ANDROID are set in the value of EGL_NATIVE_BUFFER_USAGE_ANDROID, the error EGL_BAD_PARAMETER is Generated." Issues Issues 1. Should this extension define what combinations of formats and usage flags 1. Should this extension define what combinations of formats and usage flags Loading