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

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

Issue 199443004: gpu: Raise GL_OUT_OF_MEMORY when BeginQueryEXT fails to allocate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: checkmem: benchmark Created 6 years, 8 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 | Annotate | Revision Log
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 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 int32 green_size_; 192 int32 green_size_;
193 int32 red_size_; 193 int32 red_size_;
194 int32 depth_size_; 194 int32 depth_size_;
195 int32 stencil_size_; 195 int32 stencil_size_;
196 int32 samples_; 196 int32 samples_;
197 int32 sample_buffers_; 197 int32 sample_buffers_;
198 bool buffer_preserved_; 198 bool buffer_preserved_;
199 bool share_resources_; 199 bool share_resources_;
200 bool bind_generates_resource_; 200 bool bind_generates_resource_;
201 bool fail_if_major_perf_caveat_; 201 bool fail_if_major_perf_caveat_;
202 bool lose_context_when_out_of_memory_;
202 }; 203 };
203 204
204 } // namespace gles2 205 } // namespace gles2
205 } // namespace gpu 206 } // namespace gpu
206 207
207 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_UTILS_H_ 208 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_UTILS_H_
208 209
OLDNEW
« no previous file with comments | « gpu/command_buffer/client/gles2_implementation_unittest.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