/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | DXT1CompressedTextureTest.cpp | 296 glBindBuffer(GL_PIXEL_UNPACK_BUFFER, buffer); in TEST_P() 297 glBufferData(GL_PIXEL_UNPACK_BUFFER, pixel_0_size, nullptr, GL_STREAM_DRAW); in TEST_P() 300 glBufferSubData(GL_PIXEL_UNPACK_BUFFER, 0, pixel_0_size, pixel_0_data); in TEST_P() 303 glBufferSubData(GL_PIXEL_UNPACK_BUFFER, 0, pixel_1_size, pixel_1_data); in TEST_P() 306 glBufferSubData(GL_PIXEL_UNPACK_BUFFER, 0, pixel_2_size, pixel_2_data); in TEST_P() 309 glBufferSubData(GL_PIXEL_UNPACK_BUFFER, 0, pixel_3_size, pixel_3_data); in TEST_P() 312 glBufferSubData(GL_PIXEL_UNPACK_BUFFER, 0, pixel_4_size, pixel_4_data); in TEST_P() 315 glBufferSubData(GL_PIXEL_UNPACK_BUFFER, 0, pixel_5_size, pixel_5_data); in TEST_P() 318 glBufferSubData(GL_PIXEL_UNPACK_BUFFER, 0, pixel_6_size, pixel_6_data); in TEST_P() 321 glBufferSubData(GL_PIXEL_UNPACK_BUFFER, 0, pixel_7_size, pixel_7_data); in TEST_P() [all …]
|
D | BPTCCompressedTextureTest.cpp | 285 glBindBuffer(GL_PIXEL_UNPACK_BUFFER, buffer); in TEST_P() 286 glBufferData(GL_PIXEL_UNPACK_BUFFER, kBC7Data4x4.size(), kBC7Data4x4.data(), GL_STREAM_DRAW); in TEST_P() 302 glBufferData(GL_PIXEL_UNPACK_BUFFER, kBC7BlackData4x4.size(), kBC7BlackData4x4.data(), in TEST_P() 313 glBufferData(GL_PIXEL_UNPACK_BUFFER, kBC7Data4x4.size(), kBC7Data4x4.data(), GL_STREAM_DRAW); in TEST_P() 336 glBindBuffer(GL_PIXEL_UNPACK_BUFFER, buffer); in TEST_P() 337 glBufferData(GL_PIXEL_UNPACK_BUFFER, kBC7Data4x4.size(), kBC7Data4x4.data(), GL_STREAM_DRAW); in TEST_P() 354 glBufferData(GL_PIXEL_UNPACK_BUFFER, kBC7BlackData4x4.size(), kBC7BlackData4x4.data(), in TEST_P() 365 glBufferData(GL_PIXEL_UNPACK_BUFFER, kBC7Data4x4.size(), kBC7Data4x4.data(), GL_STREAM_DRAW); in TEST_P() 391 glBindBuffer(GL_PIXEL_UNPACK_BUFFER, buffer); in TEST_P() 392 glBufferData(GL_PIXEL_UNPACK_BUFFER, kBC7Data4x4.size(), kBC7Data4x4.data(), GL_STREAM_DRAW); in TEST_P()
|
D | BufferDataTest.cpp | 437 glBindBuffer(GL_PIXEL_UNPACK_BUFFER, dstBuffer); in TEST_P() 438 glBufferData(GL_PIXEL_UNPACK_BUFFER, dstData.size(), dstData.data(), GL_STATIC_READ); in TEST_P() 454 glCopyBufferSubData(GL_ARRAY_BUFFER, GL_PIXEL_UNPACK_BUFFER, 0, 0, numElements); in TEST_P() 458 glMapBufferRange(GL_PIXEL_UNPACK_BUFFER, 0, numElements, GL_MAP_READ_BIT)); in TEST_P() 464 glUnmapBuffer(GL_PIXEL_UNPACK_BUFFER); in TEST_P() 512 glBindBuffer(GL_PIXEL_UNPACK_BUFFER, dstBuffer); in TEST_P() 513 glBufferData(GL_PIXEL_UNPACK_BUFFER, dstData.size(), dstData.data(), GL_STATIC_READ); in TEST_P() 529 glCopyBufferSubData(GL_ARRAY_BUFFER, GL_PIXEL_UNPACK_BUFFER, 0, 0, numElements); in TEST_P() 536 GL_PIXEL_UNPACK_BUFFER, 0, numElements, GL_MAP_WRITE_BIT | GL_MAP_UNSYNCHRONIZED_BIT)); in TEST_P() 539 glUnmapBuffer(GL_PIXEL_UNPACK_BUFFER); in TEST_P() [all …]
|
D | IncompleteTextureTest.cpp | 198 glBindBuffer(GL_PIXEL_UNPACK_BUFFER, unpackBuffer); in TEST_P() 199 glBufferData(GL_PIXEL_UNPACK_BUFFER, red.size() * sizeof(GLColor), red.data(), GL_STATIC_DRAW); in TEST_P()
|
D | TextureTest.cpp | 2245 glBindBuffer(GL_PIXEL_UNPACK_BUFFER, pbo); in TEST_P() 2246 glBufferData(GL_PIXEL_UNPACK_BUFFER, componentCount * pixelCount, pixels.data(), in TEST_P() 2323 glBindBuffer(GL_PIXEL_UNPACK_BUFFER, pbo); in TEST_P() 2324 glBufferData(GL_PIXEL_UNPACK_BUFFER, pixelsGreen.size() * 4u, pixelsGreen.data(), in TEST_P() 2426 glBindBuffer(GL_PIXEL_UNPACK_BUFFER, pbo); in TEST_P() 2427 glBufferData(GL_PIXEL_UNPACK_BUFFER, 3 * 16 * 16, pixels.data(), GL_STATIC_DRAW); in TEST_P() 2481 glBindBuffer(GL_PIXEL_UNPACK_BUFFER, pbo); in TEST_P() 2482 glBufferData(GL_PIXEL_UNPACK_BUFFER, 16 * 16, pixels.data(), GL_STATIC_DRAW); in TEST_P() 2533 glBindBuffer(GL_PIXEL_UNPACK_BUFFER, pbo); in TEST_P() 2534 glBufferData(GL_PIXEL_UNPACK_BUFFER, 2 * 16 * 16, pixels.data(), GL_STATIC_DRAW); in TEST_P() [all …]
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fNegativeTextureApiTests.cpp | 478 glBindBuffer (GL_PIXEL_UNPACK_BUFFER, buf); in init() 479 glBufferData (GL_PIXEL_UNPACK_BUFFER, 64, &data[0], GL_DYNAMIC_COPY); in init() 483 glMapBufferRange (GL_PIXEL_UNPACK_BUFFER, 0, 32, GL_MAP_WRITE_BIT); in init() 486 glUnmapBuffer (GL_PIXEL_UNPACK_BUFFER); in init() 1388 glBindBuffer (GL_PIXEL_UNPACK_BUFFER, buf); in init() 1389 glBufferData (GL_PIXEL_UNPACK_BUFFER, 64, &data[0], GL_DYNAMIC_COPY); in init() 1396 glMapBufferRange (GL_PIXEL_UNPACK_BUFFER, 0, 32, GL_MAP_WRITE_BIT); in init() 1399 glUnmapBuffer (GL_PIXEL_UNPACK_BUFFER); in init() 1579 glBindBuffer (GL_PIXEL_UNPACK_BUFFER, buf); in init() 1580 glBufferData (GL_PIXEL_UNPACK_BUFFER, 64, &data[0], GL_DYNAMIC_COPY); in init() [all …]
|
D | es3fBufferWriteTests.cpp | 444 GL_PIXEL_UNPACK_BUFFER, in iterate() 566 GL_PIXEL_UNPACK_BUFFER, in init() 633 << DataStoreSpec(GL_PIXEL_UNPACK_BUFFER, GL_STATIC_DRAW, 504) in init() 750 …SE(middle_1, "Middle part of buffer specified with single call", GL_PIXEL_UNPACK_BUFFER, GL_STREAM… in init()
|
D | es3fTextureSpecificationTests.cpp | 2339 glBindBuffer(GL_PIXEL_UNPACK_BUFFER, buf); in createTexture() 2340 glBufferData(GL_PIXEL_UNPACK_BUFFER, (int)data.size(), &data[0], GL_STATIC_DRAW); in createTexture() 2416 glBindBuffer(GL_PIXEL_UNPACK_BUFFER, buf); in createTexture() 2417 glBufferData(GL_PIXEL_UNPACK_BUFFER, (int)data[face].size(), &data[face][0], GL_STATIC_DRAW); in createTexture() 2493 glBindBuffer(GL_PIXEL_UNPACK_BUFFER, buf); in createTexture() 2494 glBufferData(GL_PIXEL_UNPACK_BUFFER, (int)data.size(), &data[0], GL_STATIC_DRAW); in createTexture() 2575 glBindBuffer(GL_PIXEL_UNPACK_BUFFER, buf); in createTexture() 2576 glBufferData(GL_PIXEL_UNPACK_BUFFER, (int)data.size(), &data[0], GL_STATIC_DRAW); in createTexture() 2667 glBindBuffer(GL_PIXEL_UNPACK_BUFFER, buf); in createTexture() 2668 glBufferData(GL_PIXEL_UNPACK_BUFFER, (int)data.size(), &data[0], GL_STATIC_DRAW); in createTexture() [all …]
|
D | es3fBufferCopyTests.cpp | 248 GL_PIXEL_UNPACK_BUFFER, in init()
|
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_cube_map_array/ |
D | esextcTextureCubeMapArraySubImage3D.cpp | 292 gl.bindBuffer(GL_PIXEL_UNPACK_BUFFER, m_pixel_buffer_id); in configurePixelUnpackBuffer() 296 gl.bufferData(GL_PIXEL_UNPACK_BUFFER, in configurePixelUnpackBuffer() 302 gl.bindBuffer(GL_PIXEL_UNPACK_BUFFER, 0); in configurePixelUnpackBuffer() 494 gl.bindBuffer(GL_PIXEL_UNPACK_BUFFER, m_pixel_buffer_id); in testTexSubImage3D() 516 gl.bindBuffer(GL_PIXEL_UNPACK_BUFFER, 0); in testTexSubImage3D() 560 gl.bindBuffer(GL_PIXEL_UNPACK_BUFFER, 0); in deletePixelUnpackBuffer()
|
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/ |
D | TextureUploadPerf.cpp | 133 glBindBuffer(GL_PIXEL_UNPACK_BUFFER, mPBO); in initializeBenchmark() 134 glBufferData(GL_PIXEL_UNPACK_BUFFER, params.baseSize * params.baseSize * 4, in initializeBenchmark() 165 glBindBuffer(GL_PIXEL_UNPACK_BUFFER, mPBO); in initializeBenchmark() 166 glBufferData(GL_PIXEL_UNPACK_BUFFER, params.subImageSize * params.subImageSize / 2, in initializeBenchmark()
|
D | BindingPerf.cpp | 143 mBindingPoints.push_back(GL_PIXEL_UNPACK_BUFFER); in initializeBenchmark()
|
D | TracePerfTest.cpp | 383 glBindBuffer(GL_PIXEL_UNPACK_BUFFER, 0); in TexImage2DMinimizedProc() 388 glBindBuffer(GL_PIXEL_UNPACK_BUFFER, unpackBuffer); in TexImage2DMinimizedProc() 422 glBindBuffer(GL_PIXEL_UNPACK_BUFFER, 0); in TexImage3DMinimizedProc() 428 glBindBuffer(GL_PIXEL_UNPACK_BUFFER, unpackBuffer); in TexImage3DMinimizedProc()
|
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/ |
D | gstglmemorypbo.c | 80 #ifndef GL_PIXEL_UNPACK_BUFFER 81 #define GL_PIXEL_UNPACK_BUFFER 0x88EC macro 156 gl->BindBuffer (GL_PIXEL_UNPACK_BUFFER, pbo_id); in _upload_pbo_memory() 158 gl->BindBuffer (GL_PIXEL_UNPACK_BUFFER, 0); in _upload_pbo_memory() 207 GST_MEMORY_CAST (gl_mem)->size, &alloc_params, GL_PIXEL_UNPACK_BUFFER, in _gl_mem_create() 526 src->pbo->target = GL_PIXEL_UNPACK_BUFFER; in _gl_mem_copy_thread() 809 gl_mem->pbo->target = GL_PIXEL_UNPACK_BUFFER; in _upload_transfer()
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fNegativeTextureApiTests.cpp | 605 ctx.glBindBuffer (GL_PIXEL_UNPACK_BUFFER, buf); in compressedteximage2d_invalid_buffer_target() 606 ctx.glBufferData (GL_PIXEL_UNPACK_BUFFER, 64, &data[0], GL_DYNAMIC_COPY); in compressedteximage2d_invalid_buffer_target() 610 ctx.glMapBufferRange (GL_PIXEL_UNPACK_BUFFER, 0, 32, GL_MAP_WRITE_BIT); in compressedteximage2d_invalid_buffer_target() 613 ctx.glUnmapBuffer (GL_PIXEL_UNPACK_BUFFER); in compressedteximage2d_invalid_buffer_target() 1539 ctx.glBindBuffer (GL_PIXEL_UNPACK_BUFFER, buf); in teximage2d_invalid_buffer_target() 1540 ctx.glBufferData (GL_PIXEL_UNPACK_BUFFER, 64, &data[0], GL_DYNAMIC_COPY); in teximage2d_invalid_buffer_target() 1547 ctx.glMapBufferRange (GL_PIXEL_UNPACK_BUFFER, 0, 32, GL_MAP_WRITE_BIT); in teximage2d_invalid_buffer_target() 1550 ctx.glUnmapBuffer (GL_PIXEL_UNPACK_BUFFER); in teximage2d_invalid_buffer_target() 1739 ctx.glBindBuffer (GL_PIXEL_UNPACK_BUFFER, buf); in texsubimage2d_invalid_buffer_target() 1740 ctx.glBufferData (GL_PIXEL_UNPACK_BUFFER, 64, &data[0], GL_DYNAMIC_COPY); in texsubimage2d_invalid_buffer_target() [all …]
|
D | es31fTextureSpecificationTests.cpp | 455 glBindBuffer(GL_PIXEL_UNPACK_BUFFER, buf); in createTexture() 456 glBufferData(GL_PIXEL_UNPACK_BUFFER, (int)data.size(), &data[0], GL_STATIC_DRAW); in createTexture() 562 glBindBuffer(GL_PIXEL_UNPACK_BUFFER, buf); in createTexture() 563 glBufferData(GL_PIXEL_UNPACK_BUFFER, (int)data.size(), &data[0], GL_STATIC_DRAW); in createTexture() 747 glBindBuffer(GL_PIXEL_UNPACK_BUFFER, buf); in createTexture() 748 glBufferData(GL_PIXEL_UNPACK_BUFFER, (int)data.size(), &data[0], GL_STATIC_DRAW); in createTexture()
|
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
D | gl4cDirectStateAccessTexturesTests.cpp | 10287 gl.bindBuffer(GL_PIXEL_UNPACK_BUFFER, m_bo); in Test1D() 10290 gl.mapBuffer(GL_PIXEL_UNPACK_BUFFER, GL_READ_WRITE); in Test1D() 10299 gl.unmapBuffer(GL_PIXEL_UNPACK_BUFFER); in Test1D() 10302 gl.bindBuffer(GL_PIXEL_UNPACK_BUFFER, 0); in Test1D() 10312 gl.bindBuffer(GL_PIXEL_UNPACK_BUFFER, m_bo); in Test1D() 10322 gl.bindBuffer(GL_PIXEL_UNPACK_BUFFER, 0); in Test1D() 10331 gl.bindBuffer(GL_PIXEL_UNPACK_BUFFER, m_bo); in Test1D() 10341 gl.bindBuffer(GL_PIXEL_UNPACK_BUFFER, 0); in Test1D() 10527 gl.bindBuffer(GL_PIXEL_UNPACK_BUFFER, m_bo); in Test2D() 10530 gl.mapBuffer(GL_PIXEL_UNPACK_BUFFER, GL_READ_WRITE); in Test2D() [all …]
|
D | gl4cMapBufferAlignmentTests.cpp | 193 { GL_PIXEL_UNPACK_BUFFER, 0 }, in iterate()
|
D | gl4cSparseBufferTests.cpp | 3439 m_gl.bindBuffer(GL_PIXEL_UNPACK_BUFFER, m_sparse_bo); in execute() 3463 m_gl.bufferPageCommitmentARB(GL_PIXEL_UNPACK_BUFFER, 0, /* offset */ in execute() 3467 m_gl.copyBufferSubData(GL_COPY_READ_BUFFER, GL_PIXEL_UNPACK_BUFFER, 0, /* readOffset */ in execute() 3483 m_gl.bufferPageCommitmentARB(GL_PIXEL_UNPACK_BUFFER, m_page_size * n_page, m_page_size, in execute() 3489 m_gl.copyBufferSubData(GL_COPY_READ_BUFFER, GL_PIXEL_UNPACK_BUFFER, in execute() 3515 m_gl.bindBuffer(GL_PIXEL_UNPACK_BUFFER, 0); in execute() 3524 m_gl.bindBuffer(GL_PIXEL_UNPACK_BUFFER, m_sparse_bo); in execute() 3595 m_gl.bufferPageCommitmentARB(GL_PIXEL_UNPACK_BUFFER, 0, /* offset */ in execute() 3600 m_gl.bindBuffer(GL_PIXEL_UNPACK_BUFFER, 0); in execute()
|
D | gl4cBufferStorageTests.cpp | 471 GL_PIXEL_UNPACK_BUFFER, /* 8 */ 2568 …buffer.InitStorage(GL_PIXEL_UNPACK_BUFFER, GL_MAP_PERSISTENT_BIT | GL_MAP_READ_BIT | GL_MAP_WRITE_… in iterate() 2570 Buffer::Bind(gl, 0 /* id */, GL_PIXEL_UNPACK_BUFFER); in iterate() 2606 Buffer::Bind(gl, 0 /* id */, GL_PIXEL_UNPACK_BUFFER); in iterate() 2731 Buffer::Bind(gl, buffer.m_id, GL_PIXEL_UNPACK_BUFFER); in verifyTestedOperation() 2777 Buffer::Bind(gl, 0 /* id */, GL_PIXEL_UNPACK_BUFFER); in verifyTestedOperation()
|
/third_party/mesa3d/src/mesa/main/ |
D | glthread_bufferobj.c | 196 case GL_PIXEL_UNPACK_BUFFER: in _mesa_glthread_BindBuffer() 226 _mesa_glthread_BindBuffer(ctx, GL_PIXEL_UNPACK_BUFFER, 0); in _mesa_glthread_DeleteBuffers()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/ |
D | TextureGL.cpp | 484 gl.BindBuffer(GL_PIXEL_UNPACK_BUFFER, srcBuffer->GetHandle()); in ClearTexture() 513 gl.BindBuffer(GL_PIXEL_UNPACK_BUFFER, 0); in ClearTexture()
|
D | CommandBufferGL.cpp | 627 gl.BindBuffer(GL_PIXEL_UNPACK_BUFFER, in Execute() 629 gl.CopyBufferSubData(GL_PIXEL_PACK_BUFFER, GL_PIXEL_UNPACK_BUFFER, in Execute() 633 gl.BindBuffer(GL_PIXEL_UNPACK_BUFFER, 0); in Execute() 663 gl.BindBuffer(GL_PIXEL_UNPACK_BUFFER, buffer->GetHandle()); in Execute() 672 gl.BindBuffer(GL_PIXEL_UNPACK_BUFFER, 0); in Execute()
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
D | glcCompressedFormatTests.cpp | 1040 gl.bindBuffer(GL_PIXEL_UNPACK_BUFFER, context.bufferIds[0]); in __anonc333a3923002() 1042 gl.bufferData(GL_PIXEL_UNPACK_BUFFER, data.data.size() / 2, data.data.data(), GL_STATIC_READ); in __anonc333a3923002() 1056 gl.bindBuffer(GL_PIXEL_UNPACK_BUFFER, 0); in __anonc333a3923102() 1059 gl.bindBuffer(GL_PIXEL_UNPACK_BUFFER, context.bufferIds[0]); in __anonc333a3923102() 1061 gl.bufferData(GL_PIXEL_UNPACK_BUFFER, data.data.size() / 2, data.data.data(), GL_STATIC_READ); in __anonc333a3923102()
|
/third_party/vk-gl-cts/modules/gles3/stress/ |
D | es3sSpecialFloatTests.cpp | 1079 gl.bindBuffer(GL_PIXEL_UNPACK_BUFFER, m_pboID); in init() 1099 …gl.bufferData(GL_PIXEL_UNPACK_BUFFER, (glw::GLsizeiptr)(texData.size() * sizeof(deUint32)), &texDa… in init() 1121 …gl.bufferData(GL_PIXEL_UNPACK_BUFFER, (glw::GLsizeiptr)(texData.size() * sizeof(deUint32)), &texDa… in init() 1137 gl.bindBuffer(GL_PIXEL_UNPACK_BUFFER, 0); in init()
|