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

Side by Side Diff: Source/core/platform/graphics/Extensions3D.cpp

Issue 16032003: Fixing Canvas2DLayerBridge to handle lost graphics contexts (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Resolved merge with rate limiter CL Created 7 years, 4 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 void Extensions3D::drawElementsInstancedANGLE(GC3Denum mode, GC3Dsizei count, GC 3Denum type, GC3Dintptr offset, GC3Dsizei primcount) 223 void Extensions3D::drawElementsInstancedANGLE(GC3Denum mode, GC3Dsizei count, GC 3Denum type, GC3Dintptr offset, GC3Dsizei primcount)
224 { 224 {
225 m_context->webContext()->drawElementsInstancedANGLE(mode, count, type, offse t, primcount); 225 m_context->webContext()->drawElementsInstancedANGLE(mode, count, type, offse t, primcount);
226 } 226 }
227 227
228 void Extensions3D::vertexAttribDivisorANGLE(GC3Duint index, GC3Duint divisor) 228 void Extensions3D::vertexAttribDivisorANGLE(GC3Duint index, GC3Duint divisor)
229 { 229 {
230 m_context->webContext()->vertexAttribDivisorANGLE(index, divisor); 230 m_context->webContext()->vertexAttribDivisorANGLE(index, divisor);
231 } 231 }
232 232
233 void Extensions3D::loseContextCHROMIUM(GC3Denum current, GC3Denum other)
234 {
235 m_context->webContext()->loseContextCHROMIUM(current, other);
236 }
237
233 } // namespace WebCore 238 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/platform/graphics/Extensions3D.h ('k') | Source/core/platform/graphics/ImageBuffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698