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

Side by Side Diff: gpu/command_buffer/common/gles2_cmd_utils.h

Issue 2761153002: Ignore custom offscreen surface unless explicitly opted in (Closed)
Patch Set: Make "own offscreen surface" support explicit with its own attribute. Created 3 years, 9 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This file is here so other GLES2 related files can have a common set of 5 // This file is here so other GLES2 related files can have a common set of
6 // includes where appropriate. 6 // includes where appropriate.
7 7
8 #ifndef GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_UTILS_H_ 8 #ifndef GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_UTILS_H_
9 #define GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_UTILS_H_ 9 #define GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_UTILS_H_
10 10
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
326 int32_t red_size; 326 int32_t red_size;
327 int32_t depth_size; 327 int32_t depth_size;
328 int32_t stencil_size; 328 int32_t stencil_size;
329 int32_t samples; 329 int32_t samples;
330 int32_t sample_buffers; 330 int32_t sample_buffers;
331 bool buffer_preserved; 331 bool buffer_preserved;
332 bool bind_generates_resource; 332 bool bind_generates_resource;
333 bool fail_if_major_perf_caveat; 333 bool fail_if_major_perf_caveat;
334 bool lose_context_when_out_of_memory; 334 bool lose_context_when_out_of_memory;
335 bool should_use_native_gmb_for_backbuffer; 335 bool should_use_native_gmb_for_backbuffer;
336 bool own_offscreen_surface;
336 337
337 ContextType context_type; 338 ContextType context_type;
338 }; 339 };
339 340
340 } // namespace gles2 341 } // namespace gles2
341 } // namespace gpu 342 } // namespace gpu
342 343
343 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_UTILS_H_ 344 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_UTILS_H_
344
OLDNEW
« no previous file with comments | « content/renderer/renderer_blink_platform_impl.cc ('k') | gpu/command_buffer/common/gles2_cmd_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698