Home
last modified time | relevance | path

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

1234

/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/flutter/skia/third_party/externals/angle2/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()
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()
/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()
/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/flutter/skia/third_party/externals/dawn/src/dawn_native/opengl/
DCommandBufferGL.cpp379 gl.BindBuffer(GL_PIXEL_PACK_BUFFER, ToBackend(copy->source)->GetHandle()); in Execute()
382 gl.CopyBufferSubData(GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, in Execute()
385 gl.BindBuffer(GL_PIXEL_PACK_BUFFER, 0); in Execute()
474 gl.BindBuffer(GL_PIXEL_PACK_BUFFER, buffer->GetHandle()); in Execute()
485 gl.BindBuffer(GL_PIXEL_PACK_BUFFER, 0); in Execute()
/third_party/mesa3d/src/mesa/main/
Dglthread_bufferobj.c192 case GL_PIXEL_PACK_BUFFER: in _mesa_glthread_BindBuffer()
220 _mesa_glthread_BindBuffer(ctx, GL_PIXEL_PACK_BUFFER, 0); in _mesa_glthread_DeleteBuffers()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/perf_tests/
DBindingPerf.cpp122 mBindingPoints.push_back(GL_PIXEL_PACK_BUFFER); in initializeBenchmark()
/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()
/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/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/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/mesa3d/src/mesa/state_tracker/
Dst_cb_bufferobjects.c270 if (target == GL_PIXEL_PACK_BUFFER || in buffer_usage()
/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/AMD/
DAMD_pinned_memory.txt190 GL_PIXEL_PACK_BUFFER) or transform feedback (GL_TRANSFORM_FEEDBACK_BUFFER).

1234