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

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

Issue 701033005: content: Move type selection logic out of GpuMemoryBufferImpl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove blank line and add missing CONTENT_EXPORT Created 6 years, 1 month 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/gpu_memory_buffer_impl_surface_texture.cc
diff --git a/content/common/gpu/client/gpu_memory_buffer_impl_surface_texture.cc b/content/common/gpu/client/gpu_memory_buffer_impl_surface_texture.cc
index 28282729215cd3aa16e2fddbeda9bd31735a5a05..4ec2b79a3dff67ddcbf111caad873338330e7e75 100644
--- a/content/common/gpu/client/gpu_memory_buffer_impl_surface_texture.cc
+++ b/content/common/gpu/client/gpu_memory_buffer_impl_surface_texture.cc
@@ -158,12 +158,6 @@ bool GpuMemoryBufferImplSurfaceTexture::IsUsageSupported(Usage usage) {
}
// static
-bool GpuMemoryBufferImplSurfaceTexture::IsConfigurationSupported(Format format,
- Usage usage) {
- return IsFormatSupported(format) && IsUsageSupported(usage);
-}
-
-// static
int GpuMemoryBufferImplSurfaceTexture::WindowFormat(Format format) {
switch (format) {
case RGBA_8888:

Powered by Google App Engine
This is Rietveld 408576698