Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3497)

Unified Diff: cc/test/test_gles2_interface.cc

Issue 634083002: gpu: Compositor management of GpuMemoryBuffer instances. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cc-pre-chromium-image-refactor
Patch Set: rebase Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/test/test_gles2_interface.h ('k') | cc/test/test_gpu_memory_buffer_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/test_gles2_interface.cc
diff --git a/cc/test/test_gles2_interface.cc b/cc/test/test_gles2_interface.cc
index db410d5afc6af0315ed48346765cd0b32be025e2..0a29fbee116f75a7abe376cacd659e1bffa21f3a 100644
--- a/cc/test/test_gles2_interface.cc
+++ b/cc/test/test_gles2_interface.cc
@@ -306,32 +306,18 @@ void TestGLES2Interface::WaitAsyncTexImage2DCHROMIUM(GLenum target) {
test_context_->waitAsyncTexImage2DCHROMIUM(target);
}
-GLuint TestGLES2Interface::CreateImageCHROMIUM(GLsizei width,
+GLuint TestGLES2Interface::CreateImageCHROMIUM(ClientBuffer buffer,
+ GLsizei width,
GLsizei height,
- GLenum internalformat,
- GLenum usage) {
+ GLenum internalformat) {
return test_context_->createImageCHROMIUM(
- width, height, internalformat, usage);
+ buffer, width, height, internalformat);
}
void TestGLES2Interface::DestroyImageCHROMIUM(GLuint image_id) {
test_context_->destroyImageCHROMIUM(image_id);
}
-void* TestGLES2Interface::MapImageCHROMIUM(GLuint image_id) {
- return test_context_->mapImageCHROMIUM(image_id);
-}
-
-void TestGLES2Interface::GetImageParameterivCHROMIUM(GLuint image_id,
- GLenum pname,
- GLint* params) {
- test_context_->getImageParameterivCHROMIUM(image_id, pname, params);
-}
-
-void TestGLES2Interface::UnmapImageCHROMIUM(GLuint image_id) {
- test_context_->unmapImageCHROMIUM(image_id);
-}
-
GLuint TestGLES2Interface::CreateGpuMemoryBufferImageCHROMIUM(
GLsizei width,
GLsizei height,
« no previous file with comments | « cc/test/test_gles2_interface.h ('k') | cc/test/test_gpu_memory_buffer_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698