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

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: rebase after all dependencies landed Created 7 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 unified diff | Download patch
« no previous file with comments | « cc/cc_tests.gyp ('k') | cc/debug/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_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 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 virtual void getShaderiv( 282 virtual void getShaderiv(
283 WebKit::WebGLId shader, 283 WebKit::WebGLId shader,
284 WebKit::WGC3Denum pname, 284 WebKit::WGC3Denum pname,
285 WebKit::WGC3Dint* value); 285 WebKit::WGC3Dint* value);
286 286
287 virtual WebKit::WebString getShaderInfoLog(WebKit::WebGLId shader); 287 virtual WebKit::WebString getShaderInfoLog(WebKit::WebGLId shader);
288 virtual void getShaderPrecisionFormat( 288 virtual void getShaderPrecisionFormat(
289 WebKit::WGC3Denum shadertype, 289 WebKit::WGC3Denum shadertype,
290 WebKit::WGC3Denum precisiontype, 290 WebKit::WGC3Denum precisiontype,
291 WebKit::WGC3Dint* range, 291 WebKit::WGC3Dint* range,
292 WebKit::WGC3Dint* precision) {} 292 WebKit::WGC3Dint* precision);
293 virtual WebKit::WebString getShaderSource(WebKit::WebGLId shader); 293 virtual WebKit::WebString getShaderSource(WebKit::WebGLId shader);
294 virtual WebKit::WebString getString(WebKit::WGC3Denum name); 294 virtual WebKit::WebString getString(WebKit::WGC3Denum name);
295 virtual void getTexParameterfv( 295 virtual void getTexParameterfv(
296 WebKit::WGC3Denum target, 296 WebKit::WGC3Denum target,
297 WebKit::WGC3Denum pname, 297 WebKit::WGC3Denum pname,
298 WebKit::WGC3Dfloat* value) {} 298 WebKit::WGC3Dfloat* value) {}
299 virtual void getTexParameteriv( 299 virtual void getTexParameteriv(
300 WebKit::WGC3Denum target, 300 WebKit::WGC3Denum target,
301 WebKit::WGC3Denum pname, 301 WebKit::WGC3Denum pname,
302 WebKit::WGC3Dint* value) {} 302 WebKit::WGC3Dint* value) {}
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
590 virtual void drawBuffersEXT(WebKit::WGC3Dsizei m, 590 virtual void drawBuffersEXT(WebKit::WGC3Dsizei m,
591 const WebKit::WGC3Denum* bufs) {} 591 const WebKit::WGC3Denum* bufs) {}
592 592
593 private: 593 private:
594 DISALLOW_COPY_AND_ASSIGN(FakeWebGraphicsContext3D); 594 DISALLOW_COPY_AND_ASSIGN(FakeWebGraphicsContext3D);
595 }; 595 };
596 596
597 } // namespace cc 597 } // namespace cc
598 598
599 #endif // CC_DEBUG_FAKE_WEB_GRAPHICS_CONTEXT_3D_H_ 599 #endif // CC_DEBUG_FAKE_WEB_GRAPHICS_CONTEXT_3D_H_
OLDNEW
« no previous file with comments | « cc/cc_tests.gyp ('k') | cc/debug/fake_web_graphics_context_3d.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698