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

Side by Side Diff: cc/test/compositor_fake_web_graphics_context_3d.cc

Issue 11474050: cc: Unify namespaces for all test files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years 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
« no previous file with comments | « cc/test/compositor_fake_web_graphics_context_3d.h ('k') | cc/test/fake_content_layer_client.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "cc/test/compositor_fake_web_graphics_context_3d.h"
6
7 namespace cc {
8
9 bool CompositorFakeWebGraphicsContext3D::makeContextCurrent() {
10 return true;
11 }
12
13 WebKit::WebGLId CompositorFakeWebGraphicsContext3D::createProgram() {
14 return 1;
15 }
16
17 WebKit::WebGLId CompositorFakeWebGraphicsContext3D::createShader(
18 WebKit::WGC3Denum) {
19 return 1;
20 }
21
22 void CompositorFakeWebGraphicsContext3D::getShaderiv(
23 WebKit::WebGLId,
24 WebKit::WGC3Denum,
25 WebKit::WGC3Dint* value) {
26 *value = 1;
27 }
28
29 void CompositorFakeWebGraphicsContext3D::getProgramiv(
30 WebKit::WebGLId,
31 WebKit::WGC3Denum,
32 WebKit::WGC3Dint* value) {
33 *value = 1;
34 }
35
36 } // namespace cc
OLDNEW
« no previous file with comments | « cc/test/compositor_fake_web_graphics_context_3d.h ('k') | cc/test/fake_content_layer_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698