/dports/graphics/piglit/piglit-136a7f5fa0703603be1ffb338abe4865e76a8058/tests/spec/arb_copy_buffer/ |
H A D | subdata-sync.c | 64 glBindBuffer(GL_COPY_WRITE_BUFFER, buffer_handles[1]); in piglit_init() 67 glBufferData(GL_COPY_WRITE_BUFFER, 4096, NULL, GL_STREAM_COPY); in piglit_init() 69 glBufferSubData(GL_COPY_WRITE_BUFFER, 0, size, dummy_data_1); in piglit_init() 71 glCopyBufferSubData(GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, in piglit_init() 75 glGetBufferSubData(GL_COPY_WRITE_BUFFER, 0, size, result_data); in piglit_init() 91 glBufferData(GL_COPY_WRITE_BUFFER, 4096, NULL, GL_STREAM_COPY); in piglit_init() 93 glBufferSubData(GL_COPY_WRITE_BUFFER, 0, size, dummy_data_2); in piglit_init() 94 glCopyBufferSubData(GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, in piglit_init() 96 glBufferSubData(GL_COPY_WRITE_BUFFER, 0, size, good_data); in piglit_init() 98 glGetBufferSubData(GL_COPY_WRITE_BUFFER, 0, size, result_data); in piglit_init()
|
H A D | dlist.c | 73 glBindBuffer(GL_COPY_WRITE_BUFFER, bufs[1]); in piglit_init() 74 glBufferData(GL_COPY_WRITE_BUFFER, sizeof(bad_data), bad_data, in piglit_init() 79 glCopyBufferSubData(GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, in piglit_init() 84 ptr = glMapBuffer(GL_COPY_WRITE_BUFFER, GL_READ_ONLY); in piglit_init() 90 glUnmapBuffer(GL_COPY_WRITE_BUFFER); in piglit_init() 93 glBufferData(GL_COPY_WRITE_BUFFER, sizeof(bad_data), bad_data, in piglit_init() 97 ptr = glMapBuffer(GL_COPY_WRITE_BUFFER, GL_READ_ONLY); in piglit_init() 103 glUnmapBuffer(GL_COPY_WRITE_BUFFER); in piglit_init()
|
H A D | data-sync.c | 64 glBindBuffer(GL_COPY_WRITE_BUFFER, buffer_handles[1]); in piglit_init() 67 glBufferData(GL_COPY_WRITE_BUFFER, size, dummy_data_1, GL_STREAM_COPY); in piglit_init() 68 glCopyBufferSubData(GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, in piglit_init() 72 glGetBufferSubData(GL_COPY_WRITE_BUFFER, 0, size, result_data); in piglit_init() 84 glBufferData(GL_COPY_WRITE_BUFFER, size, dummy_data_1, GL_STREAM_COPY); in piglit_init() 85 glCopyBufferSubData(GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, in piglit_init() 87 glBufferData(GL_COPY_WRITE_BUFFER, size, good_data, GL_STREAM_COPY); in piglit_init() 89 glGetBufferSubData(GL_COPY_WRITE_BUFFER, 0, size, result_data); in piglit_init()
|
H A D | negative-mapped.c | 62 glBindBuffer(GL_COPY_WRITE_BUFFER, bufs[1]); in piglit_init() 63 glBufferData(GL_COPY_WRITE_BUFFER, sizeof(data), data, GL_DYNAMIC_DRAW); in piglit_init() 66 glCopyBufferSubData(GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, 0, 0, 1); in piglit_init() 71 glMapBuffer(GL_COPY_WRITE_BUFFER, GL_READ_ONLY); in piglit_init() 72 glCopyBufferSubData(GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, 0, 0, 1); in piglit_init() 75 glUnmapBuffer(GL_COPY_WRITE_BUFFER); in piglit_init()
|
H A D | negative-bounds.c | 68 glBindBuffer(GL_COPY_WRITE_BUFFER, bufs[1]); in piglit_init() 69 glBufferData(GL_COPY_WRITE_BUFFER, sizeof(data), data, GL_DYNAMIC_DRAW); in piglit_init() 71 glCopyBufferSubData(GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, in piglit_init() 76 glCopyBufferSubData(GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, in piglit_init() 81 glCopyBufferSubData(GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, in piglit_init() 86 glCopyBufferSubData(GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, in piglit_init()
|
H A D | copybuffersubdata.c | 63 glBindBufferARB(GL_COPY_WRITE_BUFFER, bufs[1]); in test_copy() 64 glBufferData(GL_COPY_WRITE_BUFFER, BUF_SIZE, NULL, GL_DYNAMIC_COPY); in test_copy() 70 glCopyBufferSubData(GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, in test_copy() 75 p = glMapBuffer(GL_COPY_WRITE_BUFFER, GL_READ_ONLY); in test_copy() 85 glUnmapBuffer(GL_COPY_WRITE_BUFFER); in test_copy()
|
H A D | negative-bound-zero.c | 64 glBindBuffer(GL_COPY_WRITE_BUFFER, buf); in piglit_init() 65 glCopyBufferSubData(GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, 0, 0, 1); in piglit_init() 70 glBindBuffer(GL_COPY_WRITE_BUFFER, 0); in piglit_init() 71 glCopyBufferSubData(GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, 0, 0, 1); in piglit_init()
|
H A D | copy_buffer_coherency.c | 59 glBindBufferARB(GL_COPY_WRITE_BUFFER, buffer_handles[1]); in do_copy() 62 glBufferData(GL_COPY_WRITE_BUFFER, COPY_BUFFER_SIZE, NULL, in do_copy() 65 glCopyBufferSubData(GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, 0, 0, in do_copy() 68 glGetBufferSubDataARB(GL_COPY_WRITE_BUFFER, 0, COPY_BUFFER_SIZE, in do_copy()
|
H A D | get.c | 59 glGetIntegerv(GL_COPY_WRITE_BUFFER, &get_bufs[1]); in piglit_init() 71 glBindBuffer(GL_COPY_WRITE_BUFFER, bufs[1]); in piglit_init() 72 glBufferData(GL_COPY_WRITE_BUFFER, sizeof(data), data, GL_DYNAMIC_DRAW); in piglit_init() 75 glGetIntegerv(GL_COPY_WRITE_BUFFER, &get_bufs[1]); in piglit_init()
|
H A D | intra-buffer-copy.c | 53 glBindBuffer(GL_COPY_WRITE_BUFFER, buffer); in piglit_init() 64 glCopyBufferSubData(GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, in piglit_init() 68 glCopyBufferSubData(GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, in piglit_init()
|
/dports/lang/clover/mesa-21.3.6/docs/gallium/ |
H A D | buffermapping.rst | 219 1640820 glUnmapBuffer(target = GL_COPY_WRITE_BUFFER) = GL_TRUE 222 1640824 glUnmapBuffer(target = GL_COPY_WRITE_BUFFER) = GL_TRUE 233 1640854 glUnmapBuffer(target = GL_COPY_WRITE_BUFFER) = GL_TRUE 236 1640858 glUnmapBuffer(target = GL_COPY_WRITE_BUFFER) = GL_TRUE 289 1287650 glBindBuffer(target = GL_COPY_WRITE_BUFFER, buffer = 5) 296 1289058 glUnmapBuffer(target = GL_COPY_WRITE_BUFFER) = GL_TRUE 315 1873038 glBindBuffer(target = GL_COPY_WRITE_BUFFER, buffer = 29) 321 1873068 glUnmapBuffer(target = GL_COPY_WRITE_BUFFER) = GL_TRUE 324 1873072 glUnmapBuffer(target = GL_COPY_WRITE_BUFFER) = GL_TRUE 331 1873080 glUnmapBuffer(target = GL_COPY_WRITE_BUFFER) = GL_TRUE [all …]
|
/dports/graphics/libosmesa-gallium/mesa-21.3.6/docs/gallium/ |
H A D | buffermapping.rst | 219 1640820 glUnmapBuffer(target = GL_COPY_WRITE_BUFFER) = GL_TRUE 222 1640824 glUnmapBuffer(target = GL_COPY_WRITE_BUFFER) = GL_TRUE 233 1640854 glUnmapBuffer(target = GL_COPY_WRITE_BUFFER) = GL_TRUE 236 1640858 glUnmapBuffer(target = GL_COPY_WRITE_BUFFER) = GL_TRUE 289 1287650 glBindBuffer(target = GL_COPY_WRITE_BUFFER, buffer = 5) 296 1289058 glUnmapBuffer(target = GL_COPY_WRITE_BUFFER) = GL_TRUE 315 1873038 glBindBuffer(target = GL_COPY_WRITE_BUFFER, buffer = 29) 321 1873068 glUnmapBuffer(target = GL_COPY_WRITE_BUFFER) = GL_TRUE 324 1873072 glUnmapBuffer(target = GL_COPY_WRITE_BUFFER) = GL_TRUE 331 1873080 glUnmapBuffer(target = GL_COPY_WRITE_BUFFER) = GL_TRUE [all …]
|
/dports/graphics/libosmesa/mesa-21.3.6/docs/gallium/ |
H A D | buffermapping.rst | 219 1640820 glUnmapBuffer(target = GL_COPY_WRITE_BUFFER) = GL_TRUE 222 1640824 glUnmapBuffer(target = GL_COPY_WRITE_BUFFER) = GL_TRUE 233 1640854 glUnmapBuffer(target = GL_COPY_WRITE_BUFFER) = GL_TRUE 236 1640858 glUnmapBuffer(target = GL_COPY_WRITE_BUFFER) = GL_TRUE 289 1287650 glBindBuffer(target = GL_COPY_WRITE_BUFFER, buffer = 5) 296 1289058 glUnmapBuffer(target = GL_COPY_WRITE_BUFFER) = GL_TRUE 315 1873038 glBindBuffer(target = GL_COPY_WRITE_BUFFER, buffer = 29) 321 1873068 glUnmapBuffer(target = GL_COPY_WRITE_BUFFER) = GL_TRUE 324 1873072 glUnmapBuffer(target = GL_COPY_WRITE_BUFFER) = GL_TRUE 331 1873080 glUnmapBuffer(target = GL_COPY_WRITE_BUFFER) = GL_TRUE [all …]
|
/dports/graphics/mesa-gallium-xa/mesa-21.3.6/docs/gallium/ |
H A D | buffermapping.rst | 219 1640820 glUnmapBuffer(target = GL_COPY_WRITE_BUFFER) = GL_TRUE 222 1640824 glUnmapBuffer(target = GL_COPY_WRITE_BUFFER) = GL_TRUE 233 1640854 glUnmapBuffer(target = GL_COPY_WRITE_BUFFER) = GL_TRUE 236 1640858 glUnmapBuffer(target = GL_COPY_WRITE_BUFFER) = GL_TRUE 289 1287650 glBindBuffer(target = GL_COPY_WRITE_BUFFER, buffer = 5) 296 1289058 glUnmapBuffer(target = GL_COPY_WRITE_BUFFER) = GL_TRUE 315 1873038 glBindBuffer(target = GL_COPY_WRITE_BUFFER, buffer = 29) 321 1873068 glUnmapBuffer(target = GL_COPY_WRITE_BUFFER) = GL_TRUE 324 1873072 glUnmapBuffer(target = GL_COPY_WRITE_BUFFER) = GL_TRUE 331 1873080 glUnmapBuffer(target = GL_COPY_WRITE_BUFFER) = GL_TRUE [all …]
|
/dports/graphics/mesa-dri-gallium/mesa-21.3.6/docs/gallium/ |
H A D | buffermapping.rst | 219 1640820 glUnmapBuffer(target = GL_COPY_WRITE_BUFFER) = GL_TRUE 222 1640824 glUnmapBuffer(target = GL_COPY_WRITE_BUFFER) = GL_TRUE 233 1640854 glUnmapBuffer(target = GL_COPY_WRITE_BUFFER) = GL_TRUE 236 1640858 glUnmapBuffer(target = GL_COPY_WRITE_BUFFER) = GL_TRUE 289 1287650 glBindBuffer(target = GL_COPY_WRITE_BUFFER, buffer = 5) 296 1289058 glUnmapBuffer(target = GL_COPY_WRITE_BUFFER) = GL_TRUE 315 1873038 glBindBuffer(target = GL_COPY_WRITE_BUFFER, buffer = 29) 321 1873068 glUnmapBuffer(target = GL_COPY_WRITE_BUFFER) = GL_TRUE 324 1873072 glUnmapBuffer(target = GL_COPY_WRITE_BUFFER) = GL_TRUE 331 1873080 glUnmapBuffer(target = GL_COPY_WRITE_BUFFER) = GL_TRUE [all …]
|
/dports/graphics/mesa-gallium-va/mesa-21.3.6/docs/gallium/ |
H A D | buffermapping.rst | 219 1640820 glUnmapBuffer(target = GL_COPY_WRITE_BUFFER) = GL_TRUE 222 1640824 glUnmapBuffer(target = GL_COPY_WRITE_BUFFER) = GL_TRUE 233 1640854 glUnmapBuffer(target = GL_COPY_WRITE_BUFFER) = GL_TRUE 236 1640858 glUnmapBuffer(target = GL_COPY_WRITE_BUFFER) = GL_TRUE 289 1287650 glBindBuffer(target = GL_COPY_WRITE_BUFFER, buffer = 5) 296 1289058 glUnmapBuffer(target = GL_COPY_WRITE_BUFFER) = GL_TRUE 315 1873038 glBindBuffer(target = GL_COPY_WRITE_BUFFER, buffer = 29) 321 1873068 glUnmapBuffer(target = GL_COPY_WRITE_BUFFER) = GL_TRUE 324 1873072 glUnmapBuffer(target = GL_COPY_WRITE_BUFFER) = GL_TRUE 331 1873080 glUnmapBuffer(target = GL_COPY_WRITE_BUFFER) = GL_TRUE [all …]
|
/dports/graphics/mesa-gallium-vdpau/mesa-21.3.6/docs/gallium/ |
H A D | buffermapping.rst | 219 1640820 glUnmapBuffer(target = GL_COPY_WRITE_BUFFER) = GL_TRUE 222 1640824 glUnmapBuffer(target = GL_COPY_WRITE_BUFFER) = GL_TRUE 233 1640854 glUnmapBuffer(target = GL_COPY_WRITE_BUFFER) = GL_TRUE 236 1640858 glUnmapBuffer(target = GL_COPY_WRITE_BUFFER) = GL_TRUE 289 1287650 glBindBuffer(target = GL_COPY_WRITE_BUFFER, buffer = 5) 296 1289058 glUnmapBuffer(target = GL_COPY_WRITE_BUFFER) = GL_TRUE 315 1873038 glBindBuffer(target = GL_COPY_WRITE_BUFFER, buffer = 29) 321 1873068 glUnmapBuffer(target = GL_COPY_WRITE_BUFFER) = GL_TRUE 324 1873072 glUnmapBuffer(target = GL_COPY_WRITE_BUFFER) = GL_TRUE 331 1873080 glUnmapBuffer(target = GL_COPY_WRITE_BUFFER) = GL_TRUE [all …]
|
/dports/graphics/mesa-dri/mesa-21.3.6/docs/gallium/ |
H A D | buffermapping.rst | 219 1640820 glUnmapBuffer(target = GL_COPY_WRITE_BUFFER) = GL_TRUE 222 1640824 glUnmapBuffer(target = GL_COPY_WRITE_BUFFER) = GL_TRUE 233 1640854 glUnmapBuffer(target = GL_COPY_WRITE_BUFFER) = GL_TRUE 236 1640858 glUnmapBuffer(target = GL_COPY_WRITE_BUFFER) = GL_TRUE 289 1287650 glBindBuffer(target = GL_COPY_WRITE_BUFFER, buffer = 5) 296 1289058 glUnmapBuffer(target = GL_COPY_WRITE_BUFFER) = GL_TRUE 315 1873038 glBindBuffer(target = GL_COPY_WRITE_BUFFER, buffer = 29) 321 1873068 glUnmapBuffer(target = GL_COPY_WRITE_BUFFER) = GL_TRUE 324 1873072 glUnmapBuffer(target = GL_COPY_WRITE_BUFFER) = GL_TRUE 331 1873080 glUnmapBuffer(target = GL_COPY_WRITE_BUFFER) = GL_TRUE [all …]
|
/dports/graphics/mesa-libs/mesa-21.3.6/docs/gallium/ |
H A D | buffermapping.rst | 219 1640820 glUnmapBuffer(target = GL_COPY_WRITE_BUFFER) = GL_TRUE 222 1640824 glUnmapBuffer(target = GL_COPY_WRITE_BUFFER) = GL_TRUE 233 1640854 glUnmapBuffer(target = GL_COPY_WRITE_BUFFER) = GL_TRUE 236 1640858 glUnmapBuffer(target = GL_COPY_WRITE_BUFFER) = GL_TRUE 289 1287650 glBindBuffer(target = GL_COPY_WRITE_BUFFER, buffer = 5) 296 1289058 glUnmapBuffer(target = GL_COPY_WRITE_BUFFER) = GL_TRUE 315 1873038 glBindBuffer(target = GL_COPY_WRITE_BUFFER, buffer = 29) 321 1873068 glUnmapBuffer(target = GL_COPY_WRITE_BUFFER) = GL_TRUE 324 1873072 glUnmapBuffer(target = GL_COPY_WRITE_BUFFER) = GL_TRUE 331 1873080 glUnmapBuffer(target = GL_COPY_WRITE_BUFFER) = GL_TRUE [all …]
|
/dports/graphics/mesa-devel/mesa-22.0-branchpoint-2059-ge8a63cf61ec/docs/gallium/ |
H A D | buffermapping.rst | 219 1640820 glUnmapBuffer(target = GL_COPY_WRITE_BUFFER) = GL_TRUE 222 1640824 glUnmapBuffer(target = GL_COPY_WRITE_BUFFER) = GL_TRUE 233 1640854 glUnmapBuffer(target = GL_COPY_WRITE_BUFFER) = GL_TRUE 236 1640858 glUnmapBuffer(target = GL_COPY_WRITE_BUFFER) = GL_TRUE 289 1287650 glBindBuffer(target = GL_COPY_WRITE_BUFFER, buffer = 5) 296 1289058 glUnmapBuffer(target = GL_COPY_WRITE_BUFFER) = GL_TRUE 315 1873038 glBindBuffer(target = GL_COPY_WRITE_BUFFER, buffer = 29) 321 1873068 glUnmapBuffer(target = GL_COPY_WRITE_BUFFER) = GL_TRUE 324 1873072 glUnmapBuffer(target = GL_COPY_WRITE_BUFFER) = GL_TRUE 331 1873080 glUnmapBuffer(target = GL_COPY_WRITE_BUFFER) = GL_TRUE [all …]
|
/dports/www/firefox-legacy/firefox-52.8.0esr/gfx/angle/src/tests/gl_tests/ |
H A D | BufferDataTest.cpp | 350 glBindBuffer(GL_COPY_WRITE_BUFFER, mElementBuffer); in TEST_P() 352 glCopyBufferSubData(GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, 0, 0, sizeof(int)); in TEST_P() 409 glBindBuffer(GL_COPY_WRITE_BUFFER, readBuffer); in TEST_P() 415 glBufferData(GL_COPY_WRITE_BUFFER, numBytes, zeros, GL_STATIC_DRAW); in TEST_P() 416 glCopyBufferSubData(GL_ARRAY_BUFFER, GL_COPY_WRITE_BUFFER, 0, 0, numBytes); in TEST_P() 421 …uint8_t *data = reinterpret_cast<uint8_t*>(glMapBufferRange(GL_COPY_WRITE_BUFFER, 0, numBytes, GL_… in TEST_P() 429 glUnmapBuffer(GL_COPY_WRITE_BUFFER); in TEST_P() 526 glBindBuffer(GL_COPY_WRITE_BUFFER, writeBuffer.get()); in TEST_P() 531 glBufferData(GL_COPY_WRITE_BUFFER, bufSize, nullptr, GL_STATIC_DRAW); in TEST_P() 535 glCopyBufferSubData(GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, big, 0, 50); in TEST_P() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/angle/src/tests/gl_tests/ |
H A D | BufferDataTest.cpp | 327 glBindBuffer(GL_COPY_WRITE_BUFFER, mElementBuffer); in TEST_P() 386 glBindBuffer(GL_COPY_WRITE_BUFFER, readBuffer); in TEST_P() 392 glBufferData(GL_COPY_WRITE_BUFFER, numBytes, zeros, GL_STATIC_DRAW); in TEST_P() 393 glCopyBufferSubData(GL_ARRAY_BUFFER, GL_COPY_WRITE_BUFFER, 0, 0, numBytes); in TEST_P() 399 glMapBufferRange(GL_COPY_WRITE_BUFFER, 0, numBytes, GL_MAP_READ_BIT)); in TEST_P() 407 glUnmapBuffer(GL_COPY_WRITE_BUFFER); in TEST_P() 600 glBindBuffer(GL_COPY_WRITE_BUFFER, dstBuffer); in TEST_P() 621 glUnmapBuffer(GL_COPY_WRITE_BUFFER); in TEST_P() 632 glUnmapBuffer(GL_COPY_WRITE_BUFFER); in TEST_P() 1040 glBindBuffer(GL_COPY_WRITE_BUFFER, writeBuffer.get()); in TEST_P() [all …]
|
/dports/graphics/blender/blender-2.91.0/source/blender/gpu/opengl/ |
H A D | gl_vertex_buffer.cc | 63 glBindBuffer(GL_COPY_WRITE_BUFFER, dst->vbo_id_); in duplicate_data() 64 glBufferData(GL_COPY_WRITE_BUFFER, dst->vbo_size_, NULL, to_gl(dst->usage_)); in duplicate_data() 68 glCopyBufferSubData(GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, 0, 0, dst->vbo_size_); in duplicate_data()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/angle/third_party/VK-GL-CTS/src/modules/gles3/functional/ |
H A D | es3fNegativeBufferApiTests.cpp | 567 glBindBuffer (GL_COPY_WRITE_BUFFER, buf[1]); in init() 568 glBufferData (GL_COPY_WRITE_BUFFER, 32, &data[0], GL_DYNAMIC_COPY); in init() 572 glCopyBufferSubData (GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, 0, 0, -4); in init() 574 glCopyBufferSubData (GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, -1, 0, 4); in init() 599 glBindBuffer (GL_COPY_WRITE_BUFFER, buf[0]); in init() 602 glCopyBufferSubData (GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, 0, 0, 4); in init() 606 glBindBuffer (GL_COPY_WRITE_BUFFER, buf[1]); in init() 615 glBindBuffer (GL_COPY_WRITE_BUFFER, 0); in init() 619 glBindBuffer (GL_COPY_WRITE_BUFFER, buf[1]); in init() 628 glMapBufferRange (GL_COPY_WRITE_BUFFER, 0, 4, GL_MAP_READ_BIT); in init() [all …]
|
/dports/graphics/libplacebo/libplacebo-4.157.0/src/opengl/ |
H A D | gpu.c | 248 glBindBuffer(GL_COPY_WRITE_BUFFER, buf_gl->buffer); in gl_buf_destroy() 249 glUnmapBuffer(GL_COPY_WRITE_BUFFER); in gl_buf_destroy() 250 glBindBuffer(GL_COPY_WRITE_BUFFER, 0); in gl_buf_destroy() 273 GLenum target = GL_COPY_WRITE_BUFFER; in gl_buf_create() 406 glBindBuffer(GL_COPY_WRITE_BUFFER, buf_gl->buffer); in gl_buf_write() 407 glBufferSubData(GL_COPY_WRITE_BUFFER, buf_gl->offset + offset, size, data); in gl_buf_write() 408 glBindBuffer(GL_COPY_WRITE_BUFFER, 0); in gl_buf_write() 437 glBindBuffer(GL_COPY_WRITE_BUFFER, dst_gl->buffer); in gl_buf_copy() 438 glCopyBufferSubData(GL_COPY_READ_BUFFER, GL_COPY_WRITE_BUFFER, in gl_buf_copy()
|