aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/views
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2016-06-14 09:43:52 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-06-14 09:43:52 -0700
commit4999616c3af3ddd38b4d12213eeeaeabee4907c5 (patch)
tree74e086690d49ec3b92f3f4e3beaf83d27d37823e /include/views
parentbb9c4e411db3d8bdc9e853caf6ed2b45d90f02ff (diff)
Remove command buffer sample app support.
This hasn't compiled for months. We are deemphasizing SampleApp in favor of viewer. Windowed command buffer is not currently something we currently plan to maintain. TBR=reed@google.com GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2061233002 Review-Url: https://codereview.chromium.org/2061233002
Diffstat (limited to 'include/views')
-rw-r--r--include/views/SkOSWindow_Mac.h3
-rw-r--r--include/views/SkOSWindow_SDL.h3
-rw-r--r--include/views/SkOSWindow_Unix.h3
-rw-r--r--include/views/SkOSWindow_Win.h15
4 files changed, 0 insertions, 24 deletions
diff --git a/include/views/SkOSWindow_Mac.h b/include/views/SkOSWindow_Mac.h
index 4558a58833..41766a0f53 100644
--- a/include/views/SkOSWindow_Mac.h
+++ b/include/views/SkOSWindow_Mac.h
@@ -27,9 +27,6 @@ public:
#if SK_ANGLE
kANGLE_BackEndType,
#endif // SK_ANGLE
-#if SK_COMMAND_BUFFER
- kCommandBuffer_BackEndType,
-#endif // SK_COMMAND_BUFFER
};
void release();
diff --git a/include/views/SkOSWindow_SDL.h b/include/views/SkOSWindow_SDL.h
index 1ab51ca415..65685d1d21 100644
--- a/include/views/SkOSWindow_SDL.h
+++ b/include/views/SkOSWindow_SDL.h
@@ -23,9 +23,6 @@ public:
#if SK_ANGLE
kANGLE_BackEndType,
#endif // SK_ANGLE
-#if SK_COMMAND_BUFFER
- kCommandBuffer_BackEndType,
-#endif // SK_COMMAND_BUFFER
};
void release();
diff --git a/include/views/SkOSWindow_Unix.h b/include/views/SkOSWindow_Unix.h
index 2e1b9ccc81..9d1b8e0392 100644
--- a/include/views/SkOSWindow_Unix.h
+++ b/include/views/SkOSWindow_Unix.h
@@ -39,9 +39,6 @@ public:
#if SK_ANGLE
kANGLE_BackEndType,
#endif // SK_ANGLE
-#if SK_COMMAND_BUFFER
- kCommandBuffer_BackEndType,
-#endif // SK_COMMAND_BUFFER
};
bool attach(SkBackEndTypes attachType, int msaaSampleCount, bool deepColor, AttachmentInfo*);
diff --git a/include/views/SkOSWindow_Win.h b/include/views/SkOSWindow_Win.h
index 8d5378108e..7ed22a6514 100644
--- a/include/views/SkOSWindow_Win.h
+++ b/include/views/SkOSWindow_Win.h
@@ -18,10 +18,6 @@
#include "EGL/egl.h"
#endif
-#if SK_COMMAND_BUFFER
-class SkCommandBufferGLContext;
-#endif
-
class SkOSWindow : public SkWindow {
public:
struct WindowInit {
@@ -41,9 +37,6 @@ public:
#if SK_ANGLE
kANGLE_BackEndType,
#endif // SK_ANGLE
-#if SK_COMMAND_BUFFER
- kCommandBuffer_BackEndType,
-#endif // SK_COMMAND_BUFFER
#endif // SK_SUPPORT_GPU
};
@@ -104,9 +97,6 @@ private:
EGLConfig fConfig;
SkAutoTUnref<const GrGLInterface> fANGLEInterface;
#endif // SK_ANGLE
-#if SK_COMMAND_BUFFER
- SkCommandBufferGLContext* fCommandBuffer;
-#endif // SK_COMMAND_BUFFER
#endif // SK_SUPPORT_GPU
bool fFullscreen;
@@ -137,11 +127,6 @@ private:
void presentANGLE();
#endif // SK_ANGLE
-#if SK_COMMAND_BUFFER
- bool attachCommandBuffer(int msaaSampleCount, AttachmentInfo* info);
- void detachCommandBuffer();
- void presentCommandBuffer();
-#endif // SK_COMMAND_BUFFER
#endif // SK_SUPPORT_GPU
typedef SkWindow INHERITED;