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

Unified Diff: content/browser/gpu/browser_gpu_channel_host_factory.cc

Issue 1071273002: NotForReview: Implement zero/one-copy texture for ozone freon using Intel DRM Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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/browser/gpu/browser_gpu_channel_host_factory.cc
diff --git a/content/browser/gpu/browser_gpu_channel_host_factory.cc b/content/browser/gpu/browser_gpu_channel_host_factory.cc
index 16ce7584d032bb7c7c65f9cbf2aff206cc7aa205..9b623ac5fb7ed15f57d50f0a56211e8ae4476d53 100644
--- a/content/browser/gpu/browser_gpu_channel_host_factory.cc
+++ b/content/browser/gpu/browser_gpu_channel_host_factory.cc
@@ -262,7 +262,8 @@ uint32 BrowserGpuChannelHostFactory::GetImageTextureTarget() {
switch (type) {
case gfx::SURFACE_TEXTURE_BUFFER:
- // Surface texture backed GPU memory buffers require
+ case gfx::OZONE_NATIVE_BUFFER:
reveman 2015/04/13 00:46:13 This change can land separately and it not current
dshwang 2015/04/14 13:15:55 got it
+ // EGLImage backed GPU memory buffers require
// TEXTURE_EXTERNAL_OES.
return GL_TEXTURE_EXTERNAL_OES;
case gfx::IO_SURFACE_BUFFER:

Powered by Google App Engine
This is Rietveld 408576698