Home
last modified time | relevance | path

Searched refs:GL_PIXEL_PACK_BUFFER (Results 1 – 25 of 49) sorted by relevance

12

/external/angle/src/tests/gl_tests/
DReadPixelsTest.cpp79 glBindBuffer(GL_PIXEL_PACK_BUFFER, mPBO); in Reset()
80 glBufferData(GL_PIXEL_PACK_BUFFER, bufferSize, nullptr, GL_STATIC_DRAW); in Reset()
81 glBindBuffer(GL_PIXEL_PACK_BUFFER, 0); in Reset()
114 glBindBuffer(GL_PIXEL_PACK_BUFFER, mPBO); in TEST_P()
117 void *mappedPtr = glMapBufferRange(GL_PIXEL_PACK_BUFFER, 0, 32, GL_MAP_READ_BIT); in TEST_P()
123 glUnmapBuffer(GL_PIXEL_PACK_BUFFER); in TEST_P()
136 glBindBuffer(GL_PIXEL_PACK_BUFFER, mPBO); in TEST_P()
149 glBindBuffer(GL_PIXEL_PACK_BUFFER, mPBO); in TEST_P()
150 glMapBufferRange(GL_PIXEL_PACK_BUFFER, 0, 32, GL_MAP_READ_BIT); in TEST_P()
163 glBindBuffer(GL_PIXEL_PACK_BUFFER, mPBO); in TEST_P()
[all …]
DPBOExtensionTest.cpp50 glBindBuffer(GL_PIXEL_PACK_BUFFER, mPBO); in testSetUp()
51 glBufferData(GL_PIXEL_PACK_BUFFER, 4 * getWindowWidth() * getWindowHeight(), nullptr, in testSetUp()
53 glBindBuffer(GL_PIXEL_PACK_BUFFER, 0); in testSetUp()
84 glBindBuffer(GL_PIXEL_PACK_BUFFER, mPBO); in TEST_P()
87 glBindBuffer(GL_PIXEL_PACK_BUFFER, 0); in TEST_P()
114 glBindBuffer(GL_PIXEL_PACK_BUFFER, mPBO); in TEST_P()
124 void *mappedPtr = glMapBufferRangeEXT(GL_PIXEL_PACK_BUFFER, 0, 32, GL_MAP_READ_BIT); in TEST_P()
140 glUnmapBufferOES(GL_PIXEL_PACK_BUFFER); in TEST_P()
DGetImageTest.cpp132 glBindBuffer(GL_PIXEL_PACK_BUFFER, packBuffer); in TEST_P()
133 glBufferData(GL_PIXEL_PACK_BUFFER, kSize * kSize * sizeof(GLColor), nullptr, in TEST_P()
141 glBufferData(GL_PIXEL_PACK_BUFFER, kSize, nullptr, GL_STATIC_DRAW); in TEST_P()
DMultisampledRenderToTextureTest.cpp456 glBindBuffer(GL_PIXEL_PACK_BUFFER, PBO); in TEST_P()
457 glBufferData(GL_PIXEL_PACK_BUFFER, 4 * size * size, nullptr, GL_STATIC_DRAW); in TEST_P()
462 void *mappedPtr = glMapBufferRange(GL_PIXEL_PACK_BUFFER, 0, 32, GL_MAP_READ_BIT); in TEST_P()
468 glUnmapBuffer(GL_PIXEL_PACK_BUFFER); in TEST_P()
DShaderStorageBufferTest.cpp388 glBindBuffer(GL_PIXEL_PACK_BUFFER, shaderStorageBuffer); in TEST_P()
393 glMapBufferRange(GL_PIXEL_PACK_BUFFER, 0, kBytesPerComponent, GL_MAP_READ_BIT); in TEST_P()
398 glUnmapBuffer(GL_PIXEL_PACK_BUFFER); in TEST_P()
403 glBindBuffer(GL_PIXEL_PACK_BUFFER, 0); in TEST_P()
DWebGLCompatibilityTest.cpp598 glBindBuffer(GL_PIXEL_PACK_BUFFER, buffer); in TEST_P()
617 glBindBuffer(GL_PIXEL_PACK_BUFFER, buffer); in TEST_P()
620 glBufferData(GL_PIXEL_PACK_BUFFER, 4, nullptr, GL_STATIC_DRAW); in TEST_P()
/external/deqp/modules/gles3/functional/
Des3fPixelBufferObjectTests.cpp544 GLU_CHECK_CALL(glBindBuffer(GL_PIXEL_PACK_BUFFER, pixelBuffer)); in iterate()
545 GLU_CHECK_CALL(glBufferData(GL_PIXEL_PACK_BUFFER, readDataSize, NULL, GL_STREAM_READ)); in iterate()
549 …const deUint8* bufferData = (const deUint8*)glMapBufferRange(GL_PIXEL_PACK_BUFFER, 0, readDataSize… in iterate()
554 GLU_CHECK_CALL(glBindBuffer(GL_PIXEL_PACK_BUFFER, 0)); in iterate()
582 GLU_CHECK_CALL(glBindBuffer(GL_PIXEL_PACK_BUFFER, pixelBuffer)); in iterate()
583 GLU_CHECK_CALL(glUnmapBuffer(GL_PIXEL_PACK_BUFFER)); in iterate()
Des3fBufferWriteTests.cpp443 GL_PIXEL_PACK_BUFFER, in iterate()
565 GL_PIXEL_PACK_BUFFER, in init()
632 << DataStoreSpec(GL_PIXEL_PACK_BUFFER, GL_STATIC_DRAW, 504) in init()
746 …PARTIAL_SPECIFY_CASE(high_3, "High part of buffer specified with two calls", GL_PIXEL_PACK_BUFFER,… in init()
Des3fBufferCopyTests.cpp247 GL_PIXEL_PACK_BUFFER, in init()
Des3fBufferObjectQueryTests.cpp241 GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER in test()
Des3fBufferMapTests.cpp558 GL_PIXEL_PACK_BUFFER, in init()
/external/angle/src/tests/perf_tests/
DBindingPerf.cpp122 mBindingPoints.push_back(GL_PIXEL_PACK_BUFFER); in initializeBenchmark()
/external/deqp/modules/glshared/
DglsBufferTestUtil.cpp143 case GL_PIXEL_PACK_BUFFER: return "pixel_pack"; in getBufferTargetName()
593 glBindBuffer (GL_PIXEL_PACK_BUFFER, 0); in verify()
785 glBindBuffer (GL_PIXEL_PACK_BUFFER, 0); in verify()
/external/deqp/external/openglcts/modules/gl/
Dgl4cMapBufferAlignmentTests.cpp192 { GL_PIXEL_PACK_BUFFER, 0 }, in iterate()
Dgl4cSparseBufferTests.cpp3055 m_gl.bindBuffer(GL_PIXEL_PACK_BUFFER, m_sparse_bo); in execute()
3073 m_gl.bufferPageCommitmentARB(GL_PIXEL_PACK_BUFFER, 0, /* offset */ in execute()
3090 m_gl.bufferPageCommitmentARB(GL_PIXEL_PACK_BUFFER, m_page_size * n_page, m_page_size, in execute()
3125 m_gl.copyBufferSubData(GL_PIXEL_PACK_BUFFER, GL_COPY_READ_BUFFER, 0, /* readOffset */ in execute()
3193 m_gl.bufferPageCommitmentARB(GL_PIXEL_PACK_BUFFER, 0, /* offset */ in execute()
3198 m_gl.bindBuffer(GL_PIXEL_PACK_BUFFER, 0); in execute()
Dgl4cDirectStateAccessTexturesTests.cpp13315 gl.bindBuffer(GL_PIXEL_PACK_BUFFER, buffer); in iterate()
13324 gl.bindBuffer(GL_PIXEL_PACK_BUFFER, 0); in iterate()
13331 gl.bindBuffer(GL_PIXEL_PACK_BUFFER, buffer); in iterate()
13341 gl.bindBuffer(GL_PIXEL_PACK_BUFFER, 0); in iterate()
13382 gl.bindBuffer(GL_PIXEL_PACK_BUFFER, buffer); in iterate()
13385 gl.mapBuffer(GL_PIXEL_PACK_BUFFER, GL_READ_WRITE); in iterate()
13395 gl.unmapBuffer(GL_PIXEL_PACK_BUFFER); in iterate()
13403 gl.bindBuffer(GL_PIXEL_PACK_BUFFER, 0); in iterate()
13410 gl.bindBuffer(GL_PIXEL_PACK_BUFFER, buffer); in iterate()
13419 gl.bindBuffer(GL_PIXEL_PACK_BUFFER, 0); in iterate()
Dgl4cBufferStorageTests.cpp470 GL_PIXEL_PACK_BUFFER, /* 7 */
2839 …buffer.InitStorage(GL_PIXEL_PACK_BUFFER, GL_MAP_PERSISTENT_BIT | GL_MAP_READ_BIT | GL_MAP_WRITE_BI… in iterate()
/external/deqp/external/openglcts/modules/glesext/texture_buffer/
DesextcTextureBufferOperations.cpp959 gl.bindBuffer(GL_PIXEL_PACK_BUFFER, m_tb_bo_id); in initializeBufferObjectData()
978 gl.bindBuffer(GL_PIXEL_PACK_BUFFER, 0); in initializeBufferObjectData()
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_bufferobjects.c249 if (target == GL_PIXEL_PACK_BUFFER || in buffer_usage()
/external/deqp/framework/opengl/
DgluStateReset.cpp443 gl.bindBuffer(GL_PIXEL_PACK_BUFFER, 0); in resetStateES()
1065 gl.bindBuffer (GL_PIXEL_PACK_BUFFER, 0); in resetStateGLCore()
DgluStrUtil.inl385 case GL_PIXEL_PACK_BUFFER: return "GL_PIXEL_PACK_BUFFER";
/external/angle/src/common/
DPackedGLEnums_autogen.cpp124 case GL_PIXEL_PACK_BUFFER: in FromGLenum()
158 return GL_PIXEL_PACK_BUFFER; in ToGLenum()
/external/deqp/framework/platform/null/
DtcuNullRenderContext.cpp715 if (target == GL_PIXEL_PACK_BUFFER) in glBindBuffer()
/external/angle/src/libANGLE/renderer/gl/
Dfunctionsgl_enums.h470 #define GL_PIXEL_PACK_BUFFER 0x88EB macro
/external/deqp/external/openglcts/modules/common/
DglcPackedPixelsTests.cpp2203 gl.bindBuffer(GL_PIXEL_PACK_BUFFER, packPBO); in readOutputData()
2204 gl.bufferData(GL_PIXEL_PACK_BUFFER, bufferSize, &m_outputBuffer[0], GL_STATIC_READ); in readOutputData()
2234 GLvoid* mappedData = gl.mapBufferRange(GL_PIXEL_PACK_BUFFER, 0, bufferSize, GL_MAP_READ_BIT); in readOutputData()
2239 gl.unmapBuffer(GL_PIXEL_PACK_BUFFER); in readOutputData()
2242 gl.bindBuffer(GL_PIXEL_PACK_BUFFER, 0); in readOutputData()

12