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

Side by Side Diff: Source/core/html/canvas/WebGLRenderingContext.cpp

Issue 64643009: Remove duplicated headers from core/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 7 years 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 #include "core/html/canvas/WebGLProgram.h" 62 #include "core/html/canvas/WebGLProgram.h"
63 #include "core/html/canvas/WebGLRenderbuffer.h" 63 #include "core/html/canvas/WebGLRenderbuffer.h"
64 #include "core/html/canvas/WebGLShader.h" 64 #include "core/html/canvas/WebGLShader.h"
65 #include "core/html/canvas/WebGLShaderPrecisionFormat.h" 65 #include "core/html/canvas/WebGLShaderPrecisionFormat.h"
66 #include "core/html/canvas/WebGLTexture.h" 66 #include "core/html/canvas/WebGLTexture.h"
67 #include "core/html/canvas/WebGLUniformLocation.h" 67 #include "core/html/canvas/WebGLUniformLocation.h"
68 #include "core/inspector/InspectorInstrumentation.h" 68 #include "core/inspector/InspectorInstrumentation.h"
69 #include "core/loader/FrameLoader.h" 69 #include "core/loader/FrameLoader.h"
70 #include "core/loader/FrameLoaderClient.h" 70 #include "core/loader/FrameLoaderClient.h"
71 #include "core/frame/Frame.h" 71 #include "core/frame/Frame.h"
72 #include "core/page/Page.h"
73 #include "core/page/Settings.h" 72 #include "core/page/Settings.h"
74 #include "core/platform/graphics/Extensions3D.h" 73 #include "core/platform/graphics/Extensions3D.h"
75 #include "core/platform/graphics/ImageBuffer.h"
76 #include "core/platform/graphics/gpu/DrawingBuffer.h" 74 #include "core/platform/graphics/gpu/DrawingBuffer.h"
77 #include "core/rendering/RenderBox.h" 75 #include "core/rendering/RenderBox.h"
78 #include "platform/NotImplemented.h" 76 #include "platform/NotImplemented.h"
79 #include "platform/geometry/IntSize.h" 77 #include "platform/geometry/IntSize.h"
80 78
81 #include "wtf/OwnPtr.h"
82 #include "wtf/PassOwnPtr.h" 79 #include "wtf/PassOwnPtr.h"
83 #include "wtf/Uint32Array.h" 80 #include "wtf/Uint32Array.h"
84 #include "wtf/text/StringBuilder.h" 81 #include "wtf/text/StringBuilder.h"
85 82
86 namespace WebCore { 83 namespace WebCore {
87 84
88 const double secondsBetweenRestoreAttempts = 1.0; 85 const double secondsBetweenRestoreAttempts = 1.0;
89 const int maxGLErrorsAllowedToConsole = 256; 86 const int maxGLErrorsAllowedToConsole = 256;
90 const unsigned maxGLActiveContexts = 16; 87 const unsigned maxGLActiveContexts = 16;
91 88
(...skipping 5524 matching lines...) Expand 10 before | Expand all | Expand 10 after
5616 if (m_textureUnits[i].m_texture2DBinding 5613 if (m_textureUnits[i].m_texture2DBinding
5617 || m_textureUnits[i].m_textureCubeMapBinding) { 5614 || m_textureUnits[i].m_textureCubeMapBinding) {
5618 m_onePlusMaxNonDefaultTextureUnit = i + 1; 5615 m_onePlusMaxNonDefaultTextureUnit = i + 1;
5619 return; 5616 return;
5620 } 5617 }
5621 } 5618 }
5622 m_onePlusMaxNonDefaultTextureUnit = 0; 5619 m_onePlusMaxNonDefaultTextureUnit = 0;
5623 } 5620 }
5624 5621
5625 } // namespace WebCore 5622 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/html/canvas/WebGLGetInfo.cpp ('k') | Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698