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

Unified Diff: cc/fake_web_graphics_context_3d.cc

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/fake_web_graphics_context_3d.h ('k') | cc/program_binding.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/fake_web_graphics_context_3d.cc
diff --git a/cc/fake_web_graphics_context_3d.cc b/cc/fake_web_graphics_context_3d.cc
index cd03d37c09908c541bce13f631f23e53362de6b1..68eb0b6141eb749606387ee94a19fd36f90a6545 100644
--- a/cc/fake_web_graphics_context_3d.cc
+++ b/cc/fake_web_graphics_context_3d.cc
@@ -152,6 +152,16 @@ WebKit::WebString FakeWebGraphicsContext3D::getShaderInfoLog(
return WebKit::WebString();
}
+void FakeWebGraphicsContext3D::getShaderPrecisionFormat(
+ WebKit::WGC3Denum shadertype,
+ WebKit::WGC3Denum precisiontype,
+ WebKit::WGC3Dint* range,
+ WebKit::WGC3Dint* precision) {
+ range[0] = 0;
+ range[1] = 0;
+ *precision = 0;
+}
+
WebKit::WebString FakeWebGraphicsContext3D::getShaderSource(
WebGLId shader) {
return WebKit::WebString();
« no previous file with comments | « cc/fake_web_graphics_context_3d.h ('k') | cc/program_binding.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698