As part of the state cache work started in bug 110883, this bug intends to provide a mechanism to retrieve GL_VIEWPORT and Gl_SCISSOR_BOX values if cached when retrieved using glGetIntegerv(). These information might already be cached by previous usage of glViewport() and glScissor() functions.
Created attachment 193146 [details] Patch Exploratory patch (depends on patch from bug 110883)