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

Unified Diff: cc/direct_renderer.cc

Issue 11150025: Patch from https://codereview.chromium.org/11111005/ without actual file deletes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 months 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 | « cc/direct_renderer.h ('k') | cc/draw_quad_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/direct_renderer.cc
diff --git a/cc/direct_renderer.cc b/cc/direct_renderer.cc
index 23fa1d31790c50b77d739621151e23de6bdfdc3d..9d946ab1787002ee26887fce8eb7201f67723741 100644
--- a/cc/direct_renderer.cc
+++ b/cc/direct_renderer.cc
@@ -130,7 +130,7 @@ void CCDirectRenderer::decideRenderPassAllocationsForFrame(const CCRenderPassLis
const CCRenderPass* renderPassInFrame = it->second;
const IntSize& requiredSize = renderPassTextureSize(renderPassInFrame);
- GC3Denum requiredFormat = renderPassTextureFormat(renderPassInFrame);
+ GLenum requiredFormat = renderPassTextureFormat(renderPassInFrame);
CachedTexture* texture = passIterator->second;
ASSERT(texture);
@@ -229,9 +229,9 @@ IntSize CCDirectRenderer::renderPassTextureSize(const CCRenderPass* pass)
}
// static
-GC3Denum CCDirectRenderer::renderPassTextureFormat(const CCRenderPass*)
+GLenum CCDirectRenderer::renderPassTextureFormat(const CCRenderPass*)
{
- return GraphicsContext3D::RGBA;
+ return GL_RGBA;
}
}
« no previous file with comments | « cc/direct_renderer.h ('k') | cc/draw_quad_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698