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

Unified Diff: content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc

Issue 278453002: Cleanup change to the createImageCHROMIUM api to follow up https://codereview.chromium.org/25571300… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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: content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc
diff --git a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc
index 01917ff381c09f969709770a2b37d710f90fd109..3638ecfde7a4317558a8ad4872df6cd01d884fa4 100644
--- a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc
+++ b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc
@@ -1344,14 +1344,6 @@ DELEGATE_TO_GL_4R(createImageCHROMIUM,
WGC3Denum,
WGC3Duint);
-WGC3Duint WebGraphicsContext3DCommandBufferImpl::createImageCHROMIUM(
- WGC3Dsizei width,
- WGC3Dsizei height,
- WGC3Denum internalformat) {
- return gl_->CreateImageCHROMIUM(
- width, height, internalformat, GL_IMAGE_MAP_CHROMIUM);
-}
-
DELEGATE_TO_GL_1(destroyImageCHROMIUM, DestroyImageCHROMIUM, WGC3Duint);
DELEGATE_TO_GL_3(getImageParameterivCHROMIUM, GetImageParameterivCHROMIUM,
@@ -1359,12 +1351,6 @@ DELEGATE_TO_GL_3(getImageParameterivCHROMIUM, GetImageParameterivCHROMIUM,
DELEGATE_TO_GL_1R(mapImageCHROMIUM, MapImageCHROMIUM, WGC3Duint, void*);
-void* WebGraphicsContext3DCommandBufferImpl::mapImageCHROMIUM(
- WGC3Duint image_id,
- WGC3Denum access) {
- return gl_->MapImageCHROMIUM(image_id);
-}
-
DELEGATE_TO_GL_1(unmapImageCHROMIUM, UnmapImageCHROMIUM, WGC3Duint);
DELEGATE_TO_GL_6(framebufferTexture2DMultisampleEXT,

Powered by Google App Engine
This is Rietveld 408576698