Commit 366ac1e3 by Geoff Lang

Remove the unusused Renderer::getSRGBSupport method.

BUG=angle:658 Change-Id: I3c8331dfc9c1046b528e9c4a7da3411d84f8ae3c Reviewed-on: https://chromium-review.googlesource.com/207120Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Tested-by: 's avatarGeoff Lang <geofflang@chromium.org>
parent f049e804
......@@ -77,6 +77,7 @@ struct Extensions
// GL_OES_texture_float, GL_OES_texture_float_linear
// GL_EXT_texture_rg
// GL_EXT_texture_compression_dxt1, GL_ANGLE_texture_compression_dxt3, GL_ANGLE_texture_compression_dxt5
// GL_EXT_sRGB
// GL_ANGLE_depth_texture
// GL_EXT_color_buffer_float
void setTextureExtensionSupport(const TextureCapsMap &textureCaps);
......
......@@ -176,7 +176,6 @@ class Renderer
virtual bool getPostSubBufferSupport() const = 0;
virtual int getMaxRecommendedElementsIndices() const = 0;
virtual int getMaxRecommendedElementsVertices() const = 0;
virtual bool getSRGBTextureSupport() const = 0;
virtual int getMajorShaderModel() const = 0;
virtual int getMinSwapInterval() const = 0;
......
......@@ -1980,11 +1980,6 @@ int Renderer11::getMaxRecommendedElementsVertices() const
return std::numeric_limits<GLint>::max();
}
bool Renderer11::getSRGBTextureSupport() const
{
return true;
}
int Renderer11::getMajorShaderModel() const
{
switch (mFeatureLevel)
......
......@@ -123,7 +123,6 @@ class Renderer11 : public Renderer
virtual bool getPostSubBufferSupport() const;
virtual int getMaxRecommendedElementsIndices() const;
virtual int getMaxRecommendedElementsVertices() const;
virtual bool getSRGBTextureSupport() const;
virtual int getMajorShaderModel() const;
virtual int getMinSwapInterval() const;
......
......@@ -2281,11 +2281,6 @@ int Renderer9::getMaxRecommendedElementsVertices() const
return 0;
}
bool Renderer9::getSRGBTextureSupport() const
{
return false;
}
int Renderer9::getMajorShaderModel() const
{
return D3DSHADER_VERSION_MAJOR(mDeviceCaps.PixelShaderVersion);
......
......@@ -124,7 +124,6 @@ class Renderer9 : public Renderer
virtual bool getPostSubBufferSupport() const;
virtual int getMaxRecommendedElementsIndices() const;
virtual int getMaxRecommendedElementsVertices() const;
virtual bool getSRGBTextureSupport() const;
virtual int getMajorShaderModel() const;
DWORD getCapsDeclTypes() const;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment