/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/ |
D | RendererD3D.cpp | 47 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()
|
D | ProgramD3D.h | 208 bool usesGeometryShader(const gl::State &state, gl::PrimitiveMode drawMode) const; 225 gl::PrimitiveMode drawMode, 326 bool hasGeometryExecutableForPrimitiveType(const gl::State &state, gl::PrimitiveMode drawMode);
|
D | ProgramD3D.cpp | 131 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()
|
D | RendererD3D.h | 428 bool skipDraw(const gl::State &glState, gl::PrimitiveMode drawMode);
|
/third_party/skia/gm/ |
D | xfermodes3.cpp | 93 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/ |
D | glcSeparableProgramsTransformFeedbackTests.cpp | 271 GLenum drawMode = GL_POINTS; in iterate() local 273 drawMode = GL_PATCHES; in iterate() 279 gl.drawArrays(drawMode, 0 /* first */, 1 /* count */); in iterate()
|
D | glcPackedDepthStencilTests.cpp | 314 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/ |
D | es3fRasterizerDiscardTests.cpp | 80 …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/ |
D | BuiltinVariableTest.cpp | 80 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/ |
D | Renderer9.h | 119 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);
|
D | StateManager9.h | 50 gl::PrimitiveMode drawMode,
|
D | Renderer9.cpp | 1089 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
|
D | StateManager9.cpp | 421 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/ |
D | BulkRectBench.cpp | 266 #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/ |
D | Context11.cpp | 876 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()
|
D | Context11.h | 248 gl::PrimitiveMode drawMode);
|
D | StateManager11.h | 353 angle::Result syncProgram(const gl::Context *context, gl::PrimitiveMode drawMode);
|
D | StateManager11.cpp | 2930 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/ |
D | Context.h | 682 void applyState(GLenum drawMode); 697 bool cullSkipsDraw(GLenum drawMode); 698 bool isTriangleMode(GLenum drawMode);
|
D | Context.cpp | 2854 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/ |
D | utilities.h | 100 bool IsTriangleMode(PrimitiveMode drawMode);
|
D | utilities.cpp | 733 bool IsTriangleMode(PrimitiveMode drawMode) in IsTriangleMode() argument 735 switch (drawMode) in IsTriangleMode()
|
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/ |
D | ANGLETest.cpp | 986 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/ |
D | vktSynchronizationOperation.cpp | 4890 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/ |
D | vktSynchronizationOperation.cpp | 4890 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()
|