Eine aufbereitete Darstellung der Quelle

 
     
 
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung


Quelle  NativeLayerCommandQueue.h  Sprache: C


/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */


#ifndef mozilla_layers_NativeLayerCommandQueue_h
#define mozilla_layers_NativeLayerCommandQueue_h

#include "mozilla/DataMutex.h"
#include "mozilla/layers/PNativeLayerRemoteChild.h"

namespace mozilla {
namespace layers {

class NativeLayerCommandQueue {
 public:
  NS_INLINE_DECL_THREADSAFE_REFCOUNTING(NativeLayerCommandQueue)

  NativeLayerCommandQueue();

  void AppendCommand(mozilla::layers::NativeLayerCommand&& aCommand);
  void FlushToArray(nsTArray<mozilla::layers::NativeLayerCommand>& aQueue);

 protected:
  ~NativeLayerCommandQueue() = default;

  DataMutex<nsTArray<mozilla::layers::NativeLayerCommand>> mQueue;
};

}  // namespace layers
}  // namespace mozilla

#endif  // mozilla_layers_NativeLayerCommandQueue_h

Messung
CHZG
941009796

¤ Dauer der Verarbeitung: 0.11 Sekunden  (vorverarbeitet am  2026-11-25) ¤

*© Formatika GbR, Deutschland







                                                                                                                                                                                                                                                                                                                                                                                                     

 

Neuigkeiten

Aktuelles
Motto des Tages

Open Source Software


Gedichte
Musik
Bilder

Jenseits des Üblichen

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1,189,039
#Domains=963,849