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/
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()
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);
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, in getGeometryExecutableForPrimitiveType() argument
1635 if (!usesGeometryShader(state, drawMode)) in getGeometryExecutableForPrimitiveType()
1640 gl::PrimitiveMode geometryShaderType = GetGeometryShaderTypeFromDrawMode(drawMode); in getGeometryExecutableForPrimitiveType()
3246 gl::PrimitiveMode drawMode) in hasGeometryExecutableForPrimitiveType() argument
3248 if (!usesGeometryShader(state, drawMode)) in hasGeometryExecutableForPrimitiveType()
3254 gl::PrimitiveMode geometryShaderType = GetGeometryShaderTypeFromDrawMode(drawMode); in hasGeometryExecutableForPrimitiveType()
DRendererD3D.h428 bool skipDraw(const gl::State &glState, gl::PrimitiveMode drawMode);
/third_party/skia/gm/
Dxfermodes3.cpp93 this->drawMode(canvas, x, y, kSize, kSize, modePaint, tempSurface.get()); in onDraw()
110 this->drawMode(canvas, x, y, kSize, kSize, modePaint, tempSurface.get()); in onDraw()
138 void drawMode(SkCanvas* canvas, in drawMode() function in skiagm::Xfermodes3GM
/third_party/vk-gl-cts/external/openglcts/modules/common/
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()
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/vk-gl-cts/modules/gles3/functional/
Des3fRasterizerDiscardTests.cpp80 …ion, int numPrimitives, CaseType caseType, deUint32 caseOptions, deUint32 drawMode = GL_TRIANGLES);
107 …t char* description, int numPrimitives, CaseType caseType, deUint32 caseOptions, deUint32 drawMode) in RasterizerDiscardCase() argument
112 , m_drawMode (drawMode) in RasterizerDiscardCase()
127 …d 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/
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/
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);
DStateManager9.h50 gl::PrimitiveMode drawMode,
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() argument
1164 rasterizer.pointDrawMode = (drawMode == gl::PrimitiveMode::Points); in setBlendDepthRasterStates()
1175 gl::PrimitiveMode drawMode, in setViewport() argument
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
DStateManager9.cpp421 gl::PrimitiveMode drawMode, in setViewportState() argument
454 float depthFront = !gl::IsTriangleMode(drawMode) ? 0.0f : (frontFace == GL_CCW ? 1.0f : -1.0f); in setViewportState()
/third_party/skia/bench/
DBulkRectBench.cpp266 #define ADD_BENCH(n, layout, imageMode, drawMode) \ argument
267 DEF_BENCH( return (new BulkRectBench<n, layout, imageMode, drawMode>()); )
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DContext11.cpp876 gl::PrimitiveMode drawMode) in triggerDrawCallProgramRecompilation() argument
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()
DContext11.h248 gl::PrimitiveMode drawMode);
DStateManager11.h353 angle::Result syncProgram(const gl::Context *context, gl::PrimitiveMode drawMode);
DStateManager11.cpp2930 angle::Result StateManager11::syncProgram(const gl::Context *context, gl::PrimitiveMode drawMode) in syncProgram() argument
2933 ANGLE_TRY(context11->triggerDrawCallProgramRecompilation(context, drawMode)); in syncProgram()
2941 ASSERT(mProgramD3D->hasGeometryExecutableForPrimitiveType(glState, drawMode)); in syncProgram()
2951 ANGLE_TRY(mProgramD3D->getGeometryExecutableForPrimitiveType(context11, glState, drawMode, in syncProgram()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
DContext.h682 void applyState(GLenum drawMode);
697 bool cullSkipsDraw(GLenum drawMode);
698 bool isTriangleMode(GLenum drawMode);
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/common/
Dutilities.h100 bool IsTriangleMode(PrimitiveMode drawMode);
Dutilities.cpp733 bool IsTriangleMode(PrimitiveMode drawMode) in IsTriangleMode() argument
735 switch (drawMode) in IsTriangleMode()
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/
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/
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()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/synchronization/
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()

12