Home | History | Annotate | Download | only in gpu

Lines Matching full:texture

54      * if you have lost the associated GPU context, and thus internal texture,
79 * Returns the number of bytes of GPU memory hosted by the texture cache.
87 * Token that refers to an entry in the texture cache. Returned by
98 GrTexture* texture() const;
109 * Key generated by client. Should be a unique key on the texture data.
110 * Does not need to consider that width and height of the texture. Two
116 * Create a new entry, based on the specified key and texture, and return
120 * of the texture. Respecified to findAndLockTexture
121 * for subsequent uses of the texture.
122 * @param sampler The sampler state used to draw a texture may be used
123 * to determine how to store the pixel data in the texture
125 * wrap modes on GPUs with limited or no NPOT texture
128 * @param desc Description of the texture properties.
130 * @param rowBytes The number of bytes between rows of the texture. Zero
140 * return it. The entry's texture() function will return NULL if not found.
144 * of the texture.
145 * @param width The width of the texture in pixels as specifed in
148 * @param width The height of the texture in pixels as specifed in
151 * @param sampler The sampler state used to draw a texture may be used
154 * limited or no NPOT texture support). Only the wrap and
163 * Determines whether a texture is in the cache. If the texture is found it
165 * the texture for deletion.
173 * Enum that determines how closely a returned scratch texture must match
178 * Finds a texture that exactly matches the descriptor.
182 * Finds a texture that approximately matches the descriptor. Will be
184 * specifies that texture is a render target then result will be a
193 * Returns a texture matching the desc. It's contents are unknown. Subsequent
195 * texture. The same texture is guaranteed not be returned again until it is
200 * unextended GLES2). Tiling a npot texture created by lockScratchTexture on
213 * Creates a texture that is outside the cache. Does not count against
221 * Returns true if the specified use of an indexed texture is supported.
228 * Return the current texture cache limits.
233 * texture memory that can be held in the cache.
238 * Specify the texture cache limits. If the current cache exceeds either
243 * @param maxTextureBytes The maximum number of bytes of texture memory
249 * Return the max width or height of a texture supported by the current gpu
279 * Wraps an existing texture with a GrTexture object.
281 * OpenGL: if the object is a texture Gr may change its GL texture params
294 * the client will resolve to a texture).
370 * The rects coords are used to access the paint (through texture matrix)
417 * @param texCoords optional array of texture coordinates used
517 * Reads a rectangle of pixels from a texture.
518 * @param texture the texture to read from.
531 bool readTexturePixels(GrTexture* texture,
535 return this->internalReadTexturePixels(texture, left, top,
541 * Writes a rectangle of pixels to a texture.
542 * @param texture the render target to read from.
552 void writeTexturePixels(GrTexture* texture,
556 this->internalWriteTexturePixels(texture, left, top, width, height,
560 * Copies all texels from one texture to another.
561 * @param src the texture to copy from.
581 * pixels from a given texture.
582 * @param texture the texture to read from
588 void convolve(GrTexture* texture,
595 * pixels from a given texture.
596 * @param texture the texture to read from
602 void applyMorphology(GrTexture* texture,
725 bool internalReadTexturePixels(GrTexture* texture,
731 void internalWriteTexturePixels(GrTexture* texture,
743 // a texture for a stage, the stage coords will be bound to postitions
793 * Gets and locks a scratch texture from a descriptor using
794 * either exact or approximate criteria. Unlocks texture in
827 GrTexture* ret = fEntry.texture();
837 GrTexture* texture() { return fEntry.texture(); }