Home
last modified time | relevance | path

Searched refs:GL_UNIFORM_BUFFER (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/opengl/src/android/opengl/cts/
DByteBufferTest.java22 import static android.opengl.GLES30.GL_UNIFORM_BUFFER;
55 glBindBuffer(GL_UNIFORM_BUFFER, buffer[0]); in testMapBufferRange()
56 glBufferData(GL_UNIFORM_BUFFER, 1024, null, GL_DYNAMIC_READ); in testMapBufferRange()
58 Buffer mappedBuffer = glMapBufferRange(GL_UNIFORM_BUFFER, 0, 1024, GL_MAP_READ_BIT); in testMapBufferRange()
63 Buffer pointerBuffer = glGetBufferPointerv(GL_UNIFORM_BUFFER, GL_BUFFER_MAP_POINTER); in testMapBufferRange()
67 glUnmapBuffer(GL_UNIFORM_BUFFER); in testMapBufferRange()
69 glBindBuffer(GL_UNIFORM_BUFFER, 0); in testMapBufferRange()
/cts/tests/vr/jni/
DVrExtensionsJni.cpp60 #define GL_UNIFORM_BUFFER 0x8A11 macro
229 glBindBuffer(GL_UNIFORM_BUFFER, buf); in testExternalBuffer()
232 glBufferStorageExternalEXT(GL_UNIFORM_BUFFER, 0, in testExternalBuffer()
249 glMapBufferRange(GL_UNIFORM_BUFFER, 0, bufsize, in testExternalBuffer()
254 glUnmapBuffer(GL_UNIFORM_BUFFER); in testExternalBuffer()
258 void* data = glMapBufferRange(GL_UNIFORM_BUFFER, 0, bufsize, GL_MAP_READ_BIT); in testExternalBuffer()
262 glUnmapBuffer(GL_UNIFORM_BUFFER); in testExternalBuffer()