GL_API GLbitfield GL_APIENTRY glQueryMatrixxOES( GLfixed mantissa[16], GLint exponent[16] ) { if (IS_OPENGLES_11()) { int i; RPC_CALL1_OUT_CTRL(glQueryMatrixxOES_impl_11, GLQUERYMATRIXXOES_ID_11, mantissa); for(i=0;i<16;i++) exponent[i] = 0; return 0; } return 0xff; /* all components invalid */ }
GL_API void GL_APIENTRY glEGLImageTargetRenderbufferStorageOES (GLenum target, GLeglImageOES image) { CLIENT_THREAD_STATE_T *thread = CLIENT_GET_THREAD_STATE(); if (IS_OPENGLES_11(thread)) { /* OES_framebuffer_object not supported for GLES1.1 */ GLXX_CLIENT_STATE_T *state = GLXX_GET_CLIENT_STATE(thread); if (state->error == GL_NO_ERROR) state->error = GL_INVALID_OPERATION; } else if (IS_OPENGLES_20(thread)) { #if EGL_BRCM_global_image if ((uintptr_t)image & (1u << 31)) { GLuint global_image_id[2]; if (check_global_image_egl_image(global_image_id, image, thread, true)) { RPC_CALL3(glGlobalImageRenderbufferStorageOES_impl_20, thread, GLGLOBALIMAGERENDERBUFFERSTORAGEOES_ID_20, RPC_ENUM(target), RPC_UINT(global_image_id[0]), RPC_UINT(global_image_id[1])); } else { set_error(GLXX_GET_CLIENT_STATE(thread), GL_INVALID_VALUE); } } else { #endif RPC_CALL2(glEGLImageTargetRenderbufferStorageOES_impl_20, thread, GLEGLIMAGETARGETRENDERBUFFERSTORAGEOES_ID_20, RPC_ENUM(target), RPC_EGLID(image)); #if EGL_BRCM_global_image } #endif } }