Lines Matching refs:texture

503      * Draws the shape represented by the specified path texture.
505 * the extra left/top offset and the texture offset to correctly
510 * @param texture The texture reprsenting the shape
513 status_t drawShape(float left, float top, const PathTexture* texture, SkPaint* paint);
516 * Draws the specified texture as an alpha bitmap. Alpha bitmaps obey
519 * @param texture The texture to draw with
524 void drawAlphaBitmap(Texture* texture, float left, float top, SkPaint* paint);
535 * Draws a textured rectangle with the specified texture. The specified coordinates
542 * @param texture The texture name to map onto the rectangle
545 * @param blend True if the texture contains an alpha channel
547 void drawTextureRect(float left, float top, float right, float bottom, GLuint texture,
551 * Draws a textured rectangle with the specified texture. The specified coordinates
558 * @param texture The texture to use
562 Texture* texture, SkPaint* paint);
565 * Draws a textured mesh with the specified texture. If the indices are omitted,
573 * @param texture The texture name to map onto the rectangle
576 * @param blend True if the texture contains an alpha channel
578 * @param texCoords The texture coordinates of each vertex
586 void drawTextureMesh(float left, float top, float right, float bottom, GLuint texture,
624 * Draws a path texture. Path textures are alpha8 bitmaps that need special
627 * @param texture The texture to render
628 * @param x The x coordinate where the texture will be drawn
629 * @param y The y coordinate where the texture will be drawn
630 * @param paint The paint to draw the texture with
632 void drawPathTexture(const PathTexture* texture, float x, float y, SkPaint* paint);
635 * Resets the texture coordinates stored in mMeshVertices. Setting the values
640 * @param u1 The left coordinate of the texture
641 * @param v1 The bottom coordinate of the texture
642 * @param u2 The right coordinate of the texture
643 * @param v2 The top coordinate of the texture
648 * Binds the specified texture. The texture unit must have been selected
651 inline void bindTexture(GLuint texture) {
652 glBindTexture(GL_TEXTURE_2D, texture);
656 * Binds the specified EGLImage texture. The texture unit must have been selected
659 inline void bindExternalTexture(GLuint texture) {
660 glBindTexture(GL_TEXTURE_EXTERNAL_OES, texture);
721 void setupDrawTexture(GLuint texture);
722 void setupDrawExternalTexture(GLuint texture);
818 // Current texture unit