void TestGLES2Interface::AsyncTexImage2DCHROMIUM(GLenum target,
GLint level,
- GLint internalformat,
+ GLenum internalformat,
GLsizei width,
GLsizei height,
GLint border,
GLuint TestGLES2Interface::CreateImageCHROMIUM(GLsizei width,
GLsizei height,
- GLenum internalformat) {
- return test_context_->createImageCHROMIUM(width, height, internalformat);
+ GLenum internalformat,
+ GLenum usage) {
+ return test_context_->createImageCHROMIUM(
+ width, height, internalformat, usage);
}
void TestGLES2Interface::DestroyImageCHROMIUM(GLuint image_id) {
test_context_->destroyImageCHROMIUM(image_id);
}
-void* TestGLES2Interface::MapImageCHROMIUM(GLuint image_id, GLenum access) {
- return test_context_->mapImageCHROMIUM(image_id, access);
+void* TestGLES2Interface::MapImageCHROMIUM(GLuint image_id) {
+ return test_context_->mapImageCHROMIUM(image_id);
}
void TestGLES2Interface::GetImageParameterivCHROMIUM(GLuint image_id,
test_context_->produceTextureCHROMIUM(target, mailbox);
}
+void TestGLES2Interface::ProduceTextureDirectCHROMIUM(GLuint texture,
+ GLenum target,
+ const GLbyte* mailbox) {
+ test_context_->produceTextureDirectCHROMIUM(texture, target, mailbox);
+}
+
void TestGLES2Interface::ConsumeTextureCHROMIUM(GLenum target,
const GLbyte* mailbox) {
test_context_->consumeTextureCHROMIUM(target, mailbox);
}
+GLuint TestGLES2Interface::CreateAndConsumeTextureCHROMIUM(
+ GLenum target,
+ const GLbyte* mailbox) {
+ return test_context_->createAndConsumeTextureCHROMIUM(target, mailbox);
+}
+
void TestGLES2Interface::ResizeCHROMIUM(GLuint width,
GLuint height,
float device_scale) {