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

Side by Side Diff: third_party/WebKit/Source/modules/webgl/WebGLCompressedTextureASTC.cpp

Issue 2389203002: reflow comments in modules/webgl (Closed)
Patch Set: Created 4 years, 2 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "modules/webgl/WebGLCompressedTextureASTC.h" 5 #include "modules/webgl/WebGLCompressedTextureASTC.h"
6 6
7 #include "modules/webgl/WebGLRenderingContextBase.h" 7 #include "modules/webgl/WebGLRenderingContextBase.h"
8 8
9 namespace blink { 9 namespace blink {
10 10
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 return new WebGLCompressedTextureASTC(context); 55 return new WebGLCompressedTextureASTC(context);
56 } 56 }
57 57
58 bool WebGLCompressedTextureASTC::supported(WebGLRenderingContextBase* context) { 58 bool WebGLCompressedTextureASTC::supported(WebGLRenderingContextBase* context) {
59 Extensions3DUtil* extensionsUtil = context->extensionsUtil(); 59 Extensions3DUtil* extensionsUtil = context->extensionsUtil();
60 return extensionsUtil->supportsExtension( 60 return extensionsUtil->supportsExtension(
61 "GL_KHR_texture_compression_astc_ldr"); 61 "GL_KHR_texture_compression_astc_ldr");
62 } 62 }
63 63
64 const char* WebGLCompressedTextureASTC::extensionName() { 64 const char* WebGLCompressedTextureASTC::extensionName() {
65 // TODO(cyzero.kim): implement extension for GL_KHR_texture_compression_astc_h dr. 65 // TODO(cyzero.kim): implement extension for
66 // GL_KHR_texture_compression_astc_hdr.
66 return "WEBGL_compressed_texture_astc"; 67 return "WEBGL_compressed_texture_astc";
67 } 68 }
68 69
69 } // namespace blink 70 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698