/frameworks/base/libs/hwui/ |
Layer.cpp | 17 #include "Layer.h" 26 Layer::Layer(RenderState& renderState, Api api, SkColorFilter* colorFilter, int alpha, 28 : GpuMemoryTracker(GpuObjectType::Layer) 41 Layer::~Layer() { 47 void Layer::setColorFilter(SkColorFilter* filter) { 51 void Layer::postDecStrong() {
|
GpuMemoryTracker.h | 37 Layer,
|
Layer.h | 37 * A layer has dimensions and is backed by a backend specific texture or framebuffer. 39 class Layer : public VirtualLightRefBase, GpuMemoryTracker { 50 ~Layer(); 108 Layer(RenderState& renderState, Api api, SkColorFilter* colorFilter, int alpha, 117 * Color filter used to draw this layer. Optional. 122 * Indicates raster data backing the layer is scaled, requiring filtration. 127 * Opacity of the layer. 132 * Blending mode of the layer. 146 }; // struct Layer
|
/frameworks/native/vulkan/libvulkan/ |
layers_extensions.h | 25 struct Layer; 29 explicit LayerRef(const Layer* layer); 36 operator const Layer*() const { return layer_; } 42 const Layer* layer_; 48 const Layer& GetLayer(uint32_t index); 49 const Layer* FindLayer(const char* name); 51 const VkLayerProperties& GetLayerProperties(const Layer& layer); 52 bool IsLayerGlobal(const Layer& layer) [all...] |
layers_extensions.cpp | 55 struct Layer { 59 // true if the layer intercepts vkCreateDevice and device commands 91 std::vector<Layer>& instance_layers) const; 93 void* GetGPA(const Layer& layer, 108 ALOGV("opening layer library '%s'", path_.c_str()); 109 // Libraries in the system layer library dir can't be loaded into 126 ALOGE("failed to load layer library '%s': %s", path_.c_str(), 138 ALOGV("closing layer library '%s'", path_.c_str()); 145 std::vector<Layer>& instance_layers) const 216 Layer layer; local 444 auto layer = local [all...] |
/external/pdfium/core/fpdfapi/render/ |
cpdf_rendercontext.h | 28 class Layer { 56 Layer* GetLayer(uint32_t index) { return &m_Layers[index]; } 66 std::vector<Layer> m_Layers;
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/ |
Layer.java | 19 public class Layer { 21 public Layer(int axis) {
|
/external/vulkan-validation-layers/ |
vk-layer-introspect.py | 95 class Layer(object): 230 "unexpected device-only layer " + props.layer_name()) 270 Layer(props, is_global, instance_extensions, device_extensions, gipa_name, gdpa_name)) 279 for idx, layer in enumerate(layers): 282 layer_data["name"] = layer.props.layer_name() 283 layer_data["api_version"] = layer.props.spec_version() 285 "implementation_version"] = layer.props.implementation_version() 286 layer_data["description"] = layer.props.description() 288 layer_data["type"] = "GLOBAL" if layer.is_global else "INSTANCE" 294 if layer.gipa_name != "vkGetInstanceProcAddr" [all...] |
/frameworks/native/libs/vr/libvrflinger/ |
hardware_composer.cpp | 168 // Setup the display metrics used by all Layer instances. 169 Layer::SetDisplayMetrics(native_display_metrics_); 236 Layer::SetComposer(composer_.get()); 265 Layer::SetComposer(nullptr); 398 stream << "Layer " << i << ":"; 418 for (auto& layer : layers_) { 419 layer.Prepare(); 451 for (auto& layer : layers_) { 452 layer.Drop(); 463 ALOGI("HardwareComposer::PostLayers: layer=%zu buffer_id=%d composition=%s" [all...] |
hardware_composer.h | 51 // Layer represents the connection between a hardware composer layer and the 52 // source supplying buffers for the layer's contents. 53 class Layer { 55 Layer() = default; 57 // Sets up the layer to use a display surface as its content source. The Layer 66 Layer(const std::shared_ptr<DirectDisplaySurface>& surface, 70 // Sets up the layer to use a direct buffer as its content source. No special 78 Layer(const std::shared_ptr<IonBuffer>& buffer, HWC::BlendMode blending [all...] |
/device/linaro/bootloader/edk2/NetworkPkg/UefiPxeBcDxe/ |
PxeBcBoot.c | 636 // Set the station address to IP layer.
815 @param[in] Layer Pointer to option boot item layer.
831 IN UINT16 *Layer,
842 Layer,
850 Layer,
882 UINT16 Layer;
888 Layer = EFI_PXE_BASE_CODE_BOOT_LAYER_INITIAL;
930 Status = PxeBc->Discover (PxeBc, Type, &Layer, UseBis, NULL);
[all...] |
/external/llvm/lib/ExecutionEngine/Orc/ |
OrcCBindingsStack.h | 54 GenericHandleImpl(LayerT &Layer, typename LayerT::ModuleSetHandleT Handle) 55 : Layer(Layer), Handle(std::move(Handle)) {} 59 return Layer.findSymbolIn(Handle, Name, ExportedSymbolsOnly); 62 void removeModule() override { return Layer.removeModuleSet(Handle); } 65 LayerT &Layer; 71 createGenericHandle(LayerT &Layer, typename LayerT::ModuleSetHandleT Handle) { 72 return llvm::make_unique<GenericHandleImpl<LayerT>>(Layer, 77 // We need a 'ModuleSetHandleT' to conform to the layer concept. 165 ModuleHandleT addIRModule(LayerT &Layer, Module *M [all...] |
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
HWC2.h | 54 class Layer; 203 [[clang::warn_unused_result]] Error createLayer(Layer** outLayer); 204 [[clang::warn_unused_result]] Error destroyLayer(Layer* layer); 208 std::unordered_map<Layer*, Composition>* outTypes); 218 std::unordered_map<Layer*, LayerRequest>* outLayerRequests); 224 std::unordered_map<Layer*, 265 // This may fail (and return a null pointer) if no layer with this ID exists 267 Layer* getLayerById(hwc2_layer_t id) const; 280 std::unordered_map<hwc2_layer_t, std::unique_ptr<Layer>> mLayers [all...] |
HWC2.cpp | 293 Error Display::createLayer(Layer** outLayer) 305 auto layer = std::make_unique<Layer>( local 307 *outLayer = layer.get(); 308 mLayers.emplace(layerId, std::move(layer)); 312 Error Display::destroyLayer(Layer* layer) 314 if (!layer) { 317 mLayers.erase(layer->getId()); 349 std::unordered_map<Layer*, Composition>* outTypes 365 auto layer = getLayerById(layerIds[element]); local 430 auto layer = getLayerById(layerIds[element]); local 503 auto layer = getLayerById(layerIds[element]); local [all...] |
/hardware/qcom/display/msm8996/sdm/include/core/ |
layer_stack.h | 26 @brief File for display layer stack structure which represents a drawing buffer. 28 @details Display layer is a drawing buffer object which will be blended with other drawing buffers 44 /*! @brief This enum represents display layer blending types. 46 @sa Layer 54 //!< is constant blend operation. The layer would appear opaque if plane 62 /*! @brief This enum represents display layer composition types. 64 @sa Layer 67 kCompositionGPU, //!< This layer will be drawn onto the target buffer by GPU. Display 68 //!< device will mark the layer for GPU composition if it can not handle 71 kCompositionSDE, //!< This layer will be handled by SDE. It must not be composed by GPU [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/UefiPxeBcDxe/ |
PxeBcImpl.c | 173 // this should be a bug of the low layer (IP).
778 @param Layer Pointer to the boot server layer number to discover, which must be
801 IN UINT16 *Layer,
847 // If layer isn't EFI_PXE_BASE_CODE_BOOT_LAYER_INITIAL,
853 if (*Layer != EFI_PXE_BASE_CODE_BOOT_LAYER_INITIAL) {
[all...] |
/frameworks/native/cmds/flatland/ |
Main.cpp | 282 class Layer { 286 Layer() : 413 // Scale the layer to match the current screen size. 420 // Set up the layer. 582 Layer mLayers[MAX_NUM_LAYERS];
|
/hardware/qcom/display/msm8998/sdm/include/core/ |
layer_stack.h | 26 @brief File for display layer stack structure which represents a drawing buffer. 28 @details Display layer is a drawing buffer object which will be blended with other drawing buffers 44 /*! @brief This enum represents display layer blending types. 46 @sa Layer 54 //!< is constant blend operation. The layer would appear opaque if plane 62 /*! @brief This enum represents display layer composition types. 64 @sa Layer 73 kCompositionGPU, //!< This layer will be drawn onto the target buffer by GPU. Display 74 //!< device will mark the layer for GPU composition if it can not 76 //!< This composition type is used only if GPUTarget layer is provide [all...] |
/hardware/qcom/display/sdm845/sdm/include/core/ |
layer_stack.h | 26 @brief File for display layer stack structure which represents a drawing buffer. 28 @details Display layer is a drawing buffer object which will be blended with other drawing buffers 44 /*! @brief This enum represents display layer blending types. 46 @sa Layer 54 //!< is constant blend operation. The layer would appear opaque if plane 62 /*! @brief This enum represents display layer composition types. 64 @sa Layer 73 kCompositionGPU, //!< This layer will be drawn onto the target buffer by GPU. Display 74 //!< device will mark the layer for GPU composition if it can not 76 //!< This composition type is used only if GPUTarget layer is provide [all...] |
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/util/ |
PsdFile.java | 245 final List<Layer> mLayers = new ArrayList<Layer>(); 248 mLayers.add(new Layer(name, image, offset, visible)); 253 for (Layer layer : mLayers) { 254 length += layer.getLength(); 261 for (Layer layer : mLayers) { 262 layer.write(out); 267 for (Layer layer : mLayers) [all...] |
/device/linaro/bootloader/edk2/NetworkPkg/HttpBootDxe/ |
HttpBootDhcp4.h | 188 UINT16 Layer;
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
GcSnapshot.java | 59 * a list of Graphics2D for each layers. The class actually maintains a list of {@link Layer} 60 * for each layer. Doing a save() will duplicate this list so that each graphics2D object 61 * ({@link Layer#getGraphics()}) is configured only for the new snapshot. 69 private final ArrayList<Layer> mLayers = new ArrayList<Layer>(); 76 // local layer data 77 /** a local layer created with {@link Canvas#saveLayer(RectF, Paint, int)}. 78 * If this is null, this does not mean there's no layer, just that the snapshot is not the 79 * one that created the layer. 82 private final Layer mLocalLayer 334 Layer layer = mLayers.get(i); local 593 Layer layer = mLayers.get(i); local [all...] |
/frameworks/native/libs/hwc2on1adapter/include/hwc2on1adapter/ |
HWC2On1Adapter.h | 129 class Layer; 133 bool operator()(const std::shared_ptr<Layer>& lhs, 134 const std::shared_ptr<Layer>& rhs); 142 // when the layer buffer is not needed for read operations anymore 327 // - Layer composition type. 328 // - Layer hints. 375 // prepare/set array and Layer object. Stores mapping in 376 // mHwc1LayerMap and also updates Layer's attribute mHwc1Id. 382 const Layer& layer); 621 auto layer = std::get<Layer*>(result); local [all...] |
/frameworks/native/services/surfaceflinger/ |
Layer.h | 68 * Layer is first referenced. 73 class Layer : public SurfaceFlingerConsumer::ContentsChangedListener { 84 // Layer serial number. This gives layers an explicit ordering, so we 85 // have a stable sort order when their layer stack and Z-order are 114 // The identifier of the layer stack this layer belongs to. A layer can 115 // only be associated to a single layer stack. A layer stack is a 117 // displays. Using the same layer stack on different displays is a wa 760 HWC2::Layer* layer; member in struct:android::Layer::HWCInfo [all...] |
/hardware/qcom/display/msm8994/libhwcomposer/ |
HWC2On1Adapter.h | 121 class Layer; 125 bool operator()(const std::shared_ptr<Layer>& lhs, 126 const std::shared_ptr<Layer>& rhs); 347 const Layer& layer); 349 const Layer& layer); 375 // Will only be non-null after the layer has been validated but 395 std::multiset<std::shared_ptr<Layer>, SortLayersByZ> mLayers; 396 std::unordered_map<size_t, std::shared_ptr<Layer>> mHwc1LayerMap 588 auto layer = std::get<Layer*>(result); local [all...] |