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

Unified Diff: Source/WebKit/chromium/src/GraphicsContext3DInternal.h

Issue 7664004: Merge 92908 - Readback composited webgl results for printing (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/835/
Patch Set: Created 9 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/WebKit/chromium/src/GraphicsContext3DChromium.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebKit/chromium/src/GraphicsContext3DInternal.h
===================================================================
--- Source/WebKit/chromium/src/GraphicsContext3DInternal.h (revision 93076)
+++ Source/WebKit/chromium/src/GraphicsContext3DInternal.h (working copy)
@@ -29,6 +29,7 @@
#include "Extensions3DChromium.h"
#include "GraphicsContext3D.h"
#include <wtf/HashSet.h>
+#include <wtf/OwnArrayPtr.h>
#include <wtf/OwnPtr.h>
#if USE(SKIA)
#include "SkBitmap.h"
@@ -80,8 +81,10 @@
void markLayerComposited();
void paintRenderingResultsToCanvas(CanvasRenderingContext*);
+ void paintFramebufferToCanvas(int framebuffer, int width, int height, bool premultiplyAlpha, ImageBuffer*);
PassRefPtr<ImageData> paintRenderingResultsToImageData();
bool paintsIntoCanvasBuffer() const;
+ bool paintCompositedResultsToCanvas(CanvasRenderingContext*);
void prepareTexture();
@@ -320,7 +323,8 @@
#endif
#if USE(CG)
- unsigned char* m_renderOutput;
+ OwnArrayPtr<unsigned char> m_renderOutput;
+ size_t m_renderOutputSize;
#endif
void initializeExtensions();
« no previous file with comments | « Source/WebKit/chromium/src/GraphicsContext3DChromium.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698