commit | 6d0897775aa2dc00981bf9d7649c8001f3019a81 | [log] [tgz] |
---|---|---|
author | Jesse Hall <jessehall@google.com> | Tue Mar 27 16:49:03 2018 -0700 |
committer | Chris Forbes <chrisforbes@google.com> | Mon Feb 11 23:07:56 2019 +0000 |
tree | 801931e0ddc9b65d576582d3a2314e1391dd0877 | |
parent | e6a214dc438e872883d02718f573bac2ea35e114 [diff] |
Add glu::BufferOffsetAsPointer utility Clang 6.x adds a warning that doing arithmetic involving a NULL pointer is a GNU extension. This affects the common GL pattern (deUint8*)DE_NULL + offset used to pass an offset into a bound buffer object as a client pointer parameter. This change replaces that pattern with a call to a new utility function glu::BufferOffsetAsPointer(), which will hopefully be warning-free on all compilers. Change-Id: I8be939297b02c44091441c71ae75e45ceab30639 Bug: b/124254224 Components: Framework, OpenGL, AOSP (cherry picked from commit 05d98991304fce712732124e5e12fb670ee5a799)
This repository contains a GPU testing suite called dEQP (drawElements Quality Program). dEQP contains tests for several graphics APIs, including OpenGL ES, EGL, and Vulkan.
Up-to-date documentation for the dEQP is available at Android Open Source Project site.
This repository includes Khronos Vulkan CTS under external/vulkancts
directory. For more information see Vulkan CTS README.
This repository includes Khronos OpenGL / OpenGL ES CTS under external/openglcts
directory. For more information see OpenGL / OpenGL ES CTS README.