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

Side by Side Diff: cc/debug/fake_web_graphics_context_3d.h

Issue 12665005: cc: Use highp precision for texture coords if available and needed (Closed) Base URL: http://git.chromium.org/chromium/src.git@highp2
Patch Set: Cleanup highp shaders 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/debug/fake_web_graphics_context_3d.cc » ('j') | cc/output/gl_renderer.h » ('J')
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_DEBUG_FAKE_WEB_GRAPHICS_CONTEXT_3D_H_ 5 #ifndef CC_DEBUG_FAKE_WEB_GRAPHICS_CONTEXT_3D_H_
6 #define CC_DEBUG_FAKE_WEB_GRAPHICS_CONTEXT_3D_H_ 6 #define CC_DEBUG_FAKE_WEB_GRAPHICS_CONTEXT_3D_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "cc/base/cc_export.h" 9 #include "cc/base/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 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 virtual void drawBuffersEXT(WebKit::WGC3Dsizei m, 586 virtual void drawBuffersEXT(WebKit::WGC3Dsizei m,
587 const WebKit::WGC3Denum* bufs) {} 587 const WebKit::WGC3Denum* bufs) {}
588 }; 588 };
589 589
590 } // namespace cc 590 } // namespace cc
591 591
592 #endif // CC_DEBUG_FAKE_WEB_GRAPHICS_CONTEXT_3D_H_ 592 #endif // CC_DEBUG_FAKE_WEB_GRAPHICS_CONTEXT_3D_H_
OLDNEW
« no previous file with comments | « no previous file | cc/debug/fake_web_graphics_context_3d.cc » ('j') | cc/output/gl_renderer.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698