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

Side by Side Diff: third_party/WebKit/Source/modules/webgl/WebGLTexture.h

Issue 1639103002: Remove blink side NPOT/incomplete texture handling. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 /* 1 /*
2 * Copyright (C) 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2009 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 143
144 GLenum m_target; 144 GLenum m_target;
145 145
146 WebGLSamplerState m_samplerState; 146 WebGLSamplerState m_samplerState;
147 147
148 Vector<Vector<LevelInfo>> m_info; 148 Vector<Vector<LevelInfo>> m_info;
149 149
150 bool m_isNPOT; 150 bool m_isNPOT;
151 bool m_isCubeComplete; 151 bool m_isCubeComplete;
152 bool m_isComplete; 152 bool m_isComplete;
153 bool m_needToUseBlackTexture;
154 bool m_isFloatType; 153 bool m_isFloatType;
155 bool m_isHalfFloatType; 154 bool m_isHalfFloatType;
156 bool m_isWebGL2OrHigher; 155 bool m_isWebGL2OrHigher;
157 bool m_immutable; 156 bool m_immutable;
158 size_t m_baseLevel; 157 size_t m_baseLevel;
159 size_t m_maxLevel; 158 size_t m_maxLevel;
160 }; 159 };
161 160
162 } // namespace blink 161 } // namespace blink
163 162
164 #endif // WebGLTexture_h 163 #endif // WebGLTexture_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698