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

Unified Diff: cc/trees/layer_tree_settings.h

Issue 1251693003: cc: Fix the format of GpuMemoryBuffer for SurfaceTexture (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move the targets to ResourceProvider and fix the nits Created 5 years, 5 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: cc/trees/layer_tree_settings.h
diff --git a/cc/trees/layer_tree_settings.h b/cc/trees/layer_tree_settings.h
index 0653de5210660be25d5f055393db3c77bd913685..837ac8e3b8621c75ff07e588b96299044dff0dc0 100644
--- a/cc/trees/layer_tree_settings.h
+++ b/cc/trees/layer_tree_settings.h
@@ -5,6 +5,8 @@
#ifndef CC_TREES_LAYER_TREE_SETTINGS_H_
#define CC_TREES_LAYER_TREE_SETTINGS_H_
+#include <vector>
+
#include "base/basictypes.h"
#include "cc/base/cc_export.h"
#include "cc/debug/layer_tree_debug_state.h"
@@ -77,7 +79,8 @@ class CC_EXPORT LayerTreeSettings {
bool use_zero_copy;
bool use_persistent_map_for_gpu_memory_buffers;
bool enable_elastic_overscroll;
- unsigned use_image_texture_target;
+ // an array of image texture targets for each GpuMemoryBuffer format
reveman 2015/07/28 08:58:26 nit: s/an array../An array/ and s/format/format./
+ std::vector<unsigned> use_image_texture_targets;
piman 2015/07/28 16:33:22 Why not an array? The size is known statically.
jchen10 2015/07/29 04:33:47 I had wished to use an array from the start. But g
bool ignore_root_layer_flings;
size_t scheduled_raster_task_limit;
bool use_occlusion_for_tile_prioritization;

Powered by Google App Engine
This is Rietveld 408576698