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

Side by Side Diff: Source/modules/webgl/WebGLRenderingContext.h

Issue 1265703005: Implement the texture uploading of ASTC compression for WebGL(part II) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add braces. Created 5 years, 3 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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 PersistentWillBeMember<OESTextureFloatLinear> m_oesTextureFloatLinear; 72 PersistentWillBeMember<OESTextureFloatLinear> m_oesTextureFloatLinear;
73 PersistentWillBeMember<OESTextureHalfFloat> m_oesTextureHalfFloat; 73 PersistentWillBeMember<OESTextureHalfFloat> m_oesTextureHalfFloat;
74 PersistentWillBeMember<OESTextureHalfFloatLinear> m_oesTextureHalfFloatLinea r; 74 PersistentWillBeMember<OESTextureHalfFloatLinear> m_oesTextureHalfFloatLinea r;
75 PersistentWillBeMember<OESStandardDerivatives> m_oesStandardDerivatives; 75 PersistentWillBeMember<OESStandardDerivatives> m_oesStandardDerivatives;
76 PersistentWillBeMember<OESVertexArrayObject> m_oesVertexArrayObject; 76 PersistentWillBeMember<OESVertexArrayObject> m_oesVertexArrayObject;
77 PersistentWillBeMember<OESElementIndexUint> m_oesElementIndexUint; 77 PersistentWillBeMember<OESElementIndexUint> m_oesElementIndexUint;
78 PersistentWillBeMember<WebGLLoseContext> m_webglLoseContext; 78 PersistentWillBeMember<WebGLLoseContext> m_webglLoseContext;
79 PersistentWillBeMember<WebGLDebugRendererInfo> m_webglDebugRendererInfo; 79 PersistentWillBeMember<WebGLDebugRendererInfo> m_webglDebugRendererInfo;
80 PersistentWillBeMember<WebGLDebugShaders> m_webglDebugShaders; 80 PersistentWillBeMember<WebGLDebugShaders> m_webglDebugShaders;
81 PersistentWillBeMember<WebGLDrawBuffers> m_webglDrawBuffers; 81 PersistentWillBeMember<WebGLDrawBuffers> m_webglDrawBuffers;
82 PersistentWillBeMember<WebGLCompressedTextureASTC> m_webglCompressedTextureA STC;
82 PersistentWillBeMember<WebGLCompressedTextureATC> m_webglCompressedTextureAT C; 83 PersistentWillBeMember<WebGLCompressedTextureATC> m_webglCompressedTextureAT C;
83 PersistentWillBeMember<WebGLCompressedTextureETC1> m_webglCompressedTextureE TC1; 84 PersistentWillBeMember<WebGLCompressedTextureETC1> m_webglCompressedTextureE TC1;
84 PersistentWillBeMember<WebGLCompressedTexturePVRTC> m_webglCompressedTexture PVRTC; 85 PersistentWillBeMember<WebGLCompressedTexturePVRTC> m_webglCompressedTexture PVRTC;
85 PersistentWillBeMember<WebGLCompressedTextureS3TC> m_webglCompressedTextureS 3TC; 86 PersistentWillBeMember<WebGLCompressedTextureS3TC> m_webglCompressedTextureS 3TC;
86 PersistentWillBeMember<WebGLDepthTexture> m_webglDepthTexture; 87 PersistentWillBeMember<WebGLDepthTexture> m_webglDepthTexture;
87 }; 88 };
88 89
89 DEFINE_TYPE_CASTS(WebGLRenderingContext, CanvasRenderingContext, context, 90 DEFINE_TYPE_CASTS(WebGLRenderingContext, CanvasRenderingContext, context,
90 context->is3d() && WebGLRenderingContextBase::getWebGLVersion(context) == 1, 91 context->is3d() && WebGLRenderingContextBase::getWebGLVersion(context) == 1,
91 context.is3d() && WebGLRenderingContextBase::getWebGLVersion(&context) == 1) ; 92 context.is3d() && WebGLRenderingContextBase::getWebGLVersion(&context) == 1) ;
92 93
93 } // namespace blink 94 } // namespace blink
94 95
95 #endif // WebGLRenderingContext_h 96 #endif // WebGLRenderingContext_h
OLDNEW
« no previous file with comments | « Source/modules/webgl/WebGLExtensionName.h ('k') | Source/modules/webgl/WebGLRenderingContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698