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

Unified Diff: cc/test/test_web_graphics_context_3d.cc

Issue 2134793002: Remove the command buffer method glGetImageivCHROMIUM. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge conflict. Created 4 years, 5 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
Index: cc/test/test_web_graphics_context_3d.cc
diff --git a/cc/test/test_web_graphics_context_3d.cc b/cc/test/test_web_graphics_context_3d.cc
index ba29b422988508e47c6ad420c968833bbb1e188b..2641c9011d75132b7298529a8d2be44f39350a22 100644
--- a/cc/test/test_web_graphics_context_3d.cc
+++ b/cc/test/test_web_graphics_context_3d.cc
@@ -639,15 +639,6 @@ GLuint TestWebGraphicsContext3D::createGpuMemoryBufferImageCHROMIUM(
return image_id;
}
-void TestWebGraphicsContext3D::getImageivCHROMIUM(GLuint image_id,
- GLenum param,
- GLint* data) {
- DCHECK_EQ(GL_GPU_MEMORY_BUFFER_ID, static_cast<int>(param));
- base::AutoLock lock(namespace_->lock);
- std::unordered_set<unsigned>& images = namespace_->images;
- *data = images.find(image_id) == images.end() ? -1 : 1;
-}
-
GLuint64 TestWebGraphicsContext3D::insertFenceSync() {
return next_insert_fence_sync_++;
}
« no previous file with comments | « cc/test/test_web_graphics_context_3d.h ('k') | gpu/GLES2/extensions/CHROMIUM/CHROMIUM_gpu_memory_buffer_image.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698