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

Unified Diff: cc/resources/raster_worker_pool_perftest.cc

Issue 255713008: Change glimage to accept a type. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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/resources/raster_worker_pool_perftest.cc
diff --git a/cc/resources/raster_worker_pool_perftest.cc b/cc/resources/raster_worker_pool_perftest.cc
index 8c33d172705674aa0b6ee00bcfcf399626f4c2ed..e7c9600801b42c33f163843b8c1bd865249efac7 100644
--- a/cc/resources/raster_worker_pool_perftest.cc
+++ b/cc/resources/raster_worker_pool_perftest.cc
@@ -29,7 +29,8 @@ class PerfGLES2Interface : public gpu::gles2::GLES2InterfaceStub {
// Overridden from gpu::gles2::GLES2Interface:
virtual GLuint CreateImageCHROMIUM(GLsizei width,
GLsizei height,
- GLenum internalformat) OVERRIDE {
+ GLenum internalformat,
+ GLenum usage) OVERRIDE {
return 1u;
}
virtual void GenBuffers(GLsizei n, GLuint* buffers) OVERRIDE {
« no previous file with comments | « no previous file | cc/resources/resource_provider.cc » ('j') | content/browser/gpu/browser_gpu_channel_host_factory.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698