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

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

Issue 1849023003: Remove the MSAA WebSetting, which is not read or used. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@rm-alphadepthetc
Patch Set: msaasettings: declareeager Created 4 years, 8 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 #ifndef WebGL2RenderingContextBase_h 5 #ifndef WebGL2RenderingContextBase_h
6 #define WebGL2RenderingContextBase_h 6 #define WebGL2RenderingContextBase_h
7 7
8 #include "modules/webgl/WebGLExtension.h" 8 #include "modules/webgl/WebGLExtension.h"
9 #include "modules/webgl/WebGLRenderingContextBase.h" 9 #include "modules/webgl/WebGLRenderingContextBase.h"
10 10
11 namespace blink { 11 namespace blink {
12 12
13 class WebGLTexture; 13 class WebGLTexture;
14 14
15 class WebGLActiveInfo; 15 class WebGLActiveInfo;
16 class WebGLBuffer; 16 class WebGLBuffer;
17 class WebGLProgram; 17 class WebGLProgram;
18 class WebGLQuery; 18 class WebGLQuery;
19 class WebGLSampler; 19 class WebGLSampler;
20 class WebGLSync; 20 class WebGLSync;
21 class WebGLTransformFeedback; 21 class WebGLTransformFeedback;
22 class WebGLUniformLocation; 22 class WebGLUniformLocation;
23 class WebGLVertexArrayObject; 23 class WebGLVertexArrayObject;
24 24
25 class WebGL2RenderingContextBase : public WebGLRenderingContextBase { 25 class WebGL2RenderingContextBase : public WebGLRenderingContextBase {
26 USING_GARBAGE_COLLECTED_MIXIN(WebGL2RenderingContextBase);
27 public: 26 public:
28 ~WebGL2RenderingContextBase() override; 27 ~WebGL2RenderingContextBase() override;
29 28
30 /* Buffer objects */ 29 /* Buffer objects */
31 void copyBufferSubData(GLenum, GLenum, long long, long long, long long); 30 void copyBufferSubData(GLenum, GLenum, long long, long long, long long);
32 void getBufferSubData(GLenum target, long long offset, DOMArrayBuffer* retur nedData); 31 void getBufferSubData(GLenum target, long long offset, DOMArrayBuffer* retur nedData);
33 32
34 /* Framebuffer objects */ 33 /* Framebuffer objects */
35 bool validateTexFuncLayer(const char*, GLenum texTarget, GLint layer); 34 bool validateTexFuncLayer(const char*, GLenum texTarget, GLint layer);
36 void blitFramebuffer(GLint, GLint, GLint, GLint, GLint, GLint, GLint, GLint, GLbitfield, GLenum); 35 void blitFramebuffer(GLint, GLint, GLint, GLint, GLint, GLint, GLint, GLint, GLbitfield, GLenum);
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 GLint m_unpackSkipImages; 313 GLint m_unpackSkipImages;
315 }; 314 };
316 315
317 DEFINE_TYPE_CASTS(WebGL2RenderingContextBase, CanvasRenderingContext, context, 316 DEFINE_TYPE_CASTS(WebGL2RenderingContextBase, CanvasRenderingContext, context,
318 context->is3d() && WebGLRenderingContextBase::getWebGLVersion(context) >= 2, 317 context->is3d() && WebGLRenderingContextBase::getWebGLVersion(context) >= 2,
319 context.is3d() && WebGLRenderingContextBase::getWebGLVersion(&context) >= 2) ; 318 context.is3d() && WebGLRenderingContextBase::getWebGLVersion(&context) >= 2) ;
320 319
321 } // namespace blink 320 } // namespace blink
322 321
323 #endif 322 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/page/Page.cpp ('k') | third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698