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

Unified Diff: ui/surface/accelerated_surface_win.hlsl

Issue 11464017: Separate image processing logic from presentation logic. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed dependencies of surface_gpu_tests. Created 7 years, 12 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 | « ui/surface/accelerated_surface_win.cc ('k') | ui/surface/d3d9_utils_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/surface/accelerated_surface_win.hlsl
diff --git a/ui/surface/accelerated_surface_win.hlsl b/ui/surface/accelerated_surface_win.hlsl
deleted file mode 100644
index bc87dee419a793db07374512cdb8459fb86baa97..0000000000000000000000000000000000000000
--- a/ui/surface/accelerated_surface_win.hlsl
+++ /dev/null
@@ -1,28 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-// @gyp_namespace(ui_surface)
-// Compiles into C++ as 'accelerated_surface_win_hlsl_compiled.h'
-
-struct Vertex {
- float4 position : POSITION;
- float2 texCoord : TEXCOORD0;
-};
-
-texture t;
-sampler s;
-
-// @gyp_compile(vs_2_0, vsOneTexture)
-//
-// Passes a position and texture coordinate to the pixel shader.
-Vertex vsOneTexture(Vertex input) {
- return input;
-};
-
-// @gyp_compile(ps_2_0, psOneTexture)
-//
-// Samples a texture at the given texture coordinate and returns the result.
-float4 psOneTexture(float2 texCoord : TEXCOORD0) : COLOR0 {
- return tex2D(s, texCoord);
-};
« no previous file with comments | « ui/surface/accelerated_surface_win.cc ('k') | ui/surface/d3d9_utils_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698