Home
last modified time | relevance | path

Searched refs:buffer (Results 5676 - 5700 of 8428) sorted by relevance

1...<<221222223224225226227228229230>>...338

/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/
H A Dfd6_const.c33 * prsc or dwords: buffer containing constant values
34 * sizedwords: size of const value buffer
44 * the size of the user buffer to 16 bytes. And we want to in fd6_emit_const_user()
218 * to a buffer now, and save it in the constbuf so that we don't have in fd6_emit_ubos()
224 cb->user_buffer, &cb->buffer_offset, &cb->buffer); in fd6_emit_ubos()
228 if (cb->buffer) { in fd6_emit_ubos()
230 OUT_RELOC(ring, fd_resource(cb->buffer)->bo, cb->buffer_offset, in fd6_emit_ubos()
/third_party/mesa3d/src/gallium/auxiliary/vl/
H A Dvl_median_filter.c300 if(!filter->quad.buffer.resource) in vl_median_filter_init()
342 pipe_resource_reference(&filter->quad.buffer.resource, NULL); in vl_median_filter_init()
366 pipe_resource_reference(&filter->quad.buffer.resource, NULL); in vl_median_filter_cleanup()
/third_party/mesa3d/src/gallium/drivers/lima/
H A Dlima_state.c290 so->buffer = NULL; in lima_set_constant_buffer()
293 assert(!cb->buffer); in lima_set_constant_buffer()
295 so->buffer = cb->user_buffer + cb->buffer_offset; in lima_set_constant_buffer()
/third_party/mesa3d/src/util/indices/
H A Du_primconvert.c30 * hardware. It handles binding new index buffer state, and restoring
98 /* if we actually translated the provoking vertex for the buffer, in util_primconvert_save_flatshade_first()
149 /* Map the index range we're interested in (not the whole buffer) */ in primconvert_init_draw()
183 /* step 3: allocate a temp buffer for an intermediate rewrite step in primconvert_init_draw()
228 * loop over all the direct draws in order to rewrite them into a single index buffer in primconvert_init_draw()
234 /* step 6b: handle index size conversion using the temp buffer; no change in index count in primconvert_init_draw()
240 /* step 6d: increment the temp buffer and mapped final index buffer pointers */ in primconvert_init_draw()
297 if (indirect && indirect->buffer) { in util_primconvert_draw_vbo()
321 struct pipe_resource *buffer in util_primconvert_draw_vbo() local
[all...]
/third_party/mesa3d/src/gallium/drivers/crocus/
H A Dcrocus_draw.c213 if (indirect && indirect->buffer) { in crocus_update_draw_parameters()
214 pipe_resource_reference(&draw_params->res, indirect->buffer); in crocus_update_draw_parameters()
435 if (indirect && indirect->buffer) in crocus_draw_vbo()
/third_party/mesa3d/src/gallium/drivers/svga/
H A Dsvga_context.c122 pipe_resource_reference(&svga->curr.constbufs[shader][i].buffer, NULL); in svga_destroy()
308 /* Initialize the currently bound buffer resources */ in svga_context_create()
417 /* Unmap the 0th/default constant buffer. The u_upload_unmap() function in svga_context_flush()
419 * region of the buffer which was modified (and needs to be uploaded). in svga_context_flush()
449 * the next command buffer. in svga_context_flush()
511 * Emit pending drawing commands to the command buffer.
512 * If the command buffer overflows, we flush it and retry.
526 * Flush the primitive queue if this buffer is referred.
528 * Otherwise DMA commands on the referred buffer will be emitted too late.
532 struct pipe_resource *buffer) in svga_hwtnl_flush_buffer()
531 svga_hwtnl_flush_buffer(struct svga_context *svga, struct pipe_resource *buffer) svga_hwtnl_flush_buffer() argument
[all...]
/third_party/musl/libc-test/src/functionalext/supplement/network/
H A Dnameservercheck_client.c414 char buffer[] = "test.check.platform.com"; in main() local
417 strcpy((char*)&qbuf[0], buffer); in main()
418 qlens[0] = sizeof(buffer); in main()
/third_party/node/deps/undici/src/lib/core/
H A Dutil.js9 const { Blob } = require('buffer')
289 function isBuffer (buffer) {
291 return buffer instanceof Uint8Array || Buffer.isBuffer(buffer)
/third_party/libphonenumber/metadata/src/test/java/com/google/i18n/phonenumbers/metadata/finitestatematcher/compiler/
H A DCompilerRegressionTest.java60 StringWriter buffer = new StringWriter(); in testCompiledBytesEqualExpectedMatcherBytes()
61 PrintWriter errors = new PrintWriter(buffer); in testCompiledBytesEqualExpectedMatcherBytes()
84 String errorMessage = buffer.toString(); in testCompiledBytesEqualExpectedMatcherBytes()
/third_party/python/Include/
H A Dabstract.h320 buffer interface and returns a pointer to a read-only memory location
323 Return 0 on success. buffer and buffer_len are only set in case no error
327 const char **buffer,
331 buffer interface.
337 single segment) buffer interface and returns a pointer to a read-only memory
340 0 is returned on success. buffer and buffer_len are only set in case no
344 const void **buffer,
348 buffer interface and returns a pointer to a writable memory location in
349 buffer of size 'buffer_len'.
351 Return 0 on success. buffer an
[all...]
/third_party/pulseaudio/src/modules/jack/
H A Dmodule-jack-source.c159 const void *buffer[PA_CHANNELS_MAX]; in jack_process() local
167 pa_assert_se(buffer[c] = jack_port_get_buffer(u->port[c], nframes)); in jack_process()
175 pa_interleave(buffer, u->channels, p, sizeof(float), nframes); in jack_process()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_query/
H A DvktRayQueryProceduralGeometryTests.cpp74 void clearBuffer (de::SharedPtr<BufferWithMemory> buffer, VkDeviceSize bufferSize);
197 // verify result buffer in iterate()
224 void RayQueryProceduralGeometryTestBase::clearBuffer(de::SharedPtr<BufferWithMemory> buffer, VkDeviceSize bufferSize) in clearBuffer() argument
228 auto& bufferAlloc = buffer->getAllocation(); in clearBuffer()
409 "layout(set = 0, binding = 1, std430) writeonly buffer Result {\n" in initPrograms()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A Dqueryutils.h43 void QueryBufferParameteriv(const Buffer *buffer, GLenum pname, GLint *params);
44 void QueryBufferParameteri64v(const Buffer *buffer, GLenum pname, GLint64 *params);
45 void QueryBufferPointerv(const Buffer *buffer, GLenum pname, void **params);
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A DLineLoopTest.cpp67 void preTestUpdateBuffer(GLuint framebuffer, GLuint texture, GLuint buffer, GLsizei size) in preTestUpdateBuffer() argument
79 glBindBuffer(GL_UNIFORM_BUFFER, buffer); in preTestUpdateBuffer()
81 glBindBufferBase(GL_UNIFORM_BUFFER, 0, buffer); in preTestUpdateBuffer()
225 // Test that uploading data to buffer that's in use then using it for line loop elements works.
249 // Test that uploading data to buffer that's in use then using it for line loop elements works.
276 // Test that uploading data to buffer that's in use then using it for line loop elements works.
620 // Test that uploading data to buffer that's in use then using it for line loop elements works.
639 // Test that uploading data to buffer that's in use then using it for line loop elements works.
/third_party/skia/src/gpu/
H A DGrGpu.h217 * Creates a buffer in GPU memory. For a client-side buffer use GrBuffer::CreateCPUBacked.
219 * @param size size of buffer to create.
220 * @param intendedType hint to the graphics subsystem about what the buffer will be used for.
222 * @param data optional data with which to initialize the buffer.
224 * @return the buffer if successful, otherwise nullptr.
250 * @param dstColorType the color type of the destination buffer.
251 * @param buffer memory to read the rectangle into.
265 void* buffer,
274 * @param srcColorType the color type of the source buffer
303 writePixels(GrSurface* surface, SkIRect rect, GrColorType surfaceColorType, GrColorType srcColorType, const void* buffer, size_t rowBytes, bool prepForTexSampling = false) writePixels() argument
[all...]
/third_party/skia/src/core/
H A DSkMD5.cpp47 memcpy(&this->buffer[bufferIndex], input, bufferAvailable); in write()
48 transform(this->state, this->buffer); in write()
63 memcpy(&this->buffer[bufferIndex], &input[inputIndex], inputLength - inputIndex); in write()
/third_party/skia/third_party/externals/libjpeg-turbo/
H A Dwrbmp.c61 boolean use_inversion_array; /* TRUE = buffer the whole image, which is
67 its own image buffer and write the rows in
70 JSAMPLE *iobuffer; /* I/O buffer (used to buffer a single row to
121 inptr = dest->pub.buffer[0]; in put_pixel_rows()
193 inptr = dest->pub.buffer[0]; in put_gray_rows()
544 /* Create decompressor output buffer. */ in GLOBAL()
545 dest->pub.buffer = (*cinfo->mem->alloc_sarray) in GLOBAL()
H A Dwrgif.c97 /* GIF data packet construction buffer */
220 /* Flush the bit-packing buffer */ in compress_term()
224 /* Flush the packet buffer */ in compress_term()
368 ptr = dest->pub.buffer[0]; in put_LZW_pixel_rows()
466 ptr = dest->pub.buffer[0]; in put_raw_pixel_rows()
511 * Re-calculate buffer dimensions based on output dimensions.
556 /* Create decompressor output buffer. */ in GLOBAL()
557 dest->pub.buffer = (*cinfo->mem->alloc_sarray) in GLOBAL()
/third_party/skia/src/utils/
H A DSkCustomTypeface.cpp412 char* buffer = (char*)ram.get(); in Deserialize() local
414 if (stream->read(buffer, length) != length) { in Deserialize()
421 size_t used = path.readFromMemory(buffer + totalUsed, length - totalUsed); in Deserialize()
/third_party/skia/tests/
H A DFontMgrAndroidParserTest.cpp134 char buffer[64]; in test_parse_fixed_r() local
139 sprintf(buffer, "%.20f", f); in test_parse_fixed_r()
141 bool b = parse_fixed<N>(buffer, &fix); in test_parse_fixed_r()
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
H A DBufferD3D12.cpp88 // align the buffer size to the CBV data alignment as other buffer usages in D3D12BufferSizeAlignment()
91 // https://docs.microsoft.com/en-us/windows/win32/direct3d12/uploading-resources#buffer-alignment in D3D12BufferSizeAlignment()
100 Ref<Buffer> buffer = AcquireRef(new Buffer(device, descriptor)); in Create() local
101 DAWN_TRY(buffer->Initialize(descriptor->mappedAtCreation)); in Create()
102 return buffer; in Create()
130 // Add CopyDst for non-mappable buffer initialization with mappedAtCreation in Initialize()
255 // explicit ResourceBarrier call). A buffer can be implicitly promoted to 1) a single write in TransitionUsageAndGetResourceBarrier()
256 // state, or 2) multiple read states. A buffer that is accessed within a command list will in TransitionUsageAndGetResourceBarrier()
258 // completes - this is because all buffer write in TransitionUsageAndGetResourceBarrier()
[all...]
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
H A DComputeStorageBufferBarrierTests.cpp25 // Test that multiple dispatches to increment values in a storage buffer are synchronized.
31 wgpu::Buffer buffer = utils::CreateBufferFromData( in TEST_P() local
53 utils::MakeBindGroup(device, pipeline.GetBindGroupLayout(0), {{0, buffer, 0, bufferSize}}); in TEST_P()
66 EXPECT_BUFFER_U32_RANGE_EQ(expected.data(), buffer, 0, kNumValues); in TEST_P()
201 // Test that Storage to Uniform buffer transitions work and synchronize correctly
269 // Test that Storage to Uniform buffer transitions work and synchronize correctly
338 // 1 - Initializing an indirect buffer with zeros.
340 // 3 - Use the indirect buffer in a Dispatch while also reading its data.
378 // 1 - Initializing an indirect buffer with zeros. in TEST_P()
393 // 3 - Use the indirect buffer i in TEST_P()
[all...]
/third_party/skia/third_party/externals/dawn/src/tests/unittests/
H A DCommandAllocatorTests.cpp50 uint32_t buffer[kBigBufferSize]; member
213 big->buffer[j] = count++; in TEST()
226 ASSERT_EQ(big->buffer[i], count); in TEST()
/third_party/python/Modules/_blake2/impl/
H A Dblake2b-ref.c303 memcpy( S->buf + left, in, fill ); // Fill buffer in blake2b_update()
307 memcpy( S->buf, S->buf + BLAKE2B_BLOCKBYTES, BLAKE2B_BLOCKBYTES ); // Shift buffer left in blake2b_update()
326 uint8_t buffer[BLAKE2B_OUTBYTES]; in blake2b_final() local
344 for( i = 0; i < 8; ++i ) /* Output full hash to temp buffer */ in blake2b_final()
345 store64( buffer + sizeof( S->h[i] ) * i, S->h[i] ); in blake2b_final()
347 memcpy( out, buffer, outlen ); in blake2b_final()
H A Dblake2s-ref.c293 memcpy( S->buf + left, in, fill ); // Fill buffer in blake2s_update()
297 memcpy( S->buf, S->buf + BLAKE2S_BLOCKBYTES, BLAKE2S_BLOCKBYTES ); // Shift buffer left in blake2s_update()
316 uint8_t buffer[BLAKE2S_OUTBYTES]; in blake2s_final() local
334 for( i = 0; i < 8; ++i ) /* Output full hash to temp buffer */ in blake2s_final()
335 store32( buffer + sizeof( S->h[i] ) * i, S->h[i] ); in blake2s_final()
337 memcpy( out, buffer, outlen ); in blake2s_final()

Completed in 22 milliseconds

1...<<221222223224225226227228229230>>...338