Home
last modified time | relevance | path

Searched refs:buffer (Results 3851 - 3875 of 6162) sorted by relevance

1...<<151152153154155156157158159160>>...247

/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()
H A Dblake2s.c333 memcpy( S->buf + left, in, fill ); // Fill buffer in blake2s_update()
337 memcpy( S->buf, S->buf + BLAKE2S_BLOCKBYTES, BLAKE2S_BLOCKBYTES ); // Shift buffer left in blake2s_update()
357 uint8_t buffer[BLAKE2S_OUTBYTES]; in blake2s_final() local
374 for( int i = 0; i < 8; ++i ) /* Output full hash to temp buffer */ in blake2s_final()
375 store32( buffer + sizeof( S->h[i] ) * i, S->h[i] ); in blake2s_final()
377 memcpy( out, buffer, outlen ); in blake2s_final()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
H A DEndian.h82 /// Read a value of a particular endianness from a buffer, and increment the
83 /// buffer past that value.
219 (const void*)Value.buffer);
224 (void*)Value.buffer, newValue);
249 alignas(ALIGN) char buffer[sizeof(value_type)];
/third_party/skia/third_party/externals/zlib/google/
H A Dzip_reader.cc412 char buffer[internal::kZipBufSize]; in ExtractChunk() local
415 buffer, in ExtractChunk()
426 if (num_bytes_read != output_file.Write(offset, buffer, num_bytes_read)) { in ExtractChunk()
/third_party/skia/third_party/externals/dng_sdk/source/
H A Ddng_gain_map.cpp545 dng_pixel_buffer &buffer, in ProcessArea()
561 plane < buffer.Planes (); in ProcessArea()
570 real32 *dPtr = buffer.DirtyPixel_real32 (row, overlap.l, plane); in ProcessArea()
543 ProcessArea(dng_negative & , uint32 , dng_pixel_buffer &buffer, const dng_rect &dstArea, const dng_rect &imageBounds) ProcessArea() argument
H A Ddng_fingerprint.cpp287 memcpy (&buffer [index], in Process()
291 MD5Transform (state, buffer); in Process()
306 memcpy (&buffer [index], in Process()
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
H A DInternal.java349 final byte[] buffer = new byte[bufferSize]; in hashCodeByteBuffer()
356 duplicated.get(buffer, 0, length); in hashCodeByteBuffer()
357 h = partialHash(h, buffer, 0, length); in hashCodeByteBuffer()
/third_party/protobuf/js/binary/
H A Ddecoder_test.js32 * @fileoverview Test cases for jspb's binary protocol buffer decoder.
323 var buffer = encoder.end();
324 var zigzagDecoder = jspb.BinaryDecoder.alloc(buffer);
325 var varintDecoder = jspb.BinaryDecoder.alloc(buffer);
/third_party/python/PC/layout/support/
H A Dappxmanifest.py485 buffer = io.BytesIO()
486 xml.write(buffer, encoding="utf-8", xml_declaration=True)
487 return buffer.getbuffer()
/third_party/python/Lib/
H A Dbase64.py591 func(f, sys.stdout.buffer)
593 func(sys.stdin.buffer, sys.stdout.buffer)
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
H A Descaping_test.cc597 StringType buffer; in TestEscapeAndUnescape() local
598 absl::WebSafeBase64Escape(tc.plaintext, &buffer); in TestEscapeAndUnescape()
599 EXPECT_EQ(tc.cyphertext, buffer); in TestEscapeAndUnescape()
/third_party/skia/experimental/skottiekit/
H A Dskottiekit_bindings.cpp235 // Wrap the frame buffer object attached to the screen in a Skia render in MakeOnScreenGLSurface()
237 GrGLint buffer; in MakeOnScreenGLSurface() local
238 glGetIntegerv(GL_FRAMEBUFFER_BINDING, &buffer); in MakeOnScreenGLSurface()
240 info.fFBOID = (GrGLuint) buffer; in MakeOnScreenGLSurface()

Completed in 22 milliseconds

1...<<151152153154155156157158159160>>...247