/external/skqp/tools/sk_app/ |
Window.h | 133 class Layer { 135 Layer() : fActive(true) {} 136 virtual ~Layer() = default; 158 void pushLayer(Layer* layer) { 159 layer->onAttach(this); 160 fLayers.push(layer); 189 SkTDArray<Layer*> fLayers; 201 void visitLayers(std::function<void(Layer*)> visitor); 202 bool signalLayers(std::function<bool(Layer*)> visitor) [all...] |
/hardware/qcom/display/msm8996/sdm/libs/hwc/ |
hwc_display.cpp | 58 static void ApplyDeInterlaceAdjustment(Layer *layer) { 60 if (layer->input_buffer->flags.interlace) { 61 float height = (layer->src_rect.bottom - layer->src_rect.top) / 2.0f; 62 layer->src_rect.top = ROUND_UP_ALIGN_DOWN(layer->src_rect.top / 2.0f, 2); 63 layer->src_rect.bottom = layer->src_rect.top + floorf(height); 325 Layer *layer = new Layer() local 442 Layer *layer = layer_stack_.layers.at(i); local 601 Layer *layer = layer_stack_.layers.at(i); local 686 Layer *layer = layer_stack_.layers.at(i); local 1142 hwc_layer_1_t *layer = &content_list->hwLayers[i]; local 1312 Layer *layer = layer_stack_.layers.at(i); local 1325 Layer *layer = layer_stack_.layers[i]; local [all...] |
blit_engine_c2d.cpp | 209 Layer *layer = layer_stack->layers.at(i); local 210 LayerBuffer *layer_buffer = layer->input_buffer; 211 if (layer->composition == kCompositionBlit) { 262 Layer *layer = layer_stack->layers.at(i); local 265 if (Is10BitFormat(layer->input_buffer->format)) { 269 if (layer->composition == kCompositionGPUTarget) { 277 // No blit target layer 295 Layer *layer = layer_stack->layers.at(k) local 326 Layer *layer = layer_stack->layers.at(i); local 367 Layer *layer = layer_stack->layers.at(j + content_list->numHwLayers); local 398 Layer *layer = layer_stack->layers.at(i); local 420 Layer *layer = layer_stack->layers.at(i); local 475 Layer *layer = layer_stack->layers.at(k); local [all...] |
/external/vulkan-validation-layers/loader/ |
LoaderAndLayerInterface.md | 14 * [Application Layer Usage](#application-layer-usage) 17 * [Loader and Layer Interface](#loader-and-layer-interface) 18 * [Layer Discovery](#layer-discovery) 19 * [Layer Version Negotiation](#layer-version-negotiation) 20 * [Layer Call Chains and Distributed Dispatch](#layer-call-chains-and-distributed-dispatch [all...] |
/external/webrtc/webrtc/modules/desktop_capture/mac/ |
window_list_utils.cc | 27 // Check windows to make sure they have an id, title, and use window layer 40 // Skip windows with layer=0 (menu, dock). 41 int layer; local 42 CFNumberGetValue(window_layer, kCFNumberIntType, &layer); 43 if (layer != 0)
|
/frameworks/base/libs/hwui/ |
GlLayer.h | 19 #include "Layer.h" 30 * A layer has dimensions and is backed by an OpenGL texture or FBO. 32 class GlLayer : public Layer { 64 * Lost the GL context but the layer is still around, mark it invalid internally 73 * The texture backing this layer.
|
/hardware/libhardware/include/hardware/ |
hwcomposer_defs.h | 124 * that it should triple buffer this layer. Typically HWC does this when 125 * the layer will be unavailable for use for an extended period of time, 126 * e.g. if the display will be fetching data directly from the layer and 127 * the layer can not be modified until after the next set(). 133 * framebuffer with transparent pixels where this layer would be. 134 * SurfaceFlinger will only honor this flag when the layer has no blending 147 * shall not consider this layer for composition as it will be handled 154 * layer is being used as a cursor on this particular display, and that 156 * this layer. If a call to prepare() returns HWC_CURSOR_OVERLAY for the 157 * composition type of this layer, then the hwcomposer will allow asyn [all...] |
/hardware/qcom/display/msm8909/sdm/libs/hwc2/ |
display_null.cpp | 37 for (Layer *layer : layer_stack->layers) { 38 if (layer->composition != kCompositionGPUTarget) { 39 layer->composition = kCompositionSDE; 40 layer->input_buffer.release_fence_fd = -1;
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/ |
display_null.cpp | 37 for (Layer *layer : layer_stack->layers) { 38 if (layer->composition != kCompositionGPUTarget) { 39 layer->composition = kCompositionSDE; 40 layer->input_buffer.release_fence_fd = -1;
|
/hardware/qcom/display/msm8909/sdm/libs/hwc/ |
blit_engine_c2d.cpp | 209 Layer *layer = layer_stack->layers.at(i); local 210 LayerBuffer &layer_buffer = layer->input_buffer; 211 if (layer->composition == kCompositionBlit) { 262 Layer *layer = layer_stack->layers.at(i); local 265 if (Is10BitFormat(layer->input_buffer.format)) { 269 if (layer->composition == kCompositionGPUTarget) { 277 // No blit target layer 295 Layer *layer = layer_stack->layers.at(k) local 334 Layer *layer = layer_stack->layers.at(i); local 380 Layer *layer = layer_stack->layers.at(j + content_list->numHwLayers); local 413 Layer *layer = layer_stack->layers.at(i); local 435 Layer *layer = layer_stack->layers.at(i); local 490 Layer *layer = layer_stack->layers.at(k); local [all...] |
hwc_display.cpp | 410 Layer *layer = new Layer(); local 411 layer_stack_.layers.push_back(layer); 418 for (Layer *layer : layer_stack_.layers) { 419 delete layer; 424 int HWCDisplay::PrepareLayerParams(hwc_layer_1_t *hwc_layer, Layer* layer) { 427 LayerBuffer &layer_buffer = layer->input_buffer 542 Layer *layer = layer_stack_.layers.at(i); local 733 Layer *layer = layer_stack_.layers.at(i); local 848 Layer *layer = layer_stack_.layers.at(i); local 1247 hwc_layer_1_t *layer = &content_list->hwLayers[i]; local 1452 Layer *layer = layer_stack_.layers.at(i); local 1465 Layer *layer = layer_stack_.layers[i]; local [all...] |
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/ |
blit_engine_c2d.cpp | 209 Layer *layer = layer_stack->layers.at(i); local 210 LayerBuffer &layer_buffer = layer->input_buffer; 211 if (layer->composition == kCompositionBlit) { 262 Layer *layer = layer_stack->layers.at(i); local 265 if (Is10BitFormat(layer->input_buffer.format)) { 269 if (layer->composition == kCompositionGPUTarget) { 277 // No blit target layer 295 Layer *layer = layer_stack->layers.at(k) local 334 Layer *layer = layer_stack->layers.at(i); local 380 Layer *layer = layer_stack->layers.at(j + content_list->numHwLayers); local 413 Layer *layer = layer_stack->layers.at(i); local 435 Layer *layer = layer_stack->layers.at(i); local 490 Layer *layer = layer_stack->layers.at(k); local [all...] |
hwc_display.cpp | 410 Layer *layer = new Layer(); local 411 layer_stack_.layers.push_back(layer); 418 for (Layer *layer : layer_stack_.layers) { 419 delete layer; 424 int HWCDisplay::PrepareLayerParams(hwc_layer_1_t *hwc_layer, Layer* layer) { 427 LayerBuffer &layer_buffer = layer->input_buffer 542 Layer *layer = layer_stack_.layers.at(i); local 733 Layer *layer = layer_stack_.layers.at(i); local 848 Layer *layer = layer_stack_.layers.at(i); local 1247 hwc_layer_1_t *layer = &content_list->hwLayers[i]; local 1452 Layer *layer = layer_stack_.layers.at(i); local 1465 Layer *layer = layer_stack_.layers[i]; local [all...] |
/hardware/qcom/display/msm8084/libhwcomposer/ |
hwc_dump_layers.cpp | 208 ALOGI("Display[%s] Layer[*] %s-HwcModuleCompType, %d-layer MdpComp %s", 216 ALOGE("Display[%s] Layer[%zu] Error. No hwc layers to log.", 221 hwc_layer_1_t *layer = &hwLayers[layerIndex]; local 222 hwc_rect_t sourceCrop = integerizeSourceCrop(layer->sourceCropf); 223 hwc_rect_t displayFrame = layer->displayFrame; 224 size_t numHwcRects = layer->visibleRegionScreen.numRects; 225 hwc_rect_t const *hwcRects = layer->visibleRegionScreen.rects; 226 private_handle_t *hnd = (private_handle_t *)layer->handle; 243 ALOGI("Display[%s] Layer[%zu] SrcBuff[%dx%d] SrcCrop[%dl, %dt, %dr, %db] 302 hwc_layer_1_t *layer = &hwLayers[layerIndex]; local [all...] |
/hardware/qcom/display/msm8226/libhwcomposer/ |
hwc_dump_layers.cpp | 208 ALOGI("Display[%s] Layer[*] %s-HwcModuleCompType, %d-layer MdpComp %s", 216 ALOGE("Display[%s] Layer[%zu] Error. No hwc layers to log.", 221 hwc_layer_1_t *layer = &hwLayers[layerIndex]; local 222 hwc_rect_t sourceCrop = integerizeSourceCrop(layer->sourceCropf); 223 hwc_rect_t displayFrame = layer->displayFrame; 224 size_t numHwcRects = layer->visibleRegionScreen.numRects; 225 hwc_rect_t const *hwcRects = layer->visibleRegionScreen.rects; 226 private_handle_t *hnd = (private_handle_t *)layer->handle; 243 ALOGI("Display[%s] Layer[%zu] SrcBuff[%dx%d] SrcCrop[%dl, %dt, %dr, %db] 302 hwc_layer_1_t *layer = &hwLayers[layerIndex]; local [all...] |
hwc_copybit.cpp | 120 // Skipping last layer since FrameBuffer layer should not affect 148 //swap rect will kick in only for single updating layer 157 //dirty rect for same layer at least equal of number of 167 //disable swap rect for overlapping visible layer(s) 191 //1.Only single layer is updating. 194 //4.No video layer 198 //swap rect will kick in only for single updating layer 284 //GPU/CPU composition, don't change layer composition type 315 hwc_layer_1_t *layer = (hwc_layer_1_t *) &list->hwLayers[i] local 522 hwc_layer_1_t *layer = &list->hwLayers[mDirtyLayerIndex]; local 599 hwc_layer_1_t *layer = &list->hwLayers[i]; local [all...] |
/hardware/qcom/display/msm8994/libhwcomposer/ |
hwc_dump_layers.cpp | 212 ALOGI("Display[%s] Layer[*] %s-HwcModuleCompType, %d-layer MdpComp %s", 220 ALOGE("Display[%s] Layer[%zu] Error. No hwc layers to log.", 225 hwc_layer_1_t *layer = &hwLayers[layerIndex]; local 226 hwc_rect_t sourceCrop = integerizeSourceCrop(layer->sourceCropf); 227 hwc_rect_t displayFrame = layer->displayFrame; 228 size_t numHwcRects = layer->visibleRegionScreen.numRects; 229 hwc_rect_t const *hwcRects = layer->visibleRegionScreen.rects; 230 private_handle_t *hnd = (private_handle_t *)layer->handle; 247 ALOGI("Display[%s] Layer[%zu] SrcBuff[%dx%d] SrcCrop[%dl, %dt, %dr, %db] 306 hwc_layer_1_t *layer = &hwLayers[layerIndex]; local [all...] |
/external/lisa/libs/utils/android/ |
surfaceflinger.py | 65 Represents a layer of a view drawn in an Android app. This class holds the properties of the 66 layer that have been parsed from the output of SurfaceFlinger. 71 Initializes the layer. 73 :param name: the parsed name of the the layer 85 Retrieves a property of the layer through using the period operator. 108 Parses the SurfaceFlinger output and stores a map of layer names to objects that hold the 109 parsed information of the layer. 121 # Begin parsing the properties of a layer 122 if "+ Layer" in line: 123 # Extract the name from the layer [all...] |
/external/skia/tests/ |
LayerDrawLooperTest.cpp | 48 // Add the front layer, with the defaults. 51 // Add the back layer, with some layer info set. 64 // The back layer should come first. 72 // Then the front layer. 87 // Add the back layer, with the defaults. 90 // Add the front layer, with some layer info set. 103 // The back layer should come first. 111 // Then the front layer [all...] |
/external/skqp/tests/ |
LayerDrawLooperTest.cpp | 48 // Add the front layer, with the defaults. 51 // Add the back layer, with some layer info set. 64 // The back layer should come first. 72 // Then the front layer. 87 // Add the back layer, with the defaults. 90 // Add the front layer, with some layer info set. 103 // The back layer should come first. 111 // Then the front layer [all...] |
/external/syslinux/gpxe/src/net/ |
ethernet.c | 44 * Add Ethernet link-layer header 48 * @v ll_dest Link-layer destination address 49 * @v ll_source Source link-layer address 50 * @v net_proto Network-layer protocol, in network-byte order 67 * Remove Ethernet link-layer header 71 * @ret ll_dest Link-layer destination address 72 * @ret ll_source Source link-layer address 73 * @ret net_proto Network-layer protocol, in network-byte order 103 * @v ll_addr Link-layer address 112 * @v ll_addr Link-layer addres [all...] |
/external/tensorflow/tensorflow/contrib/eager/python/ |
network.py | 54 class Network(base.Layer): 57 `Network` implements the `Layer` interface and adds convenience methods for 58 managing sub-`Layer`s, such as listing variables. 60 `Layer`s (including other `Network`s) should be added via `track_layer`. They 76 created by tracked `Layer`s is available via `Network.variables`: 85 `tf.layers.Dense` layer: 103 execution (where stateful ops are executed eagerly). `Layer`s from `tf.layers` 106 custom `Layer`s which manage stateful ops) may break with this change. 155 """Overrides Layer op naming to match variable naming.""" 280 ("The parent of a Layer added to Network %s was garbage collected [all...] |
/hardware/intel/img/hwcomposer/merrifield/common/base/ |
HwcLayer.cpp | 56 HwcLayer::HwcLayer(int index, hwc_layer_1_t *layer) 60 mLayer(layer), 153 // Upper layer HWComposer will reset the compositionType automatically. 256 bool HwcLayer::update(hwc_layer_1_t *layer) 258 // update layer 259 mLayer = layer; 280 ITRACE("fps of layer %d is %.1f", mIndex, fps); 284 // if not a FB layer & a plane was attached update plane's data buffer 286 mPlane->setPosition(layer->displayFrame.left, 287 layer->displayFrame.top [all...] |
/external/tensorflow/tensorflow/python/keras/_impl/keras/ |
testing_utils.py | 57 """Test routine for a layer with a single input and single output. 60 layer_cls: Layer class object. 62 layer. 70 The output data (Numpy array) returned by the layer, for additional 94 layer = layer_cls(**kwargs) 96 # test get_weights , set_weights at layer level 97 weights = layer.get_weights() 98 layer.set_weights(weights) 103 layer = layer_cls(**kwargs) 107 y = layer(x [all...] |
/hardware/qcom/display/msm8996/sdm/libs/hwc2/ |
hwc_display.cpp | 53 static void ApplyDeInterlaceAdjustment(Layer *layer) { 55 if (layer->input_buffer->flags.interlace) { 56 float height = (layer->src_rect.bottom - layer->src_rect.top) / 2.0f; 57 layer->src_rect.top = ROUND_UP_ALIGN_DOWN(layer->src_rect.top / 2.0f, 2); 58 layer->src_rect.bottom = layer->src_rect.top + floorf(height); 278 HWCLayer *layer = *layer_set_.emplace(new HWCLayer(id_, buffer_allocator_)) local 303 const auto layer = map_layer->second; local 326 Layer *layer = hwc_layer->GetSDMLayer(); local 424 const auto layer = map_layer->second; local 733 Layer *layer = hwc_layer->GetSDMLayer(); local 910 Layer *layer = hwc_layer->GetSDMLayer(); local 1115 auto layer = layer_stack_.layers.at(i); local 1433 auto layer = hwc_layer->GetSDMLayer(); local 1443 Layer *layer = hwc_layer->GetSDMLayer(); local 1587 auto layer = layer_stack_.layers.at(i); local 1637 auto layer = hwc_layer->GetSDMLayer(); local [all...] |