Home
last modified time | relevance | path

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

123

/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DReadPixelsTest.cpp82 glBindBuffer(GL_PIXEL_PACK_BUFFER, mPBO); in Reset()
83 glBufferData(GL_PIXEL_PACK_BUFFER, bufferSize, nullptr, GL_STATIC_DRAW); in Reset()
84 glBindBuffer(GL_PIXEL_PACK_BUFFER, 0); in Reset()
140 glBindBuffer(GL_PIXEL_PACK_BUFFER, mPBO); in TEST_P()
143 void *mappedPtr = glMapBufferRangeEXT(GL_PIXEL_PACK_BUFFER, 0, 32, GL_MAP_READ_BIT); in TEST_P()
151 glUnmapBufferOES(GL_PIXEL_PACK_BUFFER); in TEST_P()
168 glBindBuffer(GL_PIXEL_PACK_BUFFER, mPBO); in TEST_P()
173 glBindBuffer(GL_PIXEL_PACK_BUFFER, 0); in TEST_P()
197 glBindBuffer(GL_PIXEL_PACK_BUFFER, mPBO); in TEST_P()
198 glBufferData(GL_PIXEL_PACK_BUFFER, 4 * getWindowWidth() * getWindowHeight(), nullptr, 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()
DShaderStorageBufferTest.cpp509 glBindBuffer(GL_PIXEL_PACK_BUFFER, shaderStorageBuffer); in TEST_P()
514 glMapBufferRange(GL_PIXEL_PACK_BUFFER, 0, kBytesPerComponent, GL_MAP_READ_BIT); in TEST_P()
519 glUnmapBuffer(GL_PIXEL_PACK_BUFFER); in TEST_P()
524 glBindBuffer(GL_PIXEL_PACK_BUFFER, 0); in TEST_P()
2705 glBindBuffer(GL_PIXEL_PACK_BUFFER, buffer); in TEST_P()
2718 glBindBuffer(GL_PIXEL_PACK_BUFFER, 0); in TEST_P()
2775 glBindBuffer(GL_PIXEL_PACK_BUFFER, buffer); in TEST_P()
2823 glBindBuffer(GL_PIXEL_PACK_BUFFER, 0); in TEST_P()
2828 glBindBuffer(GL_PIXEL_PACK_BUFFER, 0); in TEST_P()
DGetImageTest.cpp151 glBindBuffer(GL_PIXEL_PACK_BUFFER, packBuffer); in TEST_P()
152 glBufferData(GL_PIXEL_PACK_BUFFER, kSize * kSize * sizeof(GLColor), nullptr, in TEST_P()
160 glBufferData(GL_PIXEL_PACK_BUFFER, kSize, nullptr, GL_STATIC_DRAW); in TEST_P()
DMemoryBarrierTest.cpp1372 glBindBuffer(GL_PIXEL_PACK_BUFFER, packBuffer); in pixelBufferBitBufferWriteThenPack()
1374 glBindBuffer(GL_PIXEL_PACK_BUFFER, 0); in pixelBufferBitBufferWriteThenPack()
1463 glBindBuffer(GL_PIXEL_PACK_BUFFER, packBuffer); in pixelBufferBitPackThenBufferWrite()
1465 glBindBuffer(GL_PIXEL_PACK_BUFFER, 0); in pixelBufferBitPackThenBufferWrite()
2699 glBindBuffer(GL_PIXEL_PACK_BUFFER, packBuffer); in framebufferBitImageWriteThenReadPixels()
2702 glBufferData(GL_PIXEL_PACK_BUFFER, sizeof(kInitData), kPBOInitData.data(), GL_STATIC_DRAW); in framebufferBitImageWriteThenReadPixels()
2712 glBindBuffer(GL_PIXEL_PACK_BUFFER, 0); in framebufferBitImageWriteThenReadPixels()
2942 glBindBuffer(GL_PIXEL_PACK_BUFFER, packBuffer); in framebufferBitReadPixelsThenImageWrite()
2945 glBufferData(GL_PIXEL_PACK_BUFFER, sizeof(kInitData), kPBOInitData.data(), GL_STATIC_DRAW); in framebufferBitReadPixelsThenImageWrite()
2955 glBindBuffer(GL_PIXEL_PACK_BUFFER, 0); in framebufferBitReadPixelsThenImageWrite()
/third_party/vk-gl-cts/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()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/
Dgstglmemorypbo.c77 #ifndef GL_PIXEL_PACK_BUFFER
78 #define GL_PIXEL_PACK_BUFFER 0x88EB macro
268 gl_mem->pbo->target = GL_PIXEL_PACK_BUFFER; in _read_pixels_to_pbo()
292 gl_mem->pbo->target = GL_PIXEL_PACK_BUFFER; in _pbo_download_transfer()
414 gl_mem->pbo->target = GL_PIXEL_PACK_BUFFER; in _gl_mem_unmap_cpu_access()
/third_party/mesa3d/src/mesa/main/
Dglthread_bufferobj.c193 case GL_PIXEL_PACK_BUFFER: in _mesa_glthread_BindBuffer()
224 _mesa_glthread_BindBuffer(ctx, GL_PIXEL_PACK_BUFFER, 0); in _mesa_glthread_DeleteBuffers()
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/
DBindingPerf.cpp142 mBindingPoints.push_back(GL_PIXEL_PACK_BUFFER); in initializeBenchmark()
/third_party/vk-gl-cts/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()
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
DCommandBufferGL.cpp626 gl.BindBuffer(GL_PIXEL_PACK_BUFFER, ToBackend(copy->source)->GetHandle()); in Execute()
629 gl.CopyBufferSubData(GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, in Execute()
632 gl.BindBuffer(GL_PIXEL_PACK_BUFFER, 0); in Execute()
717 gl.BindBuffer(GL_PIXEL_PACK_BUFFER, buffer->GetHandle()); in Execute()
782 gl.BindBuffer(GL_PIXEL_PACK_BUFFER, 0); in Execute()
/third_party/vk-gl-cts/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()
/third_party/openGLES/extensions/EXT/
DEXT_buffer_storage.txt455 glBindBuffer(GL_PIXEL_PACK_BUFFER, pbo);
456 glBufferStorageEXT(GL_PIXEL_PACK_BUFFER, size, NULL,
460 void * data = glMapBufferRange(GL_PIXEL_PACK_BUFFER,
/third_party/skia/third_party/externals/opengl-registry/extensions/EXT/
DEXT_buffer_storage.txt455 glBindBuffer(GL_PIXEL_PACK_BUFFER, pbo);
456 glBufferStorageEXT(GL_PIXEL_PACK_BUFFER, size, NULL,
460 void * data = glMapBufferRange(GL_PIXEL_PACK_BUFFER,
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_buffer/
DesextcTextureBufferOperations.cpp962 gl.bindBuffer(GL_PIXEL_PACK_BUFFER, m_tb_bo_id); in initializeBufferObjectData()
981 gl.bindBuffer(GL_PIXEL_PACK_BUFFER, 0); in initializeBufferObjectData()
/third_party/skia/third_party/externals/opengl-registry/extensions/AMD/
DAMD_pinned_memory.txt190 GL_PIXEL_PACK_BUFFER) or transform feedback (GL_TRANSFORM_FEEDBACK_BUFFER).
/third_party/openGLES/extensions/AMD/
DAMD_pinned_memory.txt190 GL_PIXEL_PACK_BUFFER) or transform feedback (GL_TRANSFORM_FEEDBACK_BUFFER).
/third_party/skia/third_party/externals/opengl-registry/extensions/ARB/
DARB_buffer_storage.txt459 glBindBuffer(GL_PIXEL_PACK_BUFFER, pbo);
460 glBufferStorage(GL_PIXEL_PACK_BUFFER, size, NULL,
464 void * data = glMapBufferRange(GL_PIXEL_PACK_BUFFER,
/third_party/openGLES/extensions/ARB/
DARB_buffer_storage.txt470 glBindBuffer(GL_PIXEL_PACK_BUFFER, pbo);
471 glBufferStorage(GL_PIXEL_PACK_BUFFER, size, NULL,
475 void * data = glMapBufferRange(GL_PIXEL_PACK_BUFFER,
/third_party/skia/third_party/externals/angle2/src/common/
DPackedGLEnums_autogen.cpp124 case GL_PIXEL_PACK_BUFFER: in FromGLenum()
160 return GL_PIXEL_PACK_BUFFER; in ToGLenum()
/third_party/vk-gl-cts/framework/platform/null/
DtcuNullRenderContext.cpp720 if (target == GL_PIXEL_PACK_BUFFER) in glBindBuffer()

123