Lines Matching defs:texture

297      * Draws the shape represented by the specified path texture.
299 * the extra left/top offset and the texture offset to correctly
304 * @param texture The texture reprsenting the shape
307 void drawShape(float left, float top, const PathTexture* texture, SkPaint* paint);
311 * This will render the rect using a path texture, which is used to render
323 * Draws the specified texture as an alpha bitmap. Alpha bitmaps obey
326 * @param texture The texture to draw with
331 void drawAlphaBitmap(Texture* texture, float left, float top, SkPaint* paint);
347 * Draws a textured rectangle with the specified texture. The specified coordinates
354 * @param texture The texture name to map onto the rectangle
357 * @param blend True if the texture contains an alpha channel
359 void drawTextureRect(float left, float top, float right, float bottom, GLuint texture,
363 * Draws a textured rectangle with the specified texture. The specified coordinates
370 * @param texture The texture to use
374 Texture* texture, SkPaint* paint);
377 * Draws a textured mesh with the specified texture. If the indices are omitted,
385 * @param texture The texture name to map onto the rectangle
388 * @param blend True if the texture contains an alpha channel
390 * @param texCoords The texture coordinates of each vertex
398 void drawTextureMesh(float left, float top, float right, float bottom, GLuint texture,
418 * Draws a path texture. Path textures are alpha8 bitmaps that need special
421 * @param texture The texture to render
422 * @param x The x coordinate where the texture will be drawn
423 * @param y The y coordinate where the texture will be drawn
424 * @param paint The paint to draw the texture with
426 void drawPathTexture(const PathTexture* texture, float x, float y, SkPaint* paint);
429 * Resets the texture coordinates stored in mMeshVertices. Setting the values
434 * @param u1 The left coordinate of the texture
435 * @param v1 The bottom coordinate of the texture
436 * @param u2 The right coordinate of the texture
437 * @param v2 The top coordinate of the texture
452 * Binds the specified texture. The texture unit must have been selected
455 inline void bindTexture(GLuint texture) {
456 glBindTexture(GL_TEXTURE_2D, texture);
460 * Binds the specified EGLImage texture. The texture unit must have been selected
463 inline void bindExternalTexture(GLuint texture) {
464 glBindTexture(GL_TEXTURE_EXTERNAL_OES, texture);
528 void setupDrawTexture(GLuint texture);
529 void setupDrawExternalTexture(GLuint texture);
600 // Current texture unit