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

Unified Diff: Source/platform/graphics/gpu/DrawingBuffer.h

Issue 99103006: Moving GraphicsContext and dependencies from core to platform. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Final patch - fixes Android 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/platform/graphics/fonts/FontFamilyNames.in ('k') | Source/platform/graphics/gpu/DrawingBuffer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/gpu/DrawingBuffer.h
diff --git a/Source/core/platform/graphics/gpu/DrawingBuffer.h b/Source/platform/graphics/gpu/DrawingBuffer.h
similarity index 96%
rename from Source/core/platform/graphics/gpu/DrawingBuffer.h
rename to Source/platform/graphics/gpu/DrawingBuffer.h
index 2516e28518007ca3f8a2b98b015ac496e690bfee..f1d7afc47deb530c7dddf3333ffb222091db1746 100644
--- a/Source/core/platform/graphics/gpu/DrawingBuffer.h
+++ b/Source/platform/graphics/gpu/DrawingBuffer.h
@@ -31,8 +31,9 @@
#ifndef DrawingBuffer_h
#define DrawingBuffer_h
-#include "core/platform/graphics/GraphicsContext3D.h"
+#include "platform/PlatformExport.h"
#include "platform/geometry/IntSize.h"
+#include "platform/graphics/GraphicsContext3D.h"
#include "platform/graphics/GraphicsTypes3D.h"
#include "public/platform/WebExternalTextureLayerClient.h"
@@ -53,7 +54,7 @@ class GraphicsContext3D;
class ImageData;
// Abstract interface to allow basic context eviction management
-class ContextEvictionManager : public RefCounted<ContextEvictionManager> {
+class PLATFORM_EXPORT ContextEvictionManager : public RefCounted<ContextEvictionManager> {
public:
virtual ~ContextEvictionManager() {};
@@ -63,7 +64,7 @@ public:
// Manages a rendering target (framebuffer + attachment) for a canvas. Can publish its rendering
// results to a blink::WebLayer for compositing.
-class DrawingBuffer : public RefCounted<DrawingBuffer>, public blink::WebExternalTextureLayerClient {
+class PLATFORM_EXPORT DrawingBuffer : public RefCounted<DrawingBuffer>, public blink::WebExternalTextureLayerClient {
struct MailboxInfo : public RefCounted<MailboxInfo> {
blink::WebExternalTextureMailbox mailbox;
unsigned textureId;
« no previous file with comments | « Source/platform/graphics/fonts/FontFamilyNames.in ('k') | Source/platform/graphics/gpu/DrawingBuffer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698