/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #version 130 uniform sampler2D slideTexture; varying float v_isShadow; varying vec2 v_texturePosition; varying vec3 v_normal; void main() { vec3 lightVector = vec3(0.0, 0.0, 1.0); float light = max(dot(lightVector, v_normal), 0.0); vec4 fragment = texture2D(slideTexture, v_texturePosition); vec4 black = vec4(0.0, 0.0, 0.0, fragment.a); fragment = mix(black, fragment, light); if (v_isShadow > 0.5) { if (v_texturePosition.y > 1.0 - 0.3) gl_FragColor = mix(fragment, vec4(0.0, 0.0, 0.0, 0.0), (1.0 - v_texturePosition.y) / 0.3); else discard; } else { gl_FragColor = fragment; } } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ ion value='distro/allotropia/zeta-7-4'>distro/allotropia/zeta-7-4 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/lotuswordpro/qa
AgeCommit message (Expand)Author
2021-10-30Prepare for removal of non-const operator[] from Sequence in lotuswordproMike Kaganski
2021-08-28ofz#26357 Infinite loopCaolán McNamara
2021-08-27ofz#37660: searching in wrong parent for tableCaolán McNamara
2021-08-26ofz#35646 Indirect-leakCaolán McNamara
2021-02-25tdf#139734 Remove redundant asserts after MacrosTest::loadFromDesktopMoaz
2021-01-10fix coverity parse errorsCaolán McNamara
2020-12-29loplugin:stringviewparam: operator +Stephan Bergmann
2020-12-26New loplugin:stringliteralvarStephan Bergmann
2020-06-08tdf#42949 Fix IWYU warnings in lotuswordpro/*/*cxxGabor Kelemen
2020-02-24workaround GCC 9.2.1 -Og -Werror=maybe-uninitializedMichael Stahl
2020-02-10use color instead of intXisco Fauli
2020-02-08ofz#20504 Indirect-leakCaolán McNamara
2020-02-07ofz#20517 null-dereferenceCaolán McNamara
2020-02-07test: move component context from subclasses to BootstrapFixtureMiklos Vajna
2020-02-05LWP: add unittest for char/para propertiesXisco Fauli
2020-02-04tdf#129993: Add unittestXisco Fauli
2020-02-04ofz#20507 infinite table conversionCaolán McNamara
2020-01-29Revert "ofz#20267 Indirect-leak"Caolán McNamara
2020-01-28ofz#20267 Indirect-leakCaolán McNamara
2020-01-20Resolves: tdf#130093 some lwp file not loadingCaolán McNamara
2018-04-30ofz#8095 avoid recurse to deathCaolán McNamara
2018-03-25ofz#7109 infinite regressCaolán McNamara
2018-03-21ofz#7043 already registeredCaolán McNamara
2018-02-12ofz#6208 Indirect-leakCaolán McNamara
2017-03-14ofz#866 crash in LwpFormulaInfo::ReadArgumentsCaolán McNamara
2017-03-02avoid recursive register styleCaolán McNamara