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

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

Issue 2461803002: Enable creation of offscreen contexts which own their backing surface. (Closed)
Patch Set: Drop unnecessary dependent patch Created 4 years, 1 month 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 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
319 int32_t red_size; 319 int32_t red_size;
320 int32_t depth_size; 320 int32_t depth_size;
321 int32_t stencil_size; 321 int32_t stencil_size;
322 int32_t samples; 322 int32_t samples;
323 int32_t sample_buffers; 323 int32_t sample_buffers;
324 bool buffer_preserved; 324 bool buffer_preserved;
325 bool bind_generates_resource; 325 bool bind_generates_resource;
326 bool fail_if_major_perf_caveat; 326 bool fail_if_major_perf_caveat;
327 bool lose_context_when_out_of_memory; 327 bool lose_context_when_out_of_memory;
328 bool should_use_native_gmb_for_backbuffer; 328 bool should_use_native_gmb_for_backbuffer;
329 bool own_offscreen_surface;
329 330
330 ContextType context_type; 331 ContextType context_type;
331 }; 332 };
332 333
333 } // namespace gles2 334 } // namespace gles2
334 } // namespace gpu 335 } // namespace gpu
335 336
336 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_UTILS_H_ 337 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_UTILS_H_
337 338
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698