Lines Matching refs:s_gles2
64 s_gles2.glGenBuffers(display.mBuffers.size(), &display.mBuffers[0]); in initReadbackForDisplay()
66 s_gles2.glBindBuffer(GL_PIXEL_PACK_BUFFER, buffer); in initReadbackForDisplay()
67 s_gles2.glBufferData(GL_PIXEL_PACK_BUFFER, display.mBufferSize, nullptr, GL_STREAM_READ); in initReadbackForDisplay()
69 s_gles2.glBindBuffer(GL_PIXEL_PACK_BUFFER, 0); in initReadbackForDisplay()
83 s_gles2.glBindBuffer(GL_PIXEL_PACK_BUFFER, 0); in deinitReadbackForDisplay()
84 s_gles2.glBindBuffer(GL_COPY_READ_BUFFER, 0); in deinitReadbackForDisplay()
85 s_gles2.glDeleteBuffers(display.mBuffers.size(), &display.mBuffers[0]); in deinitReadbackForDisplay()
209 s_gles2.glBindBuffer(GL_COPY_READ_BUFFER, src); in flushPipeline()
210 s_gles2.glBindBuffer(GL_COPY_WRITE_BUFFER, dst); in flushPipeline()
211 s_gles2.glCopyBufferSubData(GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, 0, 0, srcSize); in flushPipeline()
231 s_gles2.glBindBuffer(GL_COPY_READ_BUFFER, buffer); in getPixels()
232 void* pixels = s_gles2.glMapBufferRange(GL_COPY_READ_BUFFER, 0, bytes, GL_MAP_READ_BIT); in getPixels()
234 s_gles2.glUnmapBuffer(GL_COPY_READ_BUFFER); in getPixels()