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

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: Reorganized code per oshima's suggestion. Created 8 years, 3 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/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 5900ec0a20e868b09d290175c50eb77131b7dbb6..5a698863969813ffd4bd6cfc31af65e3d8ed0bb4 100644
--- a/content/public/common/gpu_feature_type.h
+++ b/content/public/common/gpu_feature_type.h
@@ -19,6 +19,7 @@ enum GpuFeatureType {
GPU_FEATURE_TYPE_FLASH_STAGE3D = 1 << 5,
GPU_FEATURE_TYPE_TEXTURE_SHARING = 1 << 6,
GPU_FEATURE_TYPE_ACCELERATED_VIDEO_DECODE = 1 << 7,
+ GPU_FEATURE_TYPE_PANEL_FITTING = 1 << 8,
GPU_FEATURE_TYPE_ALL = GPU_FEATURE_TYPE_ACCELERATED_2D_CANVAS |
GPU_FEATURE_TYPE_ACCELERATED_COMPOSITING |
GPU_FEATURE_TYPE_WEBGL |
@@ -26,7 +27,8 @@ enum GpuFeatureType {
GPU_FEATURE_TYPE_FLASH3D |
GPU_FEATURE_TYPE_FLASH_STAGE3D |
GPU_FEATURE_TYPE_TEXTURE_SHARING |
- GPU_FEATURE_TYPE_ACCELERATED_VIDEO_DECODE,
+ GPU_FEATURE_TYPE_ACCELERATED_VIDEO_DECODE |
+ GPU_FEATURE_TYPE_PANEL_FITTING,
// All flags initialized to false, i.e., no feature is blacklisted.
GPU_FEATURE_TYPE_UNKNOWN = 0
};
« content/browser/gpu/gpu_util.cc ('K') | « content/public/common/content_switches.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698