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

Unified Diff: content/common/gpu/image_transport_surface_win.cc

Issue 8913015: Win: only use transport surface if EGL_ANGLE_d3d_share_handle_client_buffer is advertised. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years 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 | « no previous file | ui/gfx/gl/generate_bindings.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/image_transport_surface_win.cc
===================================================================
--- content/common/gpu/image_transport_surface_win.cc (revision 114452)
+++ content/common/gpu/image_transport_surface_win.cc (working copy)
@@ -194,7 +194,8 @@
base::win::OSInfo* os_info = base::win::OSInfo::GetInstance();
if (gfx::GetGLImplementation() == gfx::kGLImplementationEGLGLES2 &&
- os_info->version() >= base::win::VERSION_VISTA &&
+ gfx::g_EGL_ANGLE_query_surface_pointer &&
+ gfx::g_EGL_ANGLE_d3d_share_handle_client_buffer &&
!CommandLine::ForCurrentProcess()->HasSwitch(
switches::kDisableImageTransportSurface)) {
surface = new PbufferImageTransportSurface(manager,
« no previous file with comments | « no previous file | ui/gfx/gl/generate_bindings.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698