summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/service/feature_info.h
diff options
context:
space:
mode:
authoraelias@chromium.org <aelias@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-12 05:31:02 +0000
committeraelias@chromium.org <aelias@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-12 05:31:02 +0000
commit4bf88ce2b0e4b9e4fe667fbb2a1a1c35bc6e433f (patch)
tree87435155cb7d934e7012cb713535168cc1208fb7 /gpu/command_buffer/service/feature_info.h
parenta6e4fbfd6c6848be53e04bcd11b097df8399064d (diff)
downloadchromium_src-4bf88ce2b0e4b9e4fe667fbb2a1a1c35bc6e433f.zip
chromium_src-4bf88ce2b0e4b9e4fe667fbb2a1a1c35bc6e433f.tar.gz
chromium_src-4bf88ce2b0e4b9e4fe667fbb2a1a1c35bc6e433f.tar.bz2
Enable virtual context on IMG devices only.
This adds booleans to feature_info for all the common Android vendors and turns on virtual contexts for IMG only, as there are remaining bugs with the other architectures (and IMG is the main reason we are working on virtual contexts to begin with). Setting the command-line flag will force-enable virtual contexts on any architecture. BUG=160710,165531 Review URL: https://chromiumcodereview.appspot.com/11555010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@172535 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/command_buffer/service/feature_info.h')
-rw-r--r--gpu/command_buffer/service/feature_info.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gpu/command_buffer/service/feature_info.h b/gpu/command_buffer/service/feature_info.h
index ec03789..a9fb832 100644
--- a/gpu/command_buffer/service/feature_info.h
+++ b/gpu/command_buffer/service/feature_info.h
@@ -42,6 +42,7 @@ class GPU_EXPORT FeatureInfo : public base::RefCounted<FeatureInfo> {
bool native_vertex_array_object;
bool disable_workarounds;
bool enable_shader_name_hashing;
+ bool enable_virtual_context;
};
struct Workarounds {