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

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

Issue 2555213002: Implement color management for ImageData (Closed)
Patch Set: Work in progress Created 4 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 // 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/dom/DOMException.h" 8 #include "core/dom/DOMException.h"
9 #include "core/frame/ImageBitmap.h" 9 #include "core/frame/ImageBitmap.h"
10 #include "core/html/Float32ImageData.h"
Justin Novosad 2016/12/08 18:16:35 Why?
zakerinasab 2016/12/08 20:40:52 Removed for now.
10 #include "core/html/HTMLCanvasElement.h" 11 #include "core/html/HTMLCanvasElement.h"
11 #include "core/html/HTMLImageElement.h" 12 #include "core/html/HTMLImageElement.h"
12 #include "core/html/HTMLVideoElement.h" 13 #include "core/html/HTMLVideoElement.h"
13 #include "core/html/ImageData.h" 14 #include "core/html/ImageData.h"
14 #include "gpu/GLES2/gl2extchromium.h" 15 #include "gpu/GLES2/gl2extchromium.h"
15 #include "gpu/command_buffer/client/gles2_interface.h" 16 #include "gpu/command_buffer/client/gles2_interface.h"
16 #include "modules/webgl/WebGLActiveInfo.h" 17 #include "modules/webgl/WebGLActiveInfo.h"
17 #include "modules/webgl/WebGLBuffer.h" 18 #include "modules/webgl/WebGLBuffer.h"
18 #include "modules/webgl/WebGLFenceSync.h" 19 #include "modules/webgl/WebGLFenceSync.h"
19 #include "modules/webgl/WebGLFramebuffer.h" 20 #include "modules/webgl/WebGLFramebuffer.h"
(...skipping 4920 matching lines...) Expand 10 before | Expand all | Expand 10 after
4940 4941
4941 void WebGL2RenderingContextBase:: 4942 void WebGL2RenderingContextBase::
4942 DrawingBufferClientRestorePixelUnpackBufferBinding() { 4943 DrawingBufferClientRestorePixelUnpackBufferBinding() {
4943 if (!contextGL()) 4944 if (!contextGL())
4944 return; 4945 return;
4945 contextGL()->BindBuffer(GL_PIXEL_UNPACK_BUFFER, 4946 contextGL()->BindBuffer(GL_PIXEL_UNPACK_BUFFER,
4946 objectOrZero(m_boundPixelUnpackBuffer.get())); 4947 objectOrZero(m_boundPixelUnpackBuffer.get()));
4947 } 4948 }
4948 4949
4949 } // namespace blink 4950 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698