Home
last modified time | relevance | path

Searched full:buffers (Results 1 – 25 of 6284) sorted by relevance

12345678910>>...252

/third_party/vk-gl-cts/external/amber/src/src/amberscript/
Dparser_buffer_test.cc63 const auto& buffers = script->GetBuffers(); in TEST_F() local
64 ASSERT_EQ(1U, buffers.size()); in TEST_F()
66 ASSERT_TRUE(buffers[0] != nullptr); in TEST_F()
67 EXPECT_EQ("my_buffer", buffers[0]->GetName()); in TEST_F()
69 auto* buffer = buffers[0].get(); in TEST_F()
96 const auto& buffers = script->GetBuffers(); in TEST_F() local
97 ASSERT_EQ(1U, buffers.size()); in TEST_F()
99 ASSERT_TRUE(buffers[0] != nullptr); in TEST_F()
100 EXPECT_EQ("my_buffer", buffers[0]->GetName()); in TEST_F()
102 auto* buffer = buffers[0].get(); in TEST_F()
[all …]
Dparser_image_test.cc208 const auto& buffers = script->GetBuffers(); in TEST_F() local
209 ASSERT_EQ(1U, buffers.size()); in TEST_F()
211 ASSERT_TRUE(buffers[0] != nullptr); in TEST_F()
212 EXPECT_EQ("image", buffers[0]->GetName()); in TEST_F()
214 auto* buffer = buffers[0].get(); in TEST_F()
232 const auto& buffers = script->GetBuffers(); in TEST_F() local
233 ASSERT_EQ(1U, buffers.size()); in TEST_F()
235 ASSERT_TRUE(buffers[0] != nullptr); in TEST_F()
236 EXPECT_EQ("image", buffers[0]->GetName()); in TEST_F()
238 auto* buffer = buffers[0].get(); in TEST_F()
[all …]
/third_party/openGLES/extensions/SGI/
DGLX_SGI_cushion.txt106 This extension increases the number of color buffers of a double
107 buffered visual. The additional buffers are referred to as cushion
108 buffers. It is not possible for an application to directly access
110 buffers (as before).
114 of displayable buffers. However, the contents of the front buffer
118 of displayable buffers, and the back buffer is the color buffer that
121 When a buffer is appended onto the queue of displayable buffers, the
124 buffer in the queue of displayable buffers. After the oldest buffer in
128 displayable buffers, the removal is deferred until another buffer
131 Cushion buffers are used to store displayable buffers on the queue.
[all …]
/third_party/skia/third_party/externals/opengl-registry/extensions/SGI/
DGLX_SGI_cushion.txt106 This extension increases the number of color buffers of a double
107 buffered visual. The additional buffers are referred to as cushion
108 buffers. It is not possible for an application to directly access
110 buffers (as before).
114 of displayable buffers. However, the contents of the front buffer
118 of displayable buffers, and the back buffer is the color buffer that
121 When a buffer is appended onto the queue of displayable buffers, the
124 buffer in the queue of displayable buffers. After the oldest buffer in
128 displayable buffers, the removal is deferred until another buffer
131 Cushion buffers are used to store displayable buffers on the queue.
[all …]
/third_party/openssl/doc/man3/
DSSL_alloc_buffers.pod5 SSL_free_buffers, SSL_alloc_buffers - manage SSL structure buffers
16 SSL_free_buffers() frees the read and write buffers of the given B<ssl>.
17 SSL_alloc_buffers() allocates the read and write buffers of the given B<ssl>.
19 The B<SSL_MODE_RELEASE_BUFFERS> mode releases read or write buffers whenever
20 the buffers have been drained. These functions allow applications to manually
21 control when buffers are freed and allocated.
23 After freeing the buffers, the buffers are automatically reallocated upon a
25 can be used to make sure the buffers are preallocated. This can be used to
27 to control where and how buffers are allocated.
43 The SSL_free_buffers() function returns 1 if the buffers have been freed. This
[all …]
/third_party/skia/third_party/externals/opengl-registry/extensions/ARB/
DARB_draw_buffers.txt55 directing those outputs to multiple color buffers.
67 colors being rendered to multiple draw buffers?
71 multisample buffer is resolved to all the color buffers.
80 for contexts with multisample buffers. This is simple
86 with multisample buffers.
93 Writing to gl_FragColor will write to all draw buffers specified
147 multisample buffer, it does not include depth or stencil buffers,
149 values. Color buffers (left, right, front, back, and aux) do coexist
191 3.11.4.5.3 Draw Buffers Program Option
264 4.2.1 Selecting Color Buffers for Writing
[all …]
/third_party/openGLES/extensions/ARB/
DARB_draw_buffers.txt65 directing those outputs to multiple color buffers.
77 colors being rendered to multiple draw buffers?
81 multisample buffer is resolved to all the color buffers.
90 for contexts with multisample buffers. This is simple
96 with multisample buffers.
103 Writing to gl_FragColor will write to all draw buffers specified
157 multisample buffer, it does not include depth or stencil buffers,
159 values. Color buffers (left, right, front, back, and aux) do coexist
201 3.11.4.5.3 Draw Buffers Program Option
274 4.2.1 Selecting Color Buffers for Writing
[all …]
/third_party/ltp/testcases/kernel/device-drivers/v4l/user_space/doc/spec/
Dx5791.htm108 >Streaming is an I/O method where only pointers to buffers
110 copied. Memory mapping is primarily intended to map buffers in device
115 buffers in DMA-able main memory.</P
117 >A driver can support many sets of buffers. Each set is
129 >To allocate device buffers applications call the
136 > ioctl with the desired number of buffers and buffer
141 This ioctl can also be used to change the number of buffers or to free
142 the allocated memory, provided none of the buffers are still
145 >Before applications can access the buffers they must map
153 location of the buffers in device memory can be determined with the
[all …]
Da16706.htm120 struct buffer * buffers = NULL;
163 if (-1 == read (fd, buffers[0].start, buffers[0].length)) {
178 process_image (buffers[0].start);
205 process_image (buffers[buf.index].start);
234 if (buf.m.userptr == (unsigned long) buffers[i].start
235 &amp;&amp; buf.length == buffers[i].length)
367 buf.m.userptr = (unsigned long) buffers[i].start;
368 buf.length = buffers[i].length;
390 free (buffers[0].start);
395 if (-1 == munmap (buffers[i].start, buffers[i].length))
[all …]
Dcapture-example.html120 struct buffer * buffers = NULL;
163 if (-1 == read (fd, buffers[0].start, buffers[0].length)) {
178 process_image (buffers[0].start);
205 process_image (buffers[buf.index].start);
234 if (buf.m.userptr == (unsigned long) buffers[i].start
235 &amp;&amp; buf.length == buffers[i].length)
367 buf.m.userptr = (unsigned long) buffers[i].start;
368 buf.length = buffers[i].length;
390 free (buffers[0].start);
395 if (-1 == munmap (buffers[i].start, buffers[i].length))
[all …]
/third_party/skia/third_party/externals/angle2/doc/
DBufferImplementation.md3 Since Direct3D 9 only supports buffers that either contain vertex or index data,
4 and OpenGL buffers can contain both, ANGLE waits till a draw call is issued to
6 the data into global vertex and index buffers. This streaming buffer
22 promote buffers to use the static implementation.
24 # Streaming buffers
26 The streaming buffers implementation uses one Context-global vertex buffer
27 (VertexDataManager::mStreamingBuffer) and two index buffers
31 data). Direct3D 9 allows to efficiently update vertex and index buffers when
35 When the end of these streaming buffers is reached, they are 'recycled' by
37 so this recycling efficiently renames the driver level buffers. ANGLE can then
[all …]
/third_party/python/Objects/stringlib/
Djoin.h18 Py_buffer *buffers = NULL; in STRINGLIB() local
46 buffers = PyMem_NEW(Py_buffer, seqlen); in STRINGLIB()
47 if (buffers == NULL) { in STRINGLIB()
54 buffers = static_buffers; in STRINGLIB()
67 buffers[i].obj = item; in STRINGLIB()
68 buffers[i].buf = PyBytes_AS_STRING(item); in STRINGLIB()
69 buffers[i].len = PyBytes_GET_SIZE(item); in STRINGLIB()
72 if (PyObject_GetBuffer(item, &buffers[i], PyBUF_SIMPLE) != 0) { in STRINGLIB()
88 itemlen = buffers[i].len; in STRINGLIB()
126 Py_ssize_t n = buffers[i].len; in STRINGLIB()
[all …]
/third_party/skia/third_party/externals/opengl-registry/extensions/SGIX/
DGLX_SGIX_dm_buffer.txt29 of its buffers from an externally defined and allocated DMbuffer.
33 defined buffers of the DM pbuffer can be sequentially associated
34 with other DM buffers of the same size and configuration.
40 the DM GLXPbuffer. At associate time the DM buffers described
42 buffers of the GLXPbuffer drawable, as described by the FBconfig.
43 All other buffers that are part of the config will be created by
48 . The externally defined buffers of the DM pbuffer can be changed at
59 destroyed, all buffers that have no remaining clients, including
62 DM GLXPbuffers are proposed as a means for OpenGL to access buffers
133 The resulting pbuffer, when made current, will contain color buffers
[all …]
/third_party/openGLES/extensions/SGIX/
DGLX_SGIX_dm_buffer.txt29 of its buffers from an externally defined and allocated DMbuffer.
33 defined buffers of the DM pbuffer can be sequentially associated
34 with other DM buffers of the same size and configuration.
40 the DM GLXPbuffer. At associate time the DM buffers described
42 buffers of the GLXPbuffer drawable, as described by the FBconfig.
43 All other buffers that are part of the config will be created by
48 . The externally defined buffers of the DM pbuffer can be changed at
59 destroyed, all buffers that have no remaining clients, including
62 DM GLXPbuffers are proposed as a means for OpenGL to access buffers
133 The resulting pbuffer, when made current, will contain color buffers
[all …]
/third_party/mesa3d/src/mesa/main/
Dbuffers.c27 * \file buffers.c
34 #include "buffers.h"
55 * Return bitmask of BUFFER_BIT_* flags indicating which color buffers are
112 * 2) Pbuffers are back buffers from the application point of view, in _mesa_back_to_front_if_single_buffered()
113 * but they are front buffers from the Mesa point of view, in _mesa_back_to_front_if_single_buffered()
135 * Given a GLenum naming one or more color buffers (such as
312 /* none of the named color buffers exist! */ in draw_buffer()
422 * \param buffers array [n] of renderbuffer names. Unlike glDrawBuffer, the
430 const GLenum *buffers, const char *caller, bool no_error) in draw_buffers() argument
453 "%s(n > maximum number of draw buffers)", caller); in draw_buffers()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/doc/
DTransformFeedback.md4 - OpenGL ES 3.0 introduces Transform Feedback as a way to capture vertex outputs to buffers before
7 Shader or Vertex Shader to write vertex outputs to buffers directly.
8 - If Vertex Shader writes to buffers directly as well as to stage output (i.e. `[[position]]`,
10 created. It is only allowed to either write to buffers or to stage output not both on Metal. This
17 varying variables to buffers called XFB buffers at compilation time. The buffers' offsets are
19 - When Transform Feedback ends, a memory barrier must be inserted because the XFB buffers could be
25 - First pass: Vertex Shader will write captured varyings to XFB buffers.
29 - Second pass: Vertex Shader will write to stage output normally, but the XFB buffers writing
31 first pass's, only difference is the output route (stage output vs XFB buffers). This
37 enforce XFB buffers' memory barrier as mentioned above.
[all …]
/third_party/openGLES/extensions/APPLE/
DAPPLE_aux_depth_stencil.txt28 stencil buffer, regardless of how many aux buffers there are.
35 buffers to be allocated for the left and right buffers of a stereo drawable.
36 A context with no aux buffers will be unaffected by this extension.
39 switching between two aux buffers, simultaneously switches the associated
40 depth and stencil buffers, for drawing or reading.
42 For example, if an OpenGL context has two aux buffers and non-zero depth
43 buffer size, it will have a total of three depth buffers - one associated
51 (1) Because the additional depth and stencil buffers must be present when
81 RESOLVED: When a fragment program renders to multiple output color buffers,
82 only the depth and stencil buffers associated with draw buffer 0 are used.
[all …]
/third_party/skia/third_party/externals/opengl-registry/extensions/APPLE/
DAPPLE_aux_depth_stencil.txt28 stencil buffer, regardless of how many aux buffers there are.
35 buffers to be allocated for the left and right buffers of a stereo drawable.
36 A context with no aux buffers will be unaffected by this extension.
39 switching between two aux buffers, simultaneously switches the associated
40 depth and stencil buffers, for drawing or reading.
42 For example, if an OpenGL context has two aux buffers and non-zero depth
43 buffer size, it will have a total of three depth buffers - one associated
51 (1) Because the additional depth and stencil buffers must be present when
81 RESOLVED: When a fragment program renders to multiple output color buffers,
82 only the depth and stencil buffers associated with draw buffer 0 are used.
[all …]
/third_party/skia/third_party/externals/opengl-registry/extensions/ATI/
DATI_draw_buffers.txt43 multiple color buffers.
130 3.11.4.5.3 Draw Buffers Program Option
148 4.2.1 Selecting Color Buffers for Writing
150 The first such operation is controlling the color buffers into
153 set of color buffers to which output color 0 is written.
158 to NONE. DrawBuffersATI defines the draw buffers to which all
163 <n> specifies the number of buffers in <bufs>. <bufs> is a pointer
167 AUXn, where n + 1 is the number of available auxiliary buffers. The
168 draw buffers being defined correspond in order to the respective
173 then DrawBuffersATI specifies a set of draw buffers into which output
[all …]
/third_party/openGLES/extensions/ATI/
DATI_draw_buffers.txt43 multiple color buffers.
130 3.11.4.5.3 Draw Buffers Program Option
148 4.2.1 Selecting Color Buffers for Writing
150 The first such operation is controlling the color buffers into
153 set of color buffers to which output color 0 is written.
158 to NONE. DrawBuffersATI defines the draw buffers to which all
163 <n> specifies the number of buffers in <bufs>. <bufs> is a pointer
167 AUXn, where n + 1 is the number of available auxiliary buffers. The
168 draw buffers being defined correspond in order to the respective
173 then DrawBuffersATI specifies a set of draw buffers into which output
[all …]
/third_party/skia/third_party/externals/egl-registry/extensions/EXT/
DEGL_EXT_multiview_window.txt39 multiple color buffers.
42 render and display multiple color buffers to a supported
73 buffers should be created for the surface. Each color buffer has
78 EGL may not be able to create as many multiview color buffers as
80 of multiview color buffers created by a context, call
89 buffers, an EGL_BAD_MATCH error is generated.
98 color buffers
103 returns the number of multiview color buffers requested. For a
106 buffers created by a context, call eglQueryContext (see
115 multiview color buffers created. The value returned depends on
/third_party/EGL/extensions/EXT/
DEGL_EXT_multiview_window.txt39 multiple color buffers.
42 render and display multiple color buffers to a supported
73 buffers should be created for the surface. Each color buffer has
78 EGL may not be able to create as many multiview color buffers as
80 of multiview color buffers created by a context, call
89 buffers, an EGL_BAD_MATCH error is generated.
98 color buffers
103 returns the number of multiview color buffers requested. For a
106 buffers created by a context, call eglQueryContext (see
115 multiview color buffers created. The value returned depends on
/third_party/skia/m133/src/gpu/graphite/
DBufferManager.h94 * DrawBufferManager controls writing to buffer data ranges within larger, cacheable Buffers and
126 // Utilities that return an unmapped buffer suballocation for a particular usage. These buffers
138 // and is available for immediate reuse. getScratchStorage() returns buffers from this pool if
145 // This type of usage is currently limited to GPU-only storage buffers.
155 // Finalizes all buffers and transfers ownership of them to a Recording. Returns true on success
179 // Block size to use when creating new buffers; between fMinBlockSize and fMaxBlockSize.
203 // Marks manager in a failed state, unmaps any previously collected buffers.
227 // supports fast insertion and lookup doesn't waste buffers (e.g. by vending out large buffers
229 // TODO(b/330743233): We may want this pool to contain buffers with mixed usages (such as
234 // If mapping failed on Buffers created/managed by this DrawBufferManager or by the mapped
[all …]
/third_party/skia/third_party/externals/opengl-registry/extensions/EXT/
DEXT_multiview_draw_buffers.txt41 This extension allows selecting among draw buffers as the
42 rendering target. This may be among multiple primary buffers
47 possible buffers, draw buffers are identified not as individual
50 and an integer representing an identifying index of buffers of this
54 Rendering to buffers of location MULTIVIEW_EXT associated with the
55 context allows rendering to multiview buffers created by EGL using
58 Rendering to COLOR_ATTACHMENT_EXT buffers allows implementations to
113 defines the draw buffers to which all fragment colors are written.
146 The draw buffers being defined correspond, in order, to the
156 specifies a set of draw buffers into which the color written to
[all …]
/third_party/openGLES/extensions/EXT/
DEXT_multiview_draw_buffers.txt41 This extension allows selecting among draw buffers as the
42 rendering target. This may be among multiple primary buffers
47 possible buffers, draw buffers are identified not as individual
50 and an integer representing an identifying index of buffers of this
54 Rendering to buffers of location MULTIVIEW_EXT associated with the
55 context allows rendering to multiview buffers created by EGL using
58 Rendering to COLOR_ATTACHMENT_EXT buffers allows implementations to
113 defines the draw buffers to which all fragment colors are written.
146 The draw buffers being defined correspond, in order, to the
156 specifies a set of draw buffers into which the color written to
[all …]

12345678910>>...252