Home | History | Annotate | Download | only in gpu

Lines Matching defs:glFormat

64 static void convertFormat(GraphicsContext3D* context, Texture::Format format, unsigned int* glFormat, unsigned int* glType, bool* swizzle)
69 *glFormat = GraphicsContext3D::RGBA;
74 *glFormat = Extensions3D::BGRA_EXT;
77 *glFormat = GraphicsContext3D::RGBA;
109 unsigned int glFormat = 0;
112 convertFormat(context, format, &glFormat, &glType, &swizzle);
114 context->texImage2DResourceSafe(GraphicsContext3D::TEXTURE_2D, 0, glFormat,
117 0, glFormat, glType);
158 unsigned int glFormat = 0;
161 convertFormat(m_context, m_format, &glFormat, &glType, &swizzle);
163 ASSERT(glFormat == GraphicsContext3D::RGBA && glType == GraphicsContext3D::UNSIGNED_BYTE);
201 updateRectIntersected.height(), glFormat, glType, uploadBuff);