| Index: cc/output/shader.cc
|
| diff --git a/cc/output/shader.cc b/cc/output/shader.cc
|
| index 464c5081103176c902594dc5c4972ef22363bfff..d3d5148745c4b82cf5a0aca772674d202e4a47f0 100644
|
| --- a/cc/output/shader.cc
|
| +++ b/cc/output/shader.cc
|
| @@ -8,8 +8,9 @@
|
|
|
| #include "base/basictypes.h"
|
| #include "base/logging.h"
|
| -#include "cc/output/gl_renderer.h" // For the GLC() macro.
|
| #include "gpu/command_buffer/client/gles2_interface.h"
|
| +#include "ui/gfx/geometry/point.h"
|
| +#include "ui/gfx/geometry/size.h"
|
|
|
| template <size_t size>
|
| std::string StripLambda(const char(&shader)[size]) {
|
| @@ -96,9 +97,8 @@ TexCoordPrecision TexCoordPrecisionRequired(GLES2Interface* context,
|
| // everywhere.
|
| GLint range[2] = {14, 14};
|
| GLint precision = 10;
|
| - GLC(context,
|
| - context->GetShaderPrecisionFormat(
|
| - GL_FRAGMENT_SHADER, GL_MEDIUM_FLOAT, range, &precision));
|
| + context->GetShaderPrecisionFormat(GL_FRAGMENT_SHADER, GL_MEDIUM_FLOAT,
|
| + range, &precision);
|
| *highp_threshold_cache = 1 << precision;
|
| }
|
|
|
|
|