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

Unified Diff: content/public/common/gpu_feature_type.h

Issue 10909242: Add "panel_fitting" GPU feature type and use it for mirror mode. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix compilation on non-Chrome OS Created 8 years, 2 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
« no previous file with comments | « content/browser/gpu/software_rendering_list.json ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/gpu_feature_type.h
diff --git a/content/public/common/gpu_feature_type.h b/content/public/common/gpu_feature_type.h
index 87517df09f55e938a391b6aac308581828ffcafd..a862af3ff5fdfe514bd60743ea15b27b1d875fbe 100644
--- a/content/public/common/gpu_feature_type.h
+++ b/content/public/common/gpu_feature_type.h
@@ -21,6 +21,7 @@ enum GpuFeatureType {
GPU_FEATURE_TYPE_ACCELERATED_VIDEO_DECODE = 1 << 7,
GPU_FEATURE_TYPE_3D_CSS = 1 << 8,
GPU_FEATURE_TYPE_ACCELERATED_VIDEO = 1 << 9,
+ GPU_FEATURE_TYPE_PANEL_FITTING = 1 << 10,
GPU_FEATURE_TYPE_ALL = GPU_FEATURE_TYPE_ACCELERATED_2D_CANVAS |
GPU_FEATURE_TYPE_ACCELERATED_COMPOSITING |
GPU_FEATURE_TYPE_WEBGL |
@@ -30,7 +31,8 @@ enum GpuFeatureType {
GPU_FEATURE_TYPE_TEXTURE_SHARING |
GPU_FEATURE_TYPE_ACCELERATED_VIDEO_DECODE |
GPU_FEATURE_TYPE_3D_CSS |
- GPU_FEATURE_TYPE_ACCELERATED_VIDEO,
+ GPU_FEATURE_TYPE_ACCELERATED_VIDEO |
+ GPU_FEATURE_TYPE_PANEL_FITTING,
// All flags initialized to false, i.e., no feature is blacklisted.
GPU_FEATURE_TYPE_UNKNOWN = 0
};
« no previous file with comments | « content/browser/gpu/software_rendering_list.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698