/third_party/skia/src/gpu/effects/ |
D | GrSkSLFP.cpp | 36 const uint8_t* uniformData, in emitCode() argument 42 , fUniformData(uniformData) in emitCode() 219 fp.uniformData(), in emitCode() 231 const uint8_t* uniformData = outer.uniformData(); in onSetData() local 238 auto floatData = [=] { return SkTAddOffset<const float>(uniformData, v.offset); }; in onSetData() 239 auto intData = [=] { return SkTAddOffset<const int>(uniformData, v.offset); }; in onSetData() 279 sk_careful_memcpy(fp->uniformData(), uniforms->data(), uniformSize); in MakeWithData() 319 sk_careful_memcpy(this->uniformData(), other.uniformData(), fUniformSize); in GrSkSLFP() 362 const uint8_t* uniformData = this->uniformData(); in onAddToKey() local 370 b->addBytes(iter->sizeInBytes(), uniformData + iter->offset, iter->name.c_str()); in onAddToKey() [all …]
|
D | GrSkSLFP.h | 155 fp->appendArgs(fp->uniformData(), fp->uniformFlags(), std::forward<Args>(args)...); in Make() 189 const uint8_t* uniformData() const { return reinterpret_cast<const uint8_t*>(this + 1); } in uniformData() function 190 uint8_t* uniformData() { return reinterpret_cast< uint8_t*>(this + 1); } in uniformData() function 197 return reinterpret_cast<const UniformFlags*>(this->uniformData() + fUniformSize); in uniformFlags() 200 return reinterpret_cast<UniformFlags*>(this->uniformData() + fUniformSize); in uniformFlags()
|
/third_party/flutter/skia/third_party/externals/dawn/src/tests/end2end/ |
D | DynamicBufferOffsetTests.cpp | 30 std::array<uint32_t, kBufferElementsCount> uniformData = {0}; in SetUp() local 32 uniformData[0] = 1; in SetUp() 33 uniformData[1] = 2; in SetUp() 34 uniformData[uniformData.size() - 2] = 5; in SetUp() 35 uniformData[uniformData.size() - 1] = 6; in SetUp() 37 mUniformBuffer = utils::CreateBufferFromData(device, uniformData.data(), kBufferSize, in SetUp()
|
D | MultisampledRenderingTests.cpp | 105 const float* uniformData, in EncodeRenderPassForTest() argument 108 utils::CreateBufferFromData(device, uniformData, uniformDataSize, in EncodeRenderPassForTest()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
D | ProgramVk.cpp | 79 angle::MemoryBuffer *uniformData) in UpdateDefaultUniformBlock() argument 83 uint8_t *dst = uniformData->data() + layoutInfo.offset; in UpdateDefaultUniformBlock() 88 ASSERT(writePtr + (elementSize * count) <= uniformData->data() + uniformData->size()); in UpdateDefaultUniformBlock() 101 ASSERT(writePtr + elementSize <= uniformData->data() + uniformData->size()); in UpdateDefaultUniformBlock() 112 const angle::MemoryBuffer *uniformData) in ReadFromDefaultUniformBlock() argument 117 const uint8_t *source = uniformData->data() + layoutInfo.offset; in ReadFromDefaultUniformBlock() 227 stream->writeInt(mDefaultUniformBlocks[shaderType].uniformData.size()); in save() 399 if (!mDefaultUniformBlocks[shaderType].uniformData.resize( in resizeUniformBlockMemory() 406 mDefaultUniformBlocks[shaderType].uniformData.fill(0); in resizeUniformBlockMemory() 444 &uniformBlock.uniformData); in setUniformImpl() [all …]
|
D | ProgramPipelineVk.cpp | 173 const angle::MemoryBuffer &uniformData = in updateUniforms() local 174 programVk->getDefaultUniformBlocks()[shaderType].uniformData; in updateUniforms() 175 memcpy(&bufferData[offsets[shaderType]], uniformData.data(), uniformData.size()); in updateUniforms()
|
D | ProgramVk.h | 116 if (!mDefaultUniformBlocks[shaderType].uniformData.empty()) in setShaderUniformDirtyBit() 136 return roundUp(mDefaultUniformBlocks[shaderType].uniformData.size(), alignment); in getDefaultUniformAlignedSize()
|
D | ProgramExecutableVk.h | 97 angle::MemoryBuffer uniformData; member
|
/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
D | ShaderFloat16Tests.cpp | 44 uint16_t uniformData[] = {Float32ToFloat16(1.23), Float32ToFloat16(0.0)}; // 0.0 is a padding. in TEST_P() local 46 device, &uniformData, sizeof(uniformData), wgpu::BufferUsage::Uniform); in TEST_P() 155 {0, uniformBuffer, 0, sizeof(uniformData)}, in TEST_P()
|
D | DynamicBufferOffsetTests.cpp | 36 std::vector<uint32_t> uniformData(mMinUniformBufferOffsetAlignment / sizeof(uint32_t) + 2); in SetUp() local 37 uniformData[0] = 1; in SetUp() 38 uniformData[1] = 2; in SetUp() 40 mUniformBuffers[0] = utils::CreateBufferFromData(device, uniformData.data(), in SetUp() 41 sizeof(uint32_t) * uniformData.size(), in SetUp() 44 uniformData[uniformData.size() - 2] = 5; in SetUp() 45 uniformData[uniformData.size() - 1] = 6; in SetUp() 48 mUniformBuffers[1] = utils::CreateBufferFromData(device, uniformData.data(), in SetUp() 49 sizeof(uint32_t) * uniformData.size(), in SetUp() 53 storageBufferDescriptor.size = sizeof(uint32_t) * uniformData.size(); in SetUp() [all …]
|
D | MultisampledRenderingTests.cpp | 127 const float* uniformData, in EncodeRenderPassForTest() argument 130 device, uniformData, uniformDataSize, wgpu::BufferUsage::Uniform); in EncodeRenderPassForTest() 145 const float uniformData[4] = {static_cast<float>(color.r), static_cast<float>(color.g), in EncodeRenderPassForTest() local 147 EncodeRenderPassForTest(commandEncoder, renderPass, pipeline, uniformData, in EncodeRenderPassForTest()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
D | CopyTextureForBrowserHelper.cpp | 308 Uniform uniformData = { in DoCopyTextureForBrowser() local 320 uniformData.scaleY *= -1.0; in DoCopyTextureForBrowser() 321 uniformData.offsetY += copySize->height / static_cast<float>(srcTextureSize.height); in DoCopyTextureForBrowser() 325 uniformData.alphaOp = options->alphaOp; in DoCopyTextureForBrowser() 331 device, wgpu::BufferUsage::CopyDst | wgpu::BufferUsage::Uniform, {uniformData})); in DoCopyTextureForBrowser()
|
/third_party/skia/third_party/externals/dawn/src/tests/perf_tests/ |
D | ShaderRobustnessPerf.cpp | 433 uint32_t uniformData[] = {mDimAOuter, mDimInner, mDimBOuter}; in SetUp() local 435 device, uniformData, sizeof(uniformData), wgpu::BufferUsage::Uniform); in SetUp() 474 {3, uniformBuffer, 0, sizeof(uniformData)}, in SetUp()
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
D | ProgramVk.cpp | 80 angle::MemoryBuffer *uniformData) in UpdateDefaultUniformBlock() argument 84 uint8_t *dst = uniformData->data() + layoutInfo.offset; in UpdateDefaultUniformBlock() 89 ASSERT(writePtr + (elementSize * count) <= uniformData->data() + uniformData->size()); in UpdateDefaultUniformBlock() 102 ASSERT(writePtr + elementSize <= uniformData->data() + uniformData->size()); in UpdateDefaultUniformBlock() 113 const angle::MemoryBuffer *uniformData) in ReadFromDefaultUniformBlock() argument 118 const uint8_t *source = uniformData->data() + layoutInfo.offset; in ReadFromDefaultUniformBlock() 483 stream->writeInt(mDefaultUniformBlocks[shaderType].uniformData.size()); in save() 771 if (!mDefaultUniformBlocks[shaderType].uniformData.resize( in resizeUniformBlockMemory() 784 mDefaultUniformBlocks[shaderType].uniformData.fill(0); in resizeUniformBlockMemory() 821 &uniformBlock.uniformData); in setUniformImpl() [all …]
|
D | ProgramVk.h | 259 angle::MemoryBuffer uniformData; member
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/ |
D | ProgramMtl.mm | 111 angle::MemoryBuffer *uniformData) 115 uint8_t *dst = uniformData->data() + layoutInfo.offset; 120 ASSERT(writePtr + (elementSize * count) <= uniformData->data() + uniformData->size()); 133 ASSERT(writePtr + elementSize <= uniformData->data() + uniformData->size()); 144 const angle::MemoryBuffer *uniformData) 149 const uint8_t *source = uniformData->data() + layoutInfo.offset; 565 if (!mDefaultUniformBlocks[shaderType].uniformData.resize( 572 mDefaultUniformBlocks[shaderType].uniformData.fill(0); 788 stream->writeInt(mDefaultUniformBlocks[shaderType].uniformData.size()); 946 &uniformBlock.uniformData); [all …]
|
D | ProgramMtl.h | 248 angle::MemoryBuffer uniformData; member
|
/third_party/skia/experimental/graphite/src/ |
D | DrawPass.cpp | 42 auto [ combo, uniformData] = ExtractCombo(recorder->uniformCache(), p); in get_ids_from_paint() 45 return { programInfo->id(), uniformData->id() }; in get_ids_from_paint()
|
/third_party/skia/src/core/ |
D | SkRuntimeEffectPriv.h | 114 const void* uniformData,
|
/third_party/skia/gm/ |
D | runtimeintrinsics.cpp | 588 T uniformData[2] = { -2, -2 }; in plot_bvec() local 589 sk_sp<SkData> uniforms = SkData::MakeWithCopy(uniformData, sizeof(uniformData)); in plot_bvec()
|
/third_party/skia/modules/particles/include/ |
D | SkParticleEffect.h | 176 float* uniformData() { return fUniforms.data(); } in uniformData() function
|
/third_party/skia/modules/canvaskit/ |
D | particles_bindings.cpp | 99 return reinterpret_cast<WASMPointerF32>(self.uniformData()); in EMSCRIPTEN_BINDINGS()
|
/third_party/skia/tests/ |
D | SkSLInterpreterTest.cpp | 540 Args(void* uniformData) { fArgs.push_back(uniformData); } in DEF_TEST()
|
/third_party/skia/tools/viewer/ |
D | ParticlesSlide.cpp | 381 uniformsGui(effect->uniformInfo(), effect->uniformData()); in draw()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/capture/ |
D | frame_capture_utils.cpp | 1052 std::vector<T> uniformData(gl::VariableComponentCount(type) * size, 0); in SerializeUniformData() local 1053 (program->*getFunc)(context, loc, uniformData.data()); in SerializeUniformData() 1054 json->addVector("Data", uniformData); in SerializeUniformData()
|