Home | History | Annotate | Download | only in gpu

Lines Matching defs:Texture

35 #include "Texture.h"
50 Texture::Texture(GraphicsContext3D* context, PassOwnPtr<Vector<unsigned int> > tileTextureIds, Format format, int width, int height, int maxTextureSize)
58 Texture::~Texture()
64 static void convertFormat(GraphicsContext3D* context, Texture::Format format, unsigned int* glFormat, unsigned int* glType, bool* swizzle)
68 case Texture::RGBA8:
72 case Texture::BGRA8:
88 PassRefPtr<Texture> Texture::create(GraphicsContext3D* context, Format format, int width, int height)
119 return adoptRef(new Texture(context, textureIds.leakPtr(), format, width, height, maxTextureSize));
147 void Texture::load(void* pixels)
152 void Texture::updateSubRect(void* pixels, const IntRect& updateRect)
166 int tempBuffSize = // Temporary buffer size is the smaller of the max texture size or the updateRectSanitized
205 void Texture::bindTile(int tile)