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

Side by Side Diff: gpu/gles2_conform_support/egl/config.cc

Issue 415773009: Re-enable various MSVC warnings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More fixes Created 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « device/bluetooth/bluetooth_service_record_win.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #include "gpu/gles2_conform_support/egl/config.h" 5 #include "gpu/gles2_conform_support/egl/config.h"
6 6
7 namespace egl { 7 namespace egl {
8 8
9 Config::Config() 9 Config::Config()
10 : buffer_size_(0), 10 : buffer_size_(0),
11 red_size_(0), 11 red_size_(0),
12 green_size_(0), 12 green_size_(0),
13 blue_size_(0), 13 blue_size_(0),
14 luminance_size_(0), 14 luminance_size_(0),
15 alpha_size_(0), 15 alpha_size_(0),
16 alpha_mask_size_(0), 16 alpha_mask_size_(0),
17 bind_to_texture_rgb_(EGL_DONT_CARE), 17 bind_to_texture_rgb_(EGL_TRUE),
18 bind_to_texture_rgba_(EGL_DONT_CARE), 18 bind_to_texture_rgba_(EGL_TRUE),
piman 2014/07/24 21:49:06 Make both of these EGL_FALSE. We don't support pbu
Peter Kasting 2014/07/24 21:52:09 Done. I only picked EGL_TRUE because EGL_DONT_CAR
19 color_buffer_type_(EGL_RGB_BUFFER), 19 color_buffer_type_(EGL_RGB_BUFFER),
20 config_caveat_(EGL_DONT_CARE), 20 config_caveat_(EGL_NONE),
21 config_id_(EGL_DONT_CARE), 21 config_id_(EGL_DONT_CARE),
22 conformant_(EGL_OPENGL_ES2_BIT), 22 conformant_(EGL_OPENGL_ES2_BIT),
23 depth_size_(0), 23 depth_size_(0),
24 level_(0), 24 level_(0),
25 max_pbuffer_width_(0), 25 max_pbuffer_width_(0),
26 max_pbuffer_height_(0), 26 max_pbuffer_height_(0),
27 max_pbuffer_pixels_(0), 27 max_pbuffer_pixels_(0),
28 min_swap_interval_(EGL_DONT_CARE), 28 min_swap_interval_(EGL_DONT_CARE),
29 max_swap_interval_(EGL_DONT_CARE), 29 max_swap_interval_(EGL_DONT_CARE),
30 native_renderable_(EGL_DONT_CARE), 30 native_renderable_(EGL_TRUE),
31 native_visual_id_(0), 31 native_visual_id_(0),
32 native_visual_type_(EGL_DONT_CARE), 32 native_visual_type_(EGL_DONT_CARE),
33 renderable_type_(EGL_OPENGL_ES2_BIT), 33 renderable_type_(EGL_OPENGL_ES2_BIT),
34 sample_buffers_(0), 34 sample_buffers_(0),
35 samples_(0), 35 samples_(0),
36 stencil_size_(0), 36 stencil_size_(0),
37 surface_type_(EGL_WINDOW_BIT), 37 surface_type_(EGL_WINDOW_BIT),
38 transparent_type_(EGL_NONE), 38 transparent_type_(EGL_NONE),
39 transparent_red_value_(EGL_DONT_CARE), 39 transparent_red_value_(EGL_DONT_CARE),
40 transparent_green_value_(EGL_DONT_CARE), 40 transparent_green_value_(EGL_DONT_CARE),
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 case EGL_TRANSPARENT_BLUE_VALUE: 143 case EGL_TRANSPARENT_BLUE_VALUE:
144 *value = transparent_blue_value_; 144 *value = transparent_blue_value_;
145 break; 145 break;
146 default: 146 default:
147 return false; 147 return false;
148 } 148 }
149 return true; 149 return true;
150 } 150 }
151 151
152 } // namespace egl 152 } // namespace egl
OLDNEW
« no previous file with comments | « device/bluetooth/bluetooth_service_record_win.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698