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

Unified Diff: cc/texture_layer.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/texture_copier_unittest.cc ('k') | cc/texture_update_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/texture_layer.cc
diff --git a/cc/texture_layer.cc b/cc/texture_layer.cc
index 2b37e6d3879352ac6115151857297b3a0f5cfb61..aa7e344e594a07ab4f1854849cdf889ba31275fe 100644
--- a/cc/texture_layer.cc
+++ b/cc/texture_layer.cc
@@ -6,6 +6,7 @@
#include "cc/texture_layer.h"
+#include "third_party/khronos/GLES2/gl2.h"
#include "CCLayerTreeHost.h"
#include "CCTextureLayerImpl.h"
#include "cc/texture_layer_client.h"
@@ -110,7 +111,7 @@ void TextureLayerChromium::update(CCTextureUpdateQueue& queue, const CCOcclusion
{
if (m_client) {
m_textureId = m_client->prepareTexture(queue);
- m_contextLost = m_client->context()->getGraphicsResetStatusARB() != GraphicsContext3D::NO_ERROR;
+ m_contextLost = m_client->context()->getGraphicsResetStatusARB() != GL_NO_ERROR;
}
m_needsDisplay = false;
« no previous file with comments | « cc/texture_copier_unittest.cc ('k') | cc/texture_update_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698