Lines Matching refs:block

56  * Internal only interface for creating blocks by block pool/buffer passing implementations.
62 * Create a linear block from an allocation for an allotted range.
69 * \return shared pointer to the linear block. nullptr if there was not enough memory to
70 * create this block.
80 * Create a graphic block from an allocation for an allotted section.
86 * \return shared pointer to the graphic block. nullptr if there was not enough memory to
87 * create this block.
96 * Return a block pool data from 1D block.
98 * \param shared pointer to the 1D block which is already created.
102 const C2Block1D& block);
105 * Return a block pool data from 2D block.
107 * \param shared pointer to the 2D block which is already created.
111 const C2Block2D& block);
114 * Create a linear block from the received native handle.
116 * \param handle native handle to a linear block
118 * \return shared pointer to the linear block. nullptr if there was not enough memory to
119 * create this block.
126 * Create a graphic block from the received native handle.
128 * \param handle native handle to a graphic block
130 * \return shared pointer to the graphic block. nullptr if there was not enough memory to
131 * create this block.
138 * Create a linear block from the received bufferpool data.
140 * \param data bufferpool data to a linear block
142 * \return shared pointer to the linear block. nullptr if there was not enough memory to
143 * create this block.
151 * Create a graphic block from the received bufferpool data.
153 * \param data bufferpool data to a graphic block
155 * \return shared pointer to the graphic block. nullptr if there was not enough memory to
156 * create this block.
181 * A block that is created by a bufferqueue-based blockpool requires some
182 * special treatment when it is destroyed. In particular, if the block
187 * cancelBuffer() should not be called upon the destruction of the block.
192 * destruction of the block.
199 * will be called if "held" status is true when the block is destroyed.
201 * are retained when a block is transferred from one process to another. It
215 * HoldBlockFromBufferQueue() will mark the block as held, while
219 * guaranteed that the block is not destroyed during the period between the
250 * block comes from a bufferqueue-based blockpool.
253 * \param[out] bqId Id of the bufferqueue owning the buffer (block)
265 * Set bufferqueue assignment and "held" status to a block created by a
268 * \param poolData blockpool data associated to the block.
271 * \param bqId Id of the bufferqueue that will own the buffer (block).
273 * \param held Whether the block is held. This "held" status can be
292 * Hold a block from the designated bufferqueue. This causes the destruction
293 * of the block to trigger a call to cancelBuffer().
296 * block. It does not check if that is the case.
298 * \param poolData blockpool data associated to the block.
300 * block. This is not needed when the block is local.
311 * Yield a block to the designated bufferqueue. This causes the destruction
312 * of the block not to trigger a call to cancelBuffer();
315 * block. It does not check if that is the case.
317 * \param poolData blockpool data associated to the block.