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

Unified Diff: cc/CCResourceProvider.cpp

Issue 10918258: Add CC software renderer. (Closed) Base URL: http://git.chromium.org/chromium/src.git@gladapter
Patch Set: Change to OutputDevice API and remove "using namespace WebKit" Created 8 years, 3 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
Index: cc/CCResourceProvider.cpp
diff --git a/cc/CCResourceProvider.cpp b/cc/CCResourceProvider.cpp
index 3cfc5f96ebea38f9569f30e635235612d3440d20..b72d454ba6188209ea36e303e6ad98115bd75986 100644
--- a/cc/CCResourceProvider.cpp
+++ b/cc/CCResourceProvider.cpp
@@ -342,9 +342,7 @@ bool CCResourceProvider::initialize()
WebGraphicsContext3D* context3d = m_context->context3D();
if (!context3d) {
m_maxTextureSize = INT_MAX;
danakj 2012/09/19 18:35:14 If you do something like if (textureSize > m_maxT
aelias_OOO_until_Jul13 2012/09/19 19:58:27 (textureSize > m_maxTextureSize) would always be f
danakj 2012/09/19 20:06:18 er.. false. yes. I'd prefer a magic number, yeh. M
-
- // FIXME: Implement this path for software compositing.
- return false;
+ return true;
}
if (!context3d->makeContextCurrent())
return false;
« cc/CCRendererSoftware.cpp ('K') | « cc/CCRendererSoftware.cpp ('k') | cc/cc.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698