42137d2e72cebb41f70c4a306877587fd0ea8c20 |
|
26-Apr-2013 |
Andy McFadden <fadden@android.com> |
Fix range check The getarray() function checks to see if there's enough room in the buffer, but it's using a byte count for the available size and a possibly non-byte count for the space required. Dividing down by the unit size corrects the problem. Bug 8713753 Change-Id: Id42c0df65c3233dcc5f76d05e229f7d40d4c1f99
/frameworks/native/opengl/tools/glgen/stubs/gles11/common.cpp
|
071fc660597efdfa5ebc58b427252393e628a497 |
|
10-Apr-2013 |
Jesse Hall <jessehall@google.com> |
Add buffer object versions of several functions Some of these are new ES3 functions, some are existing ES2 functions that can now use the new pixel pack/unpack buffer bindings. glDrawElementsInstanced needs a special case since the pointer/offset arg isn't the last one like the generator assumes. Bug: 8566953 Change-Id: I638a36b0a31aefcb5bfee6f4d049348223045103
/frameworks/native/opengl/tools/glgen/stubs/gles11/common.cpp
|
bf13ba5e77804ca7466acb7100cdaf7c14cc0fb7 |
|
23-Feb-2013 |
Mathias Agopian <mathias@google.com> |
add some missing parameter validation in GLES java bindings - added support for comments in checks.spec - added most missing checks - added and commented with // special-cased functions - added and commented with # functions that are still missing validation checks - moved glGet* to a special case and updated all the "pnames" from the khronos spec - changed ifcheck to default to 1 value. this allows us to simplify the checks.spec file and handle unknown pnames automatically (they'll be validated against 1 value, if it happens to need more, the call will go through but the validation will not happen). - refactored the cpp headers in to a common header + GLES version specific header Bug: 7402895 Change-Id: Ib5c68ca0ca416407b4cfa36e3a21901b2d6263ab
/frameworks/native/opengl/tools/glgen/stubs/gles11/common.cpp
|