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

Side by Side Diff: cc/fake_web_graphics_context_3d.h

Issue 12314003: cc: Use highp precision for texture coordinates if available (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Remove synchronous startup call. Fix tests. Created 7 years, 9 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
« no previous file with comments | « no previous file | cc/fake_web_graphics_context_3d.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CC_FAKE_WEB_GRAPHICS_CONTEXT_3D_H_ 5 #ifndef CC_FAKE_WEB_GRAPHICS_CONTEXT_3D_H_
6 #define CC_FAKE_WEB_GRAPHICS_CONTEXT_3D_H_ 6 #define CC_FAKE_WEB_GRAPHICS_CONTEXT_3D_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "cc/cc_export.h" 9 #include "cc/cc_export.h"
10 #include "third_party/WebKit/Source/Platform/chromium/public/WebGraphicsContext3 D.h" 10 #include "third_party/WebKit/Source/Platform/chromium/public/WebGraphicsContext3 D.h"
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 virtual void getShaderiv( 278 virtual void getShaderiv(
279 WebKit::WebGLId shader, 279 WebKit::WebGLId shader,
280 WebKit::WGC3Denum pname, 280 WebKit::WGC3Denum pname,
281 WebKit::WGC3Dint* value); 281 WebKit::WGC3Dint* value);
282 282
283 virtual WebKit::WebString getShaderInfoLog(WebKit::WebGLId shader); 283 virtual WebKit::WebString getShaderInfoLog(WebKit::WebGLId shader);
284 virtual void getShaderPrecisionFormat( 284 virtual void getShaderPrecisionFormat(
285 WebKit::WGC3Denum shadertype, 285 WebKit::WGC3Denum shadertype,
286 WebKit::WGC3Denum precisiontype, 286 WebKit::WGC3Denum precisiontype,
287 WebKit::WGC3Dint* range, 287 WebKit::WGC3Dint* range,
288 WebKit::WGC3Dint* precision) {} 288 WebKit::WGC3Dint* precision);
289 virtual WebKit::WebString getShaderSource(WebKit::WebGLId shader); 289 virtual WebKit::WebString getShaderSource(WebKit::WebGLId shader);
290 virtual WebKit::WebString getString(WebKit::WGC3Denum name); 290 virtual WebKit::WebString getString(WebKit::WGC3Denum name);
291 virtual void getTexParameterfv( 291 virtual void getTexParameterfv(
292 WebKit::WGC3Denum target, 292 WebKit::WGC3Denum target,
293 WebKit::WGC3Denum pname, 293 WebKit::WGC3Denum pname,
294 WebKit::WGC3Dfloat* value) {} 294 WebKit::WGC3Dfloat* value) {}
295 virtual void getTexParameteriv( 295 virtual void getTexParameteriv(
296 WebKit::WGC3Denum target, 296 WebKit::WGC3Denum target,
297 WebKit::WGC3Denum pname, 297 WebKit::WGC3Denum pname,
298 WebKit::WGC3Dint* value) {} 298 WebKit::WGC3Dint* value) {}
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
580 virtual void setContextLostCallback( 580 virtual void setContextLostCallback(
581 WebGraphicsContextLostCallback* callback); 581 WebGraphicsContextLostCallback* callback);
582 582
583 virtual void loseContextCHROMIUM(WebKit::WGC3Denum current, 583 virtual void loseContextCHROMIUM(WebKit::WGC3Denum current,
584 WebKit::WGC3Denum other); 584 WebKit::WGC3Denum other);
585 }; 585 };
586 586
587 } // namespace cc 587 } // namespace cc
588 588
589 #endif // CC_FAKE_WEB_GRAPHICS_CONTEXT_3D_H_ 589 #endif // CC_FAKE_WEB_GRAPHICS_CONTEXT_3D_H_
OLDNEW
« no previous file with comments | « no previous file | cc/fake_web_graphics_context_3d.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698