Searched defs:quad (Results 1 - 4 of 4) sorted by relevance
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/ |
H A D | FullscreenBlur.java | 76 static void addOffsets(Renderable quad, float advance) {
argument 77 quad.appendSourceParams(new Float4Param("blurOffset0", - advance * 2.5f));
78 quad.appendSourceParams(new Float4Param("blurOffset1", - advance * 0.5f));
79 quad.appendSourceParams(new Float4Param("blurOffset2", advance * 1.5f));
80 quad.appendSourceParams(new Float4Param("blurOffset3", advance * 3.5f));
124 Renderable quad = sceneManager.getRenderableQuad("ScreenAlignedQuadS", selectCol);
125 quad.appendSourceParams(new TextureParam("color", sRenderTargetBlur0Color));
126 selectColorPass.appendRenderable(quad);
132 quad = sceneManager.getRenderableQuad("ScreenAlignedQuadH", hBlur);
133 quad [all...] |
/frameworks/base/libs/hwui/ |
H A D | Caches.cpp | 376 uint16_t quad = i * 4; local 378 regionIndices[index ] = quad; // top-left 379 regionIndices[index + 1] = quad + 1; // top-right 380 regionIndices[index + 2] = quad + 2; // bottom-left 381 regionIndices[index + 3] = quad + 2; // bottom-left 382 regionIndices[index + 4] = quad + 1; // top-right 383 regionIndices[index + 5] = quad + 3; // bottom-right
|
H A D | LayerRenderer.cpp | 165 uint16_t quad = i * 4; local 167 indices[index ] = quad; // top-left 168 indices[index + 1] = quad + 1; // top-right 169 indices[index + 2] = quad + 2; // bottom-left 170 indices[index + 3] = quad + 2; // bottom-left 171 indices[index + 4] = quad + 1; // top-right 172 indices[index + 5] = quad + 3; // bottom-right
|
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | shader_program.cpp | 231 Quad quad(Point(x, y), 235 SetSourceRegion(quad); 238 void ShaderProgram::SetSourceRegion(const Quad& quad) { argument 241 source_coords_[index] = quad.point(i).x(); 242 source_coords_[index+1] = quad.point(i).y(); 247 Quad quad(Point(x, y), 251 SetTargetRegion(quad); 254 void ShaderProgram::SetTargetRegion(const Quad& quad) { argument 257 target_coords_[index] = (quad.point(i).x() * 2.0) - 1.0; 258 target_coords_[index+1] = (quad [all...] |
Completed in 94 milliseconds