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

Unified Diff: cc/direct_renderer.cc

Issue 11111005: Remove GraphicsContext3D:: stubs from cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase again 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 68deadb980adea20324e57ba8ce3b5228b086ea0..444c15f18047093494778898fd475595dd5f4074 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;
DCHECK(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