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

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

Issue 2337833002: Implement WEBGL_compressed_texture_s3tc_srgb (Closed)
Patch Set: add test and fix feature detection (enabled on webgl2, android/tegra) Created 4 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
« no previous file with comments | « third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h ('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 /* 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 #include "modules/webgl/OESTextureHalfFloat.h" 60 #include "modules/webgl/OESTextureHalfFloat.h"
61 #include "modules/webgl/OESTextureHalfFloatLinear.h" 61 #include "modules/webgl/OESTextureHalfFloatLinear.h"
62 #include "modules/webgl/OESVertexArrayObject.h" 62 #include "modules/webgl/OESVertexArrayObject.h"
63 #include "modules/webgl/WebGLActiveInfo.h" 63 #include "modules/webgl/WebGLActiveInfo.h"
64 #include "modules/webgl/WebGLBuffer.h" 64 #include "modules/webgl/WebGLBuffer.h"
65 #include "modules/webgl/WebGLCompressedTextureASTC.h" 65 #include "modules/webgl/WebGLCompressedTextureASTC.h"
66 #include "modules/webgl/WebGLCompressedTextureATC.h" 66 #include "modules/webgl/WebGLCompressedTextureATC.h"
67 #include "modules/webgl/WebGLCompressedTextureETC1.h" 67 #include "modules/webgl/WebGLCompressedTextureETC1.h"
68 #include "modules/webgl/WebGLCompressedTexturePVRTC.h" 68 #include "modules/webgl/WebGLCompressedTexturePVRTC.h"
69 #include "modules/webgl/WebGLCompressedTextureS3TC.h" 69 #include "modules/webgl/WebGLCompressedTextureS3TC.h"
70 #include "modules/webgl/WebGLCompressedTextureS3TCsRGB.h"
70 #include "modules/webgl/WebGLContextAttributeHelpers.h" 71 #include "modules/webgl/WebGLContextAttributeHelpers.h"
71 #include "modules/webgl/WebGLContextEvent.h" 72 #include "modules/webgl/WebGLContextEvent.h"
72 #include "modules/webgl/WebGLContextGroup.h" 73 #include "modules/webgl/WebGLContextGroup.h"
73 #include "modules/webgl/WebGLDebugRendererInfo.h" 74 #include "modules/webgl/WebGLDebugRendererInfo.h"
74 #include "modules/webgl/WebGLDebugShaders.h" 75 #include "modules/webgl/WebGLDebugShaders.h"
75 #include "modules/webgl/WebGLDepthTexture.h" 76 #include "modules/webgl/WebGLDepthTexture.h"
76 #include "modules/webgl/WebGLDrawBuffers.h" 77 #include "modules/webgl/WebGLDrawBuffers.h"
77 #include "modules/webgl/WebGLFramebuffer.h" 78 #include "modules/webgl/WebGLFramebuffer.h"
78 #include "modules/webgl/WebGLLoseContext.h" 79 #include "modules/webgl/WebGLLoseContext.h"
79 #include "modules/webgl/WebGLProgram.h" 80 #include "modules/webgl/WebGLProgram.h"
(...skipping 6374 matching lines...) Expand 10 before | Expand all | Expand 10 after
6454 6455
6455 void WebGLRenderingContextBase::getHTMLOrOffscreenCanvas(HTMLCanvasElementOrOffs creenCanvas& result) const 6456 void WebGLRenderingContextBase::getHTMLOrOffscreenCanvas(HTMLCanvasElementOrOffs creenCanvas& result) const
6456 { 6457 {
6457 if (canvas()) 6458 if (canvas())
6458 result.setHTMLCanvasElement(canvas()); 6459 result.setHTMLCanvasElement(canvas());
6459 else 6460 else
6460 result.setOffscreenCanvas(getOffscreenCanvas()); 6461 result.setOffscreenCanvas(getOffscreenCanvas());
6461 } 6462 }
6462 6463
6463 } // namespace blink 6464 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698