summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-08 17:52:48 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-08 17:52:48 +0000
commite6025de05d4f747edb3f638ed99b95b1b08360b2 (patch)
treeb3cb9bdcb368dd47f82ac7488a406db42ff7649b /gpu/command_buffer
parent376dea2176504ad886c68110aff882a113807467 (diff)
downloadchromium_src-e6025de05d4f747edb3f638ed99b95b1b08360b2.zip
chromium_src-e6025de05d4f747edb3f638ed99b95b1b08360b2.tar.gz
chromium_src-e6025de05d4f747edb3f638ed99b95b1b08360b2.tar.bz2
gpu: Removed unused class declaration.
BUG=None TEST=Compiles Review URL: http://codereview.chromium.org/3570019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61978 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/command_buffer')
-rw-r--r--gpu/command_buffer/service/gles2_cmd_decoder.cc13
1 files changed, 0 insertions, 13 deletions
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder.cc b/gpu/command_buffer/service/gles2_cmd_decoder.cc
index 8994d4e..2b60626 100644
--- a/gpu/command_buffer/service/gles2_cmd_decoder.cc
+++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc
@@ -184,18 +184,6 @@ class ScopedResolvedFrameBufferBinder {
DISALLOW_COPY_AND_ASSIGN(ScopedResolvedFrameBufferBinder);
};
-// Temporarily switch to a decoder's default GL context, having known default
-// state.
-class ScopedDefaultGLContext {
- public:
- explicit ScopedDefaultGLContext(GLES2DecoderImpl* decoder);
- ~ScopedDefaultGLContext();
-
- private:
- GLES2DecoderImpl* decoder_;
- DISALLOW_COPY_AND_ASSIGN(ScopedDefaultGLContext);
-};
-
// Encapsulates an OpenGL texture.
class Texture {
public:
@@ -660,7 +648,6 @@ class GLES2DecoderImpl : public base::SupportsWeakPtr<GLES2DecoderImpl>,
private:
friend class ScopedGLErrorSuppressor;
- friend class ScopedDefaultGLContext;
friend class ScopedResolvedFrameBufferBinder;
friend class RenderBuffer;
friend class FrameBuffer;