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

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

Issue 1935783002: Delete blink::WebGraphicsContext3D and cc_blink::ContextProviderWebContext (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@sharegroup
Patch Set: rmwgc3d: export Created 4 years, 7 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/WebGL2RenderingContextBase.h" 5 #include "modules/webgl/WebGL2RenderingContextBase.h"
6 6
7 #include "bindings/modules/v8/WebGLAny.h" 7 #include "bindings/modules/v8/WebGLAny.h"
8 #include "core/frame/ImageBitmap.h" 8 #include "core/frame/ImageBitmap.h"
9 #include "core/html/HTMLCanvasElement.h" 9 #include "core/html/HTMLCanvasElement.h"
10 #include "core/html/HTMLImageElement.h" 10 #include "core/html/HTMLImageElement.h"
11 #include "core/html/HTMLVideoElement.h" 11 #include "core/html/HTMLVideoElement.h"
12 #include "core/html/ImageData.h" 12 #include "core/html/ImageData.h"
13 #include "gpu/command_buffer/client/gles2_interface.h" 13 #include "gpu/command_buffer/client/gles2_interface.h"
14 #include "modules/webgl/WebGLActiveInfo.h" 14 #include "modules/webgl/WebGLActiveInfo.h"
15 #include "modules/webgl/WebGLBuffer.h" 15 #include "modules/webgl/WebGLBuffer.h"
16 #include "modules/webgl/WebGLFenceSync.h" 16 #include "modules/webgl/WebGLFenceSync.h"
17 #include "modules/webgl/WebGLFramebuffer.h" 17 #include "modules/webgl/WebGLFramebuffer.h"
18 #include "modules/webgl/WebGLProgram.h" 18 #include "modules/webgl/WebGLProgram.h"
19 #include "modules/webgl/WebGLQuery.h" 19 #include "modules/webgl/WebGLQuery.h"
20 #include "modules/webgl/WebGLRenderbuffer.h" 20 #include "modules/webgl/WebGLRenderbuffer.h"
21 #include "modules/webgl/WebGLSampler.h" 21 #include "modules/webgl/WebGLSampler.h"
22 #include "modules/webgl/WebGLSync.h" 22 #include "modules/webgl/WebGLSync.h"
23 #include "modules/webgl/WebGLTexture.h" 23 #include "modules/webgl/WebGLTexture.h"
24 #include "modules/webgl/WebGLTransformFeedback.h" 24 #include "modules/webgl/WebGLTransformFeedback.h"
25 #include "modules/webgl/WebGLUniformLocation.h" 25 #include "modules/webgl/WebGLUniformLocation.h"
26 #include "modules/webgl/WebGLVertexArrayObject.h" 26 #include "modules/webgl/WebGLVertexArrayObject.h"
27 #include "platform/CheckedInt.h" 27 #include "platform/CheckedInt.h"
28 #include "public/platform/WebGraphicsContext3D.h"
29 #include "public/platform/WebGraphicsContext3DProvider.h" 28 #include "public/platform/WebGraphicsContext3DProvider.h"
30 #include "wtf/OwnPtr.h" 29 #include "wtf/OwnPtr.h"
31 #include "wtf/PassOwnPtr.h" 30 #include "wtf/PassOwnPtr.h"
32 #include "wtf/text/WTFString.h" 31 #include "wtf/text/WTFString.h"
33 32
34 using WTF::String; 33 using WTF::String;
35 34
36 namespace blink { 35 namespace blink {
37 36
38 namespace { 37 namespace {
(...skipping 3539 matching lines...) Expand 10 before | Expand all | Expand 10 after
3578 params.skipPixels = m_unpackSkipPixels; 3577 params.skipPixels = m_unpackSkipPixels;
3579 params.skipRows = m_unpackSkipRows; 3578 params.skipRows = m_unpackSkipRows;
3580 if (dimension == Tex3D) { 3579 if (dimension == Tex3D) {
3581 params.imageHeight = m_unpackImageHeight; 3580 params.imageHeight = m_unpackImageHeight;
3582 params.skipImages = m_unpackSkipImages; 3581 params.skipImages = m_unpackSkipImages;
3583 } 3582 }
3584 return params; 3583 return params;
3585 } 3584 }
3586 3585
3587 } // namespace blink 3586 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698