From bc813af090a54930ef6bc535042183d35b1a9083 Mon Sep 17 00:00:00 2001 From: Jonathan Peppers Date: Fri, 14 Aug 2026 03:11:00 -0500 Subject: [PATCH 1/2] Document OpenGL ES methods Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- .../IGL10.xml | 52 +++++++++++-------- 1 file changed, 31 insertions(+), 21 deletions(-) diff --git a/docs/xml/Javax.Microedition.Khronos.Opengles/IGL10.xml b/docs/xml/Javax.Microedition.Khronos.Opengles/IGL10.xml index 8d5f53526..7dac5738a 100644 --- a/docs/xml/Javax.Microedition.Khronos.Opengles/IGL10.xml +++ b/docs/xml/Javax.Microedition.Khronos.Opengles/IGL10.xml @@ -62,10 +62,12 @@ - To be added. - - + The texture unit to make active. Specify a value from GL_TEXTURE0 through GL_TEXTUREi, where i is less than GL_MAX_TEXTURE_UNITS. + Selects the texture unit affected by subsequent texture state calls. + + See the Khronos OpenGL ES reference for glActiveTexture. + Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. @@ -488,11 +490,13 @@ - To be added. - To be added. - - + The texture target to bind. In OpenGL ES 1.0, this must be GL_TEXTURE_2D. + The name of the texture to bind. Specify zero to select the target's default texture. + Binds a named texture to a texture target. + + See the Khronos OpenGL ES reference for glBindTexture. + Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. @@ -680,10 +684,12 @@ - To be added. - - + A bitwise OR of GL_COLOR_BUFFER_BIT, GL_DEPTH_BUFFER_BIT, and GL_STENCIL_BUFFER_BIT that identifies the buffers to clear. + Clears buffers to their previously configured clear values. + + See the Khronos OpenGL ES reference for glClear. + Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. @@ -2004,12 +2010,14 @@ - To be added. - To be added. - To be added. - - + The primitive type to render, such as GL_TRIANGLES or GL_LINE_STRIP. + The index of the first element in each enabled array to use. + The number of sequential elements from each enabled array to use. + Renders primitives using sequential elements from enabled client arrays. + + See the Khronos OpenGL ES reference for glDrawArrays. + Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. @@ -10197,13 +10205,15 @@ - To be added. - To be added. - To be added. - To be added. - - + The x-coordinate, in pixels, of the viewport's lower-left corner. + The y-coordinate, in pixels, of the viewport's lower-left corner. + The width of the viewport, in pixels. + The height of the viewport, in pixels. + Sets the viewport transform from normalized device coordinates to window coordinates. + + See the Khronos OpenGL ES reference for glViewport. + Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. From d22f15384fe9079533769ac002d52242189ec9a3 Mon Sep 17 00:00:00 2001 From: Jonathan Peppers Date: Fri, 14 Aug 2026 03:21:52 -0500 Subject: [PATCH 2/2] Clarify active texture documentation Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- docs/xml/Javax.Microedition.Khronos.Opengles/IGL10.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/xml/Javax.Microedition.Khronos.Opengles/IGL10.xml b/docs/xml/Javax.Microedition.Khronos.Opengles/IGL10.xml index 7dac5738a..4738f5d88 100644 --- a/docs/xml/Javax.Microedition.Khronos.Opengles/IGL10.xml +++ b/docs/xml/Javax.Microedition.Khronos.Opengles/IGL10.xml @@ -62,7 +62,7 @@ - The texture unit to make active. Specify a value from GL_TEXTURE0 through GL_TEXTUREi, where i is less than GL_MAX_TEXTURE_UNITS. + The texture unit to make active. Specify GL_TEXTURE0 + i, where i is greater than or equal to zero and less than GL_MAX_TEXTURE_UNITS. Selects the texture unit affected by subsequent texture state calls.