Home
last modified time | relevance | path

Searched refs:fLayout (Results 1 – 25 of 38) sorted by relevance

12

/third_party/flutter/skia/src/gpu/vk/
DGrVkTypesPriv.cpp13 SkSafeUnref(fLayout); in cleanup()
14 fLayout = nullptr; in cleanup()
19 GrVkImageLayout* oldLayout = fLayout; in assign()
20 fLayout = SkSafeRef(that.fLayout); in assign()
27 SkASSERT(fLayout); in setImageLayout()
28 fLayout->setImageLayout(layout); in setImageLayout()
32 SkASSERT(fLayout); in getGrVkImageLayout()
33 return sk_ref_sp(fLayout); in getGrVkImageLayout()
37 return GrVkImageInfo(fImageInfo, fLayout->getImageLayout()); in snapImageInfo()
48 return cpyInfoThis == cpyInfoThat && fLayout == that.fLayout; in operator ==()
DGrVkImageLayout.h16 GrVkImageLayout(VkImageLayout layout) : fLayout(layout) {} in GrVkImageLayout()
20 fLayout.store(layout); in setImageLayout()
25 return fLayout.load(); in getImageLayout()
29 std::atomic<VkImageLayout> fLayout;
DGrVkImage.h31 , fLayout(std::move(layout)) in fInfo()
33 SkASSERT(fLayout->getImageLayout() == fInfo.fImageLayout); in fInfo()
85 sk_sp<GrVkImageLayout> grVkImageLayout() const { return fLayout; } in grVkImageLayout()
88 return fLayout->getImageLayout(); in currentLayout()
112 fLayout->setImageLayout(newLayout); in updateImageLayout()
165 sk_sp<GrVkImageLayout> fLayout; variable
/third_party/skia/include/private/
DSkSLModifiers.h54 : fLayout(Layout()) in Modifiers()
58 : fLayout(layout) in Modifiers()
62 String result = fLayout.description(); in description()
109 return fLayout == other.fLayout && fFlags == other.fFlags;
123 Layout fLayout; member
134 return (size_t) key.fFlags ^ ((size_t) key.fLayout.fFlags << 8) ^
135 ((size_t) key.fLayout.fBuiltin << 16);
DGrVkTypesPriv.h47 : fLayout(layout) in GrVkSharedImageInfo()
51 fLayout = that.getImageLayout();
58 fLayout.store(layout); in setImageLayout()
63 return fLayout.load(); in getImageLayout()
77 std::atomic<VkImageLayout> fLayout;
/third_party/flutter/skia/src/sksl/ir/
DSkSLModifiers.h40 : fLayout(Layout()) in Modifiers()
44 : fLayout(layout) in Modifiers()
48 String result = fLayout.description(); in description()
103 return fLayout == other.fLayout && fFlags == other.fFlags;
110 Layout fLayout; member
/third_party/skia/src/gpu/vk/
DGrVkImageLayout.h16 GrVkImageLayout(VkImageLayout layout) : fLayout(layout) {} in GrVkImageLayout()
20 fLayout.store(layout); in setImageLayout()
25 return fLayout.load(); in getImageLayout()
29 std::atomic<VkImageLayout> fLayout;
/third_party/flutter/skia/src/sksl/
DSkSLCPPCodeGenerator.cpp115 int builtin = ((VariableReference&) base).fVariable.fModifiers.fLayout.fBuiltin; in writeIndexExpression()
162 if (var.fModifiers.fLayout.fCType == SkSL::Layout::CType::kSkPMColor4f) { in default_value()
172 var.fModifiers.fLayout.fBuiltin == -1; in is_private()
246 this->writeRuntimeValue(var.fType, var.fModifiers.fLayout, var.fName); in writeVarInitializer()
289 switch (ref.fVariable.fModifiers.fLayout.fBuiltin) { in writeVariableReference()
319 if (ref.fVariable.fModifiers.fLayout.fWhen.fLength) { in writeVariableReference()
330 this->writeRuntimeValue(ref.fVariable.fType, ref.fVariable.fModifiers.fLayout, in writeVariableReference()
534 -1 != var.fModifiers.fLayout.fBuiltin) { in writeProgramElement()
566 if (var.fModifiers.fLayout.fWhen.fLength) { in addUniform()
567 this->writef(" if (%s) {\n ", String(var.fModifiers.fLayout.fWhen).c_str()); in addUniform()
[all …]
DSkSLMetalCodeGenerator.cpp516 switch (ref.fVariable.fModifiers.fLayout.fBuiltin) { in writeVariableReference()
564 switch (field->fModifiers.fLayout.fBuiltin) { in writeFieldAccess()
816 this->write(to_string(var.fVar->fModifiers.fLayout.fBinding)); in writeFunction()
822 this->write(to_string(var.fVar->fModifiers.fLayout.fBinding)); in writeFunction()
837 this->write(to_string(intf.fVariable.fModifiers.fLayout.fSet)); in writeFunction()
839 this->write(to_string(intf.fVariable.fModifiers.fLayout.fBinding)); in writeFunction()
1037 int fieldOffset = field.fModifiers.fLayout.fOffset; in writeFields()
1302 fUniformBuffer = first.fModifiers.fLayout.fSet; in writeUniformStruct()
1306 } else if (first.fModifiers.fLayout.fSet != fUniformBuffer) { in writeUniformStruct()
1338 -1 == first.fModifiers.fLayout.fBuiltin) { in writeInputStruct()
[all …]
DSkSLIRGenerator.cpp269 if (modifiers.fLayout.fWhen.fLength && fKind != Program::kFragmentProcessor_Kind && in convertVarDeclarations()
273 if (modifiers.fLayout.fKey) { in convertVarDeclarations()
283 if (modifiers.fLayout.fLocation == 0 && modifiers.fLayout.fIndex == 0 && in convertVarDeclarations()
352 ((Variable*) (*fSymbolTable)[var->fName])->fModifiers.fLayout.fBuiltin >= 0) { in convertVarDeclarations()
371 if (modifiers.fLayout.fInvocations != -1) { in convertModifiersDeclaration()
376 fInvocations = modifiers.fLayout.fInvocations; in convertModifiersDeclaration()
378 modifiers.fLayout.fInvocations = -1; in convertModifiersDeclaration()
382 invocationId->fModifiers.fLayout.fBuiltin = -1; in convertModifiersDeclaration()
383 if (modifiers.fLayout.description() == "") { in convertModifiersDeclaration()
388 if (modifiers.fLayout.fMaxVertices != -1 && fInvocations > 0 && fSettings->fCaps && in convertModifiersDeclaration()
[all …]
DSkSLSPIRVCodeGenerator.cpp402 const Layout& fieldLayout = field.fModifiers.fLayout; in writeStruct()
423 if (field.fModifiers.fLayout.fBuiltin < 0) { in writeStruct()
1516 SkASSERT(!(modifiers.fLayout.fFlags & Layout::kPushConstant_Flag)); in get_storage_class()
1519 SkASSERT(!(modifiers.fLayout.fFlags & Layout::kPushConstant_Flag)); in get_storage_class()
1522 if (modifiers.fLayout.fFlags & Layout::kPushConstant_Flag) { in get_storage_class()
1697 if (var.fModifiers.fLayout.fBuiltin == SK_IN_BUILTIN) { in getLValue()
1807 if (ref.fVariable.fModifiers.fLayout.fBuiltin == SK_FRAGCOORD_BUILTIN && in writeVariableReference()
1886 if (ref.fVariable.fModifiers.fLayout.fBuiltin == SK_CLOCKWISE_BUILTIN && in writeVariableReference()
2631 switch (m.fLayout.fPrimitive) { in update_sk_in_count()
2654 bool pushConstant = (0 != (intf.fVariable.fModifiers.fLayout.fFlags & in writeInterfaceBlock()
[all …]
DSkSLPipelineStageCodeGenerator.cpp121 switch (ref.fVariable.fModifiers.fLayout.fBuiltin) { in writeVariableReference()
227 -1 != var.fModifiers.fLayout.fBuiltin) { in writeProgramElement()
DSkSLHCodeGenerator.cpp184 param->fModifiers.fLayout).c_str(), in writeMake()
227 param->fModifiers.fLayout).c_str(), in writeConstructor()
316 param->fModifiers.fLayout).c_str(), in writeFields()
DSkSLCPPUniformCTypes.h57 return Get(context, variable.fType, variable.fModifiers.fLayout); in Get()
DSkSLGLSLCodeGenerator.cpp779 switch (ref.fVariable.fModifiers.fLayout.fBuiltin) { in writeFunctionCall()
838 switch (f.fBase->fType.fields()[f.fFieldIndex].fModifiers.fLayout.fBuiltin) { in writeFunctionCall()
1096 String layout = modifiers.fLayout.description(); in writeFunctionCall()
1149 switch (modifiers.fLayout.fFormat) { in writeFunctionCall()
1497 int builtin = ((VarDeclaration&) *decl.fVars[0]).fVar->fModifiers.fLayout.fBuiltin; in writeFunctionCall()
1526 if (!fFoundGSInvocations && modifiers.fLayout.fInvocations >= 0) { in writeFunctionCall()
/third_party/flutter/skia/include/private/
DGrVkTypesPriv.h24 : fImageInfo(info), fLayout(layout) {} in GrVkBackendSurfaceInfo()
47 GrVkImageLayout* fLayout; member
/third_party/skia/src/sksl/ir/
DSkSLFunctionDeclaration.cpp111 m.fLayout.fBuiltin = SK_MAIN_COORDS_BUILTIN; in check_parameters()
115 m.fLayout.fBuiltin = kBuiltinColorIDs[builtinColorIndex++]; in check_parameters()
123 m.fLayout.fBuiltin = SK_MAIN_COORDS_BUILTIN; in check_parameters()
149 p.modifiers().fLayout.fBuiltin == SK_MAIN_COORDS_BUILTIN; in check_main_signature()
156 p.modifiers().fLayout.fBuiltin == builtinID; in check_main_signature()
DSkSLVariable.cpp34 if (modifiers.fLayout.fLocation == 0 && modifiers.fLayout.fIndex == 0 && in Convert()
DSkSLModifiers.cpp60 int layoutFlags = fLayout.fFlags; in checkPermitted()
/third_party/skia/src/sksl/codegen/
DSkSLMetalCodeGenerator.cpp1303 switch (ref.variable()->modifiers().fLayout.fBuiltin) { in writeVariableReference()
1352 switch (field->fModifiers.fLayout.fBuiltin) { in writeFieldAccess()
1794 return (m.fLayout.fBinding >= 0) ? m.fLayout.fBinding in getUniformBinding()
1799 return (m.fLayout.fSet >= 0) ? m.fLayout.fSet in getUniformSet()
1830 if (var.var().modifiers().fLayout.fBinding < 0) { in writeFunctionDeclaration()
1843 this->write(to_string(var.var().modifiers().fLayout.fBinding)); in writeFunctionDeclaration()
1849 this->write(to_string(var.var().modifiers().fLayout.fBinding)); in writeFunctionDeclaration()
1885 if (f.isMain() && param->modifiers().fLayout.fBuiltin != -1) { in writeFunctionDeclaration()
2020 int fieldOffset = field.fModifiers.fLayout.fOffset; in writeFields()
2306 -1 == var.modifiers().fLayout.fBuiltin) { in writeInputStruct()
[all …]
/third_party/flutter/skia/src/gpu/effects/
DGrSkSLFP.cpp39 if (var.fModifiers.fLayout.fKey) { in GrSkSLFPFactory()
97 SkSL::Layout::CType result = v.fModifiers.fLayout.fCType; in get_ctype()
390 if (v->fModifiers.fLayout.fKey) { in onGetGLSLProcessorKey()
398 if (v->fModifiers.fLayout.fKey) { in onGetGLSLProcessorKey()
410 if (v->fModifiers.fLayout.fKey) { in onGetGLSLProcessorKey()
423 if (v->fModifiers.fLayout.fKey) { in onGetGLSLProcessorKey()
/third_party/skia/experimental/graphite/src/
DUniformManager.h44 Layout fLayout; variable
DUniformManager.cpp23 UniformManager::UniformManager(Layout layout) : fLayout(layout) {} in UniformManager()
463 if (fLayout != Layout::kMetal) { in getUniformTypeForLayout()
498 switch (fLayout) { in writeUniforms()
/third_party/flutter/skia/gm/
Dmultipicturedraw.cpp476 MultiPictureDraw(Content content, Layout layout) : fContent(content), fLayout(layout) { in MultiPictureDraw()
493 Layout fLayout; member in skiagm::MultiPictureDraw
508 (*gLayoutMthds[fLayout])(canvas, &mpd, in onDraw()
539 name.append(gLayoutNames[fLayout]); in onShortName()
/third_party/skia/include/sksl/
DDSLModifiers.h46 return DSLLayout(fModifiers.fLayout); in layout()

12