Home
last modified time | relevance | path

Searched refs:drawMode (Results 1 - 25 of 28) sorted by relevance

12

/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
H A DRendererD3D.cpp47 bool RendererD3D::skipDraw(const gl::State &glState, gl::PrimitiveMode drawMode) in skipDraw() argument
49 if (drawMode == gl::PrimitiveMode::Points) in skipDraw()
63 else if (gl::IsTriangleMode(drawMode)) in skipDraw()
H A DProgramD3D.h208 bool usesGeometryShader(const gl::State &state, gl::PrimitiveMode drawMode) const;
225 gl::PrimitiveMode drawMode,
326 bool hasGeometryExecutableForPrimitiveType(const gl::State &state, gl::PrimitiveMode drawMode);
H A DProgramD3D.cpp131 gl::PrimitiveMode GetGeometryShaderTypeFromDrawMode(gl::PrimitiveMode drawMode) in GetGeometryShaderTypeFromDrawMode() argument
133 switch (drawMode) in GetGeometryShaderTypeFromDrawMode()
723 bool ProgramD3D::usesGeometryShader(const gl::State &state, const gl::PrimitiveMode drawMode) const in usesGeometryShader()
729 if (drawMode != gl::PrimitiveMode::Points) in usesGeometryShader()
1625 gl::PrimitiveMode drawMode,
1635 if (!usesGeometryShader(state, drawMode))
1640 gl::PrimitiveMode geometryShaderType = GetGeometryShaderTypeFromDrawMode(drawMode);
3246 gl::PrimitiveMode drawMode)
3248 if (!usesGeometryShader(state, drawMode))
3254 gl::PrimitiveMode geometryShaderType = GetGeometryShaderTypeFromDrawMode(drawMode);
[all...]
H A DRendererD3D.h428 bool skipDraw(const gl::State &glState, gl::PrimitiveMode drawMode);
/third_party/vk-gl-cts/external/openglcts/modules/common/
H A DglcSeparableProgramsTransformFeedbackTests.cpp271 GLenum drawMode = GL_POINTS; in iterate() local
273 drawMode = GL_PATCHES; in iterate()
279 gl.drawArrays(drawMode, 0 /* first */, 1 /* count */); in iterate()
H A DglcPackedDepthStencilTests.cpp314 void drawQuad(DrawMode drawMode, GLuint program);
726 void BaseTest::drawQuad(DrawMode drawMode, GLuint program) in drawQuad() argument
753 if (drawMode == DEPTH_SPAN1) in drawQuad()
755 else if (drawMode == DEPTH_SPAN2) in drawQuad()
/third_party/skia/gm/
H A Dxfermodes3.cpp93 this->drawMode(canvas, x, y, kSize, kSize, modePaint, tempSurface.get());
110 this->drawMode(canvas, x, y, kSize, kSize, modePaint, tempSurface.get());
138 void drawMode(SkCanvas* canvas, in drawMode() function in skiagm::Xfermodes3GM
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fRasterizerDiscardTests.cpp80 RasterizerDiscardCase (Context& context, const char* name, const char* description, int numPrimitives, CaseType caseType, deUint32 caseOptions, deUint32 drawMode = GL_TRIANGLES);
107 RasterizerDiscardCase::RasterizerDiscardCase (Context& context, const char* name, const char* description, int numPrimitives, CaseType caseType, deUint32 caseOptions, deUint32 drawMode) in RasterizerDiscardCase() argument
112 , m_drawMode (drawMode) in RasterizerDiscardCase()
127 static void generateVertices (std::vector<float>& dst, int numPrimitives, de::Random& rnd, deUint32 drawMode) in generateVertices() argument
131 switch (drawMode) in generateVertices()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A DBuiltinVariableTest.cpp80 void runTest(GLuint drawMode, const std::vector<GLint> &indices, int count) in runTest() argument
107 glDrawElements(drawMode, count, GL_UNSIGNED_INT, 0); in runTest()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
H A DRenderer9.h119 angle::Result updateState(const gl::Context *context, gl::PrimitiveMode drawMode);
125 gl::PrimitiveMode drawMode,
435 angle::Result applyShaders(const gl::Context *context, gl::PrimitiveMode drawMode);
447 angle::Result setBlendDepthRasterStates(const gl::Context *context, gl::PrimitiveMode drawMode);
H A DStateManager9.h50 gl::PrimitiveMode drawMode,
H A DRenderer9.cpp1089 angle::Result Renderer9::updateState(const gl::Context *context, gl::PrimitiveMode drawMode) in updateState() argument
1104 setViewport(glState.getViewport(), glState.getNearPlane(), glState.getFarPlane(), drawMode, in updateState()
1128 rasterizer.pointDrawMode = (drawMode == gl::PrimitiveMode::Points); in updateState()
1131 ANGLE_TRY(setBlendDepthRasterStates(context, drawMode)); in updateState()
1144 gl::PrimitiveMode drawMode) in setBlendDepthRasterStates()
1164 rasterizer.pointDrawMode = (drawMode == gl::PrimitiveMode::Points); in setBlendDepthRasterStates()
1175 gl::PrimitiveMode drawMode, in setViewport()
1179 mStateManager.setViewportState(viewport, zNear, zFar, drawMode, frontFace, ignoreViewport); in setViewport()
1748 angle::Result Renderer9::applyShaders(const gl::Context *context, gl::PrimitiveMode drawMode) in applyShaders() argument
1143 setBlendDepthRasterStates(const gl::Context *context, gl::PrimitiveMode drawMode) setBlendDepthRasterStates() argument
1172 setViewport(const gl::Rectangle &viewport, float zNear, float zFar, gl::PrimitiveMode drawMode, GLenum frontFace, bool ignoreViewport) setViewport() argument
H A DStateManager9.cpp421 gl::PrimitiveMode drawMode, in setViewportState()
454 float depthFront = !gl::IsTriangleMode(drawMode) ? 0.0f : (frontFace == GL_CCW ? 1.0f : -1.0f); in setViewportState()
418 setViewportState(const gl::Rectangle &viewport, float zNear, float zFar, gl::PrimitiveMode drawMode, GLenum frontFace, bool ignoreViewport) setViewportState() argument
/third_party/skia/bench/
H A DBulkRectBench.cpp266 #define ADD_BENCH(n, layout, imageMode, drawMode) \
267 DEF_BENCH( return (new BulkRectBench<n, layout, imageMode, drawMode>()); )
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
H A DContext.h682 void applyState(GLenum drawMode);
697 bool cullSkipsDraw(GLenum drawMode);
698 bool isTriangleMode(GLenum drawMode);
H A DContext.cpp2854 void Context::applyState(GLenum drawMode) in applyState() argument
3987 bool Context::cullSkipsDraw(GLenum drawMode) in cullSkipsDraw() argument
3989 return mState.cullFaceEnabled && mState.cullMode == GL_FRONT_AND_BACK && isTriangleMode(drawMode); in cullSkipsDraw()
3992 bool Context::isTriangleMode(GLenum drawMode) in isTriangleMode() argument
3994 switch(drawMode) in isTriangleMode()
4005 default: UNREACHABLE(drawMode); in isTriangleMode()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
H A DContext11.cpp876 gl::PrimitiveMode drawMode) in triggerDrawCallProgramRecompilation()
888 bool recompileGS = !programD3D->hasGeometryExecutableForPrimitiveType(glState, drawMode); in triggerDrawCallProgramRecompilation()
916 ANGLE_TRY(programD3D->getGeometryExecutableForPrimitiveType(this, glState, drawMode, in triggerDrawCallProgramRecompilation()
918 if (!programD3D->hasGeometryExecutableForPrimitiveType(glState, drawMode)) in triggerDrawCallProgramRecompilation()
875 triggerDrawCallProgramRecompilation(const gl::Context *context, gl::PrimitiveMode drawMode) triggerDrawCallProgramRecompilation() argument
H A DContext11.h248 gl::PrimitiveMode drawMode);
H A DStateManager11.h353 angle::Result syncProgram(const gl::Context *context, gl::PrimitiveMode drawMode);
H A DStateManager11.cpp2930 angle::Result StateManager11::syncProgram(const gl::Context *context, gl::PrimitiveMode drawMode)
2933 ANGLE_TRY(context11->triggerDrawCallProgramRecompilation(context, drawMode));
2941 ASSERT(mProgramD3D->hasGeometryExecutableForPrimitiveType(glState, drawMode));
2951 ANGLE_TRY(mProgramD3D->getGeometryExecutableForPrimitiveType(context11, glState, drawMode,
/third_party/skia/third_party/externals/angle2/src/common/
H A Dutilities.cpp733 bool IsTriangleMode(PrimitiveMode drawMode) in IsTriangleMode() argument
735 switch (drawMode) in IsTriangleMode()
H A Dutilities.h100 bool IsTriangleMode(PrimitiveMode drawMode);
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/
H A DANGLETest.cpp986 GLenum drawMode = (useTessellationPatches) ? GL_PATCHES : GL_TRIANGLES; in drawQuad() local
990 glDrawArraysInstanced(drawMode, 0, 6, numInstances); in drawQuad()
994 glDrawArrays(drawMode, 0, 6); in drawQuad()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/
H A DvktSynchronizationOperation.cpp5029 Implementation (OperationContext& context, Resource& resource, DrawMode drawMode) in Implementation() argument
5032 , m_drawMode (drawMode) in Implementation()
5229 Support(const ResourceDescription& resourceDesc, DrawMode drawMode) in Support() argument
5231 , m_drawMode (drawMode) in Support()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/synchronization/
H A DvktSynchronizationOperation.cpp4890 Implementation (OperationContext& context, Resource& resource, DrawMode drawMode) in Implementation() argument
4893 , m_drawMode (drawMode) in Implementation()
5096 Support(const ResourceDescription& resourceDesc, DrawMode drawMode) in Support() argument
5098 , m_drawMode (drawMode) in Support()

Completed in 62 milliseconds

12