Home
last modified time | relevance | path

Searched refs:buffer (Results 5151 - 5175 of 15582) sorted by relevance

1...<<201202203204205206207208209210>>...624

/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/egl/
H A DSurfaceEGL.cpp95 egl::Error SurfaceEGL::bindTexImage(const gl::Context *context, gl::Texture *texture, EGLint buffer) in bindTexImage() argument
97 EGLBoolean success = mEGL->bindTexImage(mSurface, buffer); in bindTexImage()
105 egl::Error SurfaceEGL::releaseTexImage(const gl::Context *context, EGLint buffer) in releaseTexImage() argument
107 EGLBoolean success = mEGL->releaseTexImage(mSurface, buffer); in releaseTexImage()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
H A DSemaphoreVk.cpp78 // Perform a queue ownership transfer for each buffer. in wait()
79 for (gl::Buffer *buffer : bufferBarriers) in wait()
81 BufferVk *bufferVk = vk::GetImpl(buffer); in wait()
133 // Perform a queue ownership transfer for each buffer. in signal()
134 for (gl::Buffer *buffer : bufferBarriers) in signal()
136 BufferVk *bufferVk = vk::GetImpl(buffer); in signal()
/third_party/skia/third_party/externals/angle2/src/libGLESv2/
H A Dentry_points_egl_autogen.h81 EGLint buffer);
84 EGLint buffer);
95 EGLClientBuffer buffer,
113 EGLClientBuffer buffer,
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/
H A DDrawElementsPerf.cpp21 GLuint buffer = 0u; in CreateElementArrayBuffer() local
22 glGenBuffers(1, &buffer); in CreateElementArrayBuffer()
23 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, buffer); in CreateElementArrayBuffer()
26 return buffer; in CreateElementArrayBuffer()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/null/
H A DFramebufferNULL.cpp53 GLenum buffer, in clearBufferfv()
61 GLenum buffer, in clearBufferuiv()
69 GLenum buffer, in clearBufferiv()
77 GLenum buffer, in clearBufferfi()
93 // Get the pointer to write to from the argument or the pack buffer in readPixels()
52 clearBufferfv(const gl::Context *context, GLenum buffer, GLint drawbuffer, const GLfloat *values) clearBufferfv() argument
60 clearBufferuiv(const gl::Context *context, GLenum buffer, GLint drawbuffer, const GLuint *values) clearBufferuiv() argument
68 clearBufferiv(const gl::Context *context, GLenum buffer, GLint drawbuffer, const GLint *values) clearBufferiv() argument
76 clearBufferfi(const gl::Context *context, GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil) clearBufferfi() argument
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libEGL/
H A DlibEGL.hpp45 EGLSurface (EGLAPIENTRY* eglCreatePbufferFromClientBuffer)(EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer, EGLConfig config, const EGLint *attrib_list);
47 EGLBoolean (EGLAPIENTRY* eglBindTexImage)(EGLDisplay dpy, EGLSurface surface, EGLint buffer);
48 EGLBoolean (EGLAPIENTRY* eglReleaseTexImage)(EGLDisplay dpy, EGLSurface surface, EGLint buffer);
61 EGLImageKHR (EGLAPIENTRY* eglCreateImageKHR)(EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list);
/third_party/skia/third_party/externals/libjpeg-turbo/
H A Dwrtarga.c40 char *iobuffer; /* physical I/O buffer */
102 inptr = dest->pub.buffer[0]; in put_pixel_rows()
122 inptr = dest->pub.buffer[0]; in put_gray_rows()
144 inptr = dest->pub.buffer[0]; in put_demapped_gray()
212 * Re-calculate buffer dimensions based on output dimensions.
244 /* Create I/O buffer. */ in GLOBAL()
250 /* Create decompressor output buffer. */ in GLOBAL()
251 dest->pub.buffer = (*cinfo->mem->alloc_sarray) in GLOBAL()
/third_party/skia/third_party/externals/dawn/src/dawn_node/binding/
H A DGPURenderBundleEncoder.cpp101 interop::Interface<interop::GPUBuffer> buffer, in setIndexBuffer()
111 if (!conv(b, buffer) || // in setIndexBuffer()
123 interop::Interface<interop::GPUBuffer> buffer, in setVertexBuffer()
130 if (!conv(b, buffer) || !conv(s, size)) { in setVertexBuffer()
100 setIndexBuffer(Napi::Env env, interop::Interface<interop::GPUBuffer> buffer, interop::GPUIndexFormat indexFormat, interop::GPUSize64 offset, std::optional<interop::GPUSize64> size) setIndexBuffer() argument
121 setVertexBuffer(Napi::Env env, interop::GPUIndex32 slot, interop::Interface<interop::GPUBuffer> buffer, interop::GPUSize64 offset, std::optional<interop::GPUSize64> size) setVertexBuffer() argument
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
H A DMaxLimitTests.cpp63 // Read data out of workgroup memory into a storage buffer. in TEST_P()
74 // Set up dst storage buffer in TEST_P()
100 // Test using the maximum uniform/storage buffer binding size works
102 // The uniform buffer layout used in this test is not supported on ES. in TEST_P()
117 // TODO(crbug.com/dawn/1160): Usually can't actually allocate a buffer this large in TEST_P()
118 // because allocating the buffer for zero-initialization fails. in TEST_P()
121 // With WARP or on 32-bit platforms, such large buffer allocations often fail. in TEST_P()
191 wgpu::Buffer buffer = device.CreateBuffer(&bufDesc); in TEST_P() local
198 // Max buffer size is smaller than the max buffer bindin in TEST_P()
[all...]
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
H A DFencedDeleter.cpp42 void FencedDeleter::DeleteWhenUnused(VkBuffer buffer) { in DeleteWhenUnused() argument
43 mBuffersToDelete.Enqueue(buffer, mDevice->GetPendingCommandSerial()); in DeleteWhenUnused()
108 for (VkBuffer buffer : mBuffersToDelete.IterateUpTo(completedSerial)) { in Tick()
109 mDevice->fn.DestroyBuffer(vkDevice, buffer, nullptr); in Tick()
/third_party/skia/third_party/externals/harfbuzz/src/
H A Dhb-ot-map.hh32 #include "hb-buffer.hh"
79 typedef void (*pause_func_t) (const struct hb_ot_shape_plan_t *plan, hb_font_t *font, hb_buffer_t *buffer);
158 const struct hb_ot_shape_plan_t *plan, hb_font_t *font, hb_buffer_t *buffer) const;
159 HB_INTERNAL void substitute (const struct hb_ot_shape_plan_t *plan, hb_font_t *font, hb_buffer_t *buffer) const;
160 HB_INTERNAL void position (const struct hb_ot_shape_plan_t *plan, hb_font_t *font, hb_buffer_t *buffer) const;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/Windows/
H A DWindowsSupport.h75 char *buffer = NULL; in MakeErrMsg() local
80 NULL, LastError, 0, (LPSTR)&buffer, 1, NULL); in MakeErrMsg()
82 *ErrMsg = prefix + ": " + buffer; in MakeErrMsg()
87 LocalFree(buffer); in MakeErrMsg()
/third_party/skia/third_party/externals/tint/src/transform/
H A Dcalculate_array_length.cc45 sem::Node const* const buffer; member in tint::transform::__anon26111::ArrayUsage::sem
47 return block == rhs.block && buffer == rhs.buffer; in operator ==()
51 return utils::Hash(u.block, u.buffer); in operator ()()
94 // Note: The buffer parameter requires the kStorage StorageClass in Run()
97 ctx.dst->Sym("buffer"), ast::StorageClass::kStorage, in Run()
137 // to the storage buffer structure, and Y is the runtime sized array. in Run()
/third_party/skia/third_party/externals/tint/tools/src/cmd/remote-compile/
H A Dsocket.cc195 size_t Read(void* buffer, size_t bytes) override {
201 recv(s, reinterpret_cast<char*>(buffer), static_cast<int>(bytes), 0);
205 bool Write(const void* buffer, size_t bytes) override {
213 return ::send(s, reinterpret_cast<const char*>(buffer),
/third_party/skia/third_party/externals/zlib/contrib/minizip/
H A Dmztools.c260 char buffer[8192]; local
261 while ( (nRead = (int)fread(buffer, 1, sizeof(buffer), fpOutCD)) > 0) {
262 if ((int)fwrite(buffer, 1, nRead, fpOut) != nRead) {
/third_party/python/Python/
H A Ddynload_win.c281 theInfo, /* the buffer */
316 char buffer[256]; local
318 PyOS_snprintf(buffer, sizeof(buffer),
328 _stricmp(buffer,import_python)) {
/third_party/python/Lib/unittest/
H A Dresult.py47 self.buffer = False
65 if self.buffer:
84 if self.buffer:
182 if self.buffer:
/third_party/python/Lib/xml/sax/
H A Dxmlreader.py123 buffer = file.read(self._bufsize)
124 while buffer:
125 self.feed(buffer)
126 buffer = file.read(self._bufsize)
148 data buffer.
/third_party/skia/third_party/externals/angle2/src/common/
H A Ddebug.cpp158 std::vector<char> buffer; in begin() local
159 size_t len = FormatStringIntoVector(format, vararg, buffer); in begin()
162 ANGLE_LOG(EVENT) << std::string(&buffer[0], len); in begin()
166 g_debugAnnotator->beginEvent(mContext, mEntryPoint, mFunctionName, buffer.data()); in begin()
/third_party/zlib/contrib/iostream/
H A Dzfstream.cpp141 // if a buffer doesn't exists, allocate one. in underflow()
160 // Attempt to fill the buffer. in underflow()
263 if ( !buffer.attach( fd, io_mode) ) in attach()
272 if ( !buffer.open( name, io_mode ) ) in open()
281 if ( !buffer.close() ) in close()
288 return &buffer; in rdbuf()
/third_party/zlib/contrib/minizip/
H A Dmztools.c259 char buffer[8192]; in unzRepair() local
260 while ( (nRead = (int)fread(buffer, 1, sizeof(buffer), fpOutCD)) > 0) { in unzRepair()
261 if ((int)fwrite(buffer, 1, nRead, fpOut) != nRead) { in unzRepair()
/kernel/linux/linux-6.6/drivers/firewire/
H A Dohci.c90 void *buffer; member
106 * A buffer that contains a block of DMA-able coherent memory used for
114 struct descriptor buffer[]; member
133 * Pointer to a buffer inside buffer_list that contains the tail
725 if (!ctx->buffer) in ar_context_release()
728 vunmap(ctx->buffer); in ar_context_release()
761 * We search for the buffer that contains the last AR packet DMA data written
773 /* A buffer that is not yet completely filled must be the last one. */ in ar_search_last_active_buffer()
788 * buffer's descriptor might be never updated by the in ar_search_last_active_buffer()
845 static __le32 *handle_ar_packet(struct ar_context *ctx, __le32 *buffer) in handle_ar_packet() argument
3248 queue_iso_transmit(struct iso_context *ctx, struct fw_iso_packet *packet, struct fw_iso_buffer *buffer, unsigned long payload) queue_iso_transmit() argument
3352 queue_iso_packet_per_buffer(struct iso_context *ctx, struct fw_iso_packet *packet, struct fw_iso_buffer *buffer, unsigned long payload) queue_iso_packet_per_buffer() argument
3433 queue_iso_buffer_fill(struct iso_context *ctx, struct fw_iso_packet *packet, struct fw_iso_buffer *buffer, unsigned long payload) queue_iso_buffer_fill() argument
3489 ohci_queue_iso(struct fw_iso_context *base, struct fw_iso_packet *packet, struct fw_iso_buffer *buffer, unsigned long payload) ohci_queue_iso() argument
[all...]
/base/hiviewdfx/hitrace/interfaces/native/innerkits/src/
H A Dhitrace_meter.cpp114 # entries-in-buffer/entries-written: %-21s #P:%-3s
288 bool GetProcData(const char* file, char* buffer, const size_t bufferSize) in GetProcData() argument
298 if (fgets(buffer, bufferSize, fp) == nullptr) { in GetProcData()
384 std::vector<char> buffer(TRACE_TXT_HEADER_MAX, '\0'); in InitTraceHead()
385 int used = snprintf_s(buffer.data(), buffer.size(), buffer.size() - 1, TRACE_TXT_HEADER_FORMAT.c_str(), "", ""); in InitTraceHead()
390 if (write(g_appFd, buffer.data(), used) != used) { in InitTraceHead()
509 // get buffer in SetAppTrace()
530 auto buffer in WriteAppTraceLong() local
[all...]
/foundation/multimedia/image_framework/frameworks/kits/js/common/pixelmap_ndk/
H A Dpixelmap_native.cpp804 static bool SetHdrMetadata(OHOS::Media::PixelMap &pixelmap, OHOS::sptr<OHOS::SurfaceBuffer> &buffer, in SetHdrMetadata() argument
810 VpeUtils::SetSbMetadataType(buffer, NdkMetadataTypeMap[value.type]); in SetHdrMetadata()
821 if (!VpeUtils::SetSbStaticMetadata(buffer, metadataVec)) { in SetHdrMetadata()
833 if (!VpeUtils::SetSbDynamicMetadata(buffer, metadataVec)) { in SetHdrMetadata()
844 if (!VpeUtils::SetSbDynamicMetadata(buffer, extendMetadataVec)) { in SetHdrMetadata()
925 static bool GetStaticMetadata(const OHOS::sptr<OHOS::SurfaceBuffer> &buffer, in GetStaticMetadata() argument
930 if (VpeUtils::GetSbStaticMetadata(buffer, staticData) && in GetStaticMetadata()
939 static bool GetHdrMetadata(const OHOS::sptr<OHOS::SurfaceBuffer> &buffer, in GetHdrMetadata() argument
942 if (buffer == nullptr || metadataValue == nullptr) { in GetHdrMetadata()
943 IMAGE_LOGE("GetHdrMetadata buffer i in GetHdrMetadata()
1024 OHOS::SurfaceBuffer *buffer = reinterpret_cast<OHOS::SurfaceBuffer*>(pixelmap->GetInnerPixelmap()->GetFd()); OH_PixelmapNative_GetNativeBuffer() local
[all...]
/foundation/multimedia/av_codec/test/unittest/video_test/vcodec_server_test/
H A Dcodec_server_coverage_unit_test.cpp971 std::shared_ptr<AVSharedMemory> buffer = CreateAVSharedMemory(testSize); in HWTEST_F() local
972 server_->OnInputBufferAvailable(index, buffer); in HWTEST_F()
990 std::shared_ptr<AVSharedMemory> buffer = CreateAVSharedMemory(testSize); in HWTEST_F() local
991 server_->OnInputBufferAvailable(index, buffer); in HWTEST_F()
1009 std::shared_ptr<AVSharedMemory> buffer = CreateAVSharedMemory(testSize); in HWTEST_F() local
1010 server_->OnInputBufferAvailable(index, buffer); in HWTEST_F()
1028 std::shared_ptr<AVSharedMemory> buffer = CreateAVSharedMemory(testSize); in HWTEST_F() local
1029 server_->OnInputBufferAvailable(index, buffer); in HWTEST_F()
1046 std::shared_ptr<AVSharedMemory> buffer = CreateAVSharedMemory(testSize); in HWTEST_F() local
1047 server_->OnInputBufferAvailable(index, buffer); in HWTEST_F()
1064 std::shared_ptr<AVSharedMemory> buffer = CreateAVSharedMemory(testSize); HWTEST_F() local
1081 std::shared_ptr<AVSharedMemory> buffer = CreateAVSharedMemory(testSize); HWTEST_F() local
1099 std::shared_ptr<AVSharedMemory> buffer = CreateAVSharedMemory(testSize); HWTEST_F() local
[all...]

Completed in 22 milliseconds

1...<<201202203204205206207208209210>>...624