Lines Matching refs:buffer

162      * uses separate MSAA render buffers then a MSAA render buffer is created that resolves
173 * that are not also textures (e.g. FBO 0 in OpenGL, or an MSAA buffer that
187 * Either finds and refs a buffer with the given unique key, or creates a new new, fills its
190 * @param intendedType hint to the graphics subsystem about how the buffer will be used.
191 * @param size minimum size of buffer to return.
192 * @param key Key to be assigned to the buffer.
193 * @param InitializeBufferFn callback with which to initialize the buffer.
195 * @return The buffer if successful, otherwise nullptr.
202 * Either finds and refs, or creates a static buffer with the given parameters and contents.
204 * @param intendedType hint to the graphics subsystem about what the buffer will be used for.
205 * @param size minimum size of buffer to return.
206 * @param data optional data with which to initialize the buffer.
207 * @param key Key to be assigned to the buffer.
209 * @return The buffer if successful, otherwise nullptr.
215 * Either finds and refs, or creates an index buffer with a repeating pattern for drawing
223 * @param key Key to be assigned to the index buffer.
225 * @return The index buffer if successful, otherwise nullptr.
232 if (auto buffer = this->findByUniqueKey<const GrGpuBuffer>(key)) {
233 return buffer;
239 * Returns an index buffer that can be used to render non-antialiased quads.
243 * @ return the non-AA quad index buffer
257 * Returns an index buffer that can be used to render antialiased quads.
261 * @ return the AA quad index buffer
275 * Returns a buffer.
277 * @param size minimum size of buffer to return.
278 * @param intendedType hint to the graphics subsystem about what the buffer will be used for.
281 * @param data optional data with which to initialize the buffer.
283 * @return the buffer if successful, otherwise nullptr.
291 * If passed in render target already has a stencil buffer on the specified surface, return