OSDN Git Service

Add ES3 functions and constants, difficult ones commented out
authorJesse Hall <jessehall@google.com>
Fri, 29 Mar 2013 20:06:32 +0000 (13:06 -0700)
committerJesse Hall <jessehall@google.com>
Thu, 11 Apr 2013 05:00:17 +0000 (22:00 -0700)
commit2d9faafa2318c05f8991beff9cc683d72cbabd07
treecb1170258fd91954ea7f91de838718afdd052bb7
parent0eb6ad563825b97aec760a893db0eead10fe0ae6
Add ES3 functions and constants, difficult ones commented out

This change adds ES3 functions to GLES30.spec, disabling any that
require non-trivial changes for the generator to handle.

Steps taken to add these:
- Copy ES3 function declarations from gl3.h
- Remove GL_APICALL, GL_APIENTRY, and semicolon from each declaration
- Add whitespace around parens and *s as required by the parser
- Comment out functions that the generator doesn't understand or that
  it generates bad Java interfaces for (by inspection).

Bug: 8566953
Change-Id: Iaaef7d53e24f9a576759dbba72cd206bae1c1276
opengl/tools/glgen/specs/gles11/GLES30.spec
opengl/tools/glgen/stubs/gles11/GLES20Header.java-if
opengl/tools/glgen/stubs/gles11/GLES30Header.java-if